diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-05-26 00:29:40 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-05-26 00:29:40 +0000 |
commit | a7498ae02e750221a0307e04a572af752a414ba2 (patch) | |
tree | 9a976cd88a4ba29b26429a21f664c430c122d350 /pbx/pbx_lua.c | |
parent | 01db62bdbe085c8fe02c30a84ff125137540df86 (diff) |
Use configure to determine the prefixes and include directories properly.
This ensures cross-platform compatibility, even among Linux distributions,
which don't always put headers in the same place.
(closes issue #17391)
Reported by: loloski
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@265747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_lua.c')
-rw-r--r-- | pbx/pbx_lua.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index 2aac40951..e292117a3 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -42,15 +42,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/paths.h" #include "asterisk/hashtab.h" -#ifdef LUA51_PREFIX -#include <lua5.1/lua.h> -#include <lua5.1/lauxlib.h> -#include <lua5.1/lualib.h> -#else #include <lua.h> #include <lauxlib.h> #include <lualib.h> -#endif static char *config = "extensions.lua"; static char *registrar = "pbx_lua"; |