]> code.delx.au - gnu-emacs/commitdiff
* configure.ac (--enable-profiling): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Wed, 21 Nov 2012 01:22:09 +0000 (20:22 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 21 Nov 2012 01:22:09 +0000 (20:22 -0500)
ChangeLog
configure.ac

index a139c0dfb6dcb0a33f4eb92b07aff24febecba80..39f9b31bf5b87c830b90286efb5b611041796da4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-21  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (--enable-profiling): Doc fix.
+
 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
 
        * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed.
index 4564bc3085e3413b69595794c8cb6eca58af6002..3246372ca48ea93e6421f46c1ad498bd58dd0423 100644 (file)
@@ -329,10 +329,15 @@ if test "${enableval}" != "no"; then
 fi)
 
 
+dnl The name of this option is unfortunate.  It predates, and has no
+dnl relation to, the "sampling-based elisp profiler" added in 24.3.
+dnl Actually, it stops it working.
+dnl http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00393.html
 AC_ARG_ENABLE(profiling,
 [AS_HELP_STRING([--enable-profiling],
-               [build emacs with profiling support.
-                This might not work on all platforms])],
+               [build emacs with low-level, gprof profiling support.
+                Mainly useful for debugging Emacs itself.  May not work on
+                all platforms.  Stops profiler.el working.])],
 [ac_enable_profiling="${enableval}"],[])
 if test x$ac_enable_profiling != x ; then
    PROFILING_CFLAGS="-DPROFILING=1 -pg"