diff options
| author | Glenn Morris | 2012-11-20 20:22:09 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-11-20 20:22:09 -0500 |
| commit | 1b3b7caa0c1fd99dada144640d7fdaad2b06081b (patch) | |
| tree | 4ac972f85d52b31493141163a3cdb779647669de | |
| parent | a16ac13f6299d2610284a6b3fb4231c3279d2e9c (diff) | |
| download | emacs-1b3b7caa0c1fd99dada144640d7fdaad2b06081b.tar.gz emacs-1b3b7caa0c1fd99dada144640d7fdaad2b06081b.zip | |
* configure.ac (--enable-profiling): Doc fix.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.ac | 9 |
2 files changed, 11 insertions, 2 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-11-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.ac (--enable-profiling): Doc fix. | ||
| 4 | |||
| 1 | 2012-11-03 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-11-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed. | 7 | * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed. |
diff --git a/configure.ac b/configure.ac index 4564bc3085e..3246372ca48 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -329,10 +329,15 @@ if test "${enableval}" != "no"; then | |||
| 329 | fi) | 329 | fi) |
| 330 | 330 | ||
| 331 | 331 | ||
| 332 | dnl The name of this option is unfortunate. It predates, and has no | ||
| 333 | dnl relation to, the "sampling-based elisp profiler" added in 24.3. | ||
| 334 | dnl Actually, it stops it working. | ||
| 335 | dnl http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00393.html | ||
| 332 | AC_ARG_ENABLE(profiling, | 336 | AC_ARG_ENABLE(profiling, |
| 333 | [AS_HELP_STRING([--enable-profiling], | 337 | [AS_HELP_STRING([--enable-profiling], |
| 334 | [build emacs with profiling support. | 338 | [build emacs with low-level, gprof profiling support. |
| 335 | This might not work on all platforms])], | 339 | Mainly useful for debugging Emacs itself. May not work on |
| 340 | all platforms. Stops profiler.el working.])], | ||
| 336 | [ac_enable_profiling="${enableval}"],[]) | 341 | [ac_enable_profiling="${enableval}"],[]) |
| 337 | if test x$ac_enable_profiling != x ; then | 342 | if test x$ac_enable_profiling != x ; then |
| 338 | PROFILING_CFLAGS="-DPROFILING=1 -pg" | 343 | PROFILING_CFLAGS="-DPROFILING=1 -pg" |