From 963e23c5c23463e331566ecf2ae065fe6f465e98 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 26 May 2004 06:58:53 +0000 Subject: re PR bootstrap/15651 (Size Errors/Warnings Followed by ICE) 2004-05-26 Paolo Bonzini PR bootstrap/15651 * configure.ac: Fix m4 quoting when picking the size of HOST_WIDE_INT. * configure: Regenerate. From-SVN: r82279 --- libcpp/ChangeLog | 7 +++++++ libcpp/configure | 6 ++++-- libcpp/configure.ac | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) (limited to 'libcpp') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index f21088b..8ebe6f5 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2004-05-26 Paolo Bonzini + + PR bootstrap/15651 + * configure.ac: Fix m4 quoting when picking + the size of HOST_WIDE_INT. + * configure: Regenerate. + 2004-05-25 Paolo Bonzini * Makefile.am: the correct directory for diff --git a/libcpp/configure b/libcpp/configure index 713d139..9f807f4 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -7297,6 +7297,7 @@ _ACEOF fi + case $target in alpha*-*-* | \ x86_64-*-* | \ @@ -7309,8 +7310,8 @@ case $target in s390*-*-* | \ sparc64*-*-* | ultrasparc-*-freebsd* | \ sparcv9-*-solaris2* | \ - sparc-*-solaris2.789 | sparc-*-solaris2.10-9 | \ - sh123456789l*-*-*) + sparc-*-solaris2.[789] | sparc-*-solaris2.1[0-9] | \ + sh[123456789l]*-*-*) need_64bit_hwint=yes ;; *) need_64bit_hwint=no ;; @@ -7322,6 +7323,7 @@ case $need_64bit_hwint:$ac_cv_sizeof_long in esac + cat >>confdefs.h <<_ACEOF #define HOST_WIDE_INT $host_wide_int _ACEOF diff --git a/libcpp/configure.ac b/libcpp/configure.ac index 79c0e41..d160899 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -63,6 +63,7 @@ if test $enable_checking != no ; then [Define if you want more run-time sanity checks.]) fi +m4_changequote(,) case $target in alpha*-*-* | \ x86_64-*-* | \ @@ -86,6 +87,7 @@ case $need_64bit_hwint:$ac_cv_sizeof_long in *:8 | no:*) host_wide_int=long ;; *) host_wide_int='long long' ;; esac +m4_changequote([,]) AC_DEFINE_UNQUOTED(HOST_WIDE_INT, $host_wide_int, [Define to the widest efficient host integer type at least -- cgit v1.1