summaryrefslogtreecommitdiff
path: root/modules/fnmatch-h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fnmatch-h')
-rw-r--r--modules/fnmatch-h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/fnmatch-h b/modules/fnmatch-h
index 43800764c5..cfabc8cd51 100644
--- a/modules/fnmatch-h
+++ b/modules/fnmatch-h
@@ -15,6 +15,7 @@ snippet/warn-on-use
configure.ac:
gl_FNMATCH_H
gl_FNMATCH_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(FNMATCH_H)
@@ -23,6 +24,7 @@ BUILT_SOURCES += $(FNMATCH_H)
if GL_GENERATE_FNMATCH_H
fnmatch.h: fnmatch.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_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \