From 33ffa491ec831f2f0d593948dcdd38e2521af773 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 7 Mar 2025 18:02:44 +0100 Subject: [PATCH] tests: Fix autopoint-3 test failure on Solaris 11. * gettext-tools/tests/autopoint-3 (MAKE): Set to 'gmake' on macOS, Solaris, AIX. --- gettext-tools/tests/autopoint-3 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.47.3