From 3e0e6377ca54ef631fe7b82279ee26d4463b9e58 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 12 Jun 2013 16:39:19 -0400 Subject: [PATCH] try simplifying the lua compile test, which breaks on fc20 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c72e555d0..48fc5c01d 100644 --- a/configure.ac +++ b/configure.ac @@ -946,7 +946,7 @@ else fi AC_MSG_CHECKING(for Lua compiling and linking) - LUA_TEST=`LT=luatest.c ; echo "#include " > $LT; echo "#include " >> $LT; echo "int main() { luaopen_base((lua_State *)lua_open()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_INCLUDES $LUA_LIBS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1` + LUA_TEST=`LT=luatest.c ; echo "#include " > $LT; echo "#include " >> $LT; echo "int main() { /* luaopen_base((lua_State *)lua_open())i */; return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_INCLUDES $LUA_LIBS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1` if test "x$LUA_TEST" != "x0" ; then AC_MSG_RESULT(no) AC_MSG_WARN([ -- 2.40.0