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