From: Glenn Morris Date: Tue, 18 May 2010 02:49:28 +0000 (-0700) Subject: Since Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~208^2~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6665f4c540a79151c29d53c93754a47cae02b489;p=emacs.git 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). --- diff --git a/ChangeLog b/ChangeLog index 14b421ab91a..eb3ed433d0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-05-18 Glenn Morris + * configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o. + (POST_ALLOC_OBJ) [!cygwin]: Set to empty. + * config.bat (RALLOC_OBJ): Edit to empty if sys_malloc. * configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC. (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 CYGWIN_OBJ="sheap.o" ## Cygwin differs because of its unexec(). PRE_ALLOC_OBJ= - POST_ALLOC_OBJ="lastfile.o vm-limit.o" + POST_ALLOC_OBJ=lastfile.o else CYGWIN_OBJ= PRE_ALLOC_OBJ=lastfile.o - POST_ALLOC_OBJ="\$(VMLIMIT_OBJ)" + POST_ALLOC_OBJ= fi AC_SUBST(CYGWIN_OBJ) 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 @@ 2010-05-18 Glenn Morris + * Makefile.in (otherobj): Include $(VMLIMIT_OBJ) seperately from + $(POST_ALLOC_OBJ). + * Makefile.in (RALLOC_OBJ): New, set by configure. (rallocobj): Replace with the previous variable. (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@ /* Empty on Cygwin, lastfile.o elsewhere. */ PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@ -/* lastfile.o vm-limit.o on Cygwin, $VMLIMIT_OBJ elsewhere. */ +/* lastfile.o on Cygwin, empty elsewhere. */ POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ /* List of object files that make-docfile should not be told about. */ otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ - $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) + $(POST_ALLOC_OBJ) $(VMLIMIT_OBJ) $(WIDGET_OBJ) $(LIBOBJS) /* This is the platform-specific list of Lisp files loaded into the dumped Emacs. It is arranged like this because it is easier to generate