mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	If lua is detected with the lua5.1 prefix (or not), adjust the include path accordingly.
Based upon feedback to a release announcement on the -users list. See http://lists.digium.com/pipermail/asterisk-users/2009-August/236954.html git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@214819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -42,9 +42,15 @@ 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"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user