Doc update.
[pspp] / modules / wcswidth
index 2b748eb7a698ceaa3469f94a160e1768e4ef8804..27eabf3a32f1a9769db7b5132bee63e6dcd06cb3 100644 (file)
@@ -9,10 +9,13 @@ m4/wcswidth.m4
 
 Depends-on:
 wchar
-wcwidth
+wcwidth         [test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1]
 
 configure.ac:
 gl_FUNC_WCSWIDTH
+if test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1; then
+  AC_LIBOBJ([wcswidth])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcswidth])
 
 Makefile.am: