From: Bruno Haible Date: Fri, 11 Apr 2025 07:50:58 +0000 (+0200) Subject: newlocale: Support cross-compilation. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=3421c535ab598d4ad8a3613de5e50dd6c759c834;p=gnulib.git newlocale: Support cross-compilation. * m4/newlocale.m4 (gl_FUNC_NEWLOCALE): Use a no-op command as third argument of AC_RUN_IFELSE. --- diff --git a/ChangeLog b/ChangeLog index ea8a20facb..07de3b7b97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-04-11 Bruno Haible + + newlocale: Support cross-compilation. + * m4/newlocale.m4 (gl_FUNC_NEWLOCALE): Use a no-op command as third + argument of AC_RUN_IFELSE. + 2025-04-10 Bruno Haible strcasecmp: Support cross-compilation. diff --git a/m4/newlocale.m4 b/m4/newlocale.m4 index 2775609ee6..fb62bd2ced 100644 --- a/m4/newlocale.m4 +++ b/m4/newlocale.m4 @@ -1,5 +1,5 @@ # newlocale.m4 -# serial 3 +# serial 4 dnl Copyright (C) 2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -62,7 +62,7 @@ int main () gl_cv_func_newlocale_works=no fi ], - []) + [:]) ]) case "$gl_cv_func_newlocale_works" in *yes) ;;