| # Allow invocation from a separate build directory; in that case, we change |
| # to the source directory to run the auto*, then change back before running configure |
| test -z "$srcdir" && srcdir=. |
| rm -f $top_srcdir/autom4te.cache |
| Tools/gtk/override-feature-defines $ORIGDIR |
| if test -z `which autoreconf`; then |
| echo "Error: autoreconf not found, please install it." |
| autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $? |
| if test -z "$NOCONFIGURE"; then |
| $srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? |