Hi Alexey! Monday 22, at 09:42:25 AM you wrote: > On Mon, May 22, 2006 at 09:20:49AM +0400, Alexey Tourbin wrote: > > On Mon, May 22, 2006 at 01:11:16AM +0400, Konstantin A. Lepikhov wrote: > > > > checking for lua... yes > > > > checking for lua-config... no > > > > checking for lua_open in -llua... no > > > > checking for lua... Package lua was not found in the pkg-config search path. Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable No package 'lua' found > > > > configure: error: Library requirements (lua) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. > > > а вот и первый пострадавший от новой lua ;) > > > > $ grep lua_open /usr/include/lua.h > > #define lua_open() luaL_newstate() > > $ > > > > Линковаться без хедеров/без прототипов грешно. > > К сожалению autoconf это делает. > > --- ./configure.in- 2005-12-15 12:08:31 +0300 > +++ ./configure.in 2006-05-22 09:22:00 +0400 > @@ -389,7 +389,7 @@ > AC_DEFINE([HAVE_LUA], [1], [liblua]) > AC_DEFINE([HAVE_LUA_H], [1], [lua.h]) > else > - AC_CHECK_LIB(lua, lua_open, [ > + AC_CHECK_LIB(lua, luaL_newstate, [ > AC_CHECK_HEADERS([lua.h],[ > LUA_LIBS="-llua -llualib" > AC_DEFINE([HAVE_LUA], [1], [liblua]) > > Как бы AC_CHECK_LIB попросить включать хедеры от библиотеки, которую > он собирается зондировать? А так вообще разве можно? По-моему, там надо testapp собирать и в нем все декларировать. -- WBR et al.