]> mj.ucw.cz Git - libucw.git/commitdiff
Config: Use CONFIG_LOCAL in debugging configuration
authorMartin Mares <mj@ucw.cz>
Sat, 11 Feb 2012 20:09:16 +0000 (21:09 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 11 Feb 2012 20:09:16 +0000 (21:09 +0100)
debug/check-configs
debug/default.cfg
default.cfg

index 9909bfec7fae8f718d505291d40f81566b2d102e..d796c429d2275961dc6dbf4c324876b3305c0679 100755 (executable)
@@ -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
index d57aa9e87c2796d9f99d776e6d7574733133a5b3..a309a07b79de3298acc0db68a9b6de1677a49302 100644 (file)
@@ -1,5 +1,6 @@
 # Configuration used for debugging LibUCW
 
 Include("default.cfg");
+Set("CONFIG_LOCAL");
 UnSet("CONFIG_SHARED");
 Set("CONFIG_DEBUG");
index 47d8941fcc37149146f8890e64a565b5e3237a4f..f6e25e3b35c336962083d837f1f3e9c58018e518 100644 (file)
@@ -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");