Don't use GIO in GTestDBus setup
[glib.git] / autogen.sh
blob892b57b3b8d9878d36435ef09625e22ccf8efe1e
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
7 olddir=`pwd`
8 cd "$srcdir"
10 GTKDOCIZE=$(which gtkdocize 2>/dev/null)
11 if test -z $GTKDOCIZE; then
12 echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
13 rm -f gtk-doc.make
14 echo 'EXTRA_DIST =' > gtk-doc.make
15 else
16 gtkdocize || exit $?
19 AUTORECONF=`which autoreconf`
20 if test -z $AUTORECONF; then
21 echo "*** No autoreconf found, please install it ***"
22 exit 1
25 # README and INSTALL are required by automake, but may be deleted by clean
26 # up rules. to get automake to work, simply touch these here, they will be
27 # regenerated from their corresponding *.in files by ./configure anyway.
28 touch README INSTALL
30 autoreconf --force --install --verbose || exit $?
32 cd "$olddir"
33 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"