diff options
Diffstat (limited to 'modules/unistd')
-rw-r--r-- | modules/unistd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/unistd b/modules/unistd index acc9d86024..fd81e2b827 100644 --- a/modules/unistd +++ b/modules/unistd @@ -21,6 +21,7 @@ sys_types configure.ac: gl_UNISTD_H gl_UNISTD_H_REQUIRE_DEFAULTS +AC_PROG_MKDIR_P Makefile.am: BUILT_SOURCES += unistd.h @@ -30,6 +31,7 @@ lib_SOURCES += unistd.c # <unistd.h> when the system doesn't have one. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ + $(MKDIR_P) '%reldir%' && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ |