]>
Commit | Line | Data |
---|---|---|
8c44d5b7 ER |
1 | --- asterisk-1.6.1.12/configure.ac~ 2009-12-30 19:53:27.000000000 +0200 |
2 | +++ asterisk-1.6.1.12/configure.ac 2009-12-30 20:01:28.604197217 +0200 | |
3 | @@ -1400,9 +1400,9 @@ | |
4 | [${PWLIB_INCLUDE}], [${PWLIB_LIB}]) | |
5 | fi | |
6 | ||
7 | -AST_EXT_LIB_CHECK([LUA], [lua5.1], [luaL_newstate], [lua5.1/lua.h], [-lm]) | |
8 | +AST_EXT_LIB_CHECK([LUA], [lua51], [luaL_newstate], [lua51/lua.h], [-lm]) | |
9 | if test "x${PBX_LUA}" = "x1" ; then | |
10 | - AC_DEFINE_UNQUOTED([LUA51_PREFIX], [1], [Define to 1 if lua is found with a lua5.1 prefix]) | |
11 | + AC_DEFINE_UNQUOTED([LUA51_PREFIX], [1], [Define to 1 if lua is found with a lua51 prefix]) | |
12 | fi | |
13 | ||
14 | # Some distributions (like SuSE) remove the 5.1 suffix. | |
15 | --- asterisk-1.6.1.12/pbx/pbx_lua.c~ 2009-11-25 17:44:45.000000000 +0200 | |
16 | +++ asterisk-1.6.1.12/pbx/pbx_lua.c 2009-12-30 20:01:48.084048158 +0200 | |
17 | @@ -43,9 +43,9 @@ | |
18 | #include "asterisk/hashtab.h" | |
19 | ||
20 | #ifdef LUA51_PREFIX | |
21 | -#include <lua5.1/lua.h> | |
22 | -#include <lua5.1/lauxlib.h> | |
23 | -#include <lua5.1/lualib.h> | |
24 | +#include <lua51/lua.h> | |
25 | +#include <lua51/lauxlib.h> | |
26 | +#include <lua51/lualib.h> | |
27 | #else | |
28 | #include <lua.h> | |
29 | #include <lauxlib.h> |