1#! /bin/sh 2 3srcdir=`dirname $0` 4test -z "$srcdir" && srcdir=. 5 6ORIGDIR=`pwd` 7cd "$srcdir" 8 9mkdir m4 || exit 1 10 11autoreconf -v --install || exit $? 12cd "$ORIGDIR" || exit $? 13 14if test -z "$NOCONFIGURE"; then 15 exec "$srcdir/configure" "$@" 16fi 17