]> 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 19:17:24 +0000 (20:17 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 31 Dec 2024 10:11:48 +0000 (11:11 +0100)
* 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

index 3dbac102d6daa39984fc74f3fdc5a3df0fed8f62..3af9ed7f7c67c209ae67aa5105279e09670fbe22 100755 (executable)
@@ -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