From 17d78481fc9a88f554e91545d4176bda86b6c0b5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 23 Dec 2024 20:17:24 +0100 Subject: [PATCH] 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. --- gettext-tools/examples/po/xsmallpot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.3