Revert "Add a --enable-lua switch to enable LUA support"

This reverts commit 2056b4ed80.

This just makes the code unreadable and why would one build
without lua :-)


Origin commit data
------------------
Commit: 5525e9f4b5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-23 (Thu, 23 Jan 2014)
This commit is contained in:
Stefan Seyfried
2014-01-23 14:11:03 +01:00
parent a112e8fb49
commit e05d1def44
6 changed files with 6 additions and 58 deletions

View File

@@ -204,24 +204,12 @@ 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))
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!])
fi
AC_ARG_ENABLE(lua,
AS_HELP_STRING(--enable-lua,enable LUA support))
AM_CONDITIONAL(ENABLE_LUA,test "$enable_lua" = "yes")
if test "$enable_lua" = "yes"; then
AC_DEFINE(ENABLE_LUA,1,[include LUA support])
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.])