configure: exit if luajit header are not found but build ask

pull/175/merge
Eric Leblond 12 years ago committed by Victor Julien
parent 8f13694988
commit e125869d30

@ -1301,6 +1301,14 @@ AC_INIT(configure.ac)
AC_DEFINE([HAVE_LUAJIT],[1],[libluajit available]) AC_DEFINE([HAVE_LUAJIT],[1],[libluajit available])
enable_luajit="yes" 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
fi fi

Loading…
Cancel
Save