summaryrefslogtreecommitdiff
path: root/libck-connector
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2015-07-12 15:51:48 +0300
committerEric Koegel <eric.koegel@gmail.com>2015-07-12 15:51:48 +0300
commitb35a255eec1239d0d6318627b8b99cd97107e0db (patch)
tree4b4b143240befe0eb0e005427bc0945a74c9d1f8 /libck-connector
parenta7a2d84a47e3f830b01f8ecfb06b0085e916a672 (diff)
downloadConsoleKit2-b35a255eec1239d0d6318627b8b99cd97107e0db.tar.gz
Add an --enable-tests configure option
And document the --enable-debug option better. The enable-tests option defaults to off so that normal release builds don't have to waste time compiling tests that won't be installed or used.
Diffstat (limited to 'libck-connector')
-rw-r--r--libck-connector/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libck-connector/Makefile.am b/libck-connector/Makefile.am
index b04dfa1..9a8c0a8 100644
--- a/libck-connector/Makefile.am
+++ b/libck-connector/Makefile.am
@@ -21,6 +21,7 @@ libck_connector_la_SOURCES = \
ck-connector.h \
$(NULL)
+if BUILD_TESTS
noinst_PROGRAMS = \
test-connector \
$(NULL)
@@ -34,6 +35,7 @@ test_connector_LDADD = \
libck-connector.la \
$(LIBDBUS_LIBS) \
$(NULL)
+endif # BUILD_TESTS
# soname management for libck-connector
LIBCKCON_LT_CURRENT=0