Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
d08cb255
Commit
d08cb255
authored
7 years ago
by
Hisham Muhammad
Browse files
Options
Download
Email Patches
Plain Diff
Make Lua support fully optional
parent
20210238
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+3
-2
configure.ac
with
3 additions
and
2 deletions
+3
-2
configure.ac
View file @
d08cb255
...
...
@@ -270,6 +270,7 @@ HTOP_LUA_VERSION=5.3.4
AC_ARG_ENABLE(lua, [AS_HELP_STRING([--enable-lua], [enable Lua support])], ,enable_lua="yes")
if test "x$enable_lua" = xyes; then
AC_DEFINE(HAVE_LUA, 1, [Define if Lua scripting is to be enabled.])
AC_ARG_ENABLE(bundled-lua, [AC_HELP_STRING([--enable-bundled-lua], [compile bundled copy of Lua])],, enable_bundled_lua="default")
...
...
@@ -281,7 +282,7 @@ if test "x$enable_lua" = xyes; then
AC_MSG_ERROR([Could not find Lua libraries in the system.])
else
AX_LUA_HEADERS
AX_LUA_TRY_LIB_VERSION([50
1
], [504], [], [
AX_LUA_TRY_LIB_VERSION([50
3
], [504], [], [
AC_MSG_ERROR([Could not find a suitable version of Lua.])
])
fi
...
...
@@ -293,7 +294,7 @@ if test "x$enable_lua" = xyes; then
enable_bundled_lua=yes
else
AX_LUA_HEADERS
AX_LUA_TRY_LIB_VERSION([50
1
], [504], [], [enable_bundled_lua="yes"])
AX_LUA_TRY_LIB_VERSION([50
3
], [504], [], [enable_bundled_lua="yes"])
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment