Commit 1fa7d96cdf7bba354f61337854210f060ea56b9f

Anthony Green 2022-09-01T08:28:59

Don't use cached configure test result

diff --git a/configure.ac b/configure.ac
index 43fc03f..7a17a23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,16 +125,16 @@ AC_SUBST(HAVE_LONG_DOUBLE_VARIANT)
 AC_C_BIGENDIAN
 
 AC_CACHE_CHECK([compiler generates .cfi pseudo-ops],
-  gcc_cv_as_cfi_pseudo_op, [
-	gcc_cv_as_cfi_pseudo_op=no
+  gcc_cv_cc_cfi_pseudo_op, [
+	gcc_cv_cc_cfi_pseudo_op=no
 	echo 'void foo(void) { foo(); }' > conftest.c
 	if $CC $CFLAGS -S conftest.c > /dev/null 2>&1; then
 	    if grep -q cfi_startproc conftest.s; then
-	        gcc_cv_as_cfi_pseudo_op=yes
+	        gcc_cv_cc_cfi_pseudo_op=yes
             fi
 	fi
 	])
-if test "x$gcc_cv_as_cfi_pseudo_op" = xyes; then
+if test "x$gcc_cv_cc_cfi_pseudo_op" = xyes; then
    AC_DEFINE(HAVE_AS_CFI_PSEUDO_OP, 1,
       [Define if your assembler supports .cfi_* directives.])
 else