[libvirt] [PATCH v2 1/3] configure: Restore CFLAGS properly after GnuTLS checks

Andrea Bolognani abologna at redhat.com
Thu Apr 7 13:29:55 UTC 2016


The previous value of CFLAGS was saved as old_cflags but later
restored from old_CFLAGS, which is clearly not correct.

Restore CFLAGS from the right variable.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 85fc6e1..6088f77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1289,8 +1289,8 @@ if test "x$with_gnutls" != "xno"; then
     with_gnutls=yes
   fi
 
+  CFLAGS="$old_cflags"
   LIBS="$old_libs"
-  CFLAGS="$old_CFLAGS"
 fi
 
 if test "x$with_gnutls" = "xyes" ; then
-- 
2.5.5




More information about the libvir-list mailing list