configure: move option enable testmenu to enable testing

Testing is also plausible for general usage of other tests or other
experimental code parts.
This commit is contained in:
2014-09-19 10:33:02 +02:00
committed by [CST] Focus
parent 6ed7df9498
commit 201a6aa56e
3 changed files with 9 additions and 8 deletions

View File

@@ -181,14 +181,15 @@ AC_ARG_ENABLE(pip,
[AC_DEFINE(ENABLE_PIP,1,[enable picture in picture support])])
AC_ARG_ENABLE(testmenu,
AS_HELP_STRING(--enable-testmenu,include test menu in neutrino main menu))
AC_ARG_ENABLE(testing,
AS_HELP_STRING(--enable-testing,include devel code parts for neutrino tests))
AM_CONDITIONAL(ENABLE_TEST_MENU,test "$enable_testmenu" = "yes")
if test "$enable_testmenu" = "yes"; then
AC_DEFINE(ENABLE_TEST_MENU,1,[include test menu in neutrino main menu - not recommended for general users!])
AM_CONDITIONAL(ENABLE_TESTING,test "$enable_testing" = "yes")
if test "$enable_testing" = "yes"; then
AC_DEFINE(ENABLE_TESTING,1,[include devel code parts for neutrino tests - not recommended for general users!])
fi
if test "$BOXTYPE" = "coolstream"; then
if test -e ${srcdir}/lib/libcoolstream/nevis_ir.h; then
AC_DEFINE(HAVE_COOLSTREAM_NEVIS_IR_H,1,[Define to 1 if you have the <nevis_ir.h> header file.])