summaryrefslogtreecommitdiff
path: root/modules/langinfo
diff options
context:
space:
mode:
Diffstat (limited to 'modules/langinfo')
-rw-r--r--modules/langinfo2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/langinfo b/modules/langinfo
index 0e4aa964ad..9c1665da89 100644
--- a/modules/langinfo
+++ b/modules/langinfo
@@ -14,6 +14,7 @@ snippet/warn-on-use
configure.ac:
gl_LANGINFO_H
gl_LANGINFO_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += langinfo.h
@@ -22,6 +23,7 @@ BUILT_SOURCES += langinfo.h
# <langinfo.h> when the system doesn't have one.
langinfo.h: langinfo.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_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \