fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / perror
index af79a0d8e752231aa6cf4e9ccf29171621eacbb7..e74300220a8735880e19451be8bcbb01c3b53a5d 100644 (file)
@@ -3,18 +3,18 @@ perror() function: print a message describing error code.
 
 Files:
 lib/perror.c
-lib/strerror-impl.h
 m4/perror.m4
 
 Depends-on:
 stdio
 errno            [test $REPLACE_PERROR = 1]
-intprops         [test $REPLACE_PERROR = 1]
-verify           [test $REPLACE_PERROR = 1]
 strerror_r-posix [test $REPLACE_PERROR = 1]
 
 configure.ac:
 gl_FUNC_PERROR
+if test $REPLACE_PERROR = 1; then
+  AC_LIBOBJ([perror])
+fi
 gl_STRING_MODULE_INDICATOR([perror])
 
 Makefile.am: