]> git.eshelyaron.com Git - emacs.git/commitdiff
Convert ChangeLog text to in-file comment
authorGlenn Morris <rgm@gnu.org>
Mon, 9 Sep 2013 15:54:03 +0000 (08:54 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 9 Sep 2013 15:54:03 +0000 (08:54 -0700)
ChangeLog
configure.ac

index 2100041e9fe0c95821617fe681d862c68fba0ba4..4fc4e065e9275223ad79faa076458d68aac541ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,11 +3,6 @@
        * configure.ac (LDFLAGS_NOCOMBRELOC): New variable.
        (LDFLAGS): Move nocombreloc option from here...
        (LD_SWITCH_SYSTEM_TEMACS): ... to here.
-       This is an essential option that should not be in LDFLAGS,
-       because the user may override that at build time; eg
-       http://bugs.debian.org/684788.  temacs is the only thing
-       that actually needs this option; this is where it was orginally:
-       http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-03/msg00170.html
 
 2013-09-08  Glenn Morris  <rgm@gnu.org>
 
index b18eeb90de11a0d2326b1e052b3d9831fea8519c..9fcf30ccab355d8b8a08655ec9669dbae0da2b87 100644 (file)
@@ -1026,7 +1026,16 @@ dnl (Don't use `-z nocombreloc' as -z takes no arg on Irix.)
 dnl Treat GCC specially since it just gives a non-fatal `unrecognized option'
 dnl if not built to support GNU ld.
 
-late_LDFLAGS=$LDFLAGS
+dnl For a long time, this was added to LDFLAGS rather than
+dnl LD_SWITCH_SYSTEM_TEMACS.  That is: i) inappropriate, since
+dnl LDFLAGS is supposed to be a user option, and this flag is
+dnl essential.  It can leads to problems if the user overrides
+dnl LDFLAGS at _build_ time (make LDFLAGS=... all), eg
+dnl http://bugs.debian.org/684788.
+dnl ii) unnecessary, since temacs is the only thing
+dnl that actually needs this option - this is where it was orginally:
+dnl http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-03/msg00170.html
+late_LDFLAGS="$LDFLAGS"
 if test x$GCC = xyes; then
   LDFLAGS_NOCOMBRELOC="-Wl,-znocombreloc"
 else
@@ -1041,7 +1050,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
   LDFLAGS_NOCOMBRELOC=
   [AC_MSG_RESULT(no)])
 
-LDFLAGS=$late_LDFLAGS
+LDFLAGS="$late_LDFLAGS"
 
 dnl The function dump-emacs will not be defined and temacs will do
 dnl (load "loadup") automatically unless told otherwise.