comparison configure.in @ 16378:a0cfde1cafd7

Fetch LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE from config.h and use them in $ac_link.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Oct 1996 21:44:00 +0000
parents e53d6c7f39ef
children 67df8ce85ec7
comparison
equal deleted inserted replaced
16377:907b62ddf042 16378:a0cfde1cafd7
1210 1210
1211 #ifndef C_OPTIMIZE_SWITCH 1211 #ifndef C_OPTIMIZE_SWITCH
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. */
1218 #ifdef __GNUC__ 1229 #ifdef __GNUC__
1219 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' 1230 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
1245 else 1256 else
1246 REAL_CFLAGS="$CFLAGS" 1257 REAL_CFLAGS="$CFLAGS"
1247 fi 1258 fi
1248 changequote([, ])dnl 1259 changequote([, ])dnl
1249 rm ${tempcname} 1260 rm ${tempcname}
1261
1262 ac_link="$ac_link $ld_switch_machine $ld_switch_system"
1250 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
1254 # Do the opsystem or machine files prohibit the use of the GNU malloc? 1267 # Do the opsystem or machine files prohibit the use of the GNU malloc?