From: Jean-Marc Lasgouttes Date: Tue, 18 Jan 2011 09:57:03 +0000 (+0000) Subject: Rename --enable-profiling to --enable-gprof to pave the way for a configure option... X-Git-Tag: 2.0.0~1070 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=eb18b4e835cba0acf44a40ed5281896cee65b442;p=lyx.git Rename --enable-profiling to --enable-gprof to pave the way for a configure option for normal profiling git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37245 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/INSTALL b/INSTALL index 0eabaf1609..13ce2cb15a 100644 --- 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. diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index 549eb60586..20b7f94817 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -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"