Mercurial > hg > release > icedtea6-1.3
changeset 801:fddbd2aeed27
2008-04-07 Gary Benson <gbenson@redhat.com>
* acinclude.m4 (ENABLE_ZERO_BUILD): Added sparc and sparc64.
* configure: Regenerated.
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Mon, 07 Apr 2008 09:39:14 -0400 |
parents | 172f34f6f4b7 |
children | 0c0add06bfb7 |
files | ChangeLog acinclude.m4 configure |
diffstat | 3 files changed, 19 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Apr 04 16:13:34 2008 -0400 +++ b/ChangeLog Mon Apr 07 09:39:14 2008 -0400 @@ -1,3 +1,8 @@ +2008-04-07 Gary Benson <gbenson@redhat.com> + + * acinclude.m4 (ENABLE_ZERO_BUILD): Added sparc and sparc64. + * configure: Regenerated. + 2008-04-04 Joshua Sumali <jsumali@redhat.com> * rt/net/sourceforge/jnlp/cache/CacheUtil.java: Added debugging code.
--- a/acinclude.m4 Fri Apr 04 16:13:34 2008 -0400 +++ b/acinclude.m4 Mon Apr 07 09:39:14 2008 -0400 @@ -543,10 +543,10 @@ ZERO_LIBARCH="${INSTALL_ARCH_DIR}" dnl can't use AC_CHECK_SIZEOF on multilib case "${ZERO_LIBARCH}" in - i386|ppc|s390) + i386|ppc|s390|sparc) ZERO_BITSPERWORD=32 ;; - amd64|ppc64|s390x) + amd64|ppc64|s390x|sparc64) ZERO_BITSPERWORD=64 ;; *) @@ -564,18 +564,21 @@ s390*) ZERO_ARCHDEF="S390" ;; + sparc*) + ZERO_ARCHDEF="SPARC" + ;; *) ZERO_ARCHDEF=`echo ${ZERO_LIBARCH} | tr a-z A-Z` esac dnl multilib machines need telling which mode to build for case "${ZERO_LIBARCH}" in - i386|ppc) + i386|ppc|sparc) ZERO_ARCHFLAG="-m32" ;; s390) ZERO_ARCHFLAG="-m31" ;; - amd64|ppc64|s390x) + amd64|ppc64|s390x|sparc64) ZERO_ARCHFLAG="-m64" ;; esac
--- a/configure Fri Apr 04 16:13:34 2008 -0400 +++ b/configure Mon Apr 07 09:39:14 2008 -0400 @@ -8305,10 +8305,10 @@ if test "x${use_zero}" = xyes; then ZERO_LIBARCH="${INSTALL_ARCH_DIR}" case "${ZERO_LIBARCH}" in - i386|ppc|s390) + i386|ppc|s390|sparc) ZERO_BITSPERWORD=32 ;; - amd64|ppc64|s390x) + amd64|ppc64|s390x|sparc64) ZERO_BITSPERWORD=64 ;; *) @@ -8961,17 +8961,20 @@ s390*) ZERO_ARCHDEF="S390" ;; + sparc*) + ZERO_ARCHDEF="SPARC" + ;; *) ZERO_ARCHDEF=`echo ${ZERO_LIBARCH} | tr a-z A-Z` esac case "${ZERO_LIBARCH}" in - i386|ppc) + i386|ppc|sparc) ZERO_ARCHFLAG="-m32" ;; s390) ZERO_ARCHFLAG="-m31" ;; - amd64|ppc64|s390x) + amd64|ppc64|s390x|sparc64) ZERO_ARCHFLAG="-m64" ;; esac