diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2016-03-20 17:57:56 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-21 10:25:14 +0100 |
commit | d2a1a7f82ba01114f33113f97fc5a884a4a1a988 (patch) | |
tree | f3adbee5a8b86caaa85fd22606365c207851dbae | |
parent | e2b3db1a10ba7dd73eea4e96faeec126629b7c19 (diff) | |
download | libmbim-d2a1a7f82ba01114f33113f97fc5a884a4a1a988.tar.gz |
build: Run configure script from builddir rather than srcdir
If building from a clean git clone with builddir ≠ srcdir, the configure
script is (correctly) generated in builddir by autoconf. Execute it from
there, rather than from the srcdir, so that all the configure products
(Makefiles, etc.) are generated in the builddir.
https://bugs.freedesktop.org/show_bug.cgi?id=94639
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -18,7 +18,8 @@ PKG_NAME=libmbim mkdir -p m4 touch 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 |