mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-29 19:56:07 -04:00
Added enable-lua-plugins to configure.ac
This commit is contained in:
parent
981c8eb656
commit
9588bb0eaf
@ -34,6 +34,8 @@ AC_ARG_ENABLE([ruby-plugins],
|
|||||||
[AS_HELP_STRING([--enable-ruby-plugins], [enable Ruby plugins])])
|
[AS_HELP_STRING([--enable-ruby-plugins], [enable Ruby plugins])])
|
||||||
AC_ARG_ENABLE([python-plugins],
|
AC_ARG_ENABLE([python-plugins],
|
||||||
[AS_HELP_STRING([--enable-python-plugins], [enable Python plugins])])
|
[AS_HELP_STRING([--enable-python-plugins], [enable Python plugins])])
|
||||||
|
AC_ARG_ENABLE([lua-plugins],
|
||||||
|
[AS_HELP_STRING([--enable-lua-plugins], [enable Lua plugins])])
|
||||||
AC_ARG_WITH([libxml2],
|
AC_ARG_WITH([libxml2],
|
||||||
[AS_HELP_STRING([--with-libxml2], [link with libxml2 instead of expat])])
|
[AS_HELP_STRING([--with-libxml2], [link with libxml2 instead of expat])])
|
||||||
AC_ARG_WITH([xscreensaver],
|
AC_ARG_WITH([xscreensaver],
|
||||||
@ -92,6 +94,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# lua
|
# lua
|
||||||
|
if test "x$enable_lua_plugins" != xno; then
|
||||||
# TODO get the following macros working
|
# TODO get the following macros working
|
||||||
#AX_PROG_LUA
|
#AX_PROG_LUA
|
||||||
#AX_LUA_HEADERS
|
#AX_LUA_HEADERS
|
||||||
@ -100,6 +103,9 @@ LUA_INCLUDE="-I/usr/include/lua5.1"
|
|||||||
LUA_LIB="-llua5.1"
|
LUA_LIB="-llua5.1"
|
||||||
AM_CONDITIONAL([BUILD_LUA_API], [true])
|
AM_CONDITIONAL([BUILD_LUA_API], [true])
|
||||||
AC_DEFINE([HAVE_LUA], [1], [Lua support])
|
AC_DEFINE([HAVE_LUA], [1], [Lua support])
|
||||||
|
else
|
||||||
|
AM_CONDITIONAL([BUILD_LUA_API], [false])
|
||||||
|
fi
|
||||||
|
|
||||||
# c
|
# c
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
Loading…
Reference in New Issue
Block a user