[libvirt] [PATCH] Allow NOCONFIGURE=1 to make autogen.sh skip ./configure

Daniel P. Berrange berrange at redhat.com
Thu Jun 21 13:59:26 UTC 2012


From: "Daniel P. Berrange" <berrange at redhat.com>

Sometimes it is useful to re-bootstrap libvirt without running
through a ./configure invocation immediately. eg if you want
to run ./configure for Mingw32 rather than native.
---
 autogen.sh |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/autogen.sh b/autogen.sh
index f1591d8..95598e2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -70,6 +70,8 @@ if test -d .git; then
     fi
 fi
 
+test -n "$NOCONFIGURE" && exit 0
+
 cd "$THEDIR"
 
 if test "x$OBJ_DIR" != x; then
-- 
1.7.10.2




More information about the libvir-list mailing list