mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
f7bfb018a7
commit
eb18b4e835
2
INSTALL
2
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.
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user