]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Fix autopoint-3 test failure on Solaris 11.
authorBruno Haible <bruno@clisp.org>
Fri, 7 Mar 2025 17:02:44 +0000 (18:02 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 7 Mar 2025 17:02:44 +0000 (18:02 +0100)
* gettext-tools/tests/autopoint-3 (MAKE): Set to 'gmake' on macOS, Solaris, AIX.

gettext-tools/tests/autopoint-3

index af2e17fd904285d3cca8b2291e0577492ecbe8a2..f2f26e32a53fb78752fe912798d35b8d31d5e868 100755 (executable)
@@ -136,7 +136,11 @@ test $? = 0 || { cat autopoint.err; Exit 1; }
 ${CONFIG_SHELL} ./configure >/dev/null 2>autopoint.err
 test $? = 0 || { cat autopoint.err; Exit 1; }
 
-: ${MAKE=make}
+# The po/Makefile requires GNU make on specific platforms.
+case "$host_os" in
+  darwin* | solaris* | aix*) : ${MAKE=gmake} ;;
+  *)                         : ${MAKE=make} ;;
+esac
 ${MAKE} >/dev/null 2>autopoint.err
 test $? = 0 || { cat autopoint.err; Exit 1; }