aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-06-15 13:46:51 -0400
committerCole Robinson <crobinso@redhat.com>2012-06-15 14:56:57 -0400
commit2cd29c3107ff1f135e05fa55f3b389f37a6cb867 (patch)
treeb057a1bb239277265f5a0dbcb59b716a495da0eb /autogen.sh
parentCheck for errors when parsing bridge interface XML (diff)
downloadlibvirt-2cd29c3107ff1f135e05fa55f3b389f37a6cb867.tar.gz
libvirt-2cd29c3107ff1f135e05fa55f3b389f37a6cb867.tar.bz2
libvirt-2cd29c3107ff1f135e05fa55f3b389f37a6cb867.zip
autogen: Always abide --system
If we do ./autogen.sh && ./configure, then later try ./autogen.sh --system, configure isn't invoked with the requested params. Instead config.status --recheck is run.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index f1591d8e1..53db06f7e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -77,7 +77,7 @@ if test "x$OBJ_DIR" != x; then
cd "$OBJ_DIR"
fi
-if test -z "$*" && test -f config.status; then
+if test -z "$*" && test -z "$EXTRA_ARGS" && test -f config.status; then
./config.status --recheck
else
$srcdir/configure $EXTRA_ARGS "$@"