From e01a157c6290bf58176e6f63ba8f3159c613a33d Mon Sep 17 00:00:00 2001 From: Nikos Ntarmos Date: Wed, 16 Dec 2009 16:21:44 +0200 Subject: [PATCH] tolua++ has different naming convention on FreeBSD Signed-off-by: Nikos Ntarmos Signed-off-by: Brenden Matthews --- configure.ac.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac.in b/configure.ac.in index 6e12868..575302d 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -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}") -- 1.7.9.5