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 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
15 echo "You must have autoconf installed to compile $PROJECT."
16 echo "Install the appropriate package for your distribution,"
17 echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
21 (automake
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
23 echo "You must have automake installed to compile $PROJECT."
24 echo "Install the appropriate package for your distribution,"
25 echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
30 ($LIBTOOLIZE --version) < /dev
/null
> /dev
/null
2>&1 ||
{
31 LIBTOOLIZE
=glibtoolize
32 ($LIBTOOLIZE --version) < /dev
/null
> /dev
/null
2>&1 ||
{
34 echo "You must have libtool installed to compile $PROJECT."
35 echo "Install the appropriate package for your distribution,"
36 echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
41 if test "$DIE" -eq 1; then
45 rm -rf $top_srcdir/autom4te.cache
50 $LIBTOOLIZE --force ||
exit $?
52 automake
--foreign --add-missing ||
exit $?
57 $srcdir/configure
$AUTOGEN_CONFIGURE_ARGS "$@" ||
exit $?