]> git.ipfire.org Git - thirdparty/autoconf.git/commit
AC_CHECK_ALIGNOF: fix cross-compilation bug with newer gcc
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 6 Sep 2012 21:50:27 +0000 (14:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 6 Sep 2012 21:55:09 +0000 (14:55 -0700)
commitf52459d158bcf5edd4ca75a453bb012efd0f4d90
treefa40a7e30737cd64af678d1994002ab2efb31841
parentdb36f6df60b6aa4e692be7163407ef83c1de1afb
AC_CHECK_ALIGNOF: fix cross-compilation bug with newer gcc

* doc/autoconf.texi (Default Includes, Particular Functions)
(Header Portability):
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)):
* lib/autoconf/headers.m4 (AC_HEADER_STDC):
* lib/autoconf/types.m4 (_AC_CHECK_ALIGNOF):
* lib/m4sugar/m4sugar.m4 (m4_require) [comment only]:
Assume the existence of the C89 freestanding headers <float.h>,
<limits.h>, <stdarg.h>, <stddef.h>, as that's safe nowadays.
This is less likely to run into gotchas, and should fix a
cross-compilation bug with newer GCC reported by Myke Frysinger in
<http://lists.gnu.org/archive/html/bug-autoconf/2012-09/msg00001.html>.
doc/autoconf.texi
lib/autoconf/c.m4
lib/autoconf/headers.m4
lib/autoconf/types.m4
lib/m4sugar/m4sugar.m4