From d828e9a65b3d757f9a35e89c82a983a409aa39ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 29 Nov 2021 12:08:54 +0100
Subject: [PATCH] Configure: Even more fixes for autoconf 2.71.

Autoconf 2.71 seems to have changed the set value for $ac_test_CFLAGS
from "set" to "y".

Fixes lost options from CFLAGS.
---
 src/aclocal.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index a5a919bfb0..26b7dfd275 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -71,7 +71,7 @@ pushdef([AC_PROG_CC],
     fi
   fi
 
-  if test "$ac_test_CFLAGS" = set; then :; else
+  if test "$ac_test_CFLAGS"; then :; else
     if test "$GCC" = yes; then
       # Remove -O2, and use a real test to restore it.
       if test "$ac_cv_prog_cc_g" = yes; then
-- 
GitLab