Diff between e0f960e038169b5b193520e9255b695c7e4bb3d6 and 292a37990cf0b9517135a4d58c8c1df6b9123cb4

Changed Files

File Additions Deletions Status
Makefile.am +1 -11 modified
acinclude.m4 +1 -7 modified
configure.ac +0 -1 modified

Full Patch

diff --git a/Makefile.am b/Makefile.am
index ee20453..a6afcac 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -219,20 +219,10 @@ AM_CPPFLAGS = -I$(builddir)/lib -I$(builddir)/src -I$(srcdir)/src \
 			-I$(srcdir)/gdbus -I$(srcdir)/btio
 
 
-unit_objects =
-
-if TEST
 unit_tests = unit/test-eir
 
-noinst_PROGRAMS += $(unit_tests)
-
 unit_test_eir_SOURCES = unit/test-eir.c src/eir.c src/glib-helper.c
-unit_test_eir_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@ @CHECK_LIBS@
-unit_test_eir_CFLAGS = $(AM_CFLAGS) @CHECK_CFLAGS@
-unit_objects += $(unit_test_eir_OBJECTS)
-else
-unit_tests =
-endif
+unit_test_eir_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@
 
 unit_tests += unit/test-gobex-header unit/test-gobex-packet unit/test-gobex \
 			unit/test-gobex-transfer unit/test-gobex-apparam
diff --git a/acinclude.m4 b/acinclude.m4
index b61cd17..b3e4181 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -130,12 +130,6 @@ AC_DEFUN([AC_PATH_READLINE], [
 		[])
 ])
 
-AC_DEFUN([AC_PATH_CHECK], [
-	PKG_CHECK_MODULES(CHECK, check >= 0.9.6, check_found=yes, check_found=no)
-	AC_SUBST(CHECK_CFLAGS)
-	AC_SUBST(CHECK_LIBS)
-])
-
 AC_DEFUN([AC_PATH_OUI], [
 	AC_ARG_WITH(ouifile,
 		    AS_HELP_STRING([--with-ouifile=PATH],[Path to the oui.txt file @<:@auto@:>@]),
@@ -291,7 +285,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
 	AM_CONDITIONAL(HEALTHPLUGIN, test "${health_enable}" = "yes")
 	AM_CONDITIONAL(READLINE, test "${readline_found}" = "yes")
 	AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes")
-	AM_CONDITIONAL(TEST, test "${test_enable}" = "yes" && test "${check_found}" = "yes")
+	AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")
 	AM_CONDITIONAL(TOOLS, test "${tools_enable}" = "yes")
 	AM_CONDITIONAL(HID2HCI, test "${hid2hci_enable}" = "yes" && test "${usb_found}" = "yes" && test "${udev_found}" = "yes")
 	AM_CONDITIONAL(DATAFILES, test "${datafiles_enable}" = "yes")
diff --git a/configure.ac b/configure.ac
index 6359f3c..4292978 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,6 @@ AC_PATH_USB
 AC_PATH_UDEV
 AC_PATH_OUI
 AC_PATH_READLINE
-AC_PATH_CHECK
 
 AC_ARG_BLUEZ