PATCH 21.5
Fix VDB detection on x86_64 Macs.
>>>>"SJT" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
SJT> I just tried, and it tried to use PPC
code.
I configure --with-newgc frequently on my Intel Mac, but never saw the
problem you hit since my configure arguments also set the VDB
explicitly. Thus, I missed that configure fails to determine the right
virtual-dirty-bit write barrier on 64-bit Macs.
This patch fixes it, I'll commit in a few days, if nobody objects.
# HG changeset patch
# User Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
# Date 1378669689 -7200
# Node ID a9fd35f939a5ab86f3907d5492f70d8ab6a884d2
# Parent 995257d0c590d72c2ae483054d5361bff947d19d
Fix VDB detection on x86_64 Macs.
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-09-08 Marcus Crestani <crestani(a)xemacs.org>
+
+ * configure.ac: x86_64 Macs also use POSIX virtual-dirty-bit write
+ barrier.
+ * configure: Rebuild.
+
2013-07-28 Stephen J. Turnbull <stephen(a)xemacs.org>
* configure.ac (makeinfo):
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5940,6 +5940,7 @@
case "$opsys" in
darwin ) case "$machine" in
intel386 ) check_vdb_posix=yes ;;
+ x86_64 ) check_vdb_posix=yes ;;
* ) $as_echo "#define VDB_MACH 1" >>confdefs.h
have_vdb_mach=yes ;;
esac ;;
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1448,6 +1448,7 @@
case "$opsys" in
darwin ) case "$machine" in
intel386 ) check_vdb_posix=yes ;;
+ x86_64 ) check_vdb_posix=yes ;;
* ) AC_DEFINE(VDB_MACH) have_vdb_mach=yes ;;
esac ;;
cygwin* ) AC_DEFINE(VDB_WIN32) have_vdb_win32=yes ;;
--
Marcus
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta