Mercurial > hg > xemacs-beta
comparison configure.ac @ 3263:d674024a8674
[xemacs-hg @ 2006-02-27 16:29:00 by crestani]
- Introduce a fancy asynchronous finalization strategy on C level.
- Merge the code conditioned on MC_ALLOC into the code conditioned on
NEW_GC.
- Remove the possibility to free objects manually outside garbage
collections when the new collector is enabled.
author | crestani |
---|---|
date | Mon, 27 Feb 2006 16:29:29 +0000 |
parents | 8d7c2461057a |
children | 34cfe24248f6 |
comparison
equal
deleted
inserted
replaced
3262:79d41cfd8e6b | 3263:d674024a8674 |
---|---|
917 AC_HELP_STRING([--enable-pdump],[Enable portable LISP preloader.]), | 917 AC_HELP_STRING([--enable-pdump],[Enable portable LISP preloader.]), |
918 [], []) | 918 [], []) |
919 XE_MERGED_ARG([dump-in-exec], | 919 XE_MERGED_ARG([dump-in-exec], |
920 AC_HELP_STRING([--enable-dump-in-exec],[Enable dumping into executable (enabled by default | 920 AC_HELP_STRING([--enable-dump-in-exec],[Enable dumping into executable (enabled by default |
921 for `pdump', not enabled by default in combination | 921 for `pdump', not enabled by default in combination |
922 with `mc-alloc').]), | 922 with `newgc').]), |
923 [], []) | 923 [], []) |
924 XE_MERGED_ARG([kkcc], | 924 XE_MERGED_ARG([kkcc], |
925 AC_HELP_STRING([--enable-kkcc],[Enable experimental new GC algorithms.]), | 925 AC_HELP_STRING([--enable-kkcc],[Enable experimental new GC mark algorithms.]), |
926 [], [enable_kkcc=yes]) | 926 [], [enable_kkcc=yes]) |
927 XE_MERGED_ARG([mc-alloc], | 927 |
928 AC_HELP_STRING([--enable-mc-alloc],[Enable experimental new allocator.]), | |
929 [], [enable_mc_alloc=yes]) | |
930 XE_MERGED_ARG([newgc], | 928 XE_MERGED_ARG([newgc], |
931 AC_HELP_STRING([--enable-newgc],[Enable new incremental garbage collector.]), | 929 AC_HELP_STRING([--enable-newgc],[Enable new incremental garbage collector and new allocator.]), |
932 [], []) | 930 [], []) |
933 XE_COMPLEX_ARG([vdb], | 931 XE_COMPLEX_ARG([vdb], |
934 AC_HELP_STRING([--enable-vdb=TYPE],[Override auto-detection of | 932 AC_HELP_STRING([--enable-vdb=TYPE],[Override auto-detection of |
935 virtual-dirty-bit write-barrier implementation for the | 933 virtual-dirty-bit write-barrier implementation for the |
936 new garbage collector. TYPE must be one of "auto" (for | 934 new garbage collector. TYPE must be one of "auto" (for |
2126 libs_standard= | 2124 libs_standard= |
2127 unexec= | 2125 unexec= |
2128 lib_gcc= | 2126 lib_gcc= |
2129 fi | 2127 fi |
2130 | 2128 |
2131 dnl Enable KKCC and MC-ALLOC by default | 2129 dnl Enable KKCC by default |
2132 test -z "$enable_kkcc" && enable_kkcc=yes | 2130 test -z "$enable_kkcc" && enable_kkcc=yes |
2133 test -z "$enable_mc_alloc" && enable_mc_alloc=yes | |
2134 | 2131 |
2135 dnl Dump into executable | 2132 dnl Dump into executable |
2136 if test -z "$enable_dump_in_exec"; then | 2133 if test -z "$enable_dump_in_exec"; then |
2137 if test "$enable_pdump" = "yes"; then | 2134 if test "$enable_pdump" = "yes"; then |
2138 if test "$enable_mc_alloc" = "yes"; then | 2135 if test "$enable_newgc" = "yes"; then |
2139 enable_dump_in_exec=no | 2136 enable_dump_in_exec=no |
2140 else | 2137 else |
2141 enable_dump_in_exec=yes | 2138 enable_dump_in_exec=yes |
2142 fi | 2139 fi |
2143 fi | 2140 fi |
2144 fi | 2141 fi |
2145 | 2142 |
2146 dnl New incremental garbage collector | 2143 dnl New incremental garbage collector |
2147 if test "$enable_newgc" = "yes"; then | 2144 if test "$enable_newgc" = "yes"; then |
2148 enable_mc_alloc=yes | |
2149 enable_kkcc=yes | 2145 enable_kkcc=yes |
2150 fi | 2146 fi |
2151 | 2147 |
2152 dnl For debugging... | 2148 dnl For debugging... |
2153 test "$verbose" = "yes" && \ | 2149 test "$verbose" = "yes" && \ |
5828 AC_DEFINE(USE_SYSTEM_MALLOC) | 5824 AC_DEFINE(USE_SYSTEM_MALLOC) |
5829 fi | 5825 fi |
5830 test "$GCC" = "yes" && AC_DEFINE(USE_GCC) | 5826 test "$GCC" = "yes" && AC_DEFINE(USE_GCC) |
5831 test "$enable_external_widget" = "yes" && AC_DEFINE(EXTERNAL_WIDGET) | 5827 test "$enable_external_widget" = "yes" && AC_DEFINE(EXTERNAL_WIDGET) |
5832 test "$enable_kkcc" = "yes" && AC_DEFINE(USE_KKCC) | 5828 test "$enable_kkcc" = "yes" && AC_DEFINE(USE_KKCC) |
5833 test "$enable_mc_alloc" = "yes" && AC_DEFINE(MC_ALLOC) | |
5834 test "$enable_newgc" = "yes" && AC_DEFINE(NEW_GC) | 5829 test "$enable_newgc" = "yes" && AC_DEFINE(NEW_GC) |
5835 test "$have_vdb_posix" = "yes" && AC_DEFINE(VDB_POSIX) | 5830 test "$have_vdb_posix" = "yes" && AC_DEFINE(VDB_POSIX) |
5836 test "$have_vdb_fake" = "yes" && AC_DEFINE(VDB_FAKE) | 5831 test "$have_vdb_fake" = "yes" && AC_DEFINE(VDB_FAKE) |
5837 test "$enable_quick_build" = "yes" && AC_DEFINE(QUICK_BUILD) | 5832 test "$enable_quick_build" = "yes" && AC_DEFINE(QUICK_BUILD) |
5838 test "$with_purify" = "yes" && AC_DEFINE(PURIFY) | 5833 test "$with_purify" = "yes" && AC_DEFINE(PURIFY) |
6113 echo " WARNING: and recently with Visual C++ as well (mid-2003)." | 6108 echo " WARNING: and recently with Visual C++ as well (mid-2003)." |
6114 echo " WARNING: More recent versions may be safer, or not." | 6109 echo " WARNING: More recent versions may be safer, or not." |
6115 echo " WARNING: ---------------------------------------------------------" | 6110 echo " WARNING: ---------------------------------------------------------" |
6116 fi | 6111 fi |
6117 if test "$enable_kkcc" = yes ; then | 6112 if test "$enable_kkcc" = yes ; then |
6118 echo " Using the new GC algorithms." | 6113 echo " Using the new GC mark algorithms (KKCC)." |
6119 echo " WARNING: ---------------------------------------------------------" | 6114 echo " WARNING: ---------------------------------------------------------" |
6120 echo " WARNING: The new algorithms are experimental. They are enabled by" | 6115 echo " WARNING: The new algorithms are experimental. They are enabled by" |
6121 echo " WARNING: default for this release. Use \`--disable-kkcc' to" | 6116 echo " WARNING: default for this release. Use \`--disable-kkcc' to" |
6122 echo " WARNING: turn it off." | 6117 echo " WARNING: turn it off." |
6123 echo " WARNING: ---------------------------------------------------------" | 6118 echo " WARNING: ---------------------------------------------------------" |
6124 fi | 6119 fi |
6125 if test "$enable_mc_alloc" = yes ; then | 6120 test "$enable_newgc" = yes && echo " Using the new incremental garbage collector and the new allocator." |
6126 echo " Using the new allocator." | |
6127 echo " WARNING: ---------------------------------------------------------" | |
6128 echo " WARNING: The new allocator is experimental. It is enabled by" | |
6129 echo " WARNING: default for this release. Use \`--disable-mc-alloc' to" | |
6130 echo " WARNING: turn it off." | |
6131 echo " WARNING: ---------------------------------------------------------" | |
6132 fi | |
6133 test "$enable_newgc" = yes && echo " Using the new incremental garbage collector." | |
6134 if test "$have_vdb_posix" = yes ; then | 6121 if test "$have_vdb_posix" = yes ; then |
6135 if test "$have_vdb_sigaction" = yes ; then | 6122 if test "$have_vdb_sigaction" = yes ; then |
6136 echo " Using POSIX sigaction() to install fault handler." | 6123 echo " Using POSIX sigaction() to install fault handler." |
6137 else | 6124 else |
6138 echo " Using POSIX signal() to install vdb fault handler." | 6125 echo " Using POSIX signal() to install vdb fault handler." |