diff options
author | Bruno Haible <bruno@clisp.org> | 2008-12-22 00:42:11 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-12-22 00:42:11 +0100 |
commit | a35b7df64eb0863e3d0759691e4d041354d7030f (patch) | |
tree | 4a922f0e8fd98429691be332a6dd4257d79937ab /m4/wcsnrtombs.m4 | |
parent | 0ce087b81f8a3f8a5aed8fbd0a7b1f38c1d7c2fd (diff) | |
download | gnulib-a35b7df64eb0863e3d0759691e4d041354d7030f.tar.gz |
New module 'wcsnrtombs'.
Diffstat (limited to 'm4/wcsnrtombs.m4')
-rw-r--r-- | m4/wcsnrtombs.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/m4/wcsnrtombs.m4 b/m4/wcsnrtombs.m4 new file mode 100644 index 0000000000..9aef477e99 --- /dev/null +++ b/m4/wcsnrtombs.m4 @@ -0,0 +1,25 @@ +# wcsnrtombs.m4 serial 1 +dnl Copyright (C) 2008 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_WCSNRTOMBS], +[ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + AC_CHECK_FUNCS_ONCE([wcsnrtombs]) + if test $ac_cv_func_wcsnrtombs = no; then + HAVE_WCSNRTOMBS=0 + gl_REPLACE_WCHAR_H + AC_LIBOBJ([wcsnrtombs]) + AC_LIBOBJ([wcsrtombs-state]) + gl_PREREQ_WCSNRTOMBS + fi +]) + +# Prerequisites of lib/wcsnrtombs.c. +AC_DEFUN([gl_PREREQ_WCSNRTOMBS], [ + : +]) |