commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

committing: configure.ac-sizeof-void-p.patch


From: Steven Augart
Subject: committing: configure.ac-sizeof-void-p.patch
Date: Wed, 09 Jun 2004 23:00:48 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421


--
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm
Patch against GNU Classpath CVS Head, as of 10 June 2004, 2:55 GMT

This patch adds a SIZEOF_VOID_P item to include/config.h; that, in turn,
means that Double.toString() should work correctly again on 64-bit PowerPC.

--Steven Augart

ChangeLog entry:

2004-06-09  Steven Augart  <address@hidden>

        * configure.ac: Add SIZEOF_VOID_P to include/config.h.

Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.30
diff -I*.class -u -r1.30 configure.ac
--- configure.ac        3 Jun 2004 09:16:56 -0000       1.30
+++ configure.ac        10 Jun 2004 02:54:20 -0000
@@ -98,6 +98,9 @@
 if test "x${COMPILE_JNI}" = xyes; then
   AC_HEADER_STDC
 
+  dnl Checking sizeof void * is needed for fdlibm to work properly on ppc64, 
+  dnl at least. 
+  AC_CHECK_SIZEOF(void *)
   dnl We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
   dnl On that system, sys/ioctl.h will not include sys/filio.h unless
   dnl BSD_COMP is defined; just including sys/filio.h is simpler.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]