diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch b/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch index 12a6cba600..a100b7cb83 100644 --- a/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch +++ b/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch | |||
@@ -5,12 +5,13 @@ configure: error: cannot run test program while cross compiling | |||
5 | 5 | ||
6 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | 6 | Signed-off-by: Chunrong Guo <B40290@freescale.com> |
7 | 7 | ||
8 | --- a/m4/sf.m4old 2013-08-30 04:08:18.768409680 -0500 | 8 | --- a/m4/sf.m4old 2015-10-28 10:21:20.270557986 +0800 |
9 | +++ b/m4/sf.m4 2013-08-30 04:09:24.591367890 -0500 | 9 | +++ a/m4/sf.m4 2015-10-28 10:23:22.726551974 +0800 |
10 | @@ -135,19 +135,6 @@ | 10 | @@ -135,20 +135,7 @@ |
11 | echo | ||
11 | exit 1 | 12 | exit 1 |
12 | fi | 13 | fi |
13 | AC_MSG_CHECKING([for libpcap version >= $1]) | 14 | - AC_CACHE_CHECK([for libpcap version >= $1], [daq_cv_libpcap_version_1x], [ |
14 | - AC_RUN_IFELSE( | 15 | - AC_RUN_IFELSE( |
15 | - [AC_LANG_PROGRAM( | 16 | - [AC_LANG_PROGRAM( |
16 | - [[ | 17 | - [[ |
@@ -22,8 +23,9 @@ Signed-off-by: Chunrong Guo <B40290@freescale.com> | |||
22 | - if (strcmp(pcap_version, $1) < 0) | 23 | - if (strcmp(pcap_version, $1) < 0) |
23 | - return 1; | 24 | - return 1; |
24 | - ]])], | 25 | - ]])], |
25 | - [libpcap_version_1x="yes"], | 26 | - [daq_cv_libpcap_version_1x="yes"], |
26 | - [libpcap_version_1x="no"]) | 27 | - [daq_cv_libpcap_version_1x="no"])]) |
27 | if test "x$libpcap_version_1x" = "xno"; then | 28 | + AC_CACHE_CHECK([for libpcap version >= $1], [daq_cv_libpcap_version_1x]) |
28 | AC_MSG_RESULT(no) | 29 | if test "x$daq_cv_libpcap_version_1x" = "xno"; then |
29 | echo | 30 | echo |
31 | echo " ERROR! Libpcap library version >= $1 not found." | ||