diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-07-25 08:30:38 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2006-07-25 08:30:38 +0000 |
commit | 695cd757b9930cd5d5386956ea7e840668c09733 (patch) | |
tree | 32fd36e775e41a76a98e97e429a3214ce0c56f83 /config/stdint.m4 | |
parent | a72a078396a5a44e62f0a991b81bac3638e8c29e (diff) | |
download | gcc-695cd757b9930cd5d5386956ea7e840668c09733.zip gcc-695cd757b9930cd5d5386956ea7e840668c09733.tar.gz gcc-695cd757b9930cd5d5386956ea7e840668c09733.tar.bz2 |
re PR bootstrap/26188 (4.2.0 fails to compile on FreeBSD 4.11)
config:
2006-07-25 Paolo Bonzini <bonzini@gnu.org>
PR build/26188
* stdint.m4: Test for uintptr_t even on systems with uint64_t or uint32_t.
libdecnumber:
2006-07-25 Paolo Bonzini <bonzini@gnu.org>
PR build/26188
* configure: Regenerate.
libgfortran:
2006-07-25 Paolo Bonzini <bonzini@gnu.org>
PR build/26188
* configure: Regenerate.
From-SVN: r115733
Diffstat (limited to 'config/stdint.m4')
-rw-r--r-- | config/stdint.m4 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config/stdint.m4 b/config/stdint.m4 index 21ef2ec..0792382 100644 --- a/config/stdint.m4 +++ b/config/stdint.m4 @@ -61,14 +61,17 @@ for i in stdint.h $inttype_headers; do break done if test "$acx_cv_header_stdint" = stddef.h; then - acx_cv_header_stdint_kind="(lacks uintptr_t)" + acx_cv_header_stdint_kind="(lacks uintmax_t)" for i in stdint.h $inttype_headers; do + unset ac_cv_type_uintptr_t unset ac_cv_type_uint32_t unset ac_cv_type_uint64_t _AS_ECHO_N([looking for an incomplete stdint.h in $i, ]) AC_CHECK_TYPE(uint32_t,[acx_cv_header_stdint=$i],continue,[#include <sys/types.h> #include <$i>]) - AC_CHECK_TYPE(uint64_t,,[acx_cv_header_stdint_kind="(lacks uintptr_t and uint64_t)"], [#include <sys/types.h> + AC_CHECK_TYPE(uint64_t,,,[#include <sys/types.h> +#include <$i>]) + AC_CHECK_TYPE(uintptr_t,,,[#include <sys/types.h> #include <$i>]) break done @@ -81,7 +84,7 @@ if test "$acx_cv_header_stdint" = stddef.h; then _AS_ECHO_N([looking for u_intXX_t types in $i, ]) AC_CHECK_TYPE(u_int32_t,[acx_cv_header_stdint=$i],continue,[#include <sys/types.h> #include <$i>]) - AC_CHECK_TYPE(u_int64_t,,[acx_cv_header_stdint_kind="(u_intXX_t style, lacks u_int64_t)"], [#include <sys/types.h> + AC_CHECK_TYPE(u_int64_t,,,[#include <sys/types.h> #include <$i>]) break done |