summaryrefslogtreecommitdiff
path: root/modules/stdbool
diff options
context:
space:
mode:
Diffstat (limited to 'modules/stdbool')
-rw-r--r--modules/stdbool2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/stdbool b/modules/stdbool
index b1fcdda456..d3f434cc55 100644
--- a/modules/stdbool
+++ b/modules/stdbool
@@ -10,6 +10,7 @@ Depends-on:
configure.ac:
AM_STDBOOL_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(STDBOOL_H)
@@ -19,6 +20,7 @@ BUILT_SOURCES += $(STDBOOL_H)
if GL_GENERATE_STDBOOL_H
stdbool.h: stdbool.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
} > $@-t && \