threshhold and ./configure option for lock profiler

This commit is contained in:
Martin Willi
2008-11-05 14:36:57 +00:00
parent ac29400e34
commit 0214012508
3 changed files with 24 additions and 6 deletions
+9
View File
@@ -377,6 +377,14 @@ AC_ARG_ENABLE(
fi]
)
AC_ARG_ENABLE(
[lock-profiler],
AS_HELP_STRING([--enable-lock-profiling],[enable lock/mutex profiling code (default is NO).]),
[if test x$enableval = xyes; then
lock_profiler=true
fi]
)
AC_ARG_ENABLE(
[unit-tests],
AS_HELP_STRING([--enable-unit-tests],[enable unit tests on IKEv2 daemon startup (default is NO).]),
@@ -899,6 +907,7 @@ dnl =============
AM_CONDITIONAL(USE_SMARTCARD, test x$smartcard = xtrue)
AM_CONDITIONAL(USE_CISCO_QUIRKS, test x$cisco_quirks = xtrue)
AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
AM_CONDITIONAL(USE_LOCK_PROFILER, test x$lock_profiler = xtrue)
AM_CONDITIONAL(USE_NAT_TRANSPORT, test x$nat_transport = xtrue)
AM_CONDITIONAL(USE_VENDORID, test x$vendor_id = xtrue)
AM_CONDITIONAL(USE_XAUTH_VID, test x$xauth_vid = xtrue)