]> granicus.if.org Git - graphviz/commitdiff
add configure support for lua-5.2 ... FC20
authorJohn Ellson <ellson@research.att.com>
Wed, 10 Jul 2013 14:17:16 +0000 (10:17 -0400)
committerJohn Ellson <ellson@research.att.com>
Wed, 10 Jul 2013 14:17:16 +0000 (10:17 -0400)
configure.ac

index 9a863af125cccb6a9633f77f2578d3e4c9ed8179..f8c56b37c9cd4ee75cc4e8d89d9a66f696787334 100644 (file)
@@ -874,7 +874,7 @@ else
             if test "x$PKGCONFIG" != "x"; then
                AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
                echo
-               for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
+               for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
                    pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
                    if test "x$?" == "x0" ; then
                        LUA_VERSION=`$PKGCONFIG --modversion lua$l`
@@ -895,7 +895,7 @@ else
     
         if test "x$LUA_INCLUDES" == "x" -o "x$LUA_LIBS" == "x" ; then
             LUACONFIG=""
-            AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
+            AC_CHECK_PROGS(LUACONFIG, lua-config lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0)
             if test "x$LUACONFIG" != "x" ; then
                 AC_MSG_CHECKING(for Lua headers and libraries with lua-config)
                echo
@@ -914,7 +914,7 @@ else
             if test "x$ac_found_lua_header" == "xyes" -a "x$ac_found_liblua_header" == "xyes"; then
                 LUA_INCLUDES="$CFLAGS"
             fi
-            for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
+            for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
                 AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
                 if test "x$ac_found_lua_lib" == "xyes" ; then
                    LUA_VERSION=">=5.1.0"