X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fmbsrtowcs;h=da5f016e44d7bb518cc28465024e8115859619f6;hb=ade8cd7e510c08163f4b80603de470555c92695c;hp=973b69538d99809d32e4f69bf492d058436dee34;hpb=d980ee6cad701892539801d9c15b7bcc3027afe5;p=gnulib.git diff --git a/modules/mbsrtowcs b/modules/mbsrtowcs index 973b69538..da5f016e4 100644 --- a/modules/mbsrtowcs +++ b/modules/mbsrtowcs @@ -14,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: