X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Finttypes;h=2199e4b710b0334e611d7c6d1cf76adf6ae9a88e;hb=2d6501c921265a1536ca044f45773e761b639706;hp=d61614b28e3d0f35822d5b2652d36fa66382da11;hpb=e8886c908325158b4e127ac82fbc4fb8918aad85;p=gnulib.git diff --git a/modules/inttypes b/modules/inttypes index d61614b28..2199e4b71 100644 --- a/modules/inttypes +++ b/modules/inttypes @@ -2,12 +2,13 @@ Description: An that nearly conforms to C99. Files: -lib/inttypes_.h -m4/absolute-header.m4 +lib/inttypes.in.h m4/inttypes-pri.m4 m4/inttypes.m4 Depends-on: +include_next +link-warning stdint configure.ac: @@ -15,23 +16,29 @@ gl_INTTYPES_H Makefile.am: BUILT_SOURCES += $(INTTYPES_H) -EXTRA_DIST += inttypes_.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. -inttypes.h: inttypes_.h +inttypes.h: inttypes.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ - -e 's/@''ABSOLUTE_INTTYPES_H''@/$(ABSOLUTE_INTTYPES_H)/g' \ + -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \ + -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ + -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ + -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ + -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ + -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ + -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ - < $(srcdir)/inttypes_.h; \ + -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ + < $(srcdir)/inttypes.in.h; \ } > $@-t mv $@-t $@ MOSTLYCLEANFILES += inttypes.h inttypes.h-t