aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2013-04-30 17:42:04 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-04-30 17:42:25 +0200
commit1087882065333ed4180bb7020465a7a132019a4c (patch)
treedf9cb9d1e6df9c87b5bfc9e23a3091d3970c1038 /Makefile.am
parentf50fdee7cbe0f8795ba61364c06be0c28314db7b (diff)
downloadlibpam-x2go-1087882065333ed4180bb7020465a7a132019a4c.tar.gz
libpam-x2go-1087882065333ed4180bb7020465a7a132019a4c.tar.bz2
libpam-x2go-1087882065333ed4180bb7020465a7a132019a4c.zip
Make building tests optional. (Fixes: #196).
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 9477c1c..7d71690 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,9 @@
-SUBDIRS = \
- src \
- tests
+SUBDIRS = src
+
+if HAVE_GTEST
+SUBDIRS += tests
+endif
DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall