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 /src/s/gnu-linux.h | |
| 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 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 3aa2dc16f42..c062f855276 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -147,11 +147,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 147 | 147 | ||
| 148 | #define NARROWPROTO 1 | 148 | #define NARROWPROTO 1 |
| 149 | 149 | ||
| 150 | /* Use mmap directly for allocating larger buffers. */ | ||
| 151 | #ifdef DOUG_LEA_MALLOC | ||
| 152 | #undef REL_ALLOC | ||
| 153 | #endif | ||
| 154 | |||
| 155 | /* Tell that garbage collector that setjmp is known to save all | 150 | /* Tell that garbage collector that setjmp is known to save all |
| 156 | registers relevant for conservative garbage collection in the jmp_buf. */ | 151 | registers relevant for conservative garbage collection in the jmp_buf. */ |
| 157 | /* Not all the architectures are tested, but there are Debian packages | 152 | /* Not all the architectures are tested, but there are Debian packages |