diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-21 10:45:25 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-21 10:45:25 +0100 |
commit | 021e57a28306115c315f8686c30a122f692f394b (patch) | |
tree | c58d4a42efd95eb18bbc5c32058ffccb792f16c9 | |
parent | 07f899a9d3a1b688a06b858db36d8eea163e1d13 (diff) | |
download | ModemManager-021e57a28306115c315f8686c30a122f692f394b.tar.gz |
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
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh index 694a22a19..230a72185 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,8 +17,8 @@ PKG_NAME=ModemManager gtkdocize || exit 1 autopoint --force AUTOPOINT='intltoolize --automake --copy' 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 |