void-packages/srcpkgs/suricata/patches/configure.patch
magenbluten 71f695c1da suricata: add build_options for hiredis, lua and rust
closes #9013

Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
2019-03-10 21:47:12 -03:00

27 lines
996 B
Diff

--- configure.orig 2019-02-22 22:09:50.521219706 +0100
+++ configure 2019-02-22 22:23:32.663207196 +0100
@@ -26682,24 +26681,0 @@ $as_echo "#define HAVE_RUST 1" >>confdef
- as_ac_File=`$as_echo "ac_cv_file_$srcdir/rust/vendor" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $srcdir/rust/vendor" >&5
-$as_echo_n "checking for $srcdir/rust/vendor... " >&6; }
-if eval \${$as_ac_File+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- test "$cross_compiling" = yes &&
- as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
-if test -r "$srcdir/rust/vendor"; then
- eval "$as_ac_File=yes"
-else
- eval "$as_ac_File=no"
-fi
-fi
-eval ac_res=\$$as_ac_File
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
-
-cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$srcdir/rust/vendor" | $as_tr_cpp` 1
-_ACEOF
-have_rust_vendor="yes"
-fi