mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 00:58:36 +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:
parent
cec8535e87
commit
8476bb08b5
@ -334,7 +334,9 @@ AC_ARG_ENABLE([lua],
|
|||||||
AM_CONDITIONAL(BUILD_LUA, test x$want_lua = xyes)
|
AM_CONDITIONAL(BUILD_LUA, test x$want_lua = xyes)
|
||||||
if test x$want_lua = xyes; then
|
if test x$want_lua = xyes; then
|
||||||
PKG_CHECK_MODULES(LUA, lua >= 5.1, [ ],[
|
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"
|
CFLAGS="$CFLAGS $LUA_CFLAGS $LUA51_CFLAGS"
|
||||||
LIBS="$LIBS $LUA_LIBS $LUA51_LIBS"
|
LIBS="$LIBS $LUA_LIBS $LUA51_LIBS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user