unictype/base: Fix interoperability with preinstalled libunistring.
[pspp] / modules / wcpncpy
index 2ba35a25797b77e15445e15fd771864e968a3996..82b9671f552ab00323f56801b5899fe403889945 100644 (file)
@@ -7,10 +7,14 @@ lib/wcpncpy-impl.h
 m4/wcpncpy.m4
 
 Depends-on:
+extensions
 wchar
 
 configure.ac:
 gl_FUNC_WCPNCPY
+if test $HAVE_WCPNCPY = 0; then
+  AC_LIBOBJ([wcpncpy])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcpncpy])
 
 Makefile.am: