Skip to content

Commit

Permalink
configure: the builtin Lua 5.2 has luaL_traceback()
Browse files Browse the repository at this point in the history
  • Loading branch information
esmil committed Jan 17, 2013
1 parent 90ce005 commit 560bd9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -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"])])

Expand Down

0 comments on commit 560bd9b

Please sign in to comment.