Commit 7e2c1e6a authored by Taeer Bar-Yam's avatar Taeer Bar-Yam

add --disable-tests configure option

parent 6304782e
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = lib tinytest tests
SUBDIRS = lib
if BUILDDOC
SUBDIRS += doc
......@@ -11,6 +11,10 @@ if BUILDEXAMPLES
SUBDIRS += examples
endif
if BUILDTESTS
SUBDIRS += tinytest tests
endif
.PHONY: dist-rpm
dist-rpm: distcheck
......
......@@ -123,6 +123,18 @@ doexamples=yes
AM_CONDITIONAL(BUILDEXAMPLES, test x$doexamples = xyes)
dotests=yes
AC_ARG_ENABLE(tests,
AS_HELP_STRING([--disable-tests], [Disable building of the tests]),
[if test "$enableval" = "no"; then dotests="no"; fi],
[
dotests=yes
]
)
AM_CONDITIONAL(BUILDTESTS, test x$dotests = xyes)
dnl Check for MinGW. Workaround for libtool's DLL_EXPORT stupidity.
case "$target" in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment