X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=debug%2Fcheck-configs;h=65b3fd9ab10cd8b74783e9ce48a57bb60666a693;hb=a4f8b029b86d2ca1612a9c2e2795ccea27b15276;hp=9909bfec7fae8f718d505291d40f81566b2d102e;hpb=00b0cd8ef7dcbfe82de3abb4d614390eef1e0821;p=libucw.git diff --git a/debug/check-configs b/debug/check-configs index 9909bfec..65b3fd9a 100755 --- a/debug/check-configs +++ b/debug/check-configs @@ -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 @@ -44,18 +44,20 @@ function try rm -rf tests mkdir tests if [ "$1" == DARWIN ] ; then - # All tests on Darwin need CONFIG_SHARED, due to libcharset collision + # All tests on Darwin need CONFIG_SHARED, due to libucw-charset collision # only visible with static linking. FLAGS="CONFIG_SHARED" 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_SHARED # statically linked 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