From f40ee1ad9edce6568e9a60be6b595e68160537d2 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 11 Feb 2012 21:09:16 +0100 Subject: [PATCH] Config: Use CONFIG_LOCAL in debugging configuration --- debug/check-configs | 4 ++-- debug/default.cfg | 1 + default.cfg | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debug/check-configs b/debug/check-configs index 9909bfec..d796c429 100755 --- a/debug/check-configs +++ b/debug/check-configs @@ -51,11 +51,11 @@ if [ "$1" == DARWIN ] ; then elif [ -n "$1" ] ; then try "$@" else - try default.cfg CONFIG_LOCAL + try default.cfg try debug/default.cfg # debugging configuration try debug/default.cfg -CONFIG_UCW_THREADS # non-threaded configuration try debug/default.cfg -CONFIG_UCW_TLS # threaded, but no TLS support in gcc - try debug/default.cfg -CONFIG_UCW_EPOLL # without epoll + try debug/default.cfg -CONFIG_UCW_EPOLL -CONFIG_UCW_MONOTONIC_CLOCK # without epoll and monotonic clock try debug/default.cfg CONFIG_UCW_POSIX_REGEX # different regex libs try debug/default.cfg CONFIG_UCW_PCRE fi diff --git a/debug/default.cfg b/debug/default.cfg index d57aa9e8..a309a07b 100644 --- a/debug/default.cfg +++ b/debug/default.cfg @@ -1,5 +1,6 @@ # Configuration used for debugging LibUCW Include("default.cfg"); +Set("CONFIG_LOCAL"); UnSet("CONFIG_SHARED"); Set("CONFIG_DEBUG"); diff --git a/default.cfg b/default.cfg index 47d8941f..f6e25e3b 100644 --- a/default.cfg +++ b/default.cfg @@ -4,6 +4,9 @@ # Do we want shared or static libraries? Set("CONFIG_SHARED"); +# Include debugging code +Set("CONFIG_DEBUG"); + # We want the public API Set("CONFIG_INSTALL_API"); -- 2.39.2