thread: Allow thread ID to be value returned by gettid()
Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
committed by
Tobias Brunner
parent
f00f679af9
commit
8ea4cb3e5d
@@ -305,6 +305,7 @@ ARG_ENABL_SET([perl-cpan-install],[enable installation of provided CPAN module.]
|
||||
ARG_ENABL_SET([coverage], [enable lcov coverage report generation.])
|
||||
ARG_ENABL_SET([leak-detective], [enable malloc hooks to find memory leaks.])
|
||||
ARG_ENABL_SET([lock-profiler], [enable lock/mutex profiling code.])
|
||||
ARG_ENABL_SET([log-thread-ids], [use thread ID, if available, instead of an incremented value starting from 1, to identify threads.])
|
||||
ARG_ENABL_SET([monolithic], [build monolithic version of libstrongswan that includes all enabled plugins. Similarly, the plugins of charon are assembled in libcharon.])
|
||||
|
||||
# ===================================
|
||||
@@ -1642,6 +1643,9 @@ fi
|
||||
if test x$capabilities = xlibcap -o x$capabilities = xnative; then
|
||||
AC_DEFINE([CAPABILITIES], [], [capability dropping support])
|
||||
fi
|
||||
if test x$log_thread_ids = xtrue; then
|
||||
AC_DEFINE([USE_THREAD_IDS], [], [use thread ID for thread identification, if available])
|
||||
fi
|
||||
if test x$monolithic = xtrue; then
|
||||
AC_DEFINE([MONOLITHIC], [], [monolithic build embedding plugins])
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user