summaryrefslogtreecommitdiffstats
path: root/package/luaposix/luaposix-remove-lua-header-check.patch
blob: 7909b9175b78e2396d8e45fb628a2b752f9c4ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Checking the Lua version inside the headers requires compiling a small
C program. However, autoconf will raise an error when attempting to do so
while cross-compiling. Hence, this specific test is removed.

Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
--- a/configure.ac	2013-06-20 07:23:27.943091833 +0300
+++ b/configure.ac	2013-06-20 07:23:30.644441710 +0300
@@ -105,7 +105,7 @@
 
 dnl Lua 5.1 or 5.2
 AX_PROG_LUA(501, 503)
 AX_LUA_HEADERS
-AX_LUA_HEADERS_VERSION(501, 503)
+#AX_LUA_HEADERS_VERSION(501, 503)
 AC_SUBST(LUA)
 AC_SUBST(LUA_INCLUDE)