diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-21 10:32:43 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-21 10:39:59 +0100 |
commit | 730d0b168e7758c094909546bade5e6267704306 (patch) | |
tree | 343e291b7f1194a86e5bed6b9918e1e6bc8faeb6 | |
parent | 4a4d313b9290accc626bc517f813d691ea7843f3 (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
(cherry picked from commit 2b9ed332357d0ddf8a4fc4ffd7a5c0ec8c3126eb)
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |