mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
CONFIG_LUA -> CONFIG_SCRIPTING_LUA
This commit is contained in:
parent
043e6aa4e7
commit
f7a2dfc12a
@ -124,7 +124,7 @@ CONFIG_INTERLINK = @CONFIG_INTERLINK@
|
||||
CONFIG_IPV6 = @CONFIG_IPV6@
|
||||
CONFIG_JW = @CONFIG_JW@
|
||||
CONFIG_LEDS = @CONFIG_LEDS@
|
||||
CONFIG_LUA = @CONFIG_LUA@
|
||||
CONFIG_SCRIPTING_LUA = @CONFIG_SCRIPTING_LUA@
|
||||
CONFIG_MAILCAP = @CONFIG_MAILCAP@
|
||||
CONFIG_MARKS = @CONFIG_MARKS@
|
||||
CONFIG_MD5 = @CONFIG_MD5@
|
||||
|
@ -836,7 +836,7 @@ AC_MSG_RESULT($cf_result)
|
||||
if test "$cf_result" != yes; then
|
||||
EL_RESTORE_FLAGS
|
||||
else
|
||||
EL_CONFIG(CONFIG_LUA, [Lua])
|
||||
EL_CONFIG(CONFIG_SCRIPTING_LUA, [Lua])
|
||||
AC_CHECK_HEADERS(lauxlib.h)
|
||||
|
||||
CFLAGS="$CFLAGS_X"
|
||||
@ -855,9 +855,9 @@ dnl ===================================================================
|
||||
dnl Setup global scripting
|
||||
dnl ===================================================================
|
||||
|
||||
EL_CONFIG_DEPENDS(CONFIG_SCRIPTING, [CONFIG_GUILE CONFIG_LUA CONFIG_PERL CONFIG_PYTHON CONFIG_RUBY CONFIG_SM_SCRIPTING], [Browser scripting])
|
||||
EL_CONFIG_DEPENDS(CONFIG_SCRIPTING, [CONFIG_GUILE CONFIG_SCRIPTING_LUA CONFIG_PERL CONFIG_PYTHON CONFIG_RUBY CONFIG_SM_SCRIPTING], [Browser scripting])
|
||||
AC_SUBST(CONFIG_GUILE)
|
||||
AC_SUBST(CONFIG_LUA)
|
||||
AC_SUBST(CONFIG_SCRIPTING_LUA)
|
||||
AC_SUBST(CONFIG_PERL)
|
||||
AC_SUBST(CONFIG_PYTHON)
|
||||
AC_SUBST(CONFIG_RUBY)
|
||||
|
@ -2,7 +2,7 @@ top_builddir=../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
SUBDIRS-$(CONFIG_GUILE) += guile
|
||||
SUBDIRS-$(CONFIG_LUA) += lua
|
||||
SUBDIRS-$(CONFIG_SCRIPTING_LUA) += lua
|
||||
SUBDIRS-$(CONFIG_PERL) += perl
|
||||
SUBDIRS-$(CONFIG_PYTHON) += python
|
||||
SUBDIRS-$(CONFIG_RUBY) += ruby
|
||||
|
@ -62,7 +62,7 @@ report_scripting_error(struct module *module, struct session *ses,
|
||||
|
||||
|
||||
static struct module *scripting_modules[] = {
|
||||
#ifdef CONFIG_LUA
|
||||
#ifdef CONFIG_SCRIPTING_LUA
|
||||
&lua_scripting_module,
|
||||
#endif
|
||||
#ifdef CONFIG_GUILE
|
||||
|
@ -293,7 +293,7 @@ do_action(struct session *ses, enum main_action action_id, int verbose)
|
||||
break;
|
||||
|
||||
case ACT_MAIN_LUA_CONSOLE:
|
||||
#ifdef CONFIG_LUA
|
||||
#ifdef CONFIG_SCRIPTING_LUA
|
||||
trigger_event_name("dialog-lua-console", ses);
|
||||
#endif
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user