aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-05-24 20:56:27 -0700
committerGlenn Morris2010-05-24 20:56:27 -0700
commita0c067483785a0d8b37e21878e9cc6244bac035a (patch)
tree6e90b62d22b3113480ce6df92c1b194e2199e6c0
parent8009a5e891cdd300e594812e71e7997592bd7c04 (diff)
downloademacs-a0c067483785a0d8b37e21878e9cc6244bac035a.tar.gz
emacs-a0c067483785a0d8b37e21878e9cc6244bac035a.zip
Regenerate configure.
-rwxr-xr-xconfigure86
1 files changed, 45 insertions, 41 deletions
diff --git a/configure b/configure
index 9e3c0fff5fd..9dbbaad257d 100755
--- a/configure
+++ b/configure
@@ -820,7 +820,6 @@ CYGWIN_OBJ
820PRE_ALLOC_OBJ 820PRE_ALLOC_OBJ
821POST_ALLOC_OBJ 821POST_ALLOC_OBJ
822LD_SWITCH_SYSTEM_TEMACS 822LD_SWITCH_SYSTEM_TEMACS
823LD_SWITCH_SYSTEM_EXTRA
824YMF_PASS_LDFLAGS 823YMF_PASS_LDFLAGS
825LINKER 824LINKER
826LIB_GCC 825LIB_GCC
@@ -5930,16 +5929,17 @@ esac
5930 5929
5931ac_link="$ac_link $LD_SWITCH_SYSTEM" 5930ac_link="$ac_link $LD_SWITCH_SYSTEM"
5932 5931
5933## This is fun. Some settings of LD_SWITCH_SYSTEM reference 5932## This setting of LD_SWITCH_SYSTEM references LD_SWITCH_X_SITE_AUX,
5934## LD_SWITCH_X_SITE_AUX, which has not been defined yet. When using 5933## which has not been defined yet. When this was handled with cpp,
5935## cpp, it was expanded to null. Thus LD_SWITCH_SYSTEM had different 5934## it was expanded to null when configure sourced the s/*.h file.
5936## values in configure and the Makefiles. How helpful. 5935## Thus LD_SWITCH_SYSTEM had different values in configure and the Makefiles.
5937## FIXME why not use LD_SWITCH_SYSTEM_TEMACS (or somesuch) instead? 5936## FIXME it would be cleaner to put this in LD_SWITCH_SYSTEM_TEMACS
5937## (or somesuch), but because it is supposed to go at the _front_
5938## of LD_SWITCH_SYSTEM, we cannot do that in exactly the same way.
5939## Compare with the gnu-linux case below, which added to the end
5940## of LD_SWITCH_SYSTEM, and so can instead go at the front of
5941## LD_SWITCH_SYSTEM_TEMACS.
5938case "$opsys" in 5942case "$opsys" in
5939 gnu-linux)
5940 ## LD_SWITCH_X_SITE_AUX is a -R option saying where to find X at run-time.
5941 LD_SWITCH_SYSTEM="$LD_SWITCH_SYSTEM \$(LD_SWITCH_X_SITE_AUX)" ;;
5942
5943 netbsd|openbsd) 5943 netbsd|openbsd)
5944 ## _AUX_RPATH is like _AUX, but uses -rpath instead of -R. 5944 ## _AUX_RPATH is like _AUX, but uses -rpath instead of -R.
5945 LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_AUX_RPATH) $LD_SWITCH_SYSTEM" ;; 5945 LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_AUX_RPATH) $LD_SWITCH_SYSTEM" ;;
@@ -26595,42 +26595,47 @@ case "$opsys" in
26595 aix4-2) LD_SWITCH_SYSTEM_TEMACS="-Wl,-bnodelcsect" ;; 26595 aix4-2) LD_SWITCH_SYSTEM_TEMACS="-Wl,-bnodelcsect" ;;
26596 26596
26597 darwin) 26597 darwin)
26598 ## The -headerpad option tells ld (see man page) to leave room at the 26598 ## The -headerpad option tells ld (see man page) to leave room at the
26599 ## end of the header for adding load commands. Needed for dumping. 26599 ## end of the header for adding load commands. Needed for dumping.
26600 ## 0x690 is the total size of 30 segment load commands (at 56 26600 ## 0x690 is the total size of 30 segment load commands (at 56
26601 ## each); under Cocoa 31 commands are required. 26601 ## each); under Cocoa 31 commands are required.
26602 if test "$HAVE_NS" = "yes"; then 26602 if test "$HAVE_NS" = "yes"; then
26603 libs_nsgui="-framework AppKit" 26603 libs_nsgui="-framework AppKit"
26604 headerpad_extra=6C8 26604 headerpad_extra=6C8
26605 else 26605 else
26606 libs_nsgui= 26606 libs_nsgui=
26607 headerpad_extra=690 26607 headerpad_extra=690
26608 fi 26608 fi
26609 LD_SWITCH_SYSTEM_TEMACS="-prebind $libs_nsgui -Xlinker -headerpad -Xlinker $headerpad_extra" 26609 LD_SWITCH_SYSTEM_TEMACS="-prebind $libs_nsgui -Xlinker -headerpad -Xlinker $headerpad_extra"
26610 ;; 26610
26611 ## This is here because src/Makefile.in did some extra fiddling around
26612 ## with LD_SWITCH_SYSTEM. The cpp logic was:
26613 ## #ifndef LD_SWITCH_SYSTEM
26614 ## #if !defined (__GNUC__) && ((defined (BSD_SYSTEM) && !defined (COFF)))
26615 ## Since all the *bsds define LD_SWITCH_SYSTEM, this simplifies to:
26616 ## not using gcc, darwin system not on an alpha (ie darwin, since
26617 ## darwin + alpha does not occur).
26618 ## Because this was done in src/Makefile.in, the resulting part of
26619 ## LD_SWITCH_SYSTEM was not used in configure (ie, in ac_link).
26620 ## It therefore seems cleaner to put this in LD_SWITCH_SYSTEM_TEMACS,
26621 ## rather than LD_SWITCH_SYSTEM.
26622 test "x$LD_SWITCH_SYSTEM" = "x" && test "x$GCC" != "xyes" && \
26623 LD_SWITCH_SYSTEM_TEMACS="-X $LD_SWITCH_SYSTEM_TEMACS"
26624 ;;
26625
26626 ## LD_SWITCH_X_SITE_AUX is a -R option saying where to find X at run-time.
26627 ## When handled by cpp, this was in LD_SWITCH_SYSTEM. However, at
26628 ## the point where configure sourced the s/*.h file, LD_SWITCH_X_SITE_AUX
26629 ## had not yet been defined and was expanded to null. Hence LD_SWITCH_SYSTEM
26630 ## had different values in configure (in ac_link) and src/Makefile.in.
26631 ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS.
26632 gnu-linux) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_AUX)" ;;
26611 26633
26612 *) LD_SWITCH_SYSTEM_TEMACS= ;; 26634 *) LD_SWITCH_SYSTEM_TEMACS= ;;
26613esac 26635esac
26614 26636
26615 26637
26616 26638
26617## This exists because src/Makefile.in did some extra fiddling around
26618## with LD_SWITCH_SYSTEM. The cpp logic was:
26619## #ifndef LD_SWITCH_SYSTEM
26620## #if !defined (__GNUC__) && ((defined (BSD_SYSTEM) && !defined (COFF)))
26621## Since all the *bsds define LD_SWITCH_SYSTEM, this simplifies to:
26622## not using gcc, darwin system not on an alpha (ie darwin, since
26623## darwin + alpha does not occur).
26624## Note that unlike L_S_S, this is not used in ac_link.
26625if test "x$LD_SWITCH_SYSTEM" = "x" && test "x$GCC" != "xyes" && \
26626 test "$opsys" = "darwin"; then
26627 LD_SWITCH_SYSTEM_EXTRA="-X"
26628else
26629 LD_SWITCH_SYSTEM_EXTRA=
26630fi
26631
26632
26633
26634LINKER= 26639LINKER=
26635ORDINARY_LINK= 26640ORDINARY_LINK=
26636case "$opsys" in 26641case "$opsys" in
@@ -28154,7 +28159,6 @@ for dir in etc lisp ; do
28154done 28159done
28155 28160
28156# Build src/Makefile from ${srcdir}/src/Makefile.c 28161# Build src/Makefile from ${srcdir}/src/Makefile.c
28157# and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
28158# This must be done after src/config.h is built, since we rely on that file. 28162# This must be done after src/config.h is built, since we rely on that file.
28159 28163
28160echo creating src/epaths.h 28164echo creating src/epaths.h