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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]