aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tsocks/configure.patch
blob: e33485ea7c49dc04c33e8c61cbf072bd49eb3149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
*** tsocks-1.8/configure	Mon Jul 15 22:51:08 2002
--- tsocks-1.8/configure.modified	Thu Mar 26 18:34:09 2015
***************
*** 1299,1314 ****
  fi
  
  
! ac_safe=`echo "sys/poll.h" | sed 'y%./+-%__p_%'`
! echo $ac_n "checking for sys/poll.h""... $ac_c" 1>&6
! echo "configure:1305: checking for sys/poll.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
  #line 1310 "configure"
  #include "confdefs.h"
! #include <sys/poll.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  { (eval echo configure:1315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
--- 1299,1314 ----
  fi
  
  
! ac_safe=`echo "poll.h" | sed 'y%./+-%__p_%'`
! echo $ac_n "checking for poll.h""... $ac_c" 1>&6
! echo "configure:1305: checking for poll.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
  #line 1310 "configure"
  #include "confdefs.h"
! #include <poll.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  { (eval echo configure:1315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
***************
*** 1330,1336 ****
    :
  else
    echo "$ac_t""no" 1>&6
! { echo "configure: error: "sys/poll.h not found"" 1>&2; exit 1; }
  fi
  
  
--- 1330,1336 ----
    :
  else
    echo "$ac_t""no" 1>&6
! { echo "configure: error: "poll.h not found"" 1>&2; exit 1; }
  fi
  
  
***************
*** 2235,2241 ****
  #line 2236 "configure"
  #include "confdefs.h"
  
!       #include <sys/poll.h>
        int poll($testproto);
      
  int main() {
--- 2235,2241 ----
  #line 2236 "configure"
  #include "confdefs.h"
  
!       #include <poll.h>
        int poll($testproto);
  
  int main() {