fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / remove
index 63e06e05646a32485ed938f094b8dad9e67b038c..0caf48a7ff3584e1266b134e8c69388d35e4e254 100644 (file)
@@ -3,16 +3,18 @@ remove() function: remove a file or directory
 
 Files:
 lib/remove.c
-m4/dos.m4
 m4/remove.m4
 
 Depends-on:
-rmdir
 stdio
-unlink
+rmdir           [test $REPLACE_REMOVE = 1]
+unlink          [test $REPLACE_REMOVE = 1]
 
 configure.ac:
 gl_FUNC_REMOVE
+if test $REPLACE_REMOVE = 1; then
+  AC_LIBOBJ([remove])
+fi
 gl_STDIO_MODULE_INDICATOR([remove])
 
 Makefile.am: