fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / wcrtomb
index f9fea15ff1a5bfe83ffd595b71908d103b147c58..184fc53127d0d0fa1e6d43e411c66dcb4f4f5a05 100644 (file)
@@ -18,6 +18,10 @@ mbsinit         [test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1]
 
 configure.ac:
 gl_FUNC_WCRTOMB
+if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
+  AC_LIBOBJ([wcrtomb])
+  gl_PREREQ_WCRTOMB
+fi
 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
 
 Makefile.am: