1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 09:44:04 +00:00

tolua++ has different naming convention on FreeBSD

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
This commit is contained in:
Nikos Ntarmos 2009-12-16 16:21:44 +02:00 committed by Brenden Matthews
parent a94b2ec5a1
commit e01a157c62

View File

@ -494,12 +494,12 @@ if test x$want_lua = xyes; then
AC_DEFINE(HAVE_LUA_IMLIB2, 1, [Define if you want Lua Imlib2 bindings for Conky])
fi
fi
AC_CHECK_PROGS(toluapp, [tolua++ tolua++5.1], no)
AC_CHECK_PROGS(toluapp, [tolua++ tolua++5.1 tolua++-5.1], no)
if test x$toluapp = xno; then
AC_MSG_ERROR([tolua++ or tolua++5.1 is required for Lua extras.])
AC_MSG_ERROR([tolua++, tolua++5.1, or tolua++-5.1 is required for Lua extras.])
else
AC_SEARCH_LIBS(tolua_error,
[tolua++ tolua++5.1],
[tolua++-5.1 tolua++ tolua++5.1],
[
AC_SUBST(tolua_LIBS, "${LIBS}")
AC_SUBST(tolua_CFLAGS, "${CFLAGS}")