diff options
| author | Richard M. Stallman | 1996-10-02 21:44:00 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-10-02 21:44:00 +0000 |
| commit | fd402b2a64727fee83dbb092d6df3647a6e6f356 (patch) | |
| tree | da42424e73b84bb40a18594e14e161846b7e8841 | |
| parent | f74e8587dce3e59b3d0369ff802ba6734fcfc46f (diff) | |
| download | emacs-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.in | 13 |
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 | |||
| 1223 | configure___ ld_switch_system=LD_SWITCH_SYSTEM | ||
| 1224 | configure___ 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 | |||
| 1248 | changequote([, ])dnl | 1259 | changequote([, ])dnl |
| 1249 | rm ${tempcname} | 1260 | rm ${tempcname} |
| 1250 | 1261 | ||
| 1262 | ac_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. |
| 1252 | UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | 1265 | UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" |
| 1253 | 1266 | ||