diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-04-10 00:14:49 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-04-10 00:14:49 +0000 |
commit | 8495ee8e7de4a7e472d72cfb20290940c59794e3 (patch) | |
tree | 5400ea6b8ea2acd24c76fe4e96220275345506d1 /configure.ac | |
parent | c165a7c05ca79659d2f0451cb795b17dec5dcfb6 (diff) |
Add -lprofiler when --with-google-perftools is offered; also fix some newswire-raised documentation issues.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 25108adcc..975d032b8 100644 --- a/configure.ac +++ b/configure.ac @@ -721,7 +721,8 @@ AC_ARG_WITH( AC_MSG_CHECKING([whether to link in google perftools libraries]) if test $cvc4_use_google_perftools = 1; then AC_MSG_RESULT([yes]) - AC_CHECK_LIB([tcmalloc], [MallocExtension_GetAllocatedSize], , [AC_MSG_ERROR([cannot link google-perftools test program])], [-lpthread]) + AC_CHECK_LIB([tcmalloc], [MallocExtension_GetAllocatedSize], , [AC_MSG_ERROR([cannot link google-perftools test program with -ltcmalloc])], [-lpthread]) + AC_CHECK_LIB([profiler], [ProfilerStart], , [AC_MSG_ERROR([cannot link google-perftools test program with -lprofiler])], [-lpthread]) else AC_MSG_RESULT([no (user didn't request it)]) fi |