diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-12-09 13:05:45 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2017-05-05 11:01:34 +0200 |
commit | e34053bff0261537cfef132e6ebb2adcf64e9a17 (patch) | |
tree | 84c41101fc2572a5f67fa45c21f612ad7c76260b | |
parent | 11a2e96635d9d7f256d32a88a125a8ac95b204e0 (diff) |
build: Allow to disable tests from configure
There was already a --enable-tests/--disable-tests configure switch, but
Makefile.am was not making use of the conditional it sets.
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 3d867ca..f92448c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,8 +3,11 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} SUBDIRS = \ govirt \ examples \ - po \ - tests + po + +if GOVIRT_BUILD_TESTS +SUBDIRS += tests +endif EXTRA_DIST = \ COPYING \ |