Skip to content
Snippets Groups Projects
Commit 687cc22c authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

add WITH_PROFILER to the config.

parent abdb92f4
No related branches found
No related tags found
1 merge request!542Add mapper-specific profiling capabilities and makes `space_getsid` inlinable
......@@ -602,8 +602,10 @@ if test "x$with_profiler" != "xno"; then
else
proflibs="-lprofiler"
fi
AC_CHECK_LIB([profiler],[ProfilerFlush],[have_profiler="yes"],[have_profiler="no"],
$proflibs)
AC_CHECK_LIB([profiler],[ProfilerFlush],
[have_profiler="yes"
AC_DEFINE([WITH_PROFILER],1,[Link against the gperftools profiling library.])],
[have_profiler="no"], $proflibs)
if test "$have_profiler" = "yes"; then
PROFILER_LIBS="$proflibs"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment