Include LUA_LIBS in the tolua configure test
authorPavel Labath <pavelo@centrum.sk>
Fri, 11 Sep 2009 21:07:50 +0000 (23:07 +0200)
committerPavel Labath <pavelo@centrum.sk>
Fri, 11 Sep 2009 21:07:50 +0000 (23:07 +0200)
configure.ac.in

index eccabef..9ed9044 100644 (file)
@@ -505,7 +505,7 @@ if test x$want_lua = xyes; then
                                                        AC_SUBST(tolua_CFLAGS, "${CFLAGS}")
                                                        ],
                                                   AC_MSG_ERROR([tolua_error not found]),
-                                                  $LUA51_LIBS)
+                                                  [$LUA_LIBS $LUA51_LIBS])
                fi
                conky_LIBS="$conky_LIBS $tolua_LIBS"
                tolua_CFLAGS="$tolua_CFLAGS $LUA_CFLAGS $LUA51_CFLAGS"