Mercurial > hg > xemacs-beta
comparison configure @ 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 | aacafdd2bc67 |
children | b90f8cf474e0 |
comparison
equal
deleted
inserted
replaced
4943:aacafdd2bc67 | 4944:6af9b2e79451 |
---|---|
1950 a SourceForge project). | 1950 a SourceForge project). |
1951 | 1951 |
1952 Debugging options | 1952 Debugging options |
1953 ----------------- | 1953 ----------------- |
1954 | 1954 |
1955 --with-debug Enable additional debugging information. No time | 1955 --with-debug Enable additional debugging information. No |
1956 cost. | 1956 noticeable time cost (unlike |
1957 --with-error-checking=TESTS | 1957 `--with-error-checking'). This turns adds `-g' to |
1958 the compiler options so that debug information is | |
1959 compiled into the XEmacs executable. It also turns | |
1960 on assert checks in the source code (i.e. same as | |
1961 `--with-assertions'); enables Lisp commands for | |
1962 determining detailed memory usage statistics (same | |
1963 as `--with-memory-usage-stats'); adds various Lisp | |
1964 variables and functions that allow one to display | |
1965 internal structures, show the internal workings of | |
1966 certain subsystems, and exit to the debugger; causes | |
1967 Lisp errors during building to exit to the debugger | |
1968 or dump core; and adds debugging-related C functions | |
1969 meant to be called from a debugger. | |
1970 --with-error-checking=CLASS|all|none | |
1958 Compile with internal error-checking added. Causes | 1971 Compile with internal error-checking added. Causes |
1959 noticeable loss of speed. Valid TESTS are | 1972 noticeable loss of speed. Valid classes are |
1960 `byte_code', `display', `extents', `gc', `glyphs', | 1973 `byte_code', `display' (redisplay), `extents', `gc' |
1961 `malloc', `structures' `text', `types'. | 1974 (garbage collection), `glyphs', `malloc' (memory |
1975 allocation), `structures' (C structures), `text' | |
1976 (text handling and conversion), `types' (correct | |
1977 Lisp-object type for type-specific operations). | |
1978 `all' or `none' can be given to set all or no | |
1979 classes, respectively. Any of the classes can be | |
1980 prefixed with `no' to turn the class off. A | |
1981 comma-separated list of classes can also be given. | |
1982 For example, `all,nogc' turns on all but | |
1983 garbage-collection-related checking. Omitting any | |
1984 argument or specifying just `yes' is the same as | |
1985 `all'. | |
1962 --with-assertions Compile in runtime assertions. | 1986 --with-assertions Compile in runtime assertions. |
1963 --with-memory-usage-stats | 1987 --with-memory-usage-stats |
1964 Enable LISP memory usage API. | 1988 Enable LISP memory usage API. |
1965 --with-quick-build Speed up the build cycle by leaving out steps where | 1989 --with-quick-build Speed up the build cycle by leaving out steps where |
1966 XEmacs will still work (more or less) without them. | 1990 XEmacs will still work (more or less) without them. |
5150 if test "${with_debug+set}" = set; then | 5174 if test "${with_debug+set}" = set; then |
5151 enableval="$with_debug" | 5175 enableval="$with_debug" |
5152 withval="$with_debug" | 5176 withval="$with_debug" |
5153 | 5177 |
5154 fi; | 5178 fi; |
5179 if test "$with_error_checking" = "yes"; then | |
5180 with_error_checking=all | |
5181 fi | |
5155 _error_checking_notfirst="" | 5182 _error_checking_notfirst="" |
5156 _error_checking_byte_code_default="" | 5183 _error_checking_byte_code_default="" |
5157 _error_checking_display_default="" | 5184 _error_checking_display_default="" |
5158 _error_checking_extents_default="" | 5185 _error_checking_extents_default="" |
5159 _error_checking_gc_default="" | 5186 _error_checking_gc_default="" |