X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstdint;h=f8dc06eb16dbdbca6e48dbafbe9f3e08457d5d2c;hb=4f1c3e03d2c2413f6c64b5f62d3824fead5b3f73;hp=8d5690ab675f3438a404775a7ae2770a7a573a49;hpb=9029f098c318e509ee94912bdba51d58c79dd102;p=gnulib.git diff --git a/modules/stdint b/modules/stdint index 8d5690ab6..f8dc06eb1 100644 --- a/modules/stdint +++ b/modules/stdint @@ -1,12 +1,16 @@ Description: -An that nearly conforms to C99. -(Nearly: {uint,int}_{fast,least}{8,16,32,64}_t may not correspond -to the fastest and smallest types available on the system.) +A that nearly conforms to C99. +Assumes typical host with 8-bit bytes, two's complement +representation, and no padding or trap representations, with int +widths equal to 8, 16, 32, and 64 bits. {uint,int}_fast{8,16,32,64}_t +may not correspond to the fastest types available on the system. +Macros are used instead of typedefs. Files: lib/stdint_.h m4/stdint.m4 -m4/inttypes.m4 +m4/absolute-header.m4 +m4/longlong.m4 Depends-on: @@ -20,7 +24,28 @@ EXTRA_DIST += stdint_.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdint.h: stdint_.h - sed -e 's/@''HAVE_LONG_64BIT''@/$(HAVE_LONG_64BIT)/g;s/@''HAVE_LONG_LONG_64BIT@/$(HAVE_LONG_LONG_64BIT)/g' < $(srcdir)/stdint_.h > $@-t + sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ + -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ + -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ + -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \ + -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ + -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ + -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ + -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ + -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ + -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ + -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ + -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ + -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ + -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ + -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ + < $(srcdir)/stdint_.h > $@-t mv $@-t $@ MOSTLYCLEANFILES += stdint.h stdint.h-t @@ -28,7 +53,7 @@ Include: #include License: -GPL +LGPL Maintainer: all