Files:
lib/stat_.h
-m4/absolute-header.m4
m4/sys_stat_h.m4
Depends-on:
-stat-macros
+absolute-header
configure.ac:
gl_HEADER_SYS_STAT_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(SYS_STAT_H)
# We need the following in order to create <sys/stat.h> when the system
# has one that is incomplete.
sys/stat.h: stat_.h
- test -d sys || mkdir sys
+ @MKDIR_P@ sys
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \