# HG changeset patch # User Jim Blandy # Date 738563592 0 # Node ID c3470c4abe5e66060d9ff61367398f40b457d88d # Parent 1071243e14c7b2348fb2a4d14fcfcc9740d1782e * configure.in: Extract UNEXEC from the system configuration files, compute the name of the source file corresponding to the object file, and #define it as UNEXEC_SRC in config.h. diff -r 1071243e14c7 -r c3470c4abe5e configure1.in --- a/configure1.in Fri May 28 04:32:28 1993 +0000 +++ b/configure1.in Fri May 28 04:33:12 1993 +0000 @@ -1013,6 +1013,13 @@ #endif @configure@ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM @configure@ c_switch_system=C_SWITCH_SYSTEM + +#ifdef UNEXEC +@configure@ unexec=UNEXEC +#else +@configure@ unexec=unexec.o +#endif + #ifdef SYSTEM_MALLOC @configure@ system_malloc=yes #else @@ -1027,6 +1034,8 @@ | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'` rm ${tempcname} +### Compute the unexec source name from the object name. +UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" # Do the opsystem or machine files prohibit the use of the GNU malloc? # Assume not, until told otherwise. @@ -1073,6 +1082,7 @@ AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) +AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC}) [ if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then