From d9083a4cc638cf9c7dfc3cc534a7c6b4debf50ab Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 10 Apr 2025 16:42:14 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ m4/strcasecmp.m4 | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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 ], - []) + [:]) ]) ]) -- 2.39.5