aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-05-01 14:38:59 -0700
committerDan Nicolaescu2010-05-01 14:38:59 -0700
commitcd03c74a9a82ccef4d1c53641ec684f5ad776543 (patch)
treeb222089ce9981a76ab07280e07a194f14aaf98fa /src
parentc3a398a1a51494e494f68c3dfd15627c64c80f2f (diff)
downloademacs-cd03c74a9a82ccef4d1c53641ec684f5ad776543.tar.gz
emacs-cd03c74a9a82ccef4d1c53641ec684f5ad776543.zip
Remove LD_SWITCH_MACHINE.
* Makefile.in (LD_SWITCH_MACHINE): Remove definition, unused. (TEMACS_LDFLAGS): Do not use LD_SWITCH_MACHINE. * configure.in (LD_SWITCH_MACHINE, ld_switch_machine): Remove, unused. (ac_link): Do not use ld_switch_machine.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/Makefile.in11
2 files changed, 7 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f4fcb22b299..4d3c6dca4e1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12010-05-01 Dan Nicolaescu <dann@ics.uci.edu> 12010-05-01 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 Remove LD_SWITCH_MACHINE.
4 * Makefile.in (LD_SWITCH_MACHINE): Remove definition, unused.
5 (TEMACS_LDFLAGS): Do not use LD_SWITCH_MACHINE.
6
3 Clean up IRIX code. 7 Clean up IRIX code.
4 * m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ... 8 * m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ...
5 * s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here. 9 * s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here.
diff --git a/src/Makefile.in b/src/Makefile.in
index e221c4a5934..3e026d52c5d 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -203,11 +203,6 @@ DEPFLAGS = -MMD -MF deps/$*.d
203#define LD_SWITCH_SYSTEM_TEMACS 203#define LD_SWITCH_SYSTEM_TEMACS
204#endif 204#endif
205 205
206/* Some m/MACHINE.h files define this to request special switches in ld. */
207#ifndef LD_SWITCH_MACHINE
208#define LD_SWITCH_MACHINE
209#endif
210
211/* These macros are for switches specifically related to X Windows. */ 206/* These macros are for switches specifically related to X Windows. */
212#ifndef LD_SWITCH_X_SITE 207#ifndef LD_SWITCH_X_SITE
213#define LD_SWITCH_X_SITE 208#define LD_SWITCH_X_SITE
@@ -337,7 +332,7 @@ LD=ld
337/* Flags to pass to LD only for temacs. */ 332/* Flags to pass to LD only for temacs. */
338/* Do not split this line with a backslash. That can cause trouble with 333/* Do not split this line with a backslash. That can cause trouble with
339 some cpps. */ 334 some cpps. */
340TEMACS_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE 335TEMACS_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS
341 336
342/* A macro which other sections of Makefile can redefine to munge the 337/* A macro which other sections of Makefile can redefine to munge the
343 flags before they are passed to LD. This is helpful if you have 338 flags before they are passed to LD. This is helpful if you have
@@ -751,8 +746,8 @@ temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} pre
751 ${LIBES} 746 ${LIBES}
752#endif 747#endif
753 748
754/* We do not use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE 749/* We do not use ALL_LDFLAGS because LD_SWITCH_SYSTEM
755 often contain options that have to do with using Emacs''s crt0, 750 often contains options that have to do with using Emacs''s crt0,
756 which are only good with temacs. */ 751 which are only good with temacs. */
757prefix-args${EXEEXT}: prefix-args.o $(config_h) 752prefix-args${EXEEXT}: prefix-args.o $(config_h)
758 $(CC) $(LDFLAGS) prefix-args.o -o prefix-args 753 $(CC) $(LDFLAGS) prefix-args.o -o prefix-args