summaryrefslogtreecommitdiff
path: root/m4/mbstowcs.m4
blob: c66e804f809de55b27ab859311968f1da71714a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# mbstowcs.m4 serial 1
dnl Copyright (C) 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,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_FUNC_MBSTOWCS],
[
  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])

  gl_MBRTOWC_C_LOCALE
  case "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" in
    *yes) ;;
    *) REPLACE_MBSTOWCS=1 ;;
  esac
])

# Prerequisites of lib/mbstowcs.c.
AC_DEFUN([gl_PREREQ_MBSTOWCS], [
  :
])