unictype/base: Fix interoperability with preinstalled libunistring.
[pspp] / modules / wcpncpy
index 8506bf4466b56f385f4f3ea57dbe67977c716ab6..82b9671f552ab00323f56801b5899fe403889945 100644 (file)
@@ -12,6 +12,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCPNCPY
+if test $HAVE_WCPNCPY = 0; then
+  AC_LIBOBJ([wcpncpy])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcpncpy])
 
 Makefile.am: