Detect ctgrind

This commit is contained in:
Frank Denis 2017-11-03 17:15:02 +01:00
parent b45d52a8cf
commit e52ab67322

View File

@ -143,6 +143,13 @@ AC_ARG_WITH(safecode,
])
])
AC_ARG_WITH(ctgrind,
[AS_HELP_STRING(--with-ctgrind,For maintainers only - please do not use)],
[AS_IF([test "x$withval" = "xyes"], [
AC_CHECK_LIB(ctgrind, ct_poison, [LIBS="$LIBS -lctgrind"])
])
])
ENABLE_CWFLAGS=no
AC_ARG_ENABLE(debug,
[AS_HELP_STRING(--enable-debug,For maintainers only - please do not use)],