2 # Run this to generate all the initial makefiles, etc.
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
10 GTKDOCIZE=`which gtkdocize`
11 if test -z $GTKDOCIZE; then
12 echo "*** No GTK-Doc found, please install it ***"
16 AUTORECONF=`which autoreconf`
17 if test -z $AUTORECONF; then
18 echo "*** No autoreconf found, please install it ***"
22 # README and INSTALL are required by automake, but may be deleted by clean
23 # up rules. to get automake to work, simply touch these here, they will be
24 # regenerated from their corresponding *.in files by ./configure anyway.
28 autoreconf --force --install --verbose || exit $?
31 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"