[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100088: Replace some cpp with autoco
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100088: Replace some cpp with autoconf. |
Date: |
Thu, 29 Apr 2010 18:36:42 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100088
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2010-04-29 18:36:42 -0700
message:
Replace some cpp with autoconf.
* configure.in (OTHER_OBJ): New output variable.
* src/Makefile.in (mallocobj): Remove.
(otherobj): Simplify using @address@hidden
modified:
ChangeLog
configure.in
src/ChangeLog
src/Makefile.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2010-04-28 07:20:39 +0000
+++ b/ChangeLog 2010-04-30 01:36:42 +0000
@@ -1,3 +1,7 @@
+2010-04-30 Glenn Morris <address@hidden>
+
+ * configure.in (OTHER_OBJ): New output variable.
+
2010-04-28 Glenn Morris <address@hidden>
* configure.in (CYGWIN_OBJ): New output variable.
=== modified file 'configure.in'
--- a/configure.in 2010-04-28 15:58:29 +0000
+++ b/configure.in 2010-04-30 01:36:42 +0000
@@ -2928,9 +2928,18 @@
buffer space.])
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"
+else
CYGWIN_OBJ=
-test "$opsys" = "cygwin" && CYGWIN_OBJ="sheap.o"
+ OTHER_OBJ="lastfile.o $OTHER_OBJ"
+fi
AC_SUBST(CYGWIN_OBJ)
+AC_SUBST(OTHER_OBJ)
AH_TOP([/* GNU Emacs site configuration template file.
Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005,
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-04-30 01:27:33 +0000
+++ b/src/ChangeLog 2010-04-30 01:36:42 +0000
@@ -1,5 +1,8 @@
2010-04-30 Glenn Morris <address@hidden>
+ * Makefile.in (mallocobj): Remove.
+ (otherobj): Simplify using @address@hidden
+
* Makefile.in (dispnew.o, frame.o, fringe.o, font.o, fontset.o)
(keyboard.o, window.o, xdisp.o, xfaces.o, menu.o):
Don't bother making nsgui.h dependency platform-specific.
=== modified file 'src/Makefile.in'
--- a/src/Makefile.in 2010-04-30 01:27:33 +0000
+++ b/src/Makefile.in 2010-04-30 01:36:42 +0000
@@ -435,7 +435,6 @@
#ifndef SYSTEM_MALLOC
-
#ifndef DOUG_LEA_MALLOC
gmallocobj = gmalloc.o
#endif
@@ -443,20 +442,12 @@
#ifdef REL_ALLOC
rallocobj = ralloc.o
#endif
-
-mallocobj = $(gmallocobj) $(rallocobj) vm-limit.o
-
-#endif /* SYSTEM_MALLOC */
-
-
-/* define otherobj as list of object files that make-docfile
- should not be told about. */
-#ifdef CYGWIN
-/* Cygwin differs because of its unexec(). */
-otherobj= $(termcapobj) $(gmallocobj) $(rallocobj) lastfile.o vm-limit.o
$(WIDGET_OBJ) $(LIBOBJS)
-#else
-otherobj= $(termcapobj) lastfile.o $(mallocobj) $(WIDGET_OBJ) $(LIBOBJS)
-#endif
+#endif /* !SYSTEM_MALLOC */
+
+/* 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)
#ifdef HAVE_MOUSE
#define MOUSE_SUPPORT ${lispsource}mouse.elc \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100088: Replace some cpp with autoconf.,
Glenn Morris <=