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
This commit is contained in:
Jean-Marc Lasgouttes 2011-01-18 09:57:03 +00:00
parent f7bfb018a7
commit eb18b4e835
2 changed files with 5 additions and 5 deletions

View File

@ -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.

View 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"