fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / iswblank
index 2a4a81731903e865fc08372d3dcb651819d5dc98..211405d2be592776575d037b8647dcb7ba12585e 100644 (file)
@@ -7,9 +7,17 @@ m4/iswblank.m4
 
 Depends-on:
 wctype-h
+extensions
 
 configure.ac:
 gl_FUNC_ISWBLANK
+if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
+  :
+else
+  if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
+    AC_LIBOBJ([iswblank])
+  fi
+fi
 gl_WCTYPE_MODULE_INDICATOR([iswblank])
 
 Makefile.am: