]> mj.ucw.cz Git - libucw.git/blobdiff - debug/check-configs
Fastbuf: Fix possible memory leak in new bprintf()
[libucw.git] / debug / check-configs
index 2746fd1ea93d530a728013821e6c8e10c7b1df5a..90799016bc4ba209f2464ffb8f87429830fdc956 100755 (executable)
@@ -29,7 +29,7 @@ function try
                cd $TDIR
                exec 3>&2 >>log 2>&1
                case $CONFIG in
-                       *)                      ../../configure $CONFIG $ARGS || die "CANNOT CONFIGURE"
+                       *)                      ../../configure $CONFIG CONFIG_LOCAL $ARGS || die "CANNOT CONFIGURE"
                                                ;;
                esac
                make $MAKEOPTS || die FAILED
@@ -47,15 +47,18 @@ if [ "$1" == DARWIN ] ; then
        # All tests on Darwin need CONFIG_SHARED, due to libcharset collision
        # only visible with static linking.
        FLAGS="CONFIG_SHARED"
-       try debug/default.cfg $FLAGS CONFIG_PCRE                                        # `make tests' does not work with non-local builds with shared libs
+       try debug/default.cfg $FLAGS CONFIG_UCW_PCRE                                    # `make tests' does not work with non-local builds with shared libs
 elif [ -n "$1" ] ; then
        try "$@"
 else
-       try default.cfg CONFIG_LOCAL
+       try default.cfg                                                                 # default configuration
+       try default.cfg -CONFIG_DEBUG                                                   # with no debugging code
        try debug/default.cfg                                                           # debugging configuration
-       try debug/default.cfg -CONFIG_THREADS                                           # non-threaded 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_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
 
 [ -z "$ERR" ]