blob: 39e5c9c03ad51eba7099caa7c6b444715b1b8a92 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Upstream-Status:Inappropriate [embedded specific]
2
3fix the below error:
4checking for dap address space id... configure:
5configure: error: cannot run test program while cross compiling
6
7
8Signed-off-by: Chunrong Guo <B40290@freescale.com>
9
10--- a/configure.in 2013-08-23 00:06:37.239361932 -0500
11+++ b/configure.in 2013-08-23 00:07:32.860266534 -0500
12@@ -679,23 +679,23 @@
13
14 AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
15
16-AC_MSG_CHECKING([for daq address space ID])
17-AC_RUN_IFELSE(
18-[AC_LANG_PROGRAM(
19-[[
20-#include <daq.h>
21-]],
22-[[
23- DAQ_PktHdr_t hdr;
24- hdr.address_space_id = 0;
25-]])],
26-[have_daq_address_space_id="yes"],
27-[have_daq_address_space_id="no"])
28-AC_MSG_RESULT($have_daq_address_space_id)
29-if test "x$have_daq_address_space_id" = "xyes"; then
30- AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
31- [DAQ version supports address space ID in header.])
32-fi
33+#AC_MSG_CHECKING([for daq address space ID])
34+#AC_RUN_IFELSE(
35+#[AC_LANG_PROGRAM(
36+#[[
37+##include <daq.h>
38+#]],
39+#[[
40+# DAQ_PktHdr_t hdr;
41+# hdr.address_space_id = 0;
42+#]])],
43+have_daq_address_space_id="yes"
44+#[have_daq_address_space_id="no"])
45+#AC_MSG_RESULT($have_daq_address_space_id)
46+#if test "x$have_daq_address_space_id" = "xyes"; then
47+# AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
48+# [DAQ version supports address space ID in header.])
49+#fi
50
51 # any sparc platform has to have this one defined.
52 AC_MSG_CHECKING(for sparc)