diff options
Diffstat (limited to 'gl/m4/mbtowc.m4')
-rw-r--r-- | gl/m4/mbtowc.m4 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gl/m4/mbtowc.m4 b/gl/m4/mbtowc.m4 index 7823be0..603b0c1 100644 --- a/gl/m4/mbtowc.m4 +++ b/gl/m4/mbtowc.m4 | |||
@@ -1,5 +1,6 @@ | |||
1 | # mbtowc.m4 serial 3 | 1 | # mbtowc.m4 |
2 | dnl Copyright (C) 2011-2023 Free Software Foundation, Inc. | 2 | # serial 5 |
3 | dnl Copyright (C) 2011-2024 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
@@ -8,9 +9,12 @@ AC_DEFUN([gl_FUNC_MBTOWC], | |||
8 | [ | 9 | [ |
9 | AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) | 10 | AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) |
10 | 11 | ||
11 | AC_CHECK_FUNCS([mbtowc]) | 12 | gl_CHECK_FUNCS_ANDROID([mbtowc], [[#include <stdlib.h>]]) |
12 | if test $ac_cv_func_mbtowc = no; then | 13 | if test $ac_cv_func_mbtowc = no; then |
13 | HAVE_MBTOWC=0 | 14 | HAVE_MBTOWC=0 |
15 | case "$gl_cv_onwards_func_mbtowc" in | ||
16 | future*) REPLACE_MBTOWC=1 ;; | ||
17 | esac | ||
14 | else | 18 | else |
15 | if false; then | 19 | if false; then |
16 | REPLACE_MBTOWC=1 | 20 | REPLACE_MBTOWC=1 |