# HG changeset patch # User Jim Meyering # Date 945598967 0 # Node ID 210cdda9d73dc01fa533f64578ad91f6d58661bc # Parent e45e2d97da8df9b9447429c8dacb4787f9257750 . diff --git a/lib/Makefile.in b/lib/Makefile.in --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -656,11 +656,21 @@ mostlyclean distclean maintainer-clean lstat.c: xstat.in - sed -e '/@IGNORE@/d' -e 's/@xstat@/lstat/g' $(srcdir)/xstat.in > $@-t + sed \ + -e '/@IGNORE@/d' \ + -e 's/@xstat@/lstat/g' \ + -e '/_LSTAT_ONLY@/d' \ + -e '/@BEGIN_STAT_ONLY@/,/@END_STAT_ONLY@/d' \ + $(srcdir)/xstat.in > $@-t mv $@-t $@ stat.c: xstat.in - sed -e '/@IGNORE@/d' -e 's/@xstat@/stat/g' $(srcdir)/xstat.in > $@-t + sed \ + -e '/@IGNORE@/d' \ + -e 's/@xstat@/stat/g' \ + -e '/_STAT_ONLY@/d' \ + -e '/@BEGIN_LSTAT_ONLY@/,/@END_LSTAT_ONLY@/d' \ + $(srcdir)/xstat.in > $@-t mv $@-t $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/m4/Makefile.am b/m4/Makefile.am --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -31,6 +31,7 @@ lcmessage.m4 \ link-follow.m4 \ ls-mntd-fs.m4 \ +lstat-slash.m4 \ lstat.m4 \ malloc.m4 \ memcmp.m4 \ diff --git a/m4/Makefile.in b/m4/Makefile.in --- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -131,6 +131,7 @@ lcmessage.m4 \ link-follow.m4 \ ls-mntd-fs.m4 \ +lstat-slash.m4 \ lstat.m4 \ malloc.m4 \ memcmp.m4 \