autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Including stdint.h (Was: autoconf-2.50 docs: Common Behavior/Defaul


From: Akim Demaille
Subject: FYI: Including stdint.h (Was: autoconf-2.50 docs: Common Behavior/Default Includes)
Date: 31 May 2001 09:32:23 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (GTK)

Please, criticize if wrong to your opinion.

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
        stdlib.h.
        From Paul Eggert and Lars Hecking.

Index: NEWS
===================================================================
RCS file: /cvs/autoconf/NEWS,v
retrieving revision 1.145
diff -u -u -r1.145 NEWS
--- NEWS 2001/05/21 13:30:04 1.145
+++ NEWS 2001/05/31 07:29:57
@@ -1,4 +1,7 @@
 * Major changes in Autoconf 2.50a                       -*- outline -*-
+** Default includes
+Now include stdint.h.
+
 
 * Major changes in Autoconf 2.50
 
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.723
diff -u -u -r1.723 acgeneral.m4
--- acgeneral.m4 2001/05/19 17:33:20 1.723
+++ acgeneral.m4 2001/05/31 07:29:59
@@ -2333,13 +2333,17 @@
 #endif
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
+#else
+# if HAVE_STDINT_H
+#  include <stdint.h>
+# endif
 #endif
 #if HAVE_UNISTD_H
 # include <unistd.h>
 #endif"
 ])dnl
 AC_REQUIRE([AC_HEADER_STDC])dnl
-AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h unistd.h)
+AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h stdint.h 
unistd.h)
 ])
 
 
Index: doc/autoconf.texi
===================================================================
RCS file: /cvs/autoconf/doc/autoconf.texi,v
retrieving revision 1.451
diff -u -u -r1.451 autoconf.texi
--- doc/autoconf.texi 2001/05/29 13:23:46 1.451
+++ doc/autoconf.texi 2001/05/31 07:30:03
@@ -2797,6 +2797,10 @@
 #endif
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
+#else
+# if HAVE_STDINT_H
+#  include <stdint.h>
+# endif
 #endif
 #if HAVE_UNISTD_H
 # include <unistd.h>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]