aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-04-30 20:04:51 -0700
committerGlenn Morris2010-04-30 20:04:51 -0700
commit7acac9f4ce1b49c8d953b80b83c4ecd7dd919676 (patch)
treead5b4475397bed5fbbb412bc39907bc2ea839db6
parent45841e65c92834e743320ca54d14dd0887671c25 (diff)
downloademacs-7acac9f4ce1b49c8d953b80b83c4ecd7dd919676.tar.gz
emacs-7acac9f4ce1b49c8d953b80b83c4ecd7dd919676.zip
Rework previous autoconf changes, hopefully to make clearer.
* 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.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure11
-rw-r--r--configure.in10
-rw-r--r--src/ChangeLog8
-rw-r--r--src/Makefile.in12
5 files changed, 35 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 638475e92b6..279b3a00157 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12010-05-01 Glenn Morris <rgm@gnu.org>
2
3 * configure.in (OTHER_OBJ): Remove.
4 (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New output variables.
5
12010-04-30 Glenn Morris <rgm@gnu.org> 62010-04-30 Glenn Morris <rgm@gnu.org>
2 7
3 * configure.in (OTHER_OBJ): Always include vm-limit.o on Cygwin. 8 * configure.in (OTHER_OBJ): Always include vm-limit.o on Cygwin.
diff --git a/configure b/configure
index 6183da28e18..81d7e258e21 100755
--- a/configure
+++ b/configure
@@ -802,7 +802,8 @@ TOOLKIT_LIBW
802OLDXMENU 802OLDXMENU
803LIBXMENU 803LIBXMENU
804CYGWIN_OBJ 804CYGWIN_OBJ
805OTHER_OBJ 805PRE_ALLOC_OBJ
806POST_ALLOC_OBJ
806LTLIBOBJS' 807LTLIBOBJS'
807ac_subst_files='' 808ac_subst_files=''
808ac_user_opts=' 809ac_user_opts='
@@ -26166,14 +26167,15 @@ _ACEOF
26166fi 26167fi
26167 26168
26168 26169
26169OTHER_OBJ="\$(gmallocobj) \$(rallocobj)"
26170if test "$opsys" = "cygwin"; then 26170if test "$opsys" = "cygwin"; then
26171 CYGWIN_OBJ="sheap.o" 26171 CYGWIN_OBJ="sheap.o"
26172 ## Cygwin differs because of its unexec(). 26172 ## Cygwin differs because of its unexec().
26173 OTHER_OBJ="$OTHER_OBJ lastfile.o vm-limit.o" 26173 PRE_ALLOC_OBJ=
26174 POST_ALLOC_OBJ="lastfile.o vm-limit.o"
26174else 26175else
26175 CYGWIN_OBJ= 26176 CYGWIN_OBJ=
26176 OTHER_OBJ="lastfile.o $OTHER_OBJ \$(vmlimitobj)" 26177 PRE_ALLOC_OBJ=lastfile.o
26178 POST_ALLOC_OBJ="\$(vmlimitobj)"
26177fi 26179fi
26178 26180
26179 26181
@@ -26182,6 +26184,7 @@ fi
26182 26184
26183 26185
26184 26186
26187
26185#### Report on what we decided to do. 26188#### Report on what we decided to do.
26186#### Report GTK as a toolkit, even if it doesn't use Xt. 26189#### Report GTK as a toolkit, even if it doesn't use Xt.
26187#### It makes printing result more understandable as using GTK sets 26190#### It makes printing result more understandable as using GTK sets
diff --git a/configure.in b/configure.in
index 4ad31ce4b59..a77264ab4dc 100644
--- a/configure.in
+++ b/configure.in
@@ -2952,17 +2952,19 @@ if test "${REL_ALLOC}" = "yes" ; then
2952fi 2952fi
2953 2953
2954 2954
2955OTHER_OBJ="\$(gmallocobj) \$(rallocobj)"
2956if test "$opsys" = "cygwin"; then 2955if test "$opsys" = "cygwin"; then
2957 CYGWIN_OBJ="sheap.o" 2956 CYGWIN_OBJ="sheap.o"
2958 ## Cygwin differs because of its unexec(). 2957 ## Cygwin differs because of its unexec().
2959 OTHER_OBJ="$OTHER_OBJ lastfile.o vm-limit.o" 2958 PRE_ALLOC_OBJ=
2959 POST_ALLOC_OBJ="lastfile.o vm-limit.o"
2960else 2960else
2961 CYGWIN_OBJ= 2961 CYGWIN_OBJ=
2962 OTHER_OBJ="lastfile.o $OTHER_OBJ \$(vmlimitobj)" 2962 PRE_ALLOC_OBJ=lastfile.o
2963 POST_ALLOC_OBJ="\$(vmlimitobj)"
2963fi 2964fi
2964AC_SUBST(CYGWIN_OBJ) 2965AC_SUBST(CYGWIN_OBJ)
2965AC_SUBST(OTHER_OBJ) 2966AC_SUBST(PRE_ALLOC_OBJ)
2967AC_SUBST(POST_ALLOC_OBJ)
2966 2968
2967AH_TOP([/* GNU Emacs site configuration template file. 2969AH_TOP([/* GNU Emacs site configuration template file.
2968 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005, 2970 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005,
diff --git a/src/ChangeLog b/src/ChangeLog
index 3f6a45a4118..e5c6a0b23b7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12010-05-01 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (gmallocobj, rallocobj, vmlimitobj): Initialize to null,
4 for clarity.
5 (OTHER_OBJ): Remove.
6 (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New, set by configure.
7 (otherobj): Use PRE_ALLOC_OBJ, POST_ALLOC_OBJ rather than OTHER_OBJ.
8
12010-05-01 Karel Klíč <kklic@redhat.com> 92010-05-01 Karel Klíč <kklic@redhat.com>
2 10
3 * fileio.c (Ffile_selinux_context): Context functions may return null. 11 * fileio.c (Ffile_selinux_context): Context functions may return null.
diff --git a/src/Makefile.in b/src/Makefile.in
index cc7b1477d35..e221c4a5934 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -411,7 +411,9 @@ termcapobj = terminfo.o
411termcapobj = tparam.o 411termcapobj = tparam.o
412#endif /* ! defined (TERMINFO) */ 412#endif /* ! defined (TERMINFO) */
413 413
414 414gmallocobj =
415rallocobj =
416vmlimitobj =
415#ifndef SYSTEM_MALLOC 417#ifndef SYSTEM_MALLOC
416#ifndef DOUG_LEA_MALLOC 418#ifndef DOUG_LEA_MALLOC
417gmallocobj = gmalloc.o 419gmallocobj = gmalloc.o
@@ -424,10 +426,14 @@ rallocobj = ralloc.o
424vmlimitobj = vm-limit.o 426vmlimitobj = vm-limit.o
425#endif /* !SYSTEM_MALLOC */ 427#endif /* !SYSTEM_MALLOC */
426 428
427OTHER_OBJ=@OTHER_OBJ@ 429## Empty on Cygwin, lastfile.o elsewhere.
430PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@
431## lastfile.o vm-limit.o on Cygwin, $vmlimitobj elsewhere.
432POST_ALLOC_OBJ=@POST_ALLOC_OBJ@
428 433
429/* List of object files that make-docfile should not be told about. */ 434/* List of object files that make-docfile should not be told about. */
430otherobj= $(termcapobj) $(OTHER_OBJ) $(WIDGET_OBJ) $(LIBOBJS) 435otherobj= $(termcapobj) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \
436 $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
431 437
432#ifdef HAVE_MOUSE 438#ifdef HAVE_MOUSE
433#define MOUSE_SUPPORT ${lispsource}mouse.elc \ 439#define MOUSE_SUPPORT ${lispsource}mouse.elc \