* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include

stdlib.h.
From Paul Eggert and Lars Hecking.
This commit is contained in:
Akim Demaille 2001-05-31 07:32:27 +00:00
parent ede868b1e6
commit 7312c775f1
5 changed files with 23 additions and 2 deletions

View File

@ -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> 2001-05-31 Akim Demaille <akim@epita.fr>
* tests/base.at: Adjust line numbers in error messages. * tests/base.at: Adjust line numbers in error messages.

3
NEWS
View File

@ -1,4 +1,7 @@
* Major changes in Autoconf 2.50a -*- outline -*- * Major changes in Autoconf 2.50a -*- outline -*-
** Default includes
Now include stdint.h.
* Major changes in Autoconf 2.50 * Major changes in Autoconf 2.50

View File

@ -2333,13 +2333,17 @@ ac_includes_default="\
#endif #endif
#if HAVE_INTTYPES_H #if HAVE_INTTYPES_H
# include <inttypes.h> # include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif #endif
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif" #endif"
])dnl ])dnl
AC_REQUIRE([AC_HEADER_STDC])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)
]) ])

View File

@ -2797,6 +2797,10 @@ Most generic macros provide the following default set of includes:
#endif #endif
#if HAVE_INTTYPES_H #if HAVE_INTTYPES_H
# include <inttypes.h> # include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif #endif
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>

View File

@ -2333,13 +2333,17 @@ ac_includes_default="\
#endif #endif
#if HAVE_INTTYPES_H #if HAVE_INTTYPES_H
# include <inttypes.h> # include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif #endif
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif" #endif"
])dnl ])dnl
AC_REQUIRE([AC_HEADER_STDC])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)
]) ])