From: Bruno Haible Date: Fri, 7 Mar 2025 17:02:44 +0000 (+0100) Subject: tests: Fix autopoint-3 test failure on Solaris 11. X-Git-Tag: v0.25~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33ffa491ec831f2f0d593948dcdd38e2521af773;p=thirdparty%2Fgettext.git tests: Fix autopoint-3 test failure on Solaris 11. * gettext-tools/tests/autopoint-3 (MAKE): Set to 'gmake' on macOS, Solaris, AIX. --- diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 index af2e17fd9..f2f26e32a 100755 --- a/gettext-tools/tests/autopoint-3 +++ b/gettext-tools/tests/autopoint-3 @@ -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; }