@ -2085,11 +2085,9 @@
# Cargo/Rust.
AC_ARG_ENABLE([rust], AS_HELP_STRING([--enable-rust], [Enable Experimental Rust support]))
AC_ARG_ENABLE([rust_experimental], AS_HELP_STRING([--enable-rust-experimental], [Enable support for experimental Rus parsers]))
rust_config_enabled="no" # used in suricata.yaml.in to enable/disable app-layers
rust_config_comment="#" # used in suricata.yaml.in to enable/disable eve loggers
rust_config_exp_enabled="no" # used in suricata.yaml.in to enable/disable app-layers
rust_vendor_comment="# "
have_rust_vendor="no"
@ -2152,20 +2150,10 @@
fi
fi
if test "x$enable_rust_experimental" = "xyes"; then
rust_config_exp_enabled="yes"
rust_config_exp_comment=""
else
enable_rust_experimental="no"
fi
AM_CONDITIONAL([HAVE_RUST], [test "x$enable_rust" = "xyes"])
AM_CONDITIONAL([HAVE_RUST_EXTERNAL], [test "x$enable_rust_experimental" = "xyes"])
AC_SUBST(rust_vendor_comment)
AC_SUBST(rust_config_enabled)
AC_SUBST(rust_config_comment)
AC_SUBST(rust_config_exp_comment)
AC_SUBST(rust_config_exp_enabled)
AM_CONDITIONAL([HAVE_RUST_VENDOR], [test "x$have_rust_vendor" = "xyes"])
if test "x$enable_rust" = "xyes"; then
@ -2175,10 +2163,6 @@
echo " for building the distribution"
echo " To install: cargo install cargo-vendor"
fi
if test "x$enable_rust_experimental" = "xyes"; then
AC_DEFINE([HAVE_RUST_EXTERNAL],[1],[Enable support for experimental Rust parsers])
fi
fi
AM_CONDITIONAL([HAVE_CARGO_VENDOR], [test "x$HAVE_CARGO_VENDOR" != "xno"])
@ -2314,7 +2298,6 @@ SURICATA_BUILD_CONF="Suricata Configuration:
Libnet support: ${enable_libnet}
Rust support (experimental): ${enable_rust}
Experimental Rust parsers: ${enable_rust_experimental}
Rust strict mode: ${enable_rust_strict}
Rust debug mode: ${enable_rust_debug}