diff options
| author | Glenn Morris | 2012-06-29 06:17:31 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-06-29 06:17:31 -0400 |
| commit | e4d3503065a43300417cdb6563c23d0d6beedbb7 (patch) | |
| tree | 39fef7844b724b7eed630c38d2cbd75d306d9859 | |
| parent | 929df0e72251a48d1cf9b329f594ac3fe64a7b35 (diff) | |
| download | emacs-e4d3503065a43300417cdb6563c23d0d6beedbb7.tar.gz emacs-e4d3503065a43300417cdb6563c23d0d6beedbb7.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 70 |
1 files changed, 51 insertions, 19 deletions
diff --git a/autogen/configure b/autogen/configure index a27913c20a1..68b2b614e0b 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -1365,7 +1365,6 @@ with_crt_dir | |||
| 1365 | with_gameuser | 1365 | with_gameuser |
| 1366 | with_gnustep_conf | 1366 | with_gnustep_conf |
| 1367 | enable_ns_self_contained | 1367 | enable_ns_self_contained |
| 1368 | enable_asserts | ||
| 1369 | enable_locallisppath | 1368 | enable_locallisppath |
| 1370 | enable_checking | 1369 | enable_checking |
| 1371 | enable_check_lisp_object_type | 1370 | enable_check_lisp_object_type |
| @@ -1374,6 +1373,7 @@ enable_autodepend | |||
| 1374 | enable_dependency_tracking | 1373 | enable_dependency_tracking |
| 1375 | enable_largefile | 1374 | enable_largefile |
| 1376 | enable_gcc_warnings | 1375 | enable_gcc_warnings |
| 1376 | enable_link_time_optimization | ||
| 1377 | with_x | 1377 | with_x |
| 1378 | ' | 1378 | ' |
| 1379 | ac_precious_vars='build_alias | 1379 | ac_precious_vars='build_alias |
| @@ -2011,7 +2011,6 @@ Optional Features: | |||
| 2011 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 2011 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 2012 | --disable-ns-self-contained | 2012 | --disable-ns-self-contained |
| 2013 | disable self contained build under NeXTstep | 2013 | disable self contained build under NeXTstep |
| 2014 | --enable-asserts compile code with asserts enabled | ||
| 2015 | --enable-locallisppath=PATH | 2014 | --enable-locallisppath=PATH |
| 2016 | directories Emacs should search for lisp files | 2015 | directories Emacs should search for lisp files |
| 2017 | specific to this site | 2016 | specific to this site |
| @@ -2033,6 +2032,9 @@ Optional Features: | |||
| 2033 | --enable-dependency-tracking do not reject slow dependency extractors | 2032 | --enable-dependency-tracking do not reject slow dependency extractors |
| 2034 | --disable-largefile omit support for large files | 2033 | --disable-largefile omit support for large files |
| 2035 | --enable-gcc-warnings turn on lots of GCC warnings (for developers) | 2034 | --enable-gcc-warnings turn on lots of GCC warnings (for developers) |
| 2035 | --enable-link-time-optimization | ||
| 2036 | build emacs with link-time optimization. This is | ||
| 2037 | supported only for GCC since 4.5.0. | ||
| 2036 | 2038 | ||
| 2037 | Optional Packages: | 2039 | Optional Packages: |
| 2038 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 2040 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| @@ -4209,14 +4211,6 @@ else | |||
| 4209 | fi | 4211 | fi |
| 4210 | 4212 | ||
| 4211 | 4213 | ||
| 4212 | # Check whether --enable-asserts was given. | ||
| 4213 | if test "${enable_asserts+set}" = set; then : | ||
| 4214 | enableval=$enable_asserts; USE_XASSERTS=$enableval | ||
| 4215 | else | ||
| 4216 | USE_XASSERTS=no | ||
| 4217 | fi | ||
| 4218 | |||
| 4219 | |||
| 4220 | # Check whether --enable-locallisppath was given. | 4214 | # Check whether --enable-locallisppath was given. |
| 4221 | if test "${enable_locallisppath+set}" = set; then : | 4215 | if test "${enable_locallisppath+set}" = set; then : |
| 4222 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 4216 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
| @@ -4244,21 +4238,21 @@ do | |||
| 4244 | ac_gc_check_string_free_list= ; | 4238 | ac_gc_check_string_free_list= ; |
| 4245 | ac_xmalloc_overrun= ; | 4239 | ac_xmalloc_overrun= ; |
| 4246 | ac_gc_check_cons_list= ; | 4240 | ac_gc_check_cons_list= ; |
| 4247 | ac_check_glyphs= ;; | 4241 | ac_glyphs_debug= ;; |
| 4248 | all) ac_enable_checking=1 ; | 4242 | all) ac_enable_checking=1 ; |
| 4249 | ac_gc_check_stringbytes=1 ; | 4243 | ac_gc_check_stringbytes=1 ; |
| 4250 | ac_gc_check_string_overrun=1 ; | 4244 | ac_gc_check_string_overrun=1 ; |
| 4251 | ac_gc_check_string_free_list=1 ; | 4245 | ac_gc_check_string_free_list=1 ; |
| 4252 | ac_xmalloc_overrun=1 ; | 4246 | ac_xmalloc_overrun=1 ; |
| 4253 | ac_gc_check_cons_list=1 ; | 4247 | ac_gc_check_cons_list=1 ; |
| 4254 | ac_check_glyphs=1 ;; | 4248 | ac_glyphs_debug=1 ;; |
| 4255 | # these enable particular checks | 4249 | # these enable particular checks |
| 4256 | stringbytes) ac_gc_check_stringbytes=1 ;; | 4250 | stringbytes) ac_gc_check_stringbytes=1 ;; |
| 4257 | stringoverrun) ac_gc_check_string_overrun=1 ;; | 4251 | stringoverrun) ac_gc_check_string_overrun=1 ;; |
| 4258 | stringfreelist) ac_gc_check_string_free_list=1 ;; | 4252 | stringfreelist) ac_gc_check_string_free_list=1 ;; |
| 4259 | xmallocoverrun) ac_xmalloc_overrun=1 ;; | 4253 | xmallocoverrun) ac_xmalloc_overrun=1 ;; |
| 4260 | conslist) ac_gc_check_cons_list=1 ;; | 4254 | conslist) ac_gc_check_cons_list=1 ;; |
| 4261 | glyphs) ac_check_glyphs=1 ;; | 4255 | glyphs) ac_glyphs_debug=1 ;; |
| 4262 | *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 4256 | *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; |
| 4263 | esac | 4257 | esac |
| 4264 | done | 4258 | done |
| @@ -4294,7 +4288,7 @@ if test x$ac_gc_check_cons_list != x ; then | |||
| 4294 | $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h | 4288 | $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h |
| 4295 | 4289 | ||
| 4296 | fi | 4290 | fi |
| 4297 | if test x$ac_check_glyphs != x ; then | 4291 | if test x$ac_glyphs_debug != x ; then |
| 4298 | 4292 | ||
| 4299 | $as_echo "#define GLYPH_DEBUG 1" >>confdefs.h | 4293 | $as_echo "#define GLYPH_DEBUG 1" >>confdefs.h |
| 4300 | 4294 | ||
| @@ -7025,6 +7019,49 @@ else | |||
| 7025 | fi | 7019 | fi |
| 7026 | 7020 | ||
| 7027 | 7021 | ||
| 7022 | # Check whether --enable-link-time-optimization was given. | ||
| 7023 | if test "${enable_link_time_optimization+set}" = set; then : | ||
| 7024 | enableval=$enable_link_time_optimization; if test "${enableval}" != "no"; then | ||
| 7025 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link-time optimization is supported" >&5 | ||
| 7026 | $as_echo_n "checking whether link-time optimization is supported... " >&6; } | ||
| 7027 | ac_lto_supported=no | ||
| 7028 | if test x$GCC = xyes; then | ||
| 7029 | CPUS=`getconf _NPROCESSORS_ONLN 2>/dev/null` | ||
| 7030 | if test x$CPUS != x; then | ||
| 7031 | LTO="-flto=$CPUS" | ||
| 7032 | else | ||
| 7033 | LTO="-flto" | ||
| 7034 | fi | ||
| 7035 | old_CFLAGS=$CFLAGS | ||
| 7036 | CFLAGS="$CFLAGS $LTO" | ||
| 7037 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 7038 | /* end confdefs.h. */ | ||
| 7039 | |||
| 7040 | int | ||
| 7041 | main () | ||
| 7042 | { | ||
| 7043 | |||
| 7044 | ; | ||
| 7045 | return 0; | ||
| 7046 | } | ||
| 7047 | _ACEOF | ||
| 7048 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 7049 | ac_lto_supported=yes | ||
| 7050 | else | ||
| 7051 | ac_lto_supported=no | ||
| 7052 | fi | ||
| 7053 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7054 | CFLAGS="$old_CFLAGS" | ||
| 7055 | fi | ||
| 7056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_lto_supported" >&5 | ||
| 7057 | $as_echo "$ac_lto_supported" >&6; } | ||
| 7058 | if test "$ac_lto_supported" = "yes"; then | ||
| 7059 | CFLAGS="$CFLAGS $LTO" | ||
| 7060 | fi | ||
| 7061 | fi | ||
| 7062 | fi | ||
| 7063 | |||
| 7064 | |||
| 7028 | # gl_GCC_VERSION_IFELSE([major], [minor], [run-if-found], [run-if-not-found]) | 7065 | # gl_GCC_VERSION_IFELSE([major], [minor], [run-if-found], [run-if-not-found]) |
| 7029 | # ------------------------------------------------ | 7066 | # ------------------------------------------------ |
| 7030 | # If $CPP is gcc-MAJOR.MINOR or newer, then run RUN-IF-FOUND. | 7067 | # If $CPP is gcc-MAJOR.MINOR or newer, then run RUN-IF-FOUND. |
| @@ -23024,11 +23061,6 @@ if test -n "${EMACSDOC}"; then | |||
| 23024 | echo " Environment variable EMACSDOC set to: $EMACSDOC" | 23061 | echo " Environment variable EMACSDOC set to: $EMACSDOC" |
| 23025 | fi | 23062 | fi |
| 23026 | 23063 | ||
| 23027 | if test $USE_XASSERTS = yes; then | ||
| 23028 | echo " Compiling with asserts turned on." | ||
| 23029 | CPPFLAGS="$CPPFLAGS -DXASSERTS=1" | ||
| 23030 | fi | ||
| 23031 | |||
| 23032 | echo | 23064 | echo |
| 23033 | 23065 | ||
| 23034 | if test "$HAVE_NS" = "yes"; then | 23066 | if test "$HAVE_NS" = "yes"; then |