check: disable unit test support on win32 for now

Until we make the internal libcheck work on windows.
This commit is contained in:
Tim-Philipp Müller 2009-08-04 10:22:25 +01:00
parent 2d42fd4a2f
commit 06cc1d1d58

View file

@ -512,8 +512,13 @@ AC_ARG_ENABLE(check,
no) BUILD_CHECK=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --disable-check) ;;
esac
],
[BUILD_CHECK=yes]) dnl Default value
], [
dnl Default value
case $host_os in
mingw* | msvc* | mks*) BUILD_CHECK=no ;;
*) BUILD_CHECK=yes ;;
esac
])
dnl bit of a misnomer, but keep the conditional named like this so we don't
dnl have to change too much elsewhere
AM_CONDITIONAL(HAVE_CHECK, test "x$BUILD_CHECK" = "xyes")