[kaffe] CVS kaffe (robilad): Fix for cross-compilation problems with ALIGNMENTOF_VOIDP
Kaffe CVS
cvs-commits at kaffe.org
Sat Mar 12 11:30:43 PST 2005
PatchSet 5527
Date: 2005/03/12 19:25:49
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Fix for cross-compilation problems with ALIGNMENTOF_VOIDP
2005-03-12 Dalibor Topic <robilad at kaffe.org>
* configure.ac: Fixed typo that prevented ALIGNMENTOF_VOIDP
to be defined when cross-compiling.
Members:
ChangeLog:1.3701->1.3702
configure:1.430->1.431
configure.ac:1.120->1.121
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3701 kaffe/ChangeLog:1.3702
--- kaffe/ChangeLog:1.3701 Sat Mar 12 16:08:08 2005
+++ kaffe/ChangeLog Sat Mar 12 19:25:49 2005
@@ -9,6 +9,11 @@
2005-03-12 Dalibor Topic <robilad at kaffe.org>
+ * configure.ac: Fixed typo that prevented ALIGNMENTOF_VOIDP
+ to be defined when cross-compiling.
+
+2005-03-12 Dalibor Topic <robilad at kaffe.org>
+
* config/alpha/jit.h: Use translatorlock instead of
translatorLock.
Index: kaffe/configure
diff -u kaffe/configure:1.430 kaffe/configure:1.431
--- kaffe/configure:1.430 Thu Feb 24 15:06:41 2005
+++ kaffe/configure Sat Mar 12 19:25:52 2005
@@ -32004,7 +32004,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test "$cross_compiling" = yes; then
- ac_cv_alignmentof_voidp=$ac_cv_sizeof_voidp
+ ac_cv_alignmentof_voidp=$ac_cv_sizeof_void_p
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.120 kaffe/configure.ac:1.121
--- kaffe/configure.ac:1.120 Thu Feb 24 15:06:48 2005
+++ kaffe/configure.ac Sat Mar 12 19:25:55 2005
@@ -878,7 +878,7 @@
f=fopen ("conftestdata", "w");
if (! f) exit (1);
fprintf (f, "%d", ((char*) &t.p)-((char*) &t));
- fclose(f); exit (0); }]])],[ac_cv_alignmentof_voidp=`cat conftestdata`],[AC_MSG_ERROR(Unexpected result)],[ac_cv_alignmentof_voidp=$ac_cv_sizeof_voidp]))
+ fclose(f); exit (0); }]])],[ac_cv_alignmentof_voidp=`cat conftestdata`],[AC_MSG_ERROR(Unexpected result)],[ac_cv_alignmentof_voidp=$ac_cv_sizeof_void_p]))
AC_DEFINE_UNQUOTED(ALIGNMENTOF_VOIDP,$ac_cv_alignmentof_voidp, [How are pointers aligned])
dnl -------------------------------------------------------------------------
More information about the kaffe
mailing list