diff --git a/configure.ac b/configure.ac index 1661b88866..0c7fe9a389 100644 --- a/configure.ac +++ b/configure.ac @@ -1301,6 +1301,14 @@ AC_INIT(configure.ac) AC_DEFINE([HAVE_LUAJIT],[1],[libluajit available]) enable_luajit="yes" + else + echo + echo " ERROR! libluajit headers not found, go get them" + echo " from http://luajit.org/index.html or your distribution:" + echo + echo " Ubuntu: apt-get install libluajit-5.1-dev" + echo + exit 1 fi fi