2005-06-22 11:20:32 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
echo "Generating configuration files..."
|
|
|
|
|
2005-11-03 14:56:53 -08:00
|
|
|
if test -d $srcdir/m4 ; then
|
|
|
|
aclocal_extra="-I $srcdir/m4"
|
2005-06-23 19:18:15 -07:00
|
|
|
fi
|
|
|
|
|
2005-11-03 14:56:53 -08:00
|
|
|
ACLOCAL=${ACLOCAL:-aclocal-1.9}
|
|
|
|
AUTOMAKE=${AUTOMAKE:-automake-1.9}
|
2005-06-23 19:18:15 -07:00
|
|
|
|
2005-11-03 14:56:53 -08:00
|
|
|
LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
|
2005-06-23 19:18:15 -07:00
|
|
|
|
2005-11-03 14:56:53 -08:00
|
|
|
AUTOHEADER=${AUTOHEADER:-autoheader}
|
|
|
|
AUTOCONF=${AUTOCONF:-autoconf}
|
2005-06-23 19:18:15 -07:00
|
|
|
|
2005-11-03 14:56:53 -08:00
|
|
|
echo $LIBTOOLIZE --automake --copy
|
|
|
|
$LIBTOOLIZE --automake --copy || exit $?
|
|
|
|
|
|
|
|
echo $ACLOCAL $ACLOCAL_FLAGS $aclocal_extra
|
|
|
|
$ACLOCAL $ACLOCAL_FLAGS $aclocal_extra || exit $?
|
|
|
|
|
|
|
|
echo $AUTOHEADER
|
|
|
|
$AUTOHEADER || exit $?
|
|
|
|
|
|
|
|
echo $AUTOMAKE --add-missing --copy
|
|
|
|
$AUTOMAKE --add-missing --copy || exit $?
|
|
|
|
|
|
|
|
echo $AUTOCONF
|
|
|
|
$AUTOCONF || exit $?
|
2005-10-30 13:16:22 -08:00
|
|
|
|
2005-11-03 14:56:53 -08:00
|
|
|
echo
|
|
|
|
echo "run './configure ; make ; make install'"
|
|
|
|
echo
|