Find Lua headers on Ubuntu - detection is still not 100% as the runtime library cannot be found
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7d00ba5a00
commit
21192f900c
1 changed files with 1 additions and 1 deletions
|
|
@ -1649,7 +1649,7 @@ if test -z "$LUAINCLUDE"; then
|
|||
#AC_TRY_CPP([#include <lua.h>], , LUAINCLUDE="")
|
||||
AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <lua.h>]])], , LUAINCLUDE="")
|
||||
if test -z "$LUAINCLUDE"; then
|
||||
dirs="/usr/local/include /usr/include /opt/local/include"
|
||||
dirs="/usr/local/include /usr/include /usr/include/lua* /opt/local/include"
|
||||
for i in $dirs ; do
|
||||
if test -r $i/lua.h; then
|
||||
AC_MSG_RESULT($i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue