Hopefully fix bug#6065.
authorGlenn Morris <rgm@gnu.org>
Fri, 30 Apr 2010 16:37:01 +0000 (09:37 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 30 Apr 2010 16:37:01 +0000 (09:37 -0700)
* configure.in (OTHER_OBJ): Always include vm-limit.o on Cygwin.
Elsewhere, maybe include it.
* src/Makefile.in (vmlimitobj) [!SYSTEM_MALLOC]: New variable.
(OTHER_OBJ): Define as a separate variable, for clarity.

* configure: Regenerate.

ChangeLog
configure
configure.in
src/ChangeLog
src/Makefile.in

index 75b2a53..638475e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-04-30  Glenn Morris  <rgm@gnu.org>
 
+       * configure.in (OTHER_OBJ): Always include vm-limit.o on Cygwin.
+       Elsewhere, maybe include it.
+
        * configure.in (TOOLKIT_LIBW) [HAVE_GTK]: Set to $GTK_LIBS.
        (OLDXMENU, LIBXMENU): New output variables.
 
index f9c2134..6183da2 100755 (executable)
--- a/configure
+++ b/configure
@@ -26170,10 +26170,10 @@ OTHER_OBJ="\$(gmallocobj) \$(rallocobj)"
 if test "$opsys" = "cygwin"; then
   CYGWIN_OBJ="sheap.o"
   ## Cygwin differs because of its unexec().
-  OTHER_OBJ="$OTHER_OBJ lastfile.o"
+  OTHER_OBJ="$OTHER_OBJ lastfile.o vm-limit.o"
 else
   CYGWIN_OBJ=
-  OTHER_OBJ="lastfile.o $OTHER_OBJ"
+  OTHER_OBJ="lastfile.o $OTHER_OBJ \$(vmlimitobj)"
 fi
 
 
index ce232b1..4ad31ce 100644 (file)
@@ -2956,10 +2956,10 @@ OTHER_OBJ="\$(gmallocobj) \$(rallocobj)"
 if test "$opsys" = "cygwin"; then
   CYGWIN_OBJ="sheap.o"
   ## Cygwin differs because of its unexec().
-  OTHER_OBJ="$OTHER_OBJ lastfile.o"
+  OTHER_OBJ="$OTHER_OBJ lastfile.o vm-limit.o"
 else
   CYGWIN_OBJ=
-  OTHER_OBJ="lastfile.o $OTHER_OBJ"
+  OTHER_OBJ="lastfile.o $OTHER_OBJ \$(vmlimitobj)"
 fi
 AC_SUBST(CYGWIN_OBJ)
 AC_SUBST(OTHER_OBJ)
index 544e715..08a4595 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-30  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (vmlimitobj) [!SYSTEM_MALLOC]: New variable.  (Bug#6065)
+       (OTHER_OBJ): Define as a separate variable, for clarity.
+
 2010-04-30  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xsettings.c: include limits.h and update file comment.
index 9d60e40..cc7b147 100644 (file)
@@ -420,12 +420,14 @@ gmallocobj = gmalloc.o
 #ifdef REL_ALLOC
 rallocobj = ralloc.o
 #endif
+
+vmlimitobj = vm-limit.o
 #endif /* !SYSTEM_MALLOC */
 
+OTHER_OBJ=@OTHER_OBJ@
+
 /* List of object files that make-docfile should not be told about.  */
-/* OTHER_OBJ = $(gmallocobj) $(rallocobj), with trailing/leading
-   lastfile.o on Cygwin/other.  */
-otherobj= $(termcapobj) @OTHER_OBJ@ vm-limit.o $(WIDGET_OBJ) $(LIBOBJS)
+otherobj= $(termcapobj) $(OTHER_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
 
 #ifdef HAVE_MOUSE
 #define MOUSE_SUPPORT ${lispsource}mouse.elc \