Mercurial > emacs
diff src/emacs.c @ 104622:cf947e01a2b6
* lisp.h: Replace #if 0 code for checking with text pointing to
the --enable-checking configure flag.
* emacs.c (main): Mention the --enable-profiling configure flag
instead of using CFLAGS.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 26 Aug 2009 19:57:44 +0000 |
parents | 6d088d4b6e1f |
children | 8d9497f0afc1 |
line wrap: on
line diff
--- a/src/emacs.c Wed Aug 26 17:54:05 2009 +0000 +++ b/src/emacs.c Wed Aug 26 19:57:44 2009 +0000 @@ -1809,9 +1809,7 @@ /* Set up for profiling. This is known to work on FreeBSD, GNU/Linux and MinGW. It might work on some other systems too. Give it a try and tell us if it works on your system. To compile - for profiling, add -pg to the switches your platform uses in - CFLAGS and LDFLAGS. For example: - `make CFLAGS="-pg -g -O -DPROFILING=1" LDFLAGS="-pg -g"'. */ + for profiling, use the configure option --enable-profiling. */ #if defined (__FreeBSD__) || defined (GNU_LINUX) || defined(__MINGW32__) #ifdef PROFILING if (initialized)