[libvirt] [PATCH] Bugfix for building with no-git-option

Stefan Zimmermann stzi at linux.vnet.ibm.com
Wed Feb 4 12:49:29 UTC 2015


If you will build libvirt with the no-git-option than you is the
gnulib-srcdir mandatory. You will lose this information till now. With
this patch you will save this inforamtion.

Signed-off-by: Stefan Zimmermann <stzi at linux.vnet.ibm.com>
---
 autogen.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 1965f64..0168d24 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,8 +18,8 @@ test -f src/libvirt.c || {
 EXTRA_ARGS=
 no_git=
 if test "x$1" = "x--no-git"; then
-  no_git=" $1"
-  shift
+  no_git=" $1 $2"
+  shift 2
 fi
 if test -z "$NOCONFIGURE" ; then
   if test "x$1" = "x--system"; then
-- 
2.1.4




More information about the libvir-list mailing list