Blame autogen.sh

Packit 7e555f
#!/bin/sh
Packit 7e555f
# Run this to generate all the initial makefiles, etc.
Packit 7e555f
Packit 7e555f
test -n "$srcdir" || srcdir=`dirname "$0"`
Packit 7e555f
test -n "$srcdir" || srcdir=.
Packit 7e555f
Packit 7e555f
olddir=`pwd`
Packit 7e555f
cd "$srcdir"
Packit 7e555f
Packit 7e555f
GTKDOCIZE=`which gtkdocize`
Packit 7e555f
if test -z $GTKDOCIZE; then
Packit 7e555f
        echo "*** No gtkdocize found, please install the gtk-doc package ***"
Packit 7e555f
        exit 1
Packit 7e555f
fi
Packit 7e555f
Packit 7e555f
INTLTOOLIZE=`which intltoolize`
Packit 7e555f
if test -z $INTLTOOLIZE; then
Packit 7e555f
        echo "*** No intltoolize found, please install the intltool package ***"
Packit 7e555f
        exit 1
Packit 7e555f
fi
Packit 7e555f
Packit 7e555f
AUTORECONF=`which autoreconf`
Packit 7e555f
if test -z $AUTORECONF; then
Packit 7e555f
        echo "*** No autoreconf found, please install it ***"
Packit 7e555f
        exit 1
Packit 7e555f
fi
Packit 7e555f
Packit 7e555f
mkdir -p m4
Packit 7e555f
gtkdocize
Packit 7e555f
autoreconf --force --install --verbose || exit $?
Packit 7e555f
Packit 7e555f
cd "$olddir"
Packit 7e555f
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"