From: Andrea Bolognani Date: Thu, 7 Apr 2016 13:00:42 +0000 (+0200) Subject: configure: Restore CFLAGS properly after GnuTLS checks X-Git-Tag: v1.3.4-rc1~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb17237dea8d1f4dc7fc84613b0ded6df7649c4;p=thirdparty%2Flibvirt.git configure: Restore CFLAGS properly after GnuTLS checks 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. --- diff --git a/configure.ac b/configure.ac index 85fc6e1f04..6088f77763 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