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 2016-04-07 15:00:42 +02:00
parent c661b675f1
commit bbb17237de

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