changeset 3102:a05d78a1685f

[xemacs-hg @ 2005-11-28 09:50:16 by crestani] Remove vdb-fake warning, die if POSIX checks fail.
author crestani
date Mon, 28 Nov 2005 09:50:20 +0000
parents 70fd1b1cb202
children 503174cac05a
files ChangeLog configure configure.ac
diffstat 3 files changed, 8 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 27 22:50:53 2005 +0000
+++ b/ChangeLog	Mon Nov 28 09:50:20 2005 +0000
@@ -1,3 +1,7 @@
+2005-11-27  Marcus Crestani  <crestani@xemacs.org>
+
+	* configure.ac: Remove vdb-fake warning, die if POSIX checks fail.
+
 2005-11-27  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* configure.ac (XE_COMPLEX_ARG[xft]): Default everything off;
--- a/configure	Sun Nov 27 22:50:53 2005 +0000
+++ b/configure	Mon Nov 28 09:50:20 2005 +0000
@@ -30040,6 +30040,8 @@
   if test "$have_vdb_sigaction" != "yes" -a "$have_vdb_signal" != "yes" ; then
     have_vdb_posix=no
     have_vdb_fake=yes
+    { echo "Error:" "No working write-barrier implementation found for this system.
+       Please report this and provide information about your system." >&2; exit 1; }
   else
     have_vdb_posix=yes
     have_vdb_fake=no
@@ -39337,15 +39339,6 @@
 if test "$have_vdb_mach" = yes ; then
   echo "  Using mach exception mechanism as vdb fault handler."
 fi
-if test "$have_vdb_fake" = yes && test "$enable_vdb" != fake; then
-  echo "  WARNING: ---------------------------------------------------------"
-  echo "  WARNING: The new incremental garbage collector is enabled, but"
-  echo "  WARNING: a virtual dirty bit implementation is not yet available"
-  echo "  WARNING: on this system. XEmacs will crash if you try to switch on"
-  echo "  WARNUNG: incremental garbage collection!"
-  echo "  WARNING: Use \`--disable-newgc' to turn incremental gc off."
-  echo "  WARNING: ---------------------------------------------------------"
-fi
 if test "$have_vdb_fake" = yes && test "$enable_vdb" == fake; then
   echo "  Virtual dirty bit write barrier manually disabled."
 fi
--- a/configure.ac	Sun Nov 27 22:50:53 2005 +0000
+++ b/configure.ac	Mon Nov 28 09:50:20 2005 +0000
@@ -1729,8 +1729,6 @@
       cygwin* ) AC_DEFINE(VDB_WIN32) have_vdb_win32=yes ;;
       linux* )  check_vdb_posix=yes ;;
       freebsd ) check_vdb_posix=yes ;;
-dnl bail out immediately
-dnl      * )       have_vdb_fake=yes ;;
 dnl if not sure, try posix first, maybe we are lucky
       * )       check_vdb_posix=yes ;;
     esac
@@ -4609,6 +4607,8 @@
   if test "$have_vdb_sigaction" != "yes" -a "$have_vdb_signal" != "yes" ; then
     have_vdb_posix=no
     have_vdb_fake=yes
+    XE_DIE("No working write-barrier implementation found for this system.
+       Please report this and provide information about your system.")
   else
     have_vdb_posix=yes
     have_vdb_fake=no
@@ -6084,15 +6084,6 @@
 if test "$have_vdb_mach" = yes ; then
   echo "  Using mach exception mechanism as vdb fault handler."
 fi
-if test "$have_vdb_fake" = yes && test "$enable_vdb" != fake; then
-  echo "  WARNING: ---------------------------------------------------------"
-  echo "  WARNING: The new incremental garbage collector is enabled, but"
-  echo "  WARNING: a virtual dirty bit implementation is not yet available"
-  echo "  WARNING: on this system. XEmacs will crash if you try to switch on"
-  echo "  WARNUNG: incremental garbage collection!"
-  echo "  WARNING: Use \`--disable-newgc' to turn incremental gc off."
-  echo "  WARNING: ---------------------------------------------------------"
-fi
 if test "$have_vdb_fake" = yes && test "$enable_vdb" == fake; then
   echo "  Virtual dirty bit write barrier manually disabled."
 fi