summarylogtreecommitdiffstats
path: root/fix_build.patch
blob: b9e455327b6f5a3b61928c8ee0074d0d0228ae2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- orig/configure.ac.in	2012-05-04 00:35:33.000000000 +0300
+++ new/configure.ac.in	2015-12-05 12:11:35.769923821 +0200
@@ -513,12 +513,12 @@
 				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 tolua++-5.1], no)
+		AC_CHECK_PROGS(toluapp, [toluapp tolua++ tolua++5.1 tolua++-5.1], no)
 		if test x$toluapp = xno; then
-			AC_MSG_ERROR([tolua++, tolua++5.1, or tolua++-5.1 is required for Lua extras.])
+			AC_MSG_ERROR([toluapp, tolua++, tolua++5.1, or tolua++-5.1 is required for Lua extras.])
 		else
 			AC_SEARCH_LIBS(tolua_error,
-						   [tolua++-5.1 tolua++ tolua++5.1],
+						   [toluapp tolua++-5.1 tolua++ tolua++5.1],
 						   [
 							AC_SUBST(tolua_LIBS, "${LIBS}")
 							AC_SUBST(tolua_CFLAGS, "${CFLAGS}")