1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00

Lua's pkg-config name is lua-5.1 on FreeBSD

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
This commit is contained in:
Nikos Ntarmos 2009-06-08 19:35:40 +03:00 committed by Brenden Matthews
parent cec8535e87
commit 8476bb08b5

View File

@ -334,7 +334,9 @@ AC_ARG_ENABLE([lua],
AM_CONDITIONAL(BUILD_LUA, test x$want_lua = xyes)
if test x$want_lua = xyes; then
PKG_CHECK_MODULES(LUA, lua >= 5.1, [ ],[
PKG_CHECK_MODULES(LUA51, lua5.1 >= 5.1, [ ])
PKG_CHECK_MODULES(LUA51, lua-5.1 >= 5.1, [ ],[
PKG_CHECK_MODULES(LUA51, lua5.1 >= 5.1)
])
])
CFLAGS="$CFLAGS $LUA_CFLAGS $LUA51_CFLAGS"
LIBS="$LIBS $LUA_LIBS $LUA51_LIBS"