]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / package / snort / 0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch
1 From 075b5cf8d3940ed2c39fb37c1e14a652e4a6f2fc Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@smile.fr>
3 Date: Sun, 1 Apr 2018 16:21:31 +0200
4 Subject: [PATCH] configure.in: convert AC_RUN_IFELSE to AC_COMPILE_IFELSE
5
6 Prevent configure script from trying to run programs in a cross
7 compilation environment.
8
9 Signed-off-by: Romain Naour <romain.naour@smile.fr>
10 Cc: Sergio Prado <sergio.prado@e-labworks.com>
11 ---
12  configure.in | 6 +++---
13  1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/configure.in b/configure.in
16 index 571322b..e489037 100644
17 --- a/configure.in
18 +++ b/configure.in
19 @@ -431,7 +431,7 @@ if test "x$LPCAP" = "xno"; then
20  fi
21  
22  AC_MSG_CHECKING([for pcap_lex_destroy])
23 -AC_RUN_IFELSE(
24 +AC_COMPILE_IFELSE(
25  [AC_LANG_PROGRAM(
26  [[
27  #include <pcap.h>
28 @@ -823,7 +823,7 @@ if test "x$have_daq_data_channel_separate_ip_versions" = "xyes"; then
29  fi
30  
31  AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
32 -AC_RUN_IFELSE(
33 +AC_COMPILE_IFELSE(
34  [AC_LANG_PROGRAM(
35  [[
36  #include <daq.h>
37 @@ -886,7 +886,7 @@ if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
38      OLD_CFLAGS="$CFLAGS"
39      CFLAGS="$CFLAGS -mcpu=v9 "
40      AC_MSG_CHECKING([for sparc %time register])
41 -    AC_RUN_IFELSE(
42 +    AC_COMPILE_IFELSE(
43      [AC_LANG_PROGRAM(
44      [[]],
45      [[
46 -- 
47 2.14.3
48