The following options allow to tweak more precisely the generated code:
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.
profiler. The result are only meaningful in conjunction with
--enable-build-type=release.
enable_concept_checks=no;
fi;])
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,
### set up optimization
AC_ARG_ENABLE(optimization,
CFLAGS="-g $CFLAGS"
CXXFLAGS="-g $CXXFLAGS"
fi
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"
CFLAGS="-pg $CFLAGS"
CXXFLAGS="-pg $CXXFLAGS"
LDFLAGS="-pg $LDFLAGS"