summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 51ae4903..699f2508 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,11 +3,12 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
+srcdir=`cd $srcdir && pwd`
REQUIRED_AUTOMAKE_VERSION=1.8
PKG_NAME="PyGTK"
-ACLOCAL_FLAGS="-I `pwd`/m4 $ACLOCAL_FLAGS"
+ACLOCAL_FLAGS="-I $srcdir/m4 $ACLOCAL_FLAGS"
#name of package
PKG_NAME=${PKG_NAME:-Package}