Mercurial > hg > xemacs-beta
comparison configure.ac @ 4944:6af9b2e79451
Fixes to configure so --with-error-checking=yes works
-------------------- ChangeLog entries follow: --------------------
ChangeLog addition:
2010-01-23 Ben Wing <ben@xemacs.org>
* configure:
* configure.ac (XE_COMPLEX_ARG):
Expand the help for --with-debug to describe more specifically what
exactly gets turned on. Expand the help for --with-error-checking
to describe all the possible arguments, including `all', `none',
`noFOO', multiple arguments, etc.
Change so that `--with-error-checking' is the same as
`--with-error-checking=all'. Currently, `--with-error-checking' has
no effect at all! It just means "leave all error-checking for
specific classes to their default values", which are "maybe", and
get converted to "yes" or "no" depending on whether we are running
a beta XEmacs.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 23 Jan 2010 04:45:49 -0600 |
parents | 349f01075eb7 |
children | b90f8cf474e0 |
comparison
equal
deleted
inserted
replaced
4943:aacafdd2bc67 | 4944:6af9b2e79451 |
---|---|
968 AS_HELP_STRING([--with-infodock],[Support the Infodock version of XEmacs. Infodock is a SourceForge project).]), | 968 AS_HELP_STRING([--with-infodock],[Support the Infodock version of XEmacs. Infodock is a SourceForge project).]), |
969 [], []) | 969 [], []) |
970 dnl | 970 dnl |
971 XE_HELP_SUBSECTION([Debugging options]) | 971 XE_HELP_SUBSECTION([Debugging options]) |
972 XE_MERGED_ARG([debug], | 972 XE_MERGED_ARG([debug], |
973 AS_HELP_STRING([--with-debug],[Enable additional debugging information. No time cost.]), | 973 AS_HELP_STRING([--with-debug],[Enable additional debugging information. No noticeable time cost (unlike |
974 [], []) | 974 `--with-error-checking'). This turns adds `-g' to the compiler options so that |
975 debug information is compiled into the XEmacs executable. It also turns on | |
976 assert checks in the source code (i.e. same as `--with-assertions'); enables | |
977 Lisp commands for determining detailed memory usage statistics (same as | |
978 `--with-memory-usage-stats'); adds various Lisp variables and functions | |
979 that allow one to display internal structures, show the internal workings | |
980 of certain subsystems, and exit to the debugger; causes Lisp errors during | |
981 building to exit to the debugger or dump core; and adds debugging-related | |
982 C functions meant to be called from a debugger.]), | |
983 [], []) | |
984 dnl If just --with-error-checking or --with-error-checking=yes is given, | |
985 dnl it should be the same as --with-error-checking=all. Currently it's | |
986 dnl the same as saying nothing at all. | |
987 if test "$with_error_checking" = "yes"; then | |
988 with_error_checking=all | |
989 fi | |
990 XE_COMPLEX_ARG([error-checking], | |
991 AS_HELP_STRING([--with-error-checking[=CLASS|all|none]],[Compile with internal error-checking added. | |
992 Causes noticeable loss of speed. Valid classes are `byte_code', `display' | |
993 (redisplay), `extents', `gc' (garbage collection), `glyphs', `malloc' | |
994 (memory allocation), `structures' (C structures), `text' (text handling and | |
995 conversion), `types' (correct Lisp-object type for type-specific | |
996 operations). `all' or `none' can be given to set all or no classes, | |
997 respectively. Any of the classes can be prefixed with `no' to turn the | |
998 class off. A comma-separated list of classes can also be given. For | |
999 example, `all,nogc' turns on all but garbage-collection-related checking. | |
1000 Omitting any argument or specifying just `yes' is the same as `all'.]), | |
1001 [], [], | |
975 dnl Keep TESTS sorted to help with syncing doc to reality. | 1002 dnl Keep TESTS sorted to help with syncing doc to reality. |
976 XE_COMPLEX_ARG([error-checking], | |
977 AS_HELP_STRING([--with-error-checking=TESTS],[Compile with internal error-checking added. | |
978 Causes noticeable loss of speed. Valid TESTS | |
979 are `byte_code', `display', `extents', `gc', `glyphs', `malloc', `structures' `text', `types'.]), | |
980 [], [], | |
981 [XE_COMPLEX_OPTION([byte_code],[""]), | 1003 [XE_COMPLEX_OPTION([byte_code],[""]), |
982 XE_COMPLEX_OPTION([display],[""]), | 1004 XE_COMPLEX_OPTION([display],[""]), |
983 XE_COMPLEX_OPTION([extents],[""]), | 1005 XE_COMPLEX_OPTION([extents],[""]), |
984 XE_COMPLEX_OPTION([gc],[""]), | 1006 XE_COMPLEX_OPTION([gc],[""]), |
985 XE_COMPLEX_OPTION([glyphs],[""]), | 1007 XE_COMPLEX_OPTION([glyphs],[""]), |