]> granicus.if.org Git - graphviz/commitdiff
try simplifying the lua compile test, which breaks on fc20
authorJohn Ellson <ellson@research.att.com>
Wed, 12 Jun 2013 20:39:19 +0000 (16:39 -0400)
committerJohn Ellson <ellson@research.att.com>
Wed, 12 Jun 2013 20:39:19 +0000 (16:39 -0400)
configure.ac

index c72e555d024ac7c29a21cba9ff51ac5473e43a77..48fc5c01d4b9766abf7adddde76b289228c7dd36 100644 (file)
@@ -946,7 +946,7 @@ else
         fi
     
         AC_MSG_CHECKING(for Lua compiling and linking)
-        LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT;  echo "#include <lualib.h>" >> $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 <lua.h>" > $LT;  echo "#include <lualib.h>" >> $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([