From bbb17237dea8d1f4dc7fc84613b0ded6df7649c4 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 7 Apr 2016 15:00:42 +0200 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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