Hi Sylvain.
Here's some progress with task #88 "Dependencies detection in
configuration time".
[...]
If this sounds good to you I can polish configure.ac some more.
Seems quite convenient. If no one disagrees I would say to go with it.
dnl Check if Unit testing support is available with Check or No-Check
ut_support=no
AM_CONDITIONAL([COMPILE_UT], [test "x$use_nocheck" = "xyes" -o
"x$ac_cv_lib_check_suite_create" = "xyes"])
if test "x$use_nocheck" = "xyes"; then
ut_framework="(builtin No-Check)"
ut_support=yes
else
if test "x$HAVE_LIBCHECK" != "xno"; then
ut_framework="(Check)"
ut_support=yes
fi
fi
Note that we are using nocheck just because check is not supporting
wine/windozes. So I think that we should not halt the sources
configuration if host=mingw and check is not available.
--
Jose E. Marchesi <[email protected]>
http://www.jemarch.net
GNU Project http://www.gnu.org