summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPavel Šimerda <psimerda@redhat.com>2012-11-13 21:11:50 +0100
committerPavel Šimerda <psimerda@redhat.com>2012-11-13 21:11:50 +0100
commite7b6fb2630eded8025b9ed0af86e53f6689dcede (patch)
tree297556dd5054963204dd1e8121c79a5bf154638e /autogen.sh
parentec1bd3a936a3766cbae84a853e7615264f2c8027 (diff)
downloadNetworkManager-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-xautogen.sh6
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