From 06cc1d1d5882d6064d78b0f3a63dd2b10dcbe918 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 4 Aug 2009 10:22:25 +0100 Subject: [PATCH] check: disable unit test support on win32 for now Until we make the internal libcheck work on windows. --- configure.ac | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 2611100..9e0b1a4 100644 --- a/configure.ac +++ b/configure.ac @@ -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") -- 2.7.4