fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / iconv_open
index 5079d275777d3bd2c1a3dc3b1e736526cd70d8e3..c965b8ff7ad5e0580d81794e563e2a5399a6ec94 100644 (file)
@@ -24,6 +24,13 @@ unistr/u8-uctomb  [test $REPLACE_ICONV_UTF = 1]
 
 configure.ac:
 gl_FUNC_ICONV_OPEN
+if test $REPLACE_ICONV_OPEN = 1; then
+  AC_LIBOBJ([iconv_open])
+fi
+if test $REPLACE_ICONV = 1; then
+  AC_LIBOBJ([iconv])
+  AC_LIBOBJ([iconv_close])
+fi
 
 Makefile.am:
 iconv_open-aix.h: iconv_open-aix.gperf