From: Glenn Morris Date: Mon, 9 Sep 2013 15:54:03 +0000 (-0700) Subject: Convert ChangeLog text to in-file comment X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1662^2~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48b48f98e230d0f9c2d7410600957af6e671a3e0;p=emacs.git Convert ChangeLog text to in-file comment --- diff --git a/ChangeLog b/ChangeLog index 2100041e9fe..4fc4e065e92 100644 --- 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 diff --git a/configure.ac b/configure.ac index b18eeb90de1..9fcf30ccab3 100644 --- a/configure.ac +++ b/configure.ac @@ -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.