]> Savannah Git Hosting - gnulib.git/commitdiff
Fix warnings for functions introduced in Android API level 34.
authorBruno Haible <bruno@clisp.org>
Thu, 19 Jan 2023 20:55:45 +0000 (21:55 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 19 Jan 2023 20:55:45 +0000 (21:55 +0100)
* modules/execute-tests (configure.ac): Test for close_range using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS.

ChangeLog
modules/execute-tests

index b5181afca2d8d213ec1d059d2ee6290a064adae9..ddd9e2b1aaae4ccfc93234248b308b3b3ddf8650 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-01-19  Bruno Haible  <bruno@clisp.org>
+
+       Fix warnings for functions introduced in Android API level 34.
+       * modules/execute-tests (configure.ac): Test for close_range using
+       gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS.
+
 2023-01-19  Bruno Haible  <bruno@clisp.org>
 
        Fix warnings for functions introduced in Android API level 30.
index 14d48676c5ea8caa277cbf27f4f89255b886721d..fc0816fd1734f3f3fe63bd6514c56313b96da2ed 100644 (file)
@@ -21,7 +21,7 @@ unistd
 
 configure.ac:
 dnl Test for Linux system call close_range(), declared in <unistd.h>.
-AC_CHECK_FUNCS([close_range])
+gl_CHECK_FUNCS_ANDROID([close_range], [[#include <unistd.h>]])
 
 Makefile.am:
 TESTS += test-execute.sh