aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index b1376df5..904cd674 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,3 +1,12 @@
1#! /bin/sh 1#! /bin/sh
2
3srcdir=`dirname $0`
4test -z "$srcdir" && srcdir=.
5
6ORIGDIR=`pwd`
7cd $srcdir
8
2autoreconf -v --install || exit 1 9autoreconf -v --install || exit 1
3./configure --enable-maintainer-mode "$@" 10cd $ORIGDIR || exit $?
11
12$srcdir/configure --enable-maintainer-mode "$@"