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