]> Savannah Git Hosting - gnulib.git/commitdiff
newlocale: Support cross-compilation.
authorBruno Haible <bruno@clisp.org>
Fri, 11 Apr 2025 07:50:58 +0000 (09:50 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 11 Apr 2025 07:50:58 +0000 (09:50 +0200)
* m4/newlocale.m4 (gl_FUNC_NEWLOCALE): Use a no-op command as third
argument of AC_RUN_IFELSE.

ChangeLog
m4/newlocale.m4

index ea8a20facba3795d8bd17a7a2c786fb1ef16c160..07de3b7b97dd10b7c109d3c01ed46ea6ae01a827 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-04-11  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        strcasecmp: Support cross-compilation.
index 2775609ee6e41f25bdf0e5ffc4081d578ff95dba..fb62bd2cede301efbd73089ea063e9cb454c8269 100644 (file)
@@ -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) ;;