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=.
13 if test -z `which autoreconf`; then
14 echo "Error: autoreconf not found, please install it."
17 autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $?
20 cd "$ORIGDIR" || exit 1
22 if test -z "$NOCONFIGURE"; then
23 "$srcdir"/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?