1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Reintroduced lua AX macros

This commit is contained in:
James Booth 2014-05-28 23:12:20 +01:00
parent 2c5ab7f64a
commit 8fa41701d4
2 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
./configure --enable-python-plugins --enable-ruby-plugins --enable-c-plugins --disable-lua-plugins CFLAGS='-g -O0' CXXFLAGS='-g -O0'
./configure --enable-python-plugins --enable-ruby-plugins --enable-c-plugins --enable-lua-plugins CFLAGS='-g -O0' CXXFLAGS='-g -O0'

View File

@ -146,11 +146,9 @@ if test "x$enable_plugins" = xno; then
AM_CONDITIONAL([BUILD_LUA_API], [false])
elif 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.2"
LUA_LIB="-llua5.2"
AX_PROG_LUA
AX_LUA_HEADERS
AX_LUA_LIBS
AM_CONDITIONAL([BUILD_LUA_API], [true])
AC_DEFINE([HAVE_LUA], [1], [Lua support])
else