aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-05-03 20:33:04 -0700
committerGlenn Morris2010-05-03 20:33:04 -0700
commitede4834a2f3f657ff79a730b52605ad8d3ef533e (patch)
treeee6ee337248af7ae35cee57e19f0537c92bbdb0b
parentfa5e317ac05b234f6b8f0407b1123d697026069c (diff)
downloademacs-ede4834a2f3f657ff79a730b52605ad8d3ef533e.tar.gz
emacs-ede4834a2f3f657ff79a730b52605ad8d3ef533e.zip
Regenerate configure, src/config.in.
-rwxr-xr-xconfigure147
-rw-r--r--src/config.in4
2 files changed, 122 insertions, 29 deletions
diff --git a/configure b/configure
index d4a92ae7cad..d4e889c607a 100755
--- a/configure
+++ b/configure
@@ -703,6 +703,8 @@ INSTALL_INFO
703GZIP_PROG 703GZIP_PROG
704MAKEINFO 704MAKEINFO
705LIB_MATH 705LIB_MATH
706C_SWITCH_MACHINE
707C_SWITCH_SYSTEM
706CRT_DIR 708CRT_DIR
707LIBSOUND 709LIBSOUND
708PKG_CONFIG 710PKG_CONFIG
@@ -711,6 +713,8 @@ ALSA_LIBS
711CFLAGS_SOUND 713CFLAGS_SOUND
712SET_MAKE 714SET_MAKE
713XMKMF 715XMKMF
716LD_SWITCH_X_SITE_AUX
717LD_SWITCH_X_SITE_AUX_RPATH
714NS_OBJ 718NS_OBJ
715NS_SUPPORT 719NS_SUPPORT
716HAVE_XSERVER 720HAVE_XSERVER
@@ -775,11 +779,8 @@ archlibdir
775bitmapdir 779bitmapdir
776gamedir 780gamedir
777gameuser 781gameuser
778c_switch_system
779c_switch_machine
780unexec 782unexec
781LD_SWITCH_X_SITE 783LD_SWITCH_X_SITE
782LD_SWITCH_X_SITE_AUX
783C_SWITCH_X_SITE 784C_SWITCH_X_SITE
784C_SWITCH_X_SYSTEM 785C_SWITCH_X_SYSTEM
785X_TOOLKIT_TYPE 786X_TOOLKIT_TYPE
@@ -806,6 +807,7 @@ LIBX_OTHER
806CYGWIN_OBJ 807CYGWIN_OBJ
807PRE_ALLOC_OBJ 808PRE_ALLOC_OBJ
808POST_ALLOC_OBJ 809POST_ALLOC_OBJ
810LD_SWITCH_SYSTEM_TEMACS
809LTLIBOBJS' 811LTLIBOBJS'
810ac_subst_files='' 812ac_subst_files=''
811ac_user_opts=' 813ac_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
5875configure___ libsrc_libs=LIBS_SYSTEM 5871configure___ libsrc_libs=LIBS_SYSTEM
5876configure___ c_switch_system=C_SWITCH_SYSTEM
5877configure___ c_switch_machine=C_SWITCH_MACHINE
5878 5872
5879configure___ LIBX=-lX11 5873configure___ 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
5915configure___ ld_switch_system=LD_SWITCH_SYSTEM 5905configure___ 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
5953ac_link="$ac_link $ld_switch_system" 5943ac_link="$ac_link $ld_switch_system"
5954 5944
5945
5946C_SWITCH_MACHINE=
5947if 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; }
5950if test "${ac_cv_have_decl___ELF__+set}" = set; then
5951 $as_echo_n "(cached) " >&6
5952else
5953 cat >conftest.$ac_ext <<_ACEOF
5954/* confdefs.h. */
5955_ACEOF
5956cat confdefs.h >>conftest.$ac_ext
5957cat >>conftest.$ac_ext <<_ACEOF
5958/* end confdefs.h. */
5959$ac_includes_default
5960int
5961main ()
5962{
5963#ifndef __ELF__
5964 (void) __ELF__;
5965#endif
5966
5967 ;
5968 return 0;
5969}
5970_ACEOF
5971rm -f conftest.$ac_objext
5972if { (ac_try="$ac_compile"
5973case "(($ac_try" in
5974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5975 *) ac_try_echo=$ac_try;;
5976esac
5977eval 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
5990else
5991 $as_echo "$as_me: failed program was:" >&5
5992sed 's/^/| /' conftest.$ac_ext >&5
5993
5994 ac_cv_have_decl___ELF__=no
5995fi
5996
5997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5998fi
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
6016fi
6017
6018
6019
6020C_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
6024test "$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
5957if test x"${OVERRIDE_CPPFLAGS}" != x; then 6033if test x"${OVERRIDE_CPPFLAGS}" != x; then
5958 CPPFLAGS="${OVERRIDE_CPPFLAGS}" 6034 CPPFLAGS="${OVERRIDE_CPPFLAGS}"
5959else 6035else
5960 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" 6036 CPPFLAGS="$C_SWITCH_SYSTEM $C_SWITCH_MACHINE $CPPFLAGS"
5961fi 6037fi
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.
9732if test -n "${x_libraries}" && test x"${x_libraries}" != xNONE; then 9807if 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
9736fi 9811fi
9737 9812
9813LD_SWITCH_X_SITE_AUX=
9814LD_SWITCH_X_SITE_AUX_RPATH=
9738if test "${x_libraries}" != NONE; then 9815if 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
9763fi 9841fi
9842
9843
9844
9764if test "${x_includes}" != NONE && test -n "${x_includes}"; then 9845if 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"`
9766fi 9847fi
@@ -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
26039cat >>confdefs.h <<_ACEOF 26117cat >>confdefs.h <<_ACEOF
26040#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
26041_ACEOF
26042
26043
26044cat >>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
26265case "$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= ;;
26284esac
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