blob: 15958a72d01c84f88ebf7c4b7af23250449a4913 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From b916443d43f2e1eeacfbed0033274a0270ef634d Mon Sep 17 00:00:00 2001
2From: Zhiquan Li <zhiquan.li@windriver.com>
3Date: Mon, 16 Nov 2015 10:23:00 +0800
4Subject: [PATCH] snort: 2.9.6.0 -> 2.9.7.5
5
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006Upstream-Status:Inappropriate [embedded specific]
7
8fix the below error:
9checking for DAQ_VERDICT_RETRY... configure:
10configure: error: cannot run test program while cross compiling
11
Brad Bishop316dfdd2018-06-25 12:45:53 -040012---
13 configure.in | 34 +++++++++++++++++-----------------
14 1 file changed, 17 insertions(+), 17 deletions(-)
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015
Brad Bishop316dfdd2018-06-25 12:45:53 -040016diff --git a/configure.in b/configure.in
17index 2fbd298..62573a8 100644
18--- a/configure.in
19+++ b/configure.in
20@@ -734,23 +734,23 @@ have_daq_flow_id="yes"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021 # [DAQ version supports flow ID in header.])
22 #fi
Brad Bishop316dfdd2018-06-25 12:45:53 -040023
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024-AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
25-AC_RUN_IFELSE(
26-[AC_LANG_PROGRAM(
27-[[
28-#include <daq.h>
29-]],
30-[[
31- DAQ_Verdict verdict;
32- verdict = DAQ_VERDICT_RETRY;
33-]])],
34-[have_daq_verdict_retry="yes"],
35-[have_daq_verdict_retry="no"])
36-AC_MSG_RESULT($have_daq_verdict_retry)
37-if test "x$have_daq_verdict_retry" = "xyes"; then
38- AC_DEFINE([HAVE_DAQ_VERDICT_RETRY],[1],
39- [DAQ version supports DAQ_VERDICT_RETRY in DAQ_Verdict.])
40-fi
41+#AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
42+#AC_RUN_IFELSE(
43+#[AC_LANG_PROGRAM(
44+#[[
45+##include <daq.h>
46+#]],
47+#[[
48+# DAQ_Verdict verdict;
49+# verdict = DAQ_VERDICT_RETRY;
50+#]])],
51+have_daq_verdict_retry="yes"
52+#[have_daq_verdict_retry="no"])
53+#AC_MSG_RESULT($have_daq_verdict_retry)
54+#if test "x$have_daq_verdict_retry" = "xyes"; then
55+# AC_DEFINE([HAVE_DAQ_VERDICT_RETRY],[1],
56+# [DAQ version supports DAQ_VERDICT_RETRY in DAQ_Verdict.])
57+#fi
Brad Bishop316dfdd2018-06-25 12:45:53 -040058
Patrick Williamsb48b7b42016-08-17 15:04:38 -050059 # any sparc platform has to have this one defined.
60 AC_MSG_CHECKING(for sparc)