]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
authorAkim Demaille <akim@epita.fr>
Thu, 31 May 2001 07:32:27 +0000 (07:32 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 31 May 2001 07:32:27 +0000 (07:32 +0000)
stdlib.h.
From Paul Eggert and Lars Hecking.

ChangeLog
NEWS
acgeneral.m4
doc/autoconf.texi
lib/autoconf/general.m4

index 5bda1ba8dbdf88e4743583f7e4b90274fdc57103..24f1e489af1ed30e29b895369accb566b6e2c3f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-31  Akim Demaille  <akim@epita.fr>
+
+       * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
+       stdlib.h.
+       From Paul Eggert and Lars Hecking.
+
 2001-05-31  Akim Demaille  <akim@epita.fr>
 
        * tests/base.at: Adjust line numbers in error messages.
diff --git a/NEWS b/NEWS
index 90f06337e7368793b682f7684db1034af6b31fbf..51edbe0a4eaaf5687b9bf0a5b75747040c333f2d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,7 @@
 * Major changes in Autoconf 2.50a                       -*- outline -*-
+** Default includes
+Now include stdint.h.
+
 \f
 * Major changes in Autoconf 2.50
 
index 0d8c76009e2b1cf96cb325bddeaa0e3a7755ee9e..3deae136cd01857447ea455f68e97ca60b87cc18 100644 (file)
@@ -2333,13 +2333,17 @@ ac_includes_default="\
 #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 d8e1b05746758f27dca1fd5069043444320b1e68..204bf9520e4d2a50613f127a85b83a6663f5f1fb 100644 (file)
@@ -2797,6 +2797,10 @@ Most generic macros provide the following default set of includes:
 #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>
index 0d8c76009e2b1cf96cb325bddeaa0e3a7755ee9e..3deae136cd01857447ea455f68e97ca60b87cc18 100644 (file)
@@ -2333,13 +2333,17 @@ ac_includes_default="\
 #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)
 ])