| 1 |
# mbtowc.m4 serial 5 |
| 2 |
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc. |
| 3 |
dnl This file is free software; the Free Software Foundation |
| 4 |
dnl gives unlimited permission to copy and/or distribute it, |
| 5 |
dnl with or without modifications, as long as this notice is preserved. |
| 6 |
|
| 7 |
AC_DEFUN([gl_FUNC_MBTOWC], |
| 8 |
[ |
| 9 |
AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) |
| 10 |
|
| 11 |
gl_CHECK_FUNCS_ANDROID([mbtowc], [[#include <stdlib.h>]]) |
| 12 |
if test $ac_cv_func_mbtowc = no; then |
| 13 |
HAVE_MBTOWC=0 |
| 14 |
case "$gl_cv_onwards_func_mbtowc" in |
| 15 |
future*) REPLACE_MBTOWC=1 ;; |
| 16 |
esac |
| 17 |
else |
| 18 |
if false; then |
| 19 |
REPLACE_MBTOWC=1 |
| 20 |
fi |
| 21 |
fi |
| 22 |
]) |
| 23 |
|
| 24 |
# Prerequisites of lib/mbtowc.c. |
| 25 |
AC_DEFUN([gl_PREREQ_MBTOWC], [ |
| 26 |
: |
| 27 |
]) |