summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-26 06:58:53 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-26 06:58:53 +0000
commit347a3ab588617cc9fc45d44ac48b8d8a21e7dd43 (patch)
tree60bcac4d916bf9e0f8e660de49b32932000fb4d1 /libcpp
parent3e29f5cd954208c0296bd922cf5aee1bb89276da (diff)
downloadgcc-347a3ab588617cc9fc45d44ac48b8d8a21e7dd43.tar.gz
2004-05-26 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/15651 * configure.ac: Fix m4 quoting when picking the size of HOST_WIDE_INT. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog7
-rwxr-xr-xlibcpp/configure6
-rw-r--r--libcpp/configure.ac2
3 files changed, 13 insertions, 2 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index f21088bc42d..8ebe6f52bac 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,10 @@
+2004-05-26 Paolo Bonzini <bonzini@gnu.org>
+
+ PR bootstrap/15651
+ * configure.ac: Fix m4 quoting when picking
+ the size of HOST_WIDE_INT.
+ * configure: Regenerate.
+
2004-05-25 Paolo Bonzini <bonzini@gnu.org>
* Makefile.am: the correct directory for
diff --git a/libcpp/configure b/libcpp/configure
index 713d13935dd..9f807f41238 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 79c0e417337..d160899ddda 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