aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-05-02 15:06:22 +0000
committerWerner Koch <[email protected]>2018-05-02 15:06:22 +0000
commitddfd39e91a532fd31cd0c20c5d4cf9643acc58bd (patch)
treee67338263eba9e4028b9da4156f06c8a774b2634
parentspeedo: Install Spanish translation for Libgpg-error. (diff)
downloadgnupg-ddfd39e91a532fd31cd0c20c5d4cf9643acc58bd.tar.gz
gnupg-ddfd39e91a532fd31cd0c20c5d4cf9643acc58bd.zip
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 <[email protected]>
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
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])
+
#