Blame autogen.sh

Packit bc1512
#!/bin/sh 
Packit bc1512
Packit bc1512
# This script does all the magic calls to automake/autoconf and
Packit bc1512
# friends that are needed to configure a cvs checkout.  As described in
Packit bc1512
# the file HACKING you need a couple of extra tools to run this script
Packit bc1512
# successfully.
Packit bc1512
#
Packit bc1512
# If you are compiling from a released tarball you don't need these
Packit bc1512
# tools and you shouldn't use this script.  Just call ./configure
Packit bc1512
# directly.
Packit bc1512
Packit bc1512
test -n "$srcdir" || srcdir=`dirname "$0"`
Packit bc1512
test -n "$srcdir" || srcdir=.
Packit bc1512
Packit bc1512
ORIGDIR=`pwd`
Packit bc1512
cd $srcdir
Packit bc1512
Packit bc1512
AUTORECONF=`which autoreconf`
Packit bc1512
if test -z $AUTORECONF; then
Packit bc1512
        echo "*** No autoreconf found, please intall it ***"
Packit bc1512
        exit 1
Packit bc1512
fi
Packit bc1512
Packit bc1512
autoreconf --force --install --verbose
Packit bc1512
Packit bc1512
cd $ORIGDIR
Packit bc1512
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"