tests: avoid spurious assertion failure in test-float.c on ppc64
[gnulib.git] / modules / fclose
index 434dd73..85f63fe 100644 (file)
@@ -7,12 +7,16 @@ m4/fclose.m4
 
 Depends-on:
 stdio
-close
-freading
-lseek
+close           [test $REPLACE_FCLOSE = 1]
+fflush          [test $REPLACE_FCLOSE = 1]
+freading        [test $REPLACE_FCLOSE = 1]
+lseek           [test $REPLACE_FCLOSE = 1]
 
 configure.ac:
 gl_FUNC_FCLOSE
+if test $REPLACE_FCLOSE = 1; then
+  AC_LIBOBJ([fclose])
+fi
 gl_STDIO_MODULE_INDICATOR([fclose])
 
 Makefile.am:
@@ -25,4 +29,3 @@ LGPLv2+
 
 Maintainer:
 Bruno Haible
-