verify: new macro 'assume'
[gnulib.git] / modules / lstat
index e53ac7e..7fe97ca 100644 (file)
@@ -6,12 +6,17 @@ lib/lstat.c
 m4/lstat.m4
 
 Depends-on:
-dosname
-stat
 sys_stat
+largefile
+dosname         [test $REPLACE_LSTAT = 1]
+stat            [test $REPLACE_LSTAT = 1]
 
 configure.ac:
 gl_FUNC_LSTAT
+if test $REPLACE_LSTAT = 1; then
+  AC_LIBOBJ([lstat])
+  gl_PREREQ_LSTAT
+fi
 gl_SYS_STAT_MODULE_INDICATOR([lstat])
 
 Makefile.am: