]> git.lyx.org Git - lyx.git/commitdiff
Rename --enable-profiling to --enable-gprof to pave the way for a configure option...
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 18 Jan 2011 09:57:03 +0000 (09:57 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 18 Jan 2011 09:57:03 +0000 (09:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37245 a592a061-630c-0410-9148-cb99ea01b6c8

INSTALL
config/lyxinclude.m4

diff --git a/INSTALL b/INSTALL
index 0eabaf160977984cda3107962c198aa2675d8483..13ce2cb15a35c7992f98e106737d8d8b06481534 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -211,7 +211,7 @@ this file.
 
 The following options allow to tweak more precisely the generated code:
 
-  o --enable-profiling instruments the code for use with the gprof
+  o --enable-gprof instruments the code for use with the gprof
     profiler. The result are only meaningful in conjunction with
     --enable-build-type=release.
 
index 549eb6058657bacf2ce45e19aa7e971e4a2c2eac..20b7f94817feca212ab32d3e47794f009a9bcc3a 100644 (file)
@@ -210,9 +210,9 @@ AC_ARG_ENABLE(concept-checks,
         enable_concept_checks=no;
     fi;])
 
-AC_ARG_ENABLE(profiling,
-  AC_HELP_STRING([--enable-profiling],[enable profiling]),,
-  enable_profiling=no;)
+AC_ARG_ENABLE(gprof,
+  AC_HELP_STRING([--enable-gprof],[enable profiling using gprof]),,
+  enable_gprof=no;)
 
 ### set up optimization
 AC_ARG_ENABLE(optimization,
@@ -264,7 +264,7 @@ if test x$GXX = xyes; then
         CFLAGS="-g $CFLAGS"
        CXXFLAGS="-g $CXXFLAGS"
     fi
-    if test x$enable_profiling = xyes ; then
+    if test x$enable_gprof = xyes ; then
         CFLAGS="-pg $CFLAGS"
         CXXFLAGS="-pg $CXXFLAGS"
         LDFLAGS="-pg $LDFLAGS"