build: autogen.sh can now configure from another directory

Example:

$ mkdir -p _build
$ cd _build
$ ../autogen.sh ...configure-options...
$ make
This commit is contained in:
Pavel Šimerda 2012-11-13 21:11:50 +01:00
parent ec1bd3a936
commit e7b6fb2630

View file

@ -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