Author: lasgouttes
Date: Tue Jan 18 10:57:03 2011
New Revision: 37245
URL: http://www.lyx.org/trac/changeset/37245
Log:
Rename --enable-profiling to --enable-gprof to pave the way for a configure
option for normal profiling
Modified:
lyx-devel/trunk/INSTALL
lyx-devel/trunk/config/lyxinclude.m4
Modified: lyx-devel/trunk/INSTALL
==============================================================================
--- lyx-devel/trunk/INSTALL Mon Jan 17 22:49:28 2011 (r37244)
+++ lyx-devel/trunk/INSTALL Tue Jan 18 10:57:03 2011 (r37245)
@@ -211,7 +211,7 @@
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.
Modified: lyx-devel/trunk/config/lyxinclude.m4
==============================================================================
--- lyx-devel/trunk/config/lyxinclude.m4 Mon Jan 17 22:49:28 2011
(r37244)
+++ lyx-devel/trunk/config/lyxinclude.m4 Tue Jan 18 10:57:03 2011
(r37245)
@@ -210,9 +210,9 @@
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 @@
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"