summaryrefslogtreecommitdiffstats
path: root/autogen.sh
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 3292973..f45d20f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2
3olddir=`pwd`
4srcdir=`dirname $0`
5test -z "$srcdir" && srcdir=.
6
7cd "$srcdir"
8
2gprefix=`which glibtoolize 2>&1 >/dev/null` 9gprefix=`which glibtoolize 2>&1 >/dev/null`
3if [ $? -eq 0 ]; then 10if [ $? -eq 0 ]; then
4 glibtoolize --force 11 glibtoolize --force
@@ -10,6 +17,8 @@ autoheader
10automake --add-missing 17automake --add-missing
11autoconf 18autoconf
12 19
20cd "$olddir"
21
13if [ -z "$NOCONFIGURE" ]; then 22if [ -z "$NOCONFIGURE" ]; then
14 ./configure "$@" 23 $srcdir/configure "$@"
15fi 24fi