|
|
|
|
@ -1968,7 +1968,9 @@
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
@ -2016,13 +2018,27 @@
|
|
|
|
|
if test "x$have_rust_vendor" = "xyes"; then
|
|
|
|
|
rust_vendor_comment=""
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rust_config_enabled="yes"
|
|
|
|
|
rust_config_comment=""
|
|
|
|
|
fi
|
|
|
|
|
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
|
|
|
|
|
|