mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
stdlib.h. From Paul Eggert and Lars Hecking.
This commit is contained in:
parent
ede868b1e6
commit
7312c775f1
@ -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.
|
||||
|
3
NEWS
3
NEWS
@ -1,4 +1,7 @@
|
||||
* Major changes in Autoconf 2.50a -*- outline -*-
|
||||
** Default includes
|
||||
Now include stdint.h.
|
||||
|
||||
|
||||
* Major changes in Autoconf 2.50
|
||||
|
||||
|
@ -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)
|
||||
])
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user