* Try again to fix (or rather work around) pkg-config lua detection.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1566 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2010-08-09 09:30:06 +00:00
parent 951ec2d48a
commit 84e81bbb3f

View File

@ -202,13 +202,8 @@ else
LUACOPT = LUACOPT =
LUALOPT = LUALOPT =
else else
ifeq (`pkg-config --exists lua --print-errors`,"") LUACOPT = `pkg-config lua --cflags || pkg-config lua5.1 --cflags || pkg-config lua-5.1 --cflags`
LUACOPT = `pkg-config lua --cflags` LUALOPT = `pkg-config lua --libs || pkg-config lua5.1 --libs || pkg-config lua-5.1 --libs`
LUALOPT = `pkg-config lua --libs`
else
LUACOPT = `pkg-config lua5.1 --cflags`
LUALOPT = `pkg-config lua5.1 --libs`
endif
endif endif
# These can only be used under linux and maybe freebsd. They allow to compile for the gp2x or to create a windows binary # These can only be used under linux and maybe freebsd. They allow to compile for the gp2x or to create a windows binary