]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
examples: Don't fail configuration of hello-objc if no Objective-C compiler is found.
authorBruno Haible <bruno@clisp.org>
Mon, 23 Dec 2024 17:59:12 +0000 (18:59 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 31 Dec 2024 10:11:21 +0000 (11:11 +0100)
* gettext-tools/examples/hello-objc/configure.ac: Map AC_MSG_FAILURE to
AC_MSG_WARN.

gettext-tools/examples/hello-objc/configure.ac

index e00f23d7107b6f2e2000f0550f8e5d9f247a3e77..bec060410ce1e64d0f0aa9eb367b3b45d62fcd06 100644 (file)
@@ -9,7 +9,10 @@ AM_INIT_AUTOMAKE([1.11])
 
 dnl Test for gobjc before gcc, since that's what the EPEL 9 package 'gcc-objc'
 dnl installs (on systems where gcc does not support Objective C).
+m4_pushdef([AC_MSG_FAILURE], m4_defn([AC_MSG_WARN]))
 AC_PROG_OBJC([gobjc gcc objcc objc cc CC clang])
+m4_popdef([AC_MSG_FAILURE])
+
 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION([0.23])