@ -2395,12 +2395,12 @@ fi
echo
echo
exit 1
exit 1
fi
fi
if test "x$enable_debug" = "xyes"; then
if test "x$enable_debug" = "xyes"; then
RUST_SURICATA_LIB="../rust/target/debug/${RUST_SURICATA_LIBNAME}"
RUST_SURICATA_LIB="../rust/target/debug/${RUST_SURICATA_LIBNAME}"
else
else
RUST_SURICATA_LIB="../rust/target/release/${RUST_SURICATA_LIBNAME}"
RUST_SURICATA_LIB="../rust/target/release/${RUST_SURICATA_LIBNAME}"
fi
fi
RUST_LDADD="${RUST_SURICATA_LIB} ${RUST_LDADD}"
RUST_LDADD="${RUST_SURICATA_LIB} ${RUST_LDADD}"
CFLAGS="${CFLAGS} -I\${srcdir}/../rust/gen/c-headers"
CFLAGS="${CFLAGS} -I\${srcdir}/../rust/gen/c-headers"
AC_SUBST(RUST_SURICATA_LIB)
AC_SUBST(RUST_SURICATA_LIB)
@ -2438,11 +2438,6 @@ fi
])
])
AC_SUBST(RUST_FEATURES)
AC_SUBST(RUST_FEATURES)
AC_ARG_ENABLE(rust_debug,
AS_HELP_STRING([--enable-rust-debug], [Rust not in --release mode]),[enable_rust_debug=$enableval],[enable_rust_debug=no])
AM_CONDITIONAL([RUST_DEBUG], [test "x$enable_rust_debug" = "xyes"])
AC_SUBST(RUST_DEBUG)
# get revision
# get revision
if test -f ./revision; then
if test -f ./revision; then
REVISION=`cat ./revision`
REVISION=`cat ./revision`
@ -2604,7 +2599,6 @@ SURICATA_BUILD_CONF="Suricata Configuration:
Rust support: ${enable_rust}
Rust support: ${enable_rust}
Rust strict mode: ${enable_rust_strict}
Rust strict mode: ${enable_rust_strict}
Rust debug mode: ${enable_rust_debug}
Rust compiler: ${rust_compiler_version}
Rust compiler: ${rust_compiler_version}
Rust cargo: ${rust_cargo_version}
Rust cargo: ${rust_cargo_version}