aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 62d68e5..2ffb10e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,7 +2,9 @@
set -e
-./bootstrap.sh
+srcdir="$(dirname "$0")"
+
+"$srcdir"/bootstrap.sh
if [ -z "$NOCONFIGURE" ]; then
- exec ./configure --enable-examples-build --enable-tests-build "$@"
+ exec "$srcdir"/configure --enable-examples-build --enable-tests-build "$@"
fi