X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fctype;h=ec000dc80148177f07a85a2e30efe21b0f088ab7;hb=1a9afb04e6f2fb36d17b3837942165cd1a0c50ac;hp=b0ebf1b37673dca075b88a10e0138c5eee657868;hpb=b7be78fd0c455acefbdf32618c2f6488915c1a33;p=gnulib.git diff --git a/modules/ctype b/modules/ctype index b0ebf1b37..ec000dc80 100644 --- a/modules/ctype +++ b/modules/ctype @@ -7,23 +7,29 @@ m4/ctype.m4 Depends-on: include_next +snippet/c++defs +snippet/warn-on-use configure.ac: gl_CTYPE_H Makefile.am: -BUILT_SOURCES += $(CTYPE_H) +BUILT_SOURCES += ctype.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. -ctype.h: ctype.in.h +ctype.h: ctype.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|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/ctype.in.h; \ } > $@-t && \ mv $@-t $@