Commit 5033673e authored by jehan's avatar jehan

add --disable test option

parent 41cbf52f
......@@ -4,8 +4,9 @@ if BUILD_MSBCG729
SUBDIRS += msbcg729
endif
if RUN_TESTS
SUBDIRS += test
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbcg729.pc
......
......@@ -18,6 +18,10 @@ AC_ARG_ENABLE(strict,
[wall_werror=$enableval],
[wall_werror=yes]
)
# configure option to disable the tests
AC_ARG_ENABLE([tests],
AS_HELP_STRING([--disable-tests], [Disable the tests]))
AM_CONDITIONAL([RUN_TESTS], [test "x$enable_tests" != "xno"])
CFLAGS="$CFLAGS -Wall"
......
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