From 3421c535ab598d4ad8a3613de5e50dd6c759c834 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 11 Apr 2025 09:50:58 +0200 Subject: [PATCH] newlocale: Support cross-compilation. * m4/newlocale.m4 (gl_FUNC_NEWLOCALE): Use a no-op command as third argument of AC_RUN_IFELSE. --- ChangeLog | 6 ++++++ m4/newlocale.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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) ;; -- 2.39.5