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