From b1798ddcfb952efb7cc8bacaf51b3486a7fec121 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 10 Mar 2010 10:47:26 -0500 Subject: Fix build when check-devel is not installed tests/common.c is now required by all tests (check-based and not), so we need to properly ifdef it --- src/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 9da383b5d..4bedaa9ef 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -453,15 +453,15 @@ sss_groupshow_LDADD = \ ################# # Feature Tests # ################# -if HAVE_CHECK noinst_LTLIBRARIES += \ libsss_test_common.la libsss_test_common_la_SOURCES = \ tests/common.c -libsss_test_common_la_LIBADD = \ - $(SSSD_LIBS) \ - $(CHECK_LIBS) + +if HAVE_CHECK +libsss_test_common_la_SOURCES += \ + tests/common_check.c sysdb_tests_DEPENDENCIES = \ $(ldblib_LTLIBRARIES) -- cgit