Hopefully fix bug#6065.

* 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.
This commit is contained in:
Glenn Morris 2010-04-30 09:37:01 -07:00
parent 210af04332
commit 5a1bb006a3
5 changed files with 17 additions and 7 deletions

View file

@ -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.

4
configure vendored
View file

@ -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

View 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)

View 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.

View 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 \