diff options
Diffstat (limited to '')
-rwxr-xr-x | autogen.sh | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,14 @@ #! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + autoreconf -v --install || exit 1 -./configure "$@" +cd $ORIGDIR || exit $? + +if test -z "$NOCONFIGURE"; then + $srcdir/configure "$@" +fi |