summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-04-10 00:14:49 +0000
committerMorgan Deters <mdeters@gmail.com>2011-04-10 00:14:49 +0000
commit8495ee8e7de4a7e472d72cfb20290940c59794e3 (patch)
tree5400ea6b8ea2acd24c76fe4e96220275345506d1 /configure.ac
parentc165a7c05ca79659d2f0451cb795b17dec5dcfb6 (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.ac3
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback