]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Header Portability): New.
authorAkim Demaille <akim@epita.fr>
Wed, 13 Mar 2002 09:58:41 +0000 (09:58 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 13 Mar 2002 09:58:41 +0000 (09:58 +0000)
Add information about stdint.h and inttypes.h from Paul Eggert.

ChangeLog
configure
doc/autoconf.texi

index 15695bd6ee128bee1d4c8256641a52792587cba8..4d5f045b63dac3fb1c1d71dc35cde8ff028823c1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-13  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Header Portability): New.
+       Add information about stdint.h and inttypes.h from Paul Eggert.
+
 2002-03-13  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
index 0a6c3ae0ad0d22c1daffd4e0f6dcd0527539e681..e087108742a82959778b3c0d9ee84ac7abc92e0b 100755 (executable)
--- a/configure
+++ b/configure
@@ -8,7 +8,6 @@
 # Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
-
 if expr a : '\(a\)' >/dev/null 2>&1; then
   as_expr=expr
 else
@@ -16,6 +15,7 @@ else
 fi
 
 
+
 ## --------------------- ##
 ## M4sh Initialization.  ##
 ## --------------------- ##
index 50d2fddcd6e17785e52f206e9c072c0aa10354f8..c9f81e22d21c62b60b4a866e8ab8c4ee996de481 100644 (file)
@@ -254,6 +254,7 @@ Library Functions
 
 Header Files
 
+* Header Portability::          Collected knowledge on common headers
 * Particular Headers::          Special handling to find certain headers
 * Generic Headers::             How to find other headers
 
@@ -413,7 +414,7 @@ Upgrading From Version 2.13
 * Changed Quotation::           Broken code which used to work
 * New Macros::                  Interaction with foreign macros
 * Hosts and Cross-Compilation::  Bugward compatibility kludges
-* AC_LIBOBJ vs. LIBOBJS::
+* AC_LIBOBJ vs. LIBOBJS::       LIBOBJS is a forbidden token
 
 Generating Test Suites with Autotest
 
@@ -4002,10 +4003,30 @@ and you don't need to check for any special properties of
 it, then you can use one of the general header-file check macros.
 
 @menu
+* Header Portability::          Collected knowledge on common headers
 * Particular Headers::          Special handling to find certain headers
 * Generic Headers::             How to find other headers
 @end menu
 
+@node Header Portability
+@subsection Portability of Headers
+
+This section tries to collect knowledge about common headers, and the
+problem they cause.  By definition, this list will always require
+additions.  Please help us keeping it as complete as possible.
+
+@table @asis
+@item @file{inttypes.h} vs. @file{stdint.h}
+Paul Eggert notes that: ISO C 1999 says that @file{inttypes.h} includes
+@file{stdint.h}, so there's no need to include @file{stdint.h}
+separately in a standard environment.  Many implementations have
+@file{inttypes.h} but not @file{stdint.h} (e.g. Solaris 7), but I don't
+know of any implementation that has @file{stdint.h} but not
+@file{inttypes.h}.  Nor do I know of any free software that includes
+@file{stdint.h}; @file{stdint.h} seems to be a creation of the committee.
+@end table
+
+
 @node Particular Headers
 @subsection Particular Header Checks