2004-11-01 01:45:31 -08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -rf autom4te.cache
|
2005-08-02 18:00:21 -07:00
|
|
|
rm -f aclocal.m4 ltmain.sh
|
2004-11-01 01:45:31 -08:00
|
|
|
|
2005-03-04 20:47:20 -08:00
|
|
|
touch README
|
2008-04-20 05:16:31 -07:00
|
|
|
libtoolize -n --install 2>/dev/null && LIBTOOL_FLAGS="--install"
|
2005-03-04 20:47:20 -08:00
|
|
|
|
2007-03-25 02:04:10 -07:00
|
|
|
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
|
2005-08-02 18:00:21 -07:00
|
|
|
echo "Running autoheader..." ; autoheader || exit 1
|
|
|
|
echo "Running autoconf..." ; autoconf || exit 1
|
2008-04-20 05:16:31 -07:00
|
|
|
echo "Running libtoolize..." ; (libtoolize --copy --automake $LIBTOOL_FLAGS || glibtoolize --automake) || exit 1
|
2005-08-02 18:00:21 -07:00
|
|
|
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
|
2004-11-01 01:45:31 -08:00
|
|
|
|
2005-04-26 15:55:56 -07:00
|
|
|
if [ -z "$NOCONFIGURE" ]; then
|
|
|
|
./configure "$@"
|
|
|
|
fi
|