From: Bruno Haible Date: Thu, 10 Apr 2025 14:42:14 +0000 (+0200) Subject: strcasecmp: Support cross-compilation. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=d9083a4cc638cf9c7dfc3cc534a7c6b4debf50ab;p=gnulib.git strcasecmp: Support cross-compilation. Reported by Rudi Heitbaum in . * m4/strcasecmp.m4 (gl_STRCASECMP_WORKS): Use a no-op command as third argument of AC_RUN_IFELSE. --- diff --git a/ChangeLog b/ChangeLog index f039a336e8..ea8a20facb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2025-04-10 Bruno Haible + + strcasecmp: Support cross-compilation. + Reported by Rudi Heitbaum in + . + * m4/strcasecmp.m4 (gl_STRCASECMP_WORKS): Use a no-op command as third + argument of AC_RUN_IFELSE. + 2025-04-10 Bruno Haible vasnprintf: Fix handling of # flag in %b, %B directives. diff --git a/m4/strcasecmp.m4 b/m4/strcasecmp.m4 index e40ee5d14a..eb4345d947 100644 --- a/m4/strcasecmp.m4 +++ b/m4/strcasecmp.m4 @@ -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 ], - []) + [:]) ]) ])