From e7b6fb2630eded8025b9ed0af86e53f6689dcede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Tue, 13 Nov 2012 21:11:50 +0100 Subject: [PATCH] build: autogen.sh can now configure from another directory Example: $ mkdir -p _build $ cd _build $ ../autogen.sh ...configure-options... $ make --- autogen.sh | 6 +++--- 1 file 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