Blame autogen.sh

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