]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
strchrnul: Fix for users of the current macOS SDK.
authorBruno Haible <bruno@clisp.org>
Tue, 27 May 2025 14:11:49 +0000 (16:11 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 27 May 2025 14:11:49 +0000 (16:11 +0200)
Reported in <https://savannah.gnu.org/bugs/?67141>.

* m4/strchrnul.m4 (gl_FUNC_STRCHRNUL): Use gl_CHECK_FUNCS_ANDROID_MACOS
instead of gl_CHECK_FUNCS_ANDROID.

ChangeLog
m4/strchrnul.m4

index c37830f9bf609c26110e6c1c029a00d93944fd33..efcb2533210ae410ed680eec1ccea03ab83eb02e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-05-27  Bruno Haible  <bruno@clisp.org>
+
+       strchrnul: Fix for users of the current macOS SDK.
+       Reported in <https://savannah.gnu.org/bugs/?67141>.
+       * m4/strchrnul.m4 (gl_FUNC_STRCHRNUL): Use gl_CHECK_FUNCS_ANDROID_MACOS
+       instead of gl_CHECK_FUNCS_ANDROID.
+
 2025-05-27  Bruno Haible  <bruno@clisp.org>
 
        doc: Update platforms list re *_CLOFORK.
index 35c2ba3c42223a4002771eb0bcbfbab77868cc7a..11886ca2d0d2b5b678415a99850610633709d2d5 100644 (file)
@@ -1,5 +1,5 @@
 # strchrnul.m4
-# serial 12
+# serial 13
 dnl Copyright (C) 2003, 2007, 2009-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,
@@ -12,7 +12,7 @@ AC_DEFUN([gl_FUNC_STRCHRNUL],
   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
 
   AC_REQUIRE([gl_STRING_H_DEFAULTS])
-  gl_CHECK_FUNCS_ANDROID([strchrnul], [[#include <string.h>]])
+  gl_CHECK_FUNCS_ANDROID_MACOS([strchrnul], [[#include <string.h>]])
   if test $ac_cv_func_strchrnul = no; then
     HAVE_STRCHRNUL=0
     case "$gl_cv_onwards_func_strchrnul" in