# HG changeset patch # User Richard M. Stallman # Date 844292640 0 # Node ID a0cfde1cafd7c1cd941ec9b26284b253521a5d4f # Parent 907b62ddf042013990322b0c3cecf19cf4ac0998 Fetch LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE from config.h and use them in $ac_link. diff -r 907b62ddf042 -r a0cfde1cafd7 configure.in --- a/configure.in Wed Oct 02 21:43:28 1996 +0000 +++ b/configure.in Wed Oct 02 21:44:00 1996 +0000 @@ -1212,6 +1212,17 @@ #define C_OPTIMIZE_SWITCH -O #endif +#ifndef LD_SWITCH_MACHINE +#define LD_SWITCH_MACHINE +#endif + +#ifndef LD_SWITCH_SYSTEM +#define LD_SWITCH_SYSTEM +#endif + +configure___ ld_switch_system=LD_SWITCH_SYSTEM +configure___ ld_switch_maldhine=LD_SWITCH_MACHINE + #ifdef THIS_IS_CONFIGURE /* Get the CFLAGS for tests in configure. */ @@ -1248,6 +1259,8 @@ changequote([, ])dnl rm ${tempcname} +ac_link="$ac_link $ld_switch_machine $ld_switch_system" + ### Compute the unexec source name from the object name. UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"