X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fwcwidth;h=7b6913b1b02d3b2df8d1f476efdbe6718b9855ad;hb=e56e96fe20f72586e9ec5c528b9a9a06daa2ecc6;hp=e4a9460e9434cb632a71fd5ce2a9f7ea77c2008c;hpb=a6dbbbfc876c64514a51fff76c99e002c8ed7580;p=gnulib.git diff --git a/modules/wcwidth b/modules/wcwidth index e4a9460e9..7b6913b1b 100644 --- a/modules/wcwidth +++ b/modules/wcwidth @@ -8,15 +8,18 @@ m4/wchar_t.m4 m4/wint_t.m4 Depends-on: -extensions wchar -wctype-h -localcharset -streq -uniwidth/width +extensions +wctype-h [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] +localcharset [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] +streq [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] +uniwidth/width [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] configure.ac: gl_FUNC_WCWIDTH +if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then + AC_LIBOBJ([wcwidth]) +fi gl_WCHAR_MODULE_INDICATOR([wcwidth]) Makefile.am: