diff options
| author | Glenn Morris | 2010-05-17 19:44:07 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-17 19:44:07 -0700 |
| commit | 40dc6bf44ec6e258dabd6aa3c674f8e65ded64bb (patch) | |
| tree | 2fd6c610f4a8a842abc4816dbdd87ff35949e959 /config.bat | |
| parent | be4ff9dad8bf43251f78f58a9ce86cf8bb153300 (diff) | |
| download | emacs-40dc6bf44ec6e258dabd6aa3c674f8e65ded64bb.tar.gz emacs-40dc6bf44ec6e258dabd6aa3c674f8e65ded64bb.zip | |
Set rallocobj with configure, not cpp.
* configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC.
(RALLOC_OBJ): New output variable.
* config.bat (RALLOC_OBJ): Edit to empty if sys_malloc.
* src/Makefile.in (RALLOC_OBJ): New, set by configure.
(rallocobj): Replace with the previous variable.
(otherobj): Use $RALLOC_OBJ.
* src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
* src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.
* msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.
Diffstat (limited to 'config.bat')
| -rw-r--r-- | config.bat | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.bat b/config.bat index 35fef44b582..20b8b285e59 100644 --- a/config.bat +++ b/config.bat | |||
| @@ -203,8 +203,9 @@ rm -f makefile.tmp | |||
| 203 | 203 | ||
| 204 | if "%sys_malloc%" == "" goto src5a | 204 | if "%sys_malloc%" == "" goto src5a |
| 205 | sed -e "/^GMALLOC_OBJ *=/s/gmalloc.o//" <Makefile >makefile.tmp | 205 | sed -e "/^GMALLOC_OBJ *=/s/gmalloc.o//" <Makefile >makefile.tmp |
| 206 | sed -e "/^VMLIMIT_OBJ *=/s/vm-limit.o//" <makefile.tmp >Makefile | 206 | sed -e "/^VMLIMIT_OBJ *=/s/vm-limit.o//" <makefile.tmp >makefile.tmp2 |
| 207 | rm -f makefile.tmp | 207 | sed -e "/^RALLOC_OBJ *=/s/ralloc.o//" <makefile.tmp2 >Makefile |
| 208 | rm -f makefile.tmp makefile.tmp2 | ||
| 208 | :src5a | 209 | :src5a |
| 209 | 210 | ||
| 210 | if "%nodebug%" == "" goto src6 | 211 | if "%nodebug%" == "" goto src6 |