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
This commit is contained in:
Aleksander Morgado
2016-03-21 10:45:25 +01:00
parent 07f899a9d3
commit 021e57a283
+3 -3
View File
@@ -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