diff options
| author | Glenn Morris | 2010-04-30 20:04:51 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-30 20:04:51 -0700 |
| commit | 7acac9f4ce1b49c8d953b80b83c4ecd7dd919676 (patch) | |
| tree | ad5b4475397bed5fbbb412bc39907bc2ea839db6 | |
| parent | 45841e65c92834e743320ca54d14dd0887671c25 (diff) | |
| download | emacs-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-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 11 | ||||
| -rw-r--r-- | configure.in | 10 | ||||
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/Makefile.in | 12 |
5 files changed, 35 insertions, 11 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-04-30 Glenn Morris <rgm@gnu.org> | 6 | 2010-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. |
| @@ -802,7 +802,8 @@ TOOLKIT_LIBW | |||
| 802 | OLDXMENU | 802 | OLDXMENU |
| 803 | LIBXMENU | 803 | LIBXMENU |
| 804 | CYGWIN_OBJ | 804 | CYGWIN_OBJ |
| 805 | OTHER_OBJ | 805 | PRE_ALLOC_OBJ |
| 806 | POST_ALLOC_OBJ | ||
| 806 | LTLIBOBJS' | 807 | LTLIBOBJS' |
| 807 | ac_subst_files='' | 808 | ac_subst_files='' |
| 808 | ac_user_opts=' | 809 | ac_user_opts=' |
| @@ -26166,14 +26167,15 @@ _ACEOF | |||
| 26166 | fi | 26167 | fi |
| 26167 | 26168 | ||
| 26168 | 26169 | ||
| 26169 | OTHER_OBJ="\$(gmallocobj) \$(rallocobj)" | ||
| 26170 | if test "$opsys" = "cygwin"; then | 26170 | if 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" | ||
| 26174 | else | 26175 | else |
| 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)" | ||
| 26177 | fi | 26179 | fi |
| 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 | |||
| 2952 | fi | 2952 | fi |
| 2953 | 2953 | ||
| 2954 | 2954 | ||
| 2955 | OTHER_OBJ="\$(gmallocobj) \$(rallocobj)" | ||
| 2956 | if test "$opsys" = "cygwin"; then | 2955 | if 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" | ||
| 2960 | else | 2960 | else |
| 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)" | ||
| 2963 | fi | 2964 | fi |
| 2964 | AC_SUBST(CYGWIN_OBJ) | 2965 | AC_SUBST(CYGWIN_OBJ) |
| 2965 | AC_SUBST(OTHER_OBJ) | 2966 | AC_SUBST(PRE_ALLOC_OBJ) |
| 2967 | AC_SUBST(POST_ALLOC_OBJ) | ||
| 2966 | 2968 | ||
| 2967 | AH_TOP([/* GNU Emacs site configuration template file. | 2969 | AH_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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-05-01 Karel Klíč <kklic@redhat.com> | 9 | 2010-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 | |||
| 411 | termcapobj = tparam.o | 411 | termcapobj = tparam.o |
| 412 | #endif /* ! defined (TERMINFO) */ | 412 | #endif /* ! defined (TERMINFO) */ |
| 413 | 413 | ||
| 414 | 414 | gmallocobj = | |
| 415 | rallocobj = | ||
| 416 | vmlimitobj = | ||
| 415 | #ifndef SYSTEM_MALLOC | 417 | #ifndef SYSTEM_MALLOC |
| 416 | #ifndef DOUG_LEA_MALLOC | 418 | #ifndef DOUG_LEA_MALLOC |
| 417 | gmallocobj = gmalloc.o | 419 | gmallocobj = gmalloc.o |
| @@ -424,10 +426,14 @@ rallocobj = ralloc.o | |||
| 424 | vmlimitobj = vm-limit.o | 426 | vmlimitobj = vm-limit.o |
| 425 | #endif /* !SYSTEM_MALLOC */ | 427 | #endif /* !SYSTEM_MALLOC */ |
| 426 | 428 | ||
| 427 | OTHER_OBJ=@OTHER_OBJ@ | 429 | ## Empty on Cygwin, lastfile.o elsewhere. |
| 430 | PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@ | ||
| 431 | ## lastfile.o vm-limit.o on Cygwin, $vmlimitobj elsewhere. | ||
| 432 | POST_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. */ |
| 430 | otherobj= $(termcapobj) $(OTHER_OBJ) $(WIDGET_OBJ) $(LIBOBJS) | 435 | otherobj= $(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 \ |