From e772d6481ef7d016a687ae6f57a26d1087543ae1 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Thu, 21 Aug 2025 22:37:22 +0200 Subject: [PATCH] Fix usage of AS_IF Needs one set of square brackets for the true case and one sert for false case. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 24b2c6b70..ccad1182e 100644 --- a/configure.ac +++ b/configure.ac @@ -111,10 +111,10 @@ AC_PROG_AWK AC_PROG_INSTALL AC_PROG_LN_S -AS_IF([test -z "$CXX"], [ - cf_with_cxx=yes, - cf_with_cxx=no -]) +AS_IF([test -z "$CXX"], + [cf_with_cxx=no], + [cf_with_cxx=yes] +) AM_CONDITIONAL([ENABLE_CXX], [test x"${cf_with_cxx}" = "xyes"]) dnl Broke on older Automake, so test for its existence.