summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <chris@Burninator.(none)>2007-06-22 23:43:33 +1000
committerChristopher James Halse Rogers <chris@Burninator.(none)>2007-06-22 23:43:33 +1000
commit92c1aeaaf9756920aa25c4b5ecabb6828c33beb6 (patch)
tree48a7f645f27e1e5ae40be8d70f7e856d55e46d81
parent6f857ad2227c48d055f0fcc1c05155eb6bc53753 (diff)
downloadradial-switcher-92c1aeaaf9756920aa25c4b5ecabb6828c33beb6.tar.gz
radial-switcher-92c1aeaaf9756920aa25c4b5ecabb6828c33beb6.tar.bz2
Fix build system
-rw-r--r--configure.ac7
-rw-r--r--tests/Makefile.am4
2 files changed, 3 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 6c1f2e3..0a63be3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,12 +20,7 @@ AC_PROG_LIBTOOL
# Checks for libraries.
-# This macro is defined in check.m4 and tests if check.h and
-# libcheck.a are installed in your system. It sets CHECK_CFLAGS and
-# CHECK_LIBS accordingly.
-# AM_PATH_CHECK([MINIMUM-VERSION,
-# [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
-AM_PATH_CHECK()
+PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
# Checks for header files.
AC_HEADER_STDC
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 990665e..b71eb9e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,7 +1,7 @@
## Process this file with automake to produce Makefile.in
-TESTS = check_switcher-util
-check_PROGRAMS = check_swicher-util
+TESTS = check_switcher_util
+check_PROGRAMS = check_switcher-util
check_switcher_util_SOURCES = check_switcher-util.c $(top_builddir)/src/switcher-util.h
check_switcher_util_CFLAGS = @CHECK_CFLAGS@
check_switcher_util_LDADD = @CHECK_LIBS@ $(top_builddir)/src/libswitcher-util.la