diff options
| author | Dan Nicolaescu | 2010-07-02 01:11:24 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-02 01:11:24 -0700 |
| commit | d9170db5208a86d94a6d8a89c8fa1e678bd094bd (patch) | |
| tree | f15dc1b36d3807346f6f346b1c229e53a6a72ca4 /configure | |
| parent | 986011195e5c40b9644c21da166c12cb34176350 (diff) | |
| download | emacs-d9170db5208a86d94a6d8a89c8fa1e678bd094bd.tar.gz emacs-d9170db5208a86d94a6d8a89c8fa1e678bd094bd.zip | |
Define USE_LISP_UNION_TYPE using autoconf.
* configure.in (--enable-use-lisp-union-type): New flag.
* src/lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 18 |
1 files changed, 17 insertions, 1 deletions
| @@ -825,6 +825,7 @@ enable_asserts | |||
| 825 | enable_maintainer_mode | 825 | enable_maintainer_mode |
| 826 | enable_locallisppath | 826 | enable_locallisppath |
| 827 | enable_checking | 827 | enable_checking |
| 828 | enable_use_lisp_union_type | ||
| 828 | enable_profiling | 829 | enable_profiling |
| 829 | enable_autodepend | 830 | enable_autodepend |
| 830 | enable_largefile | 831 | enable_largefile |
| @@ -1477,6 +1478,10 @@ Optional Features: | |||
| 1477 | only specific categories of checks. Categories are: | 1478 | only specific categories of checks. Categories are: |
| 1478 | all,yes,no. Flags are: stringbytes, stringoverrun, | 1479 | all,yes,no. Flags are: stringbytes, stringoverrun, |
| 1479 | stringfreelist, xmallocoverrun, conslist | 1480 | stringfreelist, xmallocoverrun, conslist |
| 1481 | --enable-use-lisp-union-type | ||
| 1482 | use a union for the Lisp_Object data type. This is | ||
| 1483 | only useful for development for catching certain | ||
| 1484 | types of bugs. | ||
| 1480 | --enable-profiling build emacs with profiling support. This might not | 1485 | --enable-profiling build emacs with profiling support. This might not |
| 1481 | work on all platforms | 1486 | work on all platforms |
| 1482 | --enable-autodepend automatically generate dependencies to .h-files. | 1487 | --enable-autodepend automatically generate dependencies to .h-files. |
| @@ -2978,6 +2983,17 @@ $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h | |||
| 2978 | 2983 | ||
| 2979 | fi | 2984 | fi |
| 2980 | 2985 | ||
| 2986 | # Check whether --enable-use-lisp-union-type was given. | ||
| 2987 | if test "${enable_use_lisp_union_type+set}" = set; then : | ||
| 2988 | enableval=$enable_use_lisp_union_type; if test "${enableval}" != "no"; then | ||
| 2989 | |||
| 2990 | $as_echo "#define USE_LISP_UNION_TYPE 1" >>confdefs.h | ||
| 2991 | |||
| 2992 | fi | ||
| 2993 | fi | ||
| 2994 | |||
| 2995 | |||
| 2996 | |||
| 2981 | # Check whether --enable-profiling was given. | 2997 | # Check whether --enable-profiling was given. |
| 2982 | if test "${enable_profiling+set}" = set; then : | 2998 | if test "${enable_profiling+set}" = set; then : |
| 2983 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2999 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
| @@ -4290,7 +4306,7 @@ if test x$GCC = xyes; then | |||
| 4290 | C_OPTIMIZE_SWITCH=-O2 | 4306 | C_OPTIMIZE_SWITCH=-O2 |
| 4291 | test "x$GCC_TEST_OPTIONS" != x && CC="$CC $GCC_TEST_OPTIONS" | 4307 | test "x$GCC_TEST_OPTIONS" != x && CC="$CC $GCC_TEST_OPTIONS" |
| 4292 | else | 4308 | else |
| 4293 | C_OPTIMIZE_SWITCH=-O | 4309 | C_OPTIMIZE_SWITCH=-O |
| 4294 | test "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS" | 4310 | test "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS" |
| 4295 | fi | 4311 | fi |
| 4296 | 4312 | ||