]> xenbits.xensource.com Git - libvirt.git/commitdiff
autogen: Always abide --system
authorCole Robinson <crobinso@redhat.com>
Fri, 15 Jun 2012 17:46:51 +0000 (13:46 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 15 Jun 2012 18:56:57 +0000 (14:56 -0400)
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.

autogen.sh

index f1591d8e1744cae9b47aa1abbbe4b6befcda2408..53db06f7e3ca43f04043daac3dbf3011b3e851d1 100755 (executable)
@@ -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 "$@"