Fix usage of AS_IF

Needs one set of square brackets for the true case and one sert for
false case.
pull/1862/head
Daniele Forsi IU5HKX 2025-08-21 22:37:22 +02:00
rodzic 3b2df4ecd0
commit e772d6481e
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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.