Mercurial > hg > xemacs-beta
comparison configure @ 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 | 59f24c2a31ac |
children | 34cfe24248f6 |
comparison
equal
deleted
inserted
replaced
3262:79d41cfd8e6b | 3263:d674024a8674 |
---|---|
1172 XEmacs. | 1172 XEmacs. |
1173 --with-debug-malloc Use a debugging malloc. | 1173 --with-debug-malloc Use a debugging malloc. |
1174 --with-pdump Enable portable LISP preloader. | 1174 --with-pdump Enable portable LISP preloader. |
1175 --with-dump-in-exec Enable dumping into executable (enabled by default | 1175 --with-dump-in-exec Enable dumping into executable (enabled by default |
1176 for `pdump', not enabled by default in combination | 1176 for `pdump', not enabled by default in combination |
1177 with `mc-alloc'). | 1177 with `newgc'). |
1178 --with-kkcc Enable experimental new GC algorithms. | 1178 --with-kkcc Enable experimental new GC mark algorithms. |
1179 --with-mc-alloc Enable experimental new allocator. | 1179 --with-newgc Enable new incremental garbage collector and new |
1180 --with-newgc Enable new incremental garbage collector. | 1180 allocator. |
1181 --with-vdb=TYPE Override auto-detection of virtual-dirty-bit | 1181 --with-vdb=TYPE Override auto-detection of virtual-dirty-bit |
1182 write-barrier implementation for the new garbage | 1182 write-barrier implementation for the new garbage |
1183 collector. TYPE must be one of "auto" (for | 1183 collector. TYPE must be one of "auto" (for |
1184 auto-detection), "posix", "win32", "mach", or "fake" | 1184 auto-detection), "posix", "win32", "mach", or "fake" |
1185 (uses the new garbage collector but disables | 1185 (uses the new garbage collector but disables |
3573 withval="$with_kkcc" | 3573 withval="$with_kkcc" |
3574 | 3574 |
3575 else | 3575 else |
3576 enable_kkcc=yes | 3576 enable_kkcc=yes |
3577 fi; | 3577 fi; |
3578 # If --with-mc-alloc or --without-mc-alloc were given then copy the value to the | 3578 |
3579 # equivalent enable_mc-alloc variable. | |
3580 if test "${with_mc_alloc+set}" = set; then | |
3581 enable_mc_alloc="$with_mc_alloc" | |
3582 fi; | |
3583 # If -enable-mc-alloc or --disable-mc-alloc were given then copy the value to the | |
3584 # equivalent with_mc-alloc variable. | |
3585 if test "${enable_mc_alloc+set}" = set; then | |
3586 with_mc_alloc="$enable_mc_alloc" | |
3587 fi; | |
3588 # Check whether --with-mc-alloc or --without-mc-alloc was given. | |
3589 if test "${with_mc_alloc+set}" = set; then | |
3590 enableval="$with_mc_alloc" | |
3591 withval="$with_mc_alloc" | |
3592 | |
3593 else | |
3594 enable_mc_alloc=yes | |
3595 fi; | |
3596 # If --with-newgc or --without-newgc were given then copy the value to the | 3579 # If --with-newgc or --without-newgc were given then copy the value to the |
3597 # equivalent enable_newgc variable. | 3580 # equivalent enable_newgc variable. |
3598 if test "${with_newgc+set}" = set; then | 3581 if test "${with_newgc+set}" = set; then |
3599 enable_newgc="$with_newgc" | 3582 enable_newgc="$with_newgc" |
3600 fi; | 3583 fi; |
8994 unexec= | 8977 unexec= |
8995 lib_gcc= | 8978 lib_gcc= |
8996 fi | 8979 fi |
8997 | 8980 |
8998 test -z "$enable_kkcc" && enable_kkcc=yes | 8981 test -z "$enable_kkcc" && enable_kkcc=yes |
8999 test -z "$enable_mc_alloc" && enable_mc_alloc=yes | |
9000 | 8982 |
9001 if test -z "$enable_dump_in_exec"; then | 8983 if test -z "$enable_dump_in_exec"; then |
9002 if test "$enable_pdump" = "yes"; then | 8984 if test "$enable_pdump" = "yes"; then |
9003 if test "$enable_mc_alloc" = "yes"; then | 8985 if test "$enable_newgc" = "yes"; then |
9004 enable_dump_in_exec=no | 8986 enable_dump_in_exec=no |
9005 else | 8987 else |
9006 enable_dump_in_exec=yes | 8988 enable_dump_in_exec=yes |
9007 fi | 8989 fi |
9008 fi | 8990 fi |
9009 fi | 8991 fi |
9010 | 8992 |
9011 if test "$enable_newgc" = "yes"; then | 8993 if test "$enable_newgc" = "yes"; then |
9012 enable_mc_alloc=yes | |
9013 enable_kkcc=yes | 8994 enable_kkcc=yes |
9014 fi | 8995 fi |
9015 | 8996 |
9016 test "$verbose" = "yes" && \ | 8997 test "$verbose" = "yes" && \ |
9017 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" | 8998 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" |
39161 | 39142 |
39162 test "$enable_kkcc" = "yes" && cat >>confdefs.h <<\_ACEOF | 39143 test "$enable_kkcc" = "yes" && cat >>confdefs.h <<\_ACEOF |
39163 #define USE_KKCC 1 | 39144 #define USE_KKCC 1 |
39164 _ACEOF | 39145 _ACEOF |
39165 | 39146 |
39166 test "$enable_mc_alloc" = "yes" && cat >>confdefs.h <<\_ACEOF | |
39167 #define MC_ALLOC 1 | |
39168 _ACEOF | |
39169 | |
39170 test "$enable_newgc" = "yes" && cat >>confdefs.h <<\_ACEOF | 39147 test "$enable_newgc" = "yes" && cat >>confdefs.h <<\_ACEOF |
39171 #define NEW_GC 1 | 39148 #define NEW_GC 1 |
39172 _ACEOF | 39149 _ACEOF |
39173 | 39150 |
39174 test "$have_vdb_posix" = "yes" && cat >>confdefs.h <<\_ACEOF | 39151 test "$have_vdb_posix" = "yes" && cat >>confdefs.h <<\_ACEOF |
39479 echo " WARNING: and recently with Visual C++ as well (mid-2003)." | 39456 echo " WARNING: and recently with Visual C++ as well (mid-2003)." |
39480 echo " WARNING: More recent versions may be safer, or not." | 39457 echo " WARNING: More recent versions may be safer, or not." |
39481 echo " WARNING: ---------------------------------------------------------" | 39458 echo " WARNING: ---------------------------------------------------------" |
39482 fi | 39459 fi |
39483 if test "$enable_kkcc" = yes ; then | 39460 if test "$enable_kkcc" = yes ; then |
39484 echo " Using the new GC algorithms." | 39461 echo " Using the new GC mark algorithms (KKCC)." |
39485 echo " WARNING: ---------------------------------------------------------" | 39462 echo " WARNING: ---------------------------------------------------------" |
39486 echo " WARNING: The new algorithms are experimental. They are enabled by" | 39463 echo " WARNING: The new algorithms are experimental. They are enabled by" |
39487 echo " WARNING: default for this release. Use \`--disable-kkcc' to" | 39464 echo " WARNING: default for this release. Use \`--disable-kkcc' to" |
39488 echo " WARNING: turn it off." | 39465 echo " WARNING: turn it off." |
39489 echo " WARNING: ---------------------------------------------------------" | 39466 echo " WARNING: ---------------------------------------------------------" |
39490 fi | 39467 fi |
39491 if test "$enable_mc_alloc" = yes ; then | 39468 test "$enable_newgc" = yes && echo " Using the new incremental garbage collector and the new allocator." |
39492 echo " Using the new allocator." | |
39493 echo " WARNING: ---------------------------------------------------------" | |
39494 echo " WARNING: The new allocator is experimental. It is enabled by" | |
39495 echo " WARNING: default for this release. Use \`--disable-mc-alloc' to" | |
39496 echo " WARNING: turn it off." | |
39497 echo " WARNING: ---------------------------------------------------------" | |
39498 fi | |
39499 test "$enable_newgc" = yes && echo " Using the new incremental garbage collector." | |
39500 if test "$have_vdb_posix" = yes ; then | 39469 if test "$have_vdb_posix" = yes ; then |
39501 if test "$have_vdb_sigaction" = yes ; then | 39470 if test "$have_vdb_sigaction" = yes ; then |
39502 echo " Using POSIX sigaction() to install fault handler." | 39471 echo " Using POSIX sigaction() to install fault handler." |
39503 else | 39472 else |
39504 echo " Using POSIX signal() to install vdb fault handler." | 39473 echo " Using POSIX signal() to install vdb fault handler." |