summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@mailme.dk>2013-01-17 14:53:43 +0100
committerEmil Renner Berthing <esmil@mailme.dk>2013-01-17 15:15:16 +0100
commit90ce005742046d16f0ca59869b5a5ae99934b96b (patch)
tree9fce4daf10197c97e500003707636297cba1820c /configure
parent17f161df169a77670a25f739771d4ac6d22920c6 (diff)
downloadlem-90ce005742046d16f0ca59869b5a5ae99934b96b.tar.gz
lem-90ce005742046d16f0ca59869b5a5ae99934b96b.tar.xz
lem-90ce005742046d16f0ca59869b5a5ae99934b96b.zip
lem: unbreak build against plain Lua 5.1
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 6128b6a..42086db 100755
--- a/configure
+++ b/configure
@@ -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 :