diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-19 21:55:25 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-19 21:55:25 +0100 |
commit | 64044f7934922d347c578fa8b2c5b2305aed5ca5 (patch) | |
tree | 7b303160fbf7779c16b0da232a003c34da31d8fe /m4/imaxdiv.m4 | |
parent | 909873441124b0f80b1427d55d02d8b6b5992890 (diff) | |
download | gnulib-64044f7934922d347c578fa8b2c5b2305aed5ca5.tar.gz |
Fix warnings for functions introduced in Android API level 19.
* m4/futimens.m4 (gl_FUNC_FUTIMENS): Test for futimens using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
* m4/utimens.m4 (gl_UTIMENS): Likewise.
* m4/imaxabs.m4 (gl_FUNC_IMAXABS): Test for imaxabs using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
* m4/imaxdiv.m4 (gl_FUNC_IMAXDIV): Test for imaxdiv using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
Diffstat (limited to 'm4/imaxdiv.m4')
-rw-r--r-- | m4/imaxdiv.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/imaxdiv.m4 b/m4/imaxdiv.m4 index 65d2c65cbb..7ad5da4ebf 100644 --- a/m4/imaxdiv.m4 +++ b/m4/imaxdiv.m4 @@ -1,4 +1,4 @@ -# imaxdiv.m4 serial 5 +# imaxdiv.m4 serial 6 dnl Copyright (C) 2006, 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, @@ -9,7 +9,7 @@ AC_DEFUN([gl_FUNC_IMAXDIV], AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) dnl On OSF/1 5.1 with cc, this function is declared but not defined. - AC_CHECK_FUNCS_ONCE([imaxdiv]) + gl_CHECK_FUNCS_ANDROID([imaxdiv], [[#include <inttypes.h>]]) AC_CHECK_DECLS_ONCE([imaxdiv]) if test "$ac_cv_have_decl_imaxdiv" != yes; then HAVE_DECL_IMAXDIV=0 |