From 785007effef488985101ef72cc67311235289699 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 19 Jan 2023 21:55:32 +0100 Subject: Fix warnings for functions introduced in Android API level 24. * m4/strchrnul.m4 (gl_FUNC_STRCHRNUL): Test for strchrnul using gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS. --- m4/strchrnul.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4/strchrnul.m4') diff --git a/m4/strchrnul.m4 b/m4/strchrnul.m4 index 73e0649609..a38e78531e 100644 --- a/m4/strchrnul.m4 +++ b/m4/strchrnul.m4 @@ -1,4 +1,4 @@ -# strchrnul.m4 serial 10 +# strchrnul.m4 serial 11 dnl Copyright (C) 2003, 2007, 2009-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_STRCHRNUL], AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_STRING_H_DEFAULTS]) - AC_CHECK_FUNCS([strchrnul]) + gl_CHECK_FUNCS_ANDROID([strchrnul], [[#include ]]) if test $ac_cv_func_strchrnul = no; then HAVE_STRCHRNUL=0 else -- cgit v1.2.1