Permalink
Browse files

configure: the builtin Lua 5.2 has luaL_traceback()

  • Loading branch information...
1 parent 90ce005 commit 560bd9b0e05a36830cd55140cb72436bfb8c274c @esmil committed Jan 17, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 configure
  2. +1 −0 configure.ac
View
@@ -5238,6 +5238,7 @@ fi
CPPFLAGS="$CPPFLAGS -Ilua"
Lua_CFLAGS=''
Lua_LIBS=''
+ ac_cv_func_luaL_traceback=yes
if test "x$lmoddir" = 'x'; then :
lmoddir="\${datarootdir}/lua/$builtin_lua_version"
fi
View
@@ -79,6 +79,7 @@ AS_IF([test "x$with_lua" = 'xbuiltin'],
[CPPFLAGS="$CPPFLAGS -Ilua"]
[Lua_CFLAGS='']
[Lua_LIBS='']
+ [ac_cv_func_luaL_traceback=yes]
[AS_IF([test "x$lmoddir" = 'x'], [lmoddir="\${datarootdir}/lua/$builtin_lua_version"])]
[AS_IF([test "x$cmoddir" = 'x'], [cmoddir="\${libdir}/lua/$builtin_lua_version"])])

0 comments on commit 560bd9b

Please sign in to comment.