X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fmbsrtowcs;h=da5f016e44d7bb518cc28465024e8115859619f6;hb=972228da936bd54d6cf64f8b56c03a13ee4603e6;hp=948763a44406bfe4207f7a8e6d4ebb8b963f6de8;hpb=698c081b5687fc9920947bb74f3e288915dd7d00;p=gnulib.git diff --git a/modules/mbsrtowcs b/modules/mbsrtowcs index 948763a44..da5f016e4 100644 --- a/modules/mbsrtowcs +++ b/modules/mbsrtowcs @@ -3,6 +3,7 @@ mbsrtowcs() function: convert string to wide string. Files: lib/mbsrtowcs.c +lib/mbsrtowcs-impl.h lib/mbsrtowcs-state.c m4/mbsrtowcs.m4 m4/mbstate_t.m4 @@ -13,12 +14,17 @@ m4/codeset.m4 Depends-on: wchar -mbrtowc -strnlen1 extensions +mbrtowc [test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1] +strnlen1 [test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1] configure.ac: gl_FUNC_MBSRTOWCS +if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then + AC_LIBOBJ([mbsrtowcs]) + AC_LIBOBJ([mbsrtowcs-state]) + gl_PREREQ_MBSRTOWCS +fi gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) Makefile.am: