This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#! /bin/sh |
| 2 |
|
| 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 |
| 5 |
srcdir=`dirname $0` |
| 6 |
test -z "$srcdir" && srcdir=. |
| 7 |
|
| 8 |
ORIGDIR=`pwd` |
| 9 |
cd $srcdir |
| 10 |
|
| 11 |
rm -f $top_srcdir/autom4te.cache |
| 12 |
|
| 13 |
touch README INSTALL |
| 14 |
|
| 15 |
if test -z `which autoreconf`; then |
| 16 |
echo "Error: autoreconf not found, please install it." |
| 17 |
exit 1 |
| 18 |
fi |
| 19 |
autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $? |
| 20 |
|
| 21 |
cd $ORIGDIR || exit 1 |
| 22 |
|
| 23 |
if test -z "$NOCONFIGURE"; then |
| 24 |
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? |
| 25 |
fi |