>From 7a2865e02aa204360190bbc99f500e72ab99f4d0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 5 Feb 2024 16:19:52 +0100 Subject: [PATCH] Fix FTBFS on Linux/alpha and FreeBSD/sparc64. * configure.ac (ac_cv_have_function_wrappers_requirements, ac_cv_have_local_poisoning_requirements): Don't set to 'yes' on all platforms. --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index ed48482..9125409 100644 --- a/configure.ac +++ b/configure.ac @@ -1365,10 +1365,10 @@ fi # * __builtin_choose_expr . AC_CACHE_CHECK([for function wrappers requirements], [ac_cv_have_function_wrappers_requirements], - [if test "x$ac_cv_c_typeof" != '' \ - && test "x$ac_cv_have_gnu_c_statement_expressions" != '' \ - && test "x$ac_cv_have_gcc_builtin_types_compatible_p" != '' \ - && test "x$ac_cv_have_gcc_builtin_choose_expr" != ''; then + [if test "x$ac_cv_c_typeof" != 'xno' \ + && test "x$ac_cv_have_gnu_c_statement_expressions" != 'xno' \ + && test "x$ac_cv_have_gcc_builtin_types_compatible_p" != 'xno' \ + && test "x$ac_cv_have_gcc_builtin_choose_expr" != 'xno'; then ac_cv_have_function_wrappers_requirements=yes else ac_cv_have_function_wrappers_requirements=no @@ -1384,8 +1384,8 @@ fi # * pragma GCC diagnostic in function bodies. AC_CACHE_CHECK([for local poisoning requirements], [ac_cv_have_local_poisoning_requirements], - [if test "x$ac_cv_have_gnu_c_statement_expressions" != '' \ - && test "x$ac_cv_have_pragma_gcc_diagnostic_in_functions" != ''; then + [if test "x$ac_cv_have_gnu_c_statement_expressions" != 'xno' \ + && test "x$ac_cv_have_pragma_gcc_diagnostic_in_functions" != 'xno'; then ac_cv_have_local_poisoning_requirements=yes else ac_cv_have_local_poisoning_requirements=no -- 2.34.1