[libvirt] [PATCH] autogen: Always abide --system

Cole Robinson crobinso at redhat.com
Fri Jun 15 18:12:36 UTC 2012


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.

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 autogen.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index f1591d8..53db06f 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 "$@"
-- 
1.7.7.6




More information about the libvir-list mailing list