]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/ion/ion3/luaconfig.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / ion / ion3 / luaconfig.patch
1 --- tmp/work/arm-linux/ion3-0.0+ds20041104-r0/ion-3ds-20041104/configure.ac     2004-11-04 08:55:55.000000000 -0600
2 +++ ion-3ds-20041104/configure.ac       2004-12-28 13:47:05.000000000 -0600
3 @@ -204,11 +185,15 @@
4  fi
5  dnl }}}
6  
7 +AC_PATH_PROG([LUACONFIG], [lua$with_lua_suffix-config], [], [$lua_search_path])
8 +
9  dnl LUA_INCLUDES {{{
10  if test "x$with_lua_includes" != x; then
11      LUA_INCLUDES="-I$with_lua_includes"
12  elif test "x$with_lua_prefix" != x; then
13      LUA_INCLUDES="-I$with_lua_prefix/include"
14 +elif test "x$LUACONFIG" != x; then
15 +       LUA_INCLUDES="`lua-config --includes`"
16  fi
17  save_CFLAGS="$CFLAGS"
18  CFLAGS="$CFLAGS $LUA_INCLUDES"
19 @@ -221,6 +206,8 @@
20      LUA_LIBS="-L$with_lua_libraries"
21  elif test "x$with_lua" != x; then
22      LUA_LIBS="-L$with_lua_prefix/lib"
23 +elif test "x$LUACONFIG" != x; then
24 +       LUA_LIBS="`lua-config --libs`"
25  fi
26  AC_CHECK_LIB([lua$with_lua_suffix],
27               [lua_open],