getcwd: fix compile error in configure check
[gnulib.git] / modules / perror
index af79a0d..8bc9d46 100644 (file)
@@ -3,18 +3,19 @@ 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-override [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: