From: Eric Leblond Date: Tue, 12 Feb 2019 11:55:08 +0000 (+0100) Subject: configure: rust support requires Python X-Git-Tag: suricata-5.0.0-beta1~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=699fd6cbd7cdde05c17374433bdfb4e44b8c0652;p=thirdparty%2Fsuricata.git configure: rust support requires Python Add error message to warn the user. --- diff --git a/configure.ac b/configure.ac index 3063f6da33..6515b3f264 100644 --- a/configure.ac +++ b/configure.ac @@ -2231,6 +2231,14 @@ fi if test "x$enable_rust" != "xyes" && test "x$enable_rust" != "xyes (default)"; then enable_rust="no" elif test "x$enable_python" != "xyes" && test ! -f rust/gen/c-headers/rust-core-gen.h; then + if test "x$enable_rust" = "xyes"; then + echo "" + echo " ERROR! Rust support requires Python." + echo + echo " Ubuntu: apt install python" + echo "" + exit 1 + fi enable_rust="no" else # Rust require jansson (json support).