]> Savannah Git Hosting - gnulib.git/commitdiff
strcasecmp: Support cross-compilation.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Apr 2025 14:42:14 +0000 (16:42 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Apr 2025 14:42:14 +0000 (16:42 +0200)
Reported by Rudi Heitbaum <rudi@heitbaum.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-04/msg00055.html>.

* m4/strcasecmp.m4 (gl_STRCASECMP_WORKS): Use a no-op command as third
argument of AC_RUN_IFELSE.

ChangeLog
m4/strcasecmp.m4

index f039a336e87539a774c3672d9cae341611311712..ea8a20facba3795d8bd17a7a2c786fb1ef16c160 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2025-04-10  Bruno Haible  <bruno@clisp.org>
+
+       strcasecmp: Support cross-compilation.
+       Reported by Rudi Heitbaum <rudi@heitbaum.com> in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2025-04/msg00055.html>.
+       * m4/strcasecmp.m4 (gl_STRCASECMP_WORKS): Use a no-op command as third
+       argument of AC_RUN_IFELSE.
+
 2025-04-10  Bruno Haible  <bruno@clisp.org>
 
        vasnprintf: Fix handling of # flag in %b, %B directives.
index e40ee5d14a5489027529bc433a5f1c7212b03d23..eb4345d947df66cd624783c4e9f6f4641f3d99a9 100644 (file)
@@ -1,5 +1,5 @@
 # strcasecmp.m4
-# serial 2
+# serial 3
 dnl Copyright (C) 2002-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,
@@ -57,7 +57,7 @@ int main ()
           gl_cv_func_strcasecmp_works=no
         fi
        ],
-       [])
+       [:])
     ])
 ])