aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-10-02 21:44:00 +0000
committerRichard M. Stallman1996-10-02 21:44:00 +0000
commitfd402b2a64727fee83dbb092d6df3647a6e6f356 (patch)
treeda42424e73b84bb40a18594e14e161846b7e8841
parentf74e8587dce3e59b3d0369ff802ba6734fcfc46f (diff)
downloademacs-fd402b2a64727fee83dbb092d6df3647a6e6f356.tar.gz
emacs-fd402b2a64727fee83dbb092d6df3647a6e6f356.zip
Fetch LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
from config.h and use them in $ac_link.
-rw-r--r--configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e1def3bd6b2..3979482cf5a 100644
--- a/configure.in
+++ b/configure.in
@@ -1212,6 +1212,17 @@ configure___ system_malloc=no
1212#define C_OPTIMIZE_SWITCH -O 1212#define C_OPTIMIZE_SWITCH -O
1213#endif 1213#endif
1214 1214
1215#ifndef LD_SWITCH_MACHINE
1216#define LD_SWITCH_MACHINE
1217#endif
1218
1219#ifndef LD_SWITCH_SYSTEM
1220#define LD_SWITCH_SYSTEM
1221#endif
1222
1223configure___ ld_switch_system=LD_SWITCH_SYSTEM
1224configure___ ld_switch_maldhine=LD_SWITCH_MACHINE
1225
1215#ifdef THIS_IS_CONFIGURE 1226#ifdef THIS_IS_CONFIGURE
1216 1227
1217/* Get the CFLAGS for tests in configure. */ 1228/* Get the CFLAGS for tests in configure. */
@@ -1248,6 +1259,8 @@ fi
1248changequote([, ])dnl 1259changequote([, ])dnl
1249rm ${tempcname} 1260rm ${tempcname}
1250 1261
1262ac_link="$ac_link $ld_switch_machine $ld_switch_system"
1263
1251### Compute the unexec source name from the object name. 1264### Compute the unexec source name from the object name.
1252UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" 1265UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
1253 1266