summaryrefslogtreecommitdiff
path: root/modules/spawn
diff options
context:
space:
mode:
Diffstat (limited to 'modules/spawn')
-rw-r--r--modules/spawn2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/spawn b/modules/spawn
index 312c5ec9bd..8ad028c10e 100644
--- a/modules/spawn
+++ b/modules/spawn
@@ -17,6 +17,7 @@ snippet/warn-on-use
configure.ac:
gl_SPAWN_H
gl_SPAWN_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += spawn.h
@@ -25,6 +26,7 @@ BUILT_SOURCES += spawn.h
# the system doesn't have one.
spawn.h: spawn.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_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \