diff options
| author | Glenn Morris | 2010-05-03 20:33:04 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-03 20:33:04 -0700 |
| commit | ede4834a2f3f657ff79a730b52605ad8d3ef533e (patch) | |
| tree | ee6ee337248af7ae35cee57e19f0537c92bbdb0b | |
| parent | fa5e317ac05b234f6b8f0407b1123d697026069c (diff) | |
| download | emacs-ede4834a2f3f657ff79a730b52605ad8d3ef533e.tar.gz emacs-ede4834a2f3f657ff79a730b52605ad8d3ef533e.zip | |
Regenerate configure, src/config.in.
| -rwxr-xr-x | configure | 147 | ||||
| -rw-r--r-- | src/config.in | 4 |
2 files changed, 122 insertions, 29 deletions
| @@ -703,6 +703,8 @@ INSTALL_INFO | |||
| 703 | GZIP_PROG | 703 | GZIP_PROG |
| 704 | MAKEINFO | 704 | MAKEINFO |
| 705 | LIB_MATH | 705 | LIB_MATH |
| 706 | C_SWITCH_MACHINE | ||
| 707 | C_SWITCH_SYSTEM | ||
| 706 | CRT_DIR | 708 | CRT_DIR |
| 707 | LIBSOUND | 709 | LIBSOUND |
| 708 | PKG_CONFIG | 710 | PKG_CONFIG |
| @@ -711,6 +713,8 @@ ALSA_LIBS | |||
| 711 | CFLAGS_SOUND | 713 | CFLAGS_SOUND |
| 712 | SET_MAKE | 714 | SET_MAKE |
| 713 | XMKMF | 715 | XMKMF |
| 716 | LD_SWITCH_X_SITE_AUX | ||
| 717 | LD_SWITCH_X_SITE_AUX_RPATH | ||
| 714 | NS_OBJ | 718 | NS_OBJ |
| 715 | NS_SUPPORT | 719 | NS_SUPPORT |
| 716 | HAVE_XSERVER | 720 | HAVE_XSERVER |
| @@ -775,11 +779,8 @@ archlibdir | |||
| 775 | bitmapdir | 779 | bitmapdir |
| 776 | gamedir | 780 | gamedir |
| 777 | gameuser | 781 | gameuser |
| 778 | c_switch_system | ||
| 779 | c_switch_machine | ||
| 780 | unexec | 782 | unexec |
| 781 | LD_SWITCH_X_SITE | 783 | LD_SWITCH_X_SITE |
| 782 | LD_SWITCH_X_SITE_AUX | ||
| 783 | C_SWITCH_X_SITE | 784 | C_SWITCH_X_SITE |
| 784 | C_SWITCH_X_SYSTEM | 785 | C_SWITCH_X_SYSTEM |
| 785 | X_TOOLKIT_TYPE | 786 | X_TOOLKIT_TYPE |
| @@ -806,6 +807,7 @@ LIBX_OTHER | |||
| 806 | CYGWIN_OBJ | 807 | CYGWIN_OBJ |
| 807 | PRE_ALLOC_OBJ | 808 | PRE_ALLOC_OBJ |
| 808 | POST_ALLOC_OBJ | 809 | POST_ALLOC_OBJ |
| 810 | LD_SWITCH_SYSTEM_TEMACS | ||
| 809 | LTLIBOBJS' | 811 | LTLIBOBJS' |
| 810 | ac_subst_files='' | 812 | ac_subst_files='' |
| 811 | ac_user_opts=' | 813 | ac_user_opts=' |
| @@ -5866,15 +5868,7 @@ echo ' | |||
| 5866 | #ifndef LIBS_SYSTEM | 5868 | #ifndef LIBS_SYSTEM |
| 5867 | #define LIBS_SYSTEM | 5869 | #define LIBS_SYSTEM |
| 5868 | #endif | 5870 | #endif |
| 5869 | #ifndef C_SWITCH_SYSTEM | ||
| 5870 | #define C_SWITCH_SYSTEM | ||
| 5871 | #endif | ||
| 5872 | #ifndef C_SWITCH_MACHINE | ||
| 5873 | #define C_SWITCH_MACHINE | ||
| 5874 | #endif | ||
| 5875 | configure___ libsrc_libs=LIBS_SYSTEM | 5871 | configure___ libsrc_libs=LIBS_SYSTEM |
| 5876 | configure___ c_switch_system=C_SWITCH_SYSTEM | ||
| 5877 | configure___ c_switch_machine=C_SWITCH_MACHINE | ||
| 5878 | 5872 | ||
| 5879 | configure___ LIBX=-lX11 | 5873 | configure___ LIBX=-lX11 |
| 5880 | 5874 | ||
| @@ -5908,10 +5902,6 @@ configure___ use_mmap_for_buffers=no | |||
| 5908 | #define LD_SWITCH_SYSTEM | 5902 | #define LD_SWITCH_SYSTEM |
| 5909 | #endif | 5903 | #endif |
| 5910 | 5904 | ||
| 5911 | #ifndef LD_SWITCH_X_SITE_AUX | ||
| 5912 | #define LD_SWITCH_X_SITE_AUX | ||
| 5913 | #endif | ||
| 5914 | |||
| 5915 | configure___ ld_switch_system=LD_SWITCH_SYSTEM | 5905 | configure___ ld_switch_system=LD_SWITCH_SYSTEM |
| 5916 | 5906 | ||
| 5917 | #ifdef THIS_IS_CONFIGURE | 5907 | #ifdef THIS_IS_CONFIGURE |
| @@ -5952,12 +5942,98 @@ rm ${tempcname} | |||
| 5952 | 5942 | ||
| 5953 | ac_link="$ac_link $ld_switch_system" | 5943 | ac_link="$ac_link $ld_switch_system" |
| 5954 | 5944 | ||
| 5945 | |||
| 5946 | C_SWITCH_MACHINE= | ||
| 5947 | if test "$machine" = "alpha"; then | ||
| 5948 | { $as_echo "$as_me:$LINENO: checking whether __ELF__ is declared" >&5 | ||
| 5949 | $as_echo_n "checking whether __ELF__ is declared... " >&6; } | ||
| 5950 | if test "${ac_cv_have_decl___ELF__+set}" = set; then | ||
| 5951 | $as_echo_n "(cached) " >&6 | ||
| 5952 | else | ||
| 5953 | cat >conftest.$ac_ext <<_ACEOF | ||
| 5954 | /* confdefs.h. */ | ||
| 5955 | _ACEOF | ||
| 5956 | cat confdefs.h >>conftest.$ac_ext | ||
| 5957 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5958 | /* end confdefs.h. */ | ||
| 5959 | $ac_includes_default | ||
| 5960 | int | ||
| 5961 | main () | ||
| 5962 | { | ||
| 5963 | #ifndef __ELF__ | ||
| 5964 | (void) __ELF__; | ||
| 5965 | #endif | ||
| 5966 | |||
| 5967 | ; | ||
| 5968 | return 0; | ||
| 5969 | } | ||
| 5970 | _ACEOF | ||
| 5971 | rm -f conftest.$ac_objext | ||
| 5972 | if { (ac_try="$ac_compile" | ||
| 5973 | case "(($ac_try" in | ||
| 5974 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5975 | *) ac_try_echo=$ac_try;; | ||
| 5976 | esac | ||
| 5977 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5978 | $as_echo "$ac_try_echo") >&5 | ||
| 5979 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5980 | ac_status=$? | ||
| 5981 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5982 | rm -f conftest.er1 | ||
| 5983 | cat conftest.err >&5 | ||
| 5984 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5985 | (exit $ac_status); } && { | ||
| 5986 | test -z "$ac_c_werror_flag" || | ||
| 5987 | test ! -s conftest.err | ||
| 5988 | } && test -s conftest.$ac_objext; then | ||
| 5989 | ac_cv_have_decl___ELF__=yes | ||
| 5990 | else | ||
| 5991 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5992 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5993 | |||
| 5994 | ac_cv_have_decl___ELF__=no | ||
| 5995 | fi | ||
| 5996 | |||
| 5997 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5998 | fi | ||
| 5999 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___ELF__" >&5 | ||
| 6000 | $as_echo "$ac_cv_have_decl___ELF__" >&6; } | ||
| 6001 | |||
| 6002 | if test "$ac_cv_have_decl___ELF__" = "yes"; then | ||
| 6003 | ## With ELF, make sure that all common symbols get allocated to in the | ||
| 6004 | ## data section. Otherwise, the dump of temacs may miss variables in | ||
| 6005 | ## the shared library that have been initialized. For example, with | ||
| 6006 | ## GNU libc, __malloc_initialized would normally be resolved to the | ||
| 6007 | ## shared library's .bss section, which is fatal. | ||
| 6008 | if test "x$GCC" = "xyes"; then | ||
| 6009 | C_SWITCH_MACHINE="-fno-common" | ||
| 6010 | else | ||
| 6011 | { { $as_echo "$as_me:$LINENO: error: What gives? Fix me if DEC Unix supports ELF now." >&5 | ||
| 6012 | $as_echo "$as_me: error: What gives? Fix me if DEC Unix supports ELF now." >&2;} | ||
| 6013 | { (exit 1); exit 1; }; } | ||
| 6014 | fi | ||
| 6015 | fi | ||
| 6016 | fi | ||
| 6017 | |||
| 6018 | |||
| 6019 | |||
| 6020 | C_SWITCH_SYSTEM= | ||
| 6021 | ## Some programs in src produce warnings saying certain subprograms | ||
| 6022 | ## are too complex and need a MAXMEM value greater than 2000 for | ||
| 6023 | ## additional optimization. --nils@exp-math.uni-essen.de | ||
| 6024 | test "$opsys" = "aix4.2" && test "x$GCC" = "xyes" && \ | ||
| 6025 | C_SWITCH_SYSTEM="-ma -qmaxmem=4000" | ||
| 6026 | ## gnu-linux might need -D_BSD_SOURCE on old libc5 systems. | ||
| 6027 | ## It is redundant in glibc2, since we define _GNU_SOURCE. | ||
| 6028 | |||
| 6029 | |||
| 6030 | |||
| 5955 | ### Make sure subsequent tests use flags consistent with the build flags. | 6031 | ### Make sure subsequent tests use flags consistent with the build flags. |
| 5956 | 6032 | ||
| 5957 | if test x"${OVERRIDE_CPPFLAGS}" != x; then | 6033 | if test x"${OVERRIDE_CPPFLAGS}" != x; then |
| 5958 | CPPFLAGS="${OVERRIDE_CPPFLAGS}" | 6034 | CPPFLAGS="${OVERRIDE_CPPFLAGS}" |
| 5959 | else | 6035 | else |
| 5960 | CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" | 6036 | CPPFLAGS="$C_SWITCH_SYSTEM $C_SWITCH_MACHINE $CPPFLAGS" |
| 5961 | fi | 6037 | fi |
| 5962 | 6038 | ||
| 5963 | 6039 | ||
| @@ -9728,17 +9804,19 @@ fi | |||
| 9728 | ## Workaround for bug in autoconf <= 2.62. | 9804 | ## Workaround for bug in autoconf <= 2.62. |
| 9729 | ## http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg01551.html | 9805 | ## http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg01551.html |
| 9730 | ## No need to do anything special for these standard directories. | 9806 | ## No need to do anything special for these standard directories. |
| 9731 | ## This is an experiment, take it out if it causes problems. | ||
| 9732 | if test -n "${x_libraries}" && test x"${x_libraries}" != xNONE; then | 9807 | if test -n "${x_libraries}" && test x"${x_libraries}" != xNONE; then |
| 9733 | 9808 | ||
| 9734 | x_libraries=`echo :${x_libraries}: | sed -e 's|:/usr/lib64:|:|g' -e 's|:/lib64:|:|g' -e 's|^:||' -e 's|:$||'` | 9809 | x_libraries=`echo :${x_libraries}: | sed -e 's|:/usr/lib64:|:|g' -e 's|:/lib64:|:|g' -e 's|^:||' -e 's|:$||'` |
| 9735 | 9810 | ||
| 9736 | fi | 9811 | fi |
| 9737 | 9812 | ||
| 9813 | LD_SWITCH_X_SITE_AUX= | ||
| 9814 | LD_SWITCH_X_SITE_AUX_RPATH= | ||
| 9738 | if test "${x_libraries}" != NONE; then | 9815 | if test "${x_libraries}" != NONE; then |
| 9739 | if test -n "${x_libraries}"; then | 9816 | if test -n "${x_libraries}"; then |
| 9740 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` | 9817 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` |
| 9741 | LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` | 9818 | LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` |
| 9819 | LD_SWITCH_X_SITE_AUX_RPATH=`echo ${LD_SWITCH_X_SITE_AUX} | sed -e 's/-R/-Wl,-rpath,/'` | ||
| 9742 | fi | 9820 | fi |
| 9743 | x_default_search_path="" | 9821 | x_default_search_path="" |
| 9744 | x_search_path=${x_libraries} | 9822 | x_search_path=${x_libraries} |
| @@ -9761,6 +9839,9 @@ ${x_library}/X11/%T/%N%S" | |||
| 9761 | fi | 9839 | fi |
| 9762 | done | 9840 | done |
| 9763 | fi | 9841 | fi |
| 9842 | |||
| 9843 | |||
| 9844 | |||
| 9764 | if test "${x_includes}" != NONE && test -n "${x_includes}"; then | 9845 | if test "${x_includes}" != NONE && test -n "${x_includes}"; then |
| 9765 | C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"` | 9846 | C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"` |
| 9766 | fi | 9847 | fi |
| @@ -25991,9 +26072,6 @@ fi | |||
| 25991 | 26072 | ||
| 25992 | 26073 | ||
| 25993 | 26074 | ||
| 25994 | |||
| 25995 | |||
| 25996 | |||
| 25997 | ## Used in lwlib/Makefile.in. | 26075 | ## Used in lwlib/Makefile.in. |
| 25998 | 26076 | ||
| 25999 | 26077 | ||
| @@ -26037,11 +26115,6 @@ _ACEOF | |||
| 26037 | 26115 | ||
| 26038 | 26116 | ||
| 26039 | cat >>confdefs.h <<_ACEOF | 26117 | cat >>confdefs.h <<_ACEOF |
| 26040 | #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} | ||
| 26041 | _ACEOF | ||
| 26042 | |||
| 26043 | |||
| 26044 | cat >>confdefs.h <<_ACEOF | ||
| 26045 | #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} | 26118 | #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} |
| 26046 | _ACEOF | 26119 | _ACEOF |
| 26047 | 26120 | ||
| @@ -26189,6 +26262,30 @@ fi | |||
| 26189 | 26262 | ||
| 26190 | 26263 | ||
| 26191 | 26264 | ||
| 26265 | case "$opsys" in | ||
| 26266 | aix4-2) LD_SWITCH_SYSTEM_TEMACS="-Wl,-bnodelcsect" ;; | ||
| 26267 | |||
| 26268 | darwin) | ||
| 26269 | ## The -headerpad option tells ld (see man page) to leave room at the | ||
| 26270 | ## end of the header for adding load commands. Needed for dumping. | ||
| 26271 | ## 0x690 is the total size of 30 segment load commands (at 56 | ||
| 26272 | ## each); under Cocoa 31 commands are required. | ||
| 26273 | if test "$HAVE_NS" = "yes"; then | ||
| 26274 | libs_nsgui="-framework AppKit" | ||
| 26275 | headerpad_extra=6C8 | ||
| 26276 | else | ||
| 26277 | libs_nsgui= | ||
| 26278 | headerpad_extra=690 | ||
| 26279 | fi | ||
| 26280 | LD_SWITCH_SYSTEM_TEMACS="-prebind $libs_nsgui -Xlinker -headerpad -Xlinker $headerpad_extra" | ||
| 26281 | ;; | ||
| 26282 | |||
| 26283 | *) LD_SWITCH_SYSTEM_TEMACS= ;; | ||
| 26284 | esac | ||
| 26285 | |||
| 26286 | |||
| 26287 | |||
| 26288 | |||
| 26192 | 26289 | ||
| 26193 | 26290 | ||
| 26194 | 26291 | ||
diff --git a/src/config.in b/src/config.in index cb898e5278f..e8244308640 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -807,10 +807,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 807 | its own, you might want to add "-L/..." or something similar. */ | 807 | its own, you might want to add "-L/..." or something similar. */ |
| 808 | #undef LD_SWITCH_X_SITE | 808 | #undef LD_SWITCH_X_SITE |
| 809 | 809 | ||
| 810 | /* Define LD_SWITCH_X_SITE_AUX with an -R option in case it's needed (for | ||
| 811 | Solaris, for example). */ | ||
| 812 | #undef LD_SWITCH_X_SITE_AUX | ||
| 813 | |||
| 814 | /* Define to 1 if localtime caches TZ. */ | 810 | /* Define to 1 if localtime caches TZ. */ |
| 815 | #undef LOCALTIME_CACHE | 811 | #undef LOCALTIME_CACHE |
| 816 | 812 | ||