blob: 23639e897f28cd1cc3ce3244164db3c8f7a097e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#! /bin/sh
# 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
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
rm -f $top_srcdir/autom4te.cache
touch README INSTALL
gtkdocize --copy > /dev/null 2>&1 || echo "Warning: not running gtk-docize."
if test -z `which autoreconf`; then
echo "Error: autoreconf not found, please install it."
exit 1
fi
autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $?
cd $ORIGDIR || exit 1
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|