diff options
author | Pavel Šimerda <psimerda@redhat.com> | 2012-11-13 21:11:50 +0100 |
---|---|---|
committer | Pavel Šimerda <psimerda@redhat.com> | 2012-11-13 21:11:50 +0100 |
commit | e7b6fb2630eded8025b9ed0af86e53f6689dcede (patch) | |
tree | 297556dd5054963204dd1e8121c79a5bf154638e /autogen.sh | |
parent | ec1bd3a936a3766cbae84a853e7615264f2c8027 (diff) | |
download | NetworkManager-e7b6fb2630eded8025b9ed0af86e53f6689dcede.tar.gz |
build: autogen.sh can now configure from another directory
Example:
$ mkdir -p _build
$ cd _build
$ ../autogen.sh ...configure-options...
$ make
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh index c0194020f0..cc9a4f4c94 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,8 +17,8 @@ PKG_NAME=NetworkManager 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 |