> strcasecmp: Support cross-compilation. A similar error is:
checking whether newlocale with a null base works... configure: error: in '/GNULIB/testdir-all': configure: error: cannot run test program while cross compiling Fixed like this: 2025-04-11 Bruno Haible <br...@clisp.org> 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/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) ;;