Fix build of tests
authorXavier Claessens <xclaesse@src.gnome.org>
Sat, 29 Dec 2007 15:49:31 +0000 (15:49 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sat, 29 Dec 2007 15:49:31 +0000 (15:49 +0000)
svn path=/trunk/; revision=510

configure.ac
tests/Makefile.am

index 4f164ac781bd429197077832f67451593ec3f821..e3d324e01163dbe49637c89ba80c2e8b6f379f53 100644 (file)
@@ -281,12 +281,6 @@ fi
 
 AM_CONDITIONAL(HAVE_VOIP, test "x$enable_voip" = "xyes")
 
-# Checks for the 'check' unit testing library
-PKG_CHECK_MODULES([CHECK], [check >= 0.9.4], 
-                   [ HAVE_CHECK=yes ],
-                   [ HAVE_CHECK=no ] )
-AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
-
 # -----------------------------------------------------------
 
 AC_OUTPUT([
index 29ed270ed84fa791186a88dde2eaebe9a00b36ff..f823d4def1abe5d7186d9db8d9249986fe3b74a0 100644 (file)
@@ -19,7 +19,6 @@ bin_PROGRAMS =                        \
 
 contact_manager_SOURCES = contact-manager.c
 
-if HAVE_CHECK
 check_PROGRAMS = check-main
 TESTS = check-main
 check_main_SOURCES =                             \
@@ -39,4 +38,3 @@ check_main_CFLAGS = \
     @CHECK_CFLAGS@ \
     $(AM_CFLAGS)
 
-endif