From: Bruno Haible Date: Mon, 23 Dec 2024 19:17:24 +0000 (+0100) Subject: examples: Don't fail configuration of hello-objc if no Objective-C compiler is found... X-Git-Tag: v0.24~88 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17d78481fc9a88f554e91545d4176bda86b6c0b5;p=thirdparty%2Fgettext.git examples: Don't fail configuration of hello-objc if no Objective-C compiler is found, part 2. * gettext-tools/examples/po/xsmallpot.sh: Don't remove the m4_pushdef, m4_popdef lines from hello-objc*/configure.ac. --- diff --git a/gettext-tools/examples/po/xsmallpot.sh b/gettext-tools/examples/po/xsmallpot.sh index 3dbac102d..3af9ed7f7 100755 --- a/gettext-tools/examples/po/xsmallpot.sh +++ b/gettext-tools/examples/po/xsmallpot.sh @@ -64,7 +64,9 @@ EOF make hello.rsj ;; *) - grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > tmp-configure.ac + # Create an "essential" configure.ac, that does not check for build + # dependencies (specific programs and libraries). + grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|m4_\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > tmp-configure.ac mv -f tmp-configure.ac configure.ac ./autogen.sh ./configure