From cf44e01bb137e4945d4369ee5f9ed8b62372ecb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 30 Oct 2014 12:05:45 +0000 Subject: [PATCH] Check for and utrace(2). --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index c688a6e..d0facaf 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,10 @@ AC_PROG_INSTALL AC_CHECK_HEADERS([endian.h sys/endian.h]) AC_CHECK_FUNCS([strlcat strlcmp strlcpy]) +# For tracing allocations in unit tests +AC_CHECK_HEADERS([sys/ktrace.h]) +AC_CHECK_FUNCS([utrace]) + ############################################################################ # # Build options