summaryrefslogtreecommitdiff
path: root/modules/sched
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sched')
-rw-r--r--modules/sched2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/sched b/modules/sched
index 995dfb95e2..ea706e8fc7 100644
--- a/modules/sched
+++ b/modules/sched
@@ -14,6 +14,7 @@ snippet/warn-on-use
configure.ac:
gl_SCHED_H
gl_SCHED_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += sched.h
@@ -22,6 +23,7 @@ BUILT_SOURCES += sched.h
# the system doesn't have one.
sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_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_SCHED_H''@|$(HAVE_SCHED_H)|g' \