summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-03-21 10:32:43 +0100
committerAleksander Morgado <aleksander@aleksander.es>2016-03-21 10:32:43 +0100
commit2b9ed332357d0ddf8a4fc4ffd7a5c0ec8c3126eb (patch)
treedfa22bf39a4ba6f26586cd3e8b049565d5f60ac4 /autogen.sh
parent3df66e941cfd1c14fdcf7dac67c17c6eb0de6ca6 (diff)
build: run configure script from builddir rather than srcdir
Based on an equivalent patch from Philip Withnall <philip@tecnocode.co.uk> for libmbim; see: https://bugs.freedesktop.org/show_bug.cgi?id=94639
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index a34089b..21c3cd0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,7 +18,8 @@ PKG_NAME=libqmi
mkdir -p m4
touch README NEWS ChangeLog
autoreconf --force --install --verbose
- if test -z "$NOCONFIGURE"; then
- ./configure --enable-maintainer-mode "$@"
- fi
)
+
+if test -z "$NOCONFIGURE"; then
+ $srcdir/configure --enable-maintainer-mode "$@"
+fi