diff options
| author | Glenn Morris | 2010-05-17 19:49:28 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-17 19:49:28 -0700 |
| commit | 6665f4c540a79151c29d53c93754a47cae02b489 (patch) | |
| tree | 17237df8a2eb69b3d0039b9d3d115f41a33c4b0b | |
| parent | 40dc6bf44ec6e258dabd6aa3c674f8e65ded64bb (diff) | |
| download | emacs-6665f4c540a79151c29d53c93754a47cae02b489.tar.gz emacs-6665f4c540a79151c29d53c93754a47cae02b489.zip | |
Since Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o.
* configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o.
(POST_ALLOC_OBJ) [!cygwin]: Set to empty.
* src/Makefile.in (otherobj): Include $(VMLIMIT_OBJ) separately from
$(POST_ALLOC_OBJ).
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | configure.in | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 4 |
4 files changed, 10 insertions, 4 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-05-18 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-18 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o. | ||
| 4 | (POST_ALLOC_OBJ) [!cygwin]: Set to empty. | ||
| 5 | |||
| 3 | * config.bat (RALLOC_OBJ): Edit to empty if sys_malloc. | 6 | * config.bat (RALLOC_OBJ): Edit to empty if sys_malloc. |
| 4 | * configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC. | 7 | * configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC. |
| 5 | (RALLOC_OBJ): New output variable. | 8 | (RALLOC_OBJ): New output variable. |
diff --git a/configure.in b/configure.in index a58ac2278d0..57fb0548f53 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -3226,11 +3226,11 @@ if test "$opsys" = "cygwin"; then | |||
| 3226 | CYGWIN_OBJ="sheap.o" | 3226 | CYGWIN_OBJ="sheap.o" |
| 3227 | ## Cygwin differs because of its unexec(). | 3227 | ## Cygwin differs because of its unexec(). |
| 3228 | PRE_ALLOC_OBJ= | 3228 | PRE_ALLOC_OBJ= |
| 3229 | POST_ALLOC_OBJ="lastfile.o vm-limit.o" | 3229 | POST_ALLOC_OBJ=lastfile.o |
| 3230 | else | 3230 | else |
| 3231 | CYGWIN_OBJ= | 3231 | CYGWIN_OBJ= |
| 3232 | PRE_ALLOC_OBJ=lastfile.o | 3232 | PRE_ALLOC_OBJ=lastfile.o |
| 3233 | POST_ALLOC_OBJ="\$(VMLIMIT_OBJ)" | 3233 | POST_ALLOC_OBJ= |
| 3234 | fi | 3234 | fi |
| 3235 | AC_SUBST(CYGWIN_OBJ) | 3235 | AC_SUBST(CYGWIN_OBJ) |
| 3236 | AC_SUBST(PRE_ALLOC_OBJ) | 3236 | AC_SUBST(PRE_ALLOC_OBJ) |
diff --git a/src/ChangeLog b/src/ChangeLog index fd0c3e014c9..0a649d56815 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-05-18 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-18 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (otherobj): Include $(VMLIMIT_OBJ) seperately from | ||
| 4 | $(POST_ALLOC_OBJ). | ||
| 5 | |||
| 3 | * Makefile.in (RALLOC_OBJ): New, set by configure. | 6 | * Makefile.in (RALLOC_OBJ): New, set by configure. |
| 4 | (rallocobj): Replace with the previous variable. | 7 | (rallocobj): Replace with the previous variable. |
| 5 | (otherobj): Use $RALLOC_OBJ. | 8 | (otherobj): Use $RALLOC_OBJ. |
diff --git a/src/Makefile.in b/src/Makefile.in index 6ed6e97b420..676d2a0834e 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -412,12 +412,12 @@ RALLOC_OBJ=@RALLOC_OBJ@ | |||
| 412 | 412 | ||
| 413 | /* Empty on Cygwin, lastfile.o elsewhere. */ | 413 | /* Empty on Cygwin, lastfile.o elsewhere. */ |
| 414 | PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@ | 414 | PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@ |
| 415 | /* lastfile.o vm-limit.o on Cygwin, $VMLIMIT_OBJ elsewhere. */ | 415 | /* lastfile.o on Cygwin, empty elsewhere. */ |
| 416 | POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ | 416 | POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ |
| 417 | 417 | ||
| 418 | /* List of object files that make-docfile should not be told about. */ | 418 | /* List of object files that make-docfile should not be told about. */ |
| 419 | otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ | 419 | otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ |
| 420 | $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) | 420 | $(POST_ALLOC_OBJ) $(VMLIMIT_OBJ) $(WIDGET_OBJ) $(LIBOBJS) |
| 421 | 421 | ||
| 422 | /* This is the platform-specific list of Lisp files loaded into the | 422 | /* This is the platform-specific list of Lisp files loaded into the |
| 423 | dumped Emacs. It is arranged like this because it is easier to generate | 423 | dumped Emacs. It is arranged like this because it is easier to generate |