From 4bbb13b07aa27974e744c9538e952ec47da098ad Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 20 May 2008 19:02:40 +0200 Subject: [PATCH] [build] Fix compilation issue with Lua pkg insalled as lua Signed-off-by: Julien Danjou --- configure.ac | 5 +++-- lua.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 217d8a55..c79efdf7 100644 --- a/configure.ac +++ b/configure.ac @@ -113,8 +113,9 @@ AC_DEFINE_UNQUOTED([AWESOME_LUA_LIB_PATH], "${awesomelibdir}", [awesome lib path AC_PATH_XTRA PKG_CHECK_MODULES([pangocairo], [pangocairo],, [AC_MSG_ERROR([awesome requires pangocairo.])]) -PKG_CHECK_MODULES([Lua], [lua5.1],, - [AC_MSG_ERROR([awesome requires Lua >= 5.1.])]) +PKG_CHECK_MODULES([Lua], [lua >= 5.1],, + [PKG_CHECK_MODULES([Lua], [lua5.1],, + [AC_MSG_ERROR([awesome requires Lua >= 5.1.])])]) PKG_CHECK_MODULES([glib], [glib-2.0],, [AC_MSG_ERROR([awesome requires glib-2.0.])]) PKG_CHECK_MODULES([dbus], [dbus-1],, diff --git a/lua.h b/lua.h index fb4f2c06..48f4156b 100644 --- a/lua.h +++ b/lua.h @@ -22,8 +22,8 @@ #ifndef AWESOME_LUA_H #define AWESOME_LUA_H -#include -#include +#include +#include #include "common/util.h"