build: New configure option to help with nPth debugging.
authorWerner Koch <wk@gnupg.org>
Wed, 2 May 2018 15:06:22 +0000 (17:06 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 2 May 2018 15:06:22 +0000 (17:06 +0200)
* configure.ac: Add option --enable-npth-debug
--

This requires a not yet release nPth version to have an effect.

Signed-off-by: Werner Koch <wk@gnupg.org>
configure.ac

index f2814dd..e94bd30 100644 (file)
@@ -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])
+
 
 
 #