fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / stat
index 1ad5e908eea234c47652813e9b2b14598da610aa..6bc27ce3d29f45e3c061b8d7e698bed85b5d9aed 100644 (file)
@@ -3,15 +3,19 @@ stat() function: query file information
 
 Files:
 lib/stat.c
-m4/dos.m4
 m4/stat.m4
 
 Depends-on:
-stdbool
 sys_stat
+dosname         [test $REPLACE_STAT = 1]
+stdbool         [test $REPLACE_STAT = 1]
 
 configure.ac:
 gl_FUNC_STAT
+if test $REPLACE_STAT = 1; then
+  AC_LIBOBJ([stat])
+  gl_PREREQ_STAT
+fi
 gl_SYS_STAT_MODULE_INDICATOR([stat])
 
 Makefile.am: