autogen.sh 370 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

set -e
set -x
test -d m4 || mkdir -p m4
${AUTORECONF-autoreconf} --force --install --verbose "$srcdir"
${ACLOCAL-aclocal} -I m4
${AUTOHEADER-autoheader}
${AUTOMAKE-automake} --add-missing --copy --force-missing
${AUTOCONF-autoconf}
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"