X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Flanginfo;h=c7f545e7bc3452f33cbb43a1fcb460e72c1f9e85;hb=d9981c909aa1ea316367d76e4049e4322c32df18;hp=07d4e47b295f33082628102bec177d5d3415b889;hpb=692679fcbebba0095bae0f1f1a99bd1f0f5a0476;p=gnulib.git diff --git a/modules/langinfo b/modules/langinfo index 07d4e47b2..c7f545e7b 100644 --- a/modules/langinfo +++ b/modules/langinfo @@ -8,6 +8,7 @@ m4/langinfo_h.m4 Depends-on: extensions include_next +c++defs warn-on-use configure.ac: @@ -18,7 +19,7 @@ BUILT_SOURCES += langinfo.h # We need the following in order to create an empty placeholder for # when the system doesn't have one. -langinfo.h: langinfo.in.h $(WARN_ON_USE_H) +langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ @@ -30,6 +31,7 @@ langinfo.h: langinfo.in.h $(WARN_ON_USE_H) -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/langinfo.in.h; \ } > $@-t && \