3 # Allow invocation from a separate build directory; in that case, we change
4 # to the source directory to run the auto*, then change back before running configure
6 test -z "$srcdir" && srcdir=.
8 # Make a build directory
11 ORIGDIR=`pwd`/$BUILDDIR
14 rm -f $top_srcdir/autom4te.cache
18 gtkdocize --copy > /dev/null 2>&1 || echo "Warning: not running gtk-docize."
19 if test -z `which autoreconf`; then
20 echo "Error: autoreconf not found, please install it."
23 autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $?
27 ../$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?