diff options
Diffstat (limited to 'm4/mbstowcs.m4')
-rw-r--r-- | m4/mbstowcs.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/m4/mbstowcs.m4 b/m4/mbstowcs.m4 new file mode 100644 index 0000000000..c66e804f80 --- /dev/null +++ b/m4/mbstowcs.m4 @@ -0,0 +1,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], [ + : +]) |