]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: exit if luajit header are not found but build ask
authorEric Leblond <eric@regit.org>
Thu, 15 Nov 2012 12:47:24 +0000 (13:47 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 19 Nov 2012 15:36:38 +0000 (16:36 +0100)
configure.ac

index 1661b88866c2ca8ed3dccbea56c39c1ada684d26..0c7fe9a3898e44fb1e05d473a14dd434ec2f78a3 100644 (file)
@@ -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