diff options
| author | Jim Blandy | 1993-05-28 04:33:12 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-28 04:33:12 +0000 |
| commit | ac384e4f5d1f2a9e636bb85569b26d6fc25e1903 (patch) | |
| tree | 00f2cae6a626179851e068d6efc2fa82fac26729 | |
| parent | cecfe612ec00cfeb33af3cac3f893f4aa557a5a8 (diff) | |
| download | emacs-ac384e4f5d1f2a9e636bb85569b26d6fc25e1903.tar.gz emacs-ac384e4f5d1f2a9e636bb85569b26d6fc25e1903.zip | |
* 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.
| -rwxr-xr-x | configure1.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure1.in b/configure1.in index 2c3eb3d86eb..84f8846d568 100755 --- a/configure1.in +++ b/configure1.in | |||
| @@ -1013,6 +1013,13 @@ echo ' | |||
| 1013 | #endif | 1013 | #endif |
| 1014 | @configure@ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM | 1014 | @configure@ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM |
| 1015 | @configure@ c_switch_system=C_SWITCH_SYSTEM | 1015 | @configure@ c_switch_system=C_SWITCH_SYSTEM |
| 1016 | |||
| 1017 | #ifdef UNEXEC | ||
| 1018 | @configure@ unexec=UNEXEC | ||
| 1019 | #else | ||
| 1020 | @configure@ unexec=unexec.o | ||
| 1021 | #endif | ||
| 1022 | |||
| 1016 | #ifdef SYSTEM_MALLOC | 1023 | #ifdef SYSTEM_MALLOC |
| 1017 | @configure@ system_malloc=yes | 1024 | @configure@ system_malloc=yes |
| 1018 | #else | 1025 | #else |
| @@ -1027,6 +1034,8 @@ eval `${foo} ${tempcname} \ | |||
| 1027 | | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'` | 1034 | | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'` |
| 1028 | rm ${tempcname} | 1035 | rm ${tempcname} |
| 1029 | 1036 | ||
| 1037 | ### Compute the unexec source name from the object name. | ||
| 1038 | UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | ||
| 1030 | 1039 | ||
| 1031 | # Do the opsystem or machine files prohibit the use of the GNU malloc? | 1040 | # Do the opsystem or machine files prohibit the use of the GNU malloc? |
| 1032 | # Assume not, until told otherwise. | 1041 | # Assume not, until told otherwise. |
| @@ -1073,6 +1082,7 @@ AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"") | |||
| 1073 | AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") | 1082 | AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") |
| 1074 | AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) | 1083 | AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) |
| 1075 | AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) | 1084 | AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) |
| 1085 | AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC}) | ||
| 1076 | 1086 | ||
| 1077 | [ | 1087 | [ |
| 1078 | if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then | 1088 | if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then |