aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-02 01:11:24 -0700
committerDan Nicolaescu2010-07-02 01:11:24 -0700
commitd9170db5208a86d94a6d8a89c8fa1e678bd094bd (patch)
treef15dc1b36d3807346f6f346b1c229e53a6a72ca4 /configure
parent986011195e5c40b9644c21da166c12cb34176350 (diff)
downloademacs-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-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index cb353569d78..e89b7411ce6 100755
--- a/configure
+++ b/configure
@@ -825,6 +825,7 @@ enable_asserts
825enable_maintainer_mode 825enable_maintainer_mode
826enable_locallisppath 826enable_locallisppath
827enable_checking 827enable_checking
828enable_use_lisp_union_type
828enable_profiling 829enable_profiling
829enable_autodepend 830enable_autodepend
830enable_largefile 831enable_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
2979fi 2984fi
2980 2985
2986# Check whether --enable-use-lisp-union-type was given.
2987if 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
2992fi
2993fi
2994
2995
2996
2981# Check whether --enable-profiling was given. 2997# Check whether --enable-profiling was given.
2982if test "${enable_profiling+set}" = set; then : 2998if 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"
4292else 4308else
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"
4295fi 4311fi
4296 4312