From: Bruno Haible Date: Mon, 23 Dec 2024 17:59:12 +0000 (+0100) Subject: examples: Don't fail configuration of hello-objc if no Objective-C compiler is found. X-Git-Tag: v0.24~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88efc0f21161a662ced217290cb35b99669f6c88;p=thirdparty%2Fgettext.git examples: Don't fail configuration of hello-objc if no Objective-C compiler is found. * gettext-tools/examples/hello-objc/configure.ac: Map AC_MSG_FAILURE to AC_MSG_WARN. --- diff --git a/gettext-tools/examples/hello-objc/configure.ac b/gettext-tools/examples/hello-objc/configure.ac index e00f23d71..bec060410 100644 --- a/gettext-tools/examples/hello-objc/configure.ac +++ b/gettext-tools/examples/hello-objc/configure.ac @@ -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])