From ddfd39e91a532fd31cd0c20c5d4cf9643acc58bd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 2 May 2018 17:06:22 +0200 Subject: [PATCH] build: New configure option to help with nPth debugging. * configure.ac: Add option --enable-npth-debug -- This requires a not yet release nPth version to have an effect. Signed-off-by: Werner Koch --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index f2814dd1d..e94bd30c4 100644 --- a/configure.ac +++ b/configure.ac @@ -963,6 +963,17 @@ else *** we need the support of the New Portable Threads Library. ***]]) fi +# +# Enable debugging of nPth +# +AC_ARG_ENABLE(npth-debug, + AC_HELP_STRING([--enable-npth-debug], + [build with debug version of npth]), + [if test $enableval = yes ; then + AC_DEFINE(NPTH_ENABLE_DEBUG,1, + [Build with debug version of nPth]) + fi]) + #