summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index f3462d7..9ce4c59 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,7 +7,7 @@ test -z "$srcdir" && srcdir=.
REQUIRED_AUTOMAKE_VERSION=1.8
PKG_NAME="PyGObject"
-ACLOCAL_FLAGS="-I `pwd`/m4 $ACLOCAL_FLAGS"
+ACLOCAL_FLAGS="-I `dirname $0`/m4 $ACLOCAL_FLAGS"
#name of package
PKG_NAME=${PKG_NAME:-Package}