[build] Fix compilation issue with Lua pkg insalled as lua

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-20 19:02:40 +02:00
parent 7adc9efef3
commit 4bbb13b07a
2 changed files with 5 additions and 4 deletions

View File

@ -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],,

4
lua.h
View File

@ -22,8 +22,8 @@
#ifndef AWESOME_LUA_H
#define AWESOME_LUA_H
#include <lua5.1/lua.h>
#include <lua5.1/lauxlib.h>
#include <lua.h>
#include <lauxlib.h>
#include "common/util.h"