From 021e57a28306115c315f8686c30a122f692f394b Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 21 Mar 2016 10:45:25 +0100 Subject: [PATCH] build: run configure script from builddir rather than srcdir Based on an equivalent patch from Philip Withnall for libmbim; see: https://bugs.freedesktop.org/show_bug.cgi?id=94639 --- autogen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autogen.sh b/autogen.sh index 694a22a1..230a7218 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