fclose: guarantee behavior on seekable stdin
[gnulib.git] / modules / langinfo
index e864c91..c2b239a 100644 (file)
@@ -15,13 +15,11 @@ configure.ac:
 gl_LANGINFO_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += langinfo.h
-
 BUILT_SOURCES += langinfo.h
 
 # We need the following in order to create an empty placeholder for
 # <langinfo.h> when the system doesn't have one.
-langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
+langinfo.h: langinfo.in.h $(top_builddir)/config.status $(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' \