mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
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:
11
configure.ac
11
configure.ac
@@ -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.])
|
||||
|
@@ -117,7 +117,7 @@ libneutrino_gui_a_SOURCES = \
|
||||
webtv_setup.cpp \
|
||||
zapit_setup.cpp
|
||||
|
||||
if ENABLE_TEST_MENU
|
||||
if ENABLE_TESTING
|
||||
libneutrino_gui_a_SOURCES += \
|
||||
test_menu.cpp
|
||||
endif
|
||||
|
@@ -71,7 +71,7 @@
|
||||
#include "gui/sleeptimer.h"
|
||||
#include "gui/update_menue.h"
|
||||
#include "gui/streaminfo2.h"
|
||||
#ifdef ENABLE_TEST_MENU
|
||||
#ifdef ENABLE_TESTING
|
||||
#include "gui/test_menu.h"
|
||||
#endif
|
||||
#include "gui/update.h"
|
||||
@@ -301,7 +301,7 @@ void CNeutrinoApp::InitMenuMain()
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ENABLE_TEST_MENU
|
||||
#ifdef ENABLE_TESTING
|
||||
personalize.addItem(MENU_MAIN, new CMenuForwarder("Test menu", true, NULL, new CTestMenu()), NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user