Set rallocobj with configure, not cpp.
authorGlenn Morris <rgm@gnu.org>
Tue, 18 May 2010 02:44:07 +0000 (19:44 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 18 May 2010 02:44:07 +0000 (19:44 -0700)
commit40dc6bf44ec6e258dabd6aa3c674f8e65ded64bb
tree2fd6c610f4a8a842abc4816dbdd87ff35949e959
parentbe4ff9dad8bf43251f78f58a9ce86cf8bb153300
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.
ChangeLog
config.bat
configure.in
msdos/ChangeLog
msdos/sed1v2.inp
src/ChangeLog
src/Makefile.in
src/s/gnu-linux.h
src/s/gnu.h