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.
This commit is contained in:
Andrea Bolognani committed 2016-04-07 17:55:52 +02:00
1 parent c661b675f1
commit bbb17237de
1 file changed
+1 -1
+1 -1
View File
@@ -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