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:32:43 +0100 |
commit | 2b9ed332357d0ddf8a4fc4ffd7a5c0ec8c3126eb (patch) | |
tree | dfa22bf39a4ba6f26586cd3e8b049565d5f60ac4 /autogen.sh | |
parent | 3df66e941cfd1c14fdcf7dac67c17c6eb0de6ca6 (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-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 |