* configure.in (OTHER_OBJ): Remove.
(PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New output variables.
* configure: Regenerate.
* src/Makefile.in (gmallocobj, rallocobj, vmlimitobj): Initialize to null,
for clarity.
(OTHER_OBJ): Remove.
(PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New, set by configure.
(otherobj): Use PRE_ALLOC_OBJ, POST_ALLOC_OBJ rather than OTHER_OBJ.
+2010-05-01 Glenn Morris <rgm@gnu.org>
+
+ * configure.in (OTHER_OBJ): Remove.
+ (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New output variables.
+
2010-04-30 Glenn Morris <rgm@gnu.org>
* configure.in (OTHER_OBJ): Always include vm-limit.o on Cygwin.
OLDXMENU
LIBXMENU
CYGWIN_OBJ
-OTHER_OBJ
+PRE_ALLOC_OBJ
+POST_ALLOC_OBJ
LTLIBOBJS'
ac_subst_files=''
ac_user_opts='
fi
-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 vm-limit.o"
+ PRE_ALLOC_OBJ=
+ POST_ALLOC_OBJ="lastfile.o vm-limit.o"
else
CYGWIN_OBJ=
- OTHER_OBJ="lastfile.o $OTHER_OBJ \$(vmlimitobj)"
+ PRE_ALLOC_OBJ=lastfile.o
+ POST_ALLOC_OBJ="\$(vmlimitobj)"
fi
+
#### Report on what we decided to do.
#### Report GTK as a toolkit, even if it doesn't use Xt.
#### It makes printing result more understandable as using GTK sets
fi
-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 vm-limit.o"
+ PRE_ALLOC_OBJ=
+ POST_ALLOC_OBJ="lastfile.o vm-limit.o"
else
CYGWIN_OBJ=
- OTHER_OBJ="lastfile.o $OTHER_OBJ \$(vmlimitobj)"
+ PRE_ALLOC_OBJ=lastfile.o
+ POST_ALLOC_OBJ="\$(vmlimitobj)"
fi
AC_SUBST(CYGWIN_OBJ)
-AC_SUBST(OTHER_OBJ)
+AC_SUBST(PRE_ALLOC_OBJ)
+AC_SUBST(POST_ALLOC_OBJ)
AH_TOP([/* GNU Emacs site configuration template file.
Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005,
+2010-05-01 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (gmallocobj, rallocobj, vmlimitobj): Initialize to null,
+ for clarity.
+ (OTHER_OBJ): Remove.
+ (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New, set by configure.
+ (otherobj): Use PRE_ALLOC_OBJ, POST_ALLOC_OBJ rather than OTHER_OBJ.
+
2010-05-01 Karel Klíč <kklic@redhat.com>
* fileio.c (Ffile_selinux_context): Context functions may return null.
termcapobj = tparam.o
#endif /* ! defined (TERMINFO) */
-
+gmallocobj =
+rallocobj =
+vmlimitobj =
#ifndef SYSTEM_MALLOC
#ifndef DOUG_LEA_MALLOC
gmallocobj = gmalloc.o
vmlimitobj = vm-limit.o
#endif /* !SYSTEM_MALLOC */
-OTHER_OBJ=@OTHER_OBJ@
+## Empty on Cygwin, lastfile.o elsewhere.
+PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@
+## lastfile.o vm-limit.o on Cygwin, $vmlimitobj elsewhere.
+POST_ALLOC_OBJ=@POST_ALLOC_OBJ@
/* List of object files that make-docfile should not be told about. */
-otherobj= $(termcapobj) $(OTHER_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
+otherobj= $(termcapobj) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \
+ $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
#ifdef HAVE_MOUSE
#define MOUSE_SUPPORT ${lispsource}mouse.elc \