GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A JSON reader and writer library using GLib and GObject
Homepage: http://live.gnome.org/JsonGlib
Clone URL: git://github.com/ebassi/json-glib.git
json-glib / autogen.sh
100755 27 lines (19 sloc) 0.518 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/sh
 
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
 
PROJECT=JSON-GLib
TEST_TYPE=-d
FILE=json-glib
 
test ${TEST_TYPE} ${FILE} || {
        echo "You must run this script in the top-level ${PROJECT} directory"
        exit 1
}
 
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No gtk-doc support ***"
        echo "EXTRA_DIST =" > gtk-doc.make
else
gtkdocize || exit $?
fi
 
autoreconf -v --install || exit $?
 
./configure "$@" && echo "Now type 'make' to compile ${PROJECT}"