mirror of https://gerrit.osmocom.org/libosmocore
add option --disable-tests to disable building of test binaries
This commit is contained in:
parent
cbb29f7c94
commit
f8b2ba7dc8
|
@ -31,11 +31,15 @@ dnl Generate the output
|
|||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_ARG_ENABLE(talloc,
|
||||
[ --disable-talloc Support message buffer ],
|
||||
[ --disable-talloc Disable building talloc memory allocator ],
|
||||
[enable_talloc=0], [enable_talloc=1])
|
||||
|
||||
AM_CONDITIONAL(ENABLE_TALLOC, test "x$enable_talloc" = "x1")
|
||||
|
||||
AC_ARG_ENABLE(tests,
|
||||
[ --disable-tests Disable building test programs ],
|
||||
[enable_tests=0], [enable_tests=1])
|
||||
AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = "x1")
|
||||
|
||||
AC_OUTPUT(
|
||||
libosmocore.pc
|
||||
include/osmocore/Makefile
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
if ENABLE_TESTS
|
||||
SUBDIRS = timer sms
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue