diff options
author | Emil Renner Berthing <esmil@mailme.dk> | 2013-01-17 14:53:43 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@mailme.dk> | 2013-01-17 15:15:16 +0100 |
commit | 90ce005742046d16f0ca59869b5a5ae99934b96b (patch) | |
tree | 9fce4daf10197c97e500003707636297cba1820c /configure | |
parent | 17f161df169a77670a25f739771d4ac6d22920c6 (diff) | |
download | lem-90ce005742046d16f0ca59869b5a5ae99934b96b.tar.gz lem-90ce005742046d16f0ca59869b5a5ae99934b96b.tar.xz lem-90ce005742046d16f0ca59869b5a5ae99934b96b.zip |
lem: unbreak build against plain Lua 5.1
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5262,6 +5262,12 @@ if test "x$cmoddir" = 'x'; then : as_fn_error $? "unable to deduce Lua C module directory, please use --with-cmoddir=path" "$LINENO" 5 fi +ac_fn_c_check_func "$LINENO" "luaL_traceback" "ac_cv_func_luaL_traceback" +if test "x$ac_cv_func_luaL_traceback" = xyes; then : + CPPFLAGS="$CPPFLAGS -DHAVE_TRACEBACK" +fi + + # Checks for header files. for ac_header in stddef.h stdlib.h string.h unistd.h sys/time.h time.h pthread.h do : |