From: Martin Mares Date: Sat, 11 Feb 2012 20:09:16 +0000 (+0100) Subject: Config: Use CONFIG_LOCAL in debugging configuration X-Git-Tag: v5.0~42 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f40ee1ad9edce6568e9a60be6b595e68160537d2;p=libucw.git Config: Use CONFIG_LOCAL in debugging configuration --- 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");