update php-apc to 3.0.16, disable pthread mutex's as they are on by default now.
[openwrt/svn-archive/archive.git] / net / stunnel / patches / 100-cross-compile.patch
1 diff -baurN stunnel-4.16.orig/configure stunnel-4.16/configure
2 --- stunnel-4.16.orig/configure 2006-11-03 16:33:56.000000000 +0100
3 +++ stunnel-4.16/configure 2006-11-03 16:36:48.000000000 +0100
4 @@ -20850,56 +20850,56 @@
5 fi
6 rm -f conftest*
7
8 -
9 -{ echo "$as_me:$LINENO: **************************************** PTY device files" >&5
10 -echo "$as_me: **************************************** PTY device files" >&6;}
11 -echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
12 -echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
13 -if test "${ac_cv_file___dev_ptmx_+set}" = set; then
14 - echo $ECHO_N "(cached) $ECHO_C" >&6
15 -else
16 - test "$cross_compiling" = yes &&
17 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
18 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
19 - { (exit 1); exit 1; }; }
20 -if test -r ""/dev/ptmx""; then
21 - ac_cv_file___dev_ptmx_=yes
22 -else
23 - ac_cv_file___dev_ptmx_=no
24 -fi
25 -fi
26 -echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
27 -echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
28 -if test $ac_cv_file___dev_ptmx_ = yes; then
29 +#
30 +#{ echo "$as_me:$LINENO: **************************************** PTY device files" >&5
31 +#echo "$as_me: **************************************** PTY device files" >&6;}
32 +#echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
33 +#echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
34 +#if test "${ac_cv_file___dev_ptmx_+set}" = set; then
35 +# echo $ECHO_N "(cached) $ECHO_C" >&6
36 +#else
37 +# test "$cross_compiling" = yes &&
38 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
39 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
40 +# { (exit 1); exit 1; }; }
41 +#if test -r ""/dev/ptmx""; then
42 +# ac_cv_file___dev_ptmx_=yes
43 +#else
44 +# ac_cv_file___dev_ptmx_=no
45 +#fi
46 +#fi
47 +#echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
48 +#echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
49 +#if test $ac_cv_file___dev_ptmx_ = yes; then
50 cat >>confdefs.h <<\_ACEOF
51 -#define HAVE_DEV_PTMX 1
52 +#define HAVE_DEV_PTMX 0
53 _ACEOF
54
55 -fi
56 +#fi
57
58 -echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
59 -echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
60 -if test "${ac_cv_file___dev_ptc_+set}" = set; then
61 - echo $ECHO_N "(cached) $ECHO_C" >&6
62 -else
63 - test "$cross_compiling" = yes &&
64 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
65 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
66 - { (exit 1); exit 1; }; }
67 -if test -r ""/dev/ptc""; then
68 - ac_cv_file___dev_ptc_=yes
69 -else
70 - ac_cv_file___dev_ptc_=no
71 -fi
72 -fi
73 -echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
74 -echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
75 -if test $ac_cv_file___dev_ptc_ = yes; then
76 +#echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
77 +#echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
78 +#if test "${ac_cv_file___dev_ptc_+set}" = set; then
79 +# echo $ECHO_N "(cached) $ECHO_C" >&6
80 +#else
81 +# test "$cross_compiling" = yes &&
82 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
83 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
84 +# { (exit 1); exit 1; }; }
85 +#if test -r ""/dev/ptc""; then
86 +# ac_cv_file___dev_ptc_=yes
87 +#else
88 +# ac_cv_file___dev_ptc_=no
89 +#fi
90 +#fi
91 +#echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
92 +#echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
93 +#if test $ac_cv_file___dev_ptc_ = yes; then
94 cat >>confdefs.h <<\_ACEOF
95 -#define HAVE_DEV_PTS_AND_PTC 1
96 +#define HAVE_DEV_PTS_AND_PTC 0
97 _ACEOF
98
99 -fi
100 +#fi
101
102
103 { echo "$as_me:$LINENO: **************************************** entropy" >&5
104 diff -baurN stunnel-4.16.orig/configure stunnel-4.16/configure
105 --- stunnel-4.16.orig/configure 2006-11-03 16:45:32.000000000 +0100
106 +++ stunnel-4.16/configure 2006-11-03 16:46:42.000000000 +0100
107 @@ -23157,8 +23157,8 @@
108
109
110 # Add SSL includes and libraries
111 -CFLAGS="$CFLAGS -I$ssldir/include"
112 -LIBS="$LIBS -L$ssldir/lib -lssl -lcrypto"
113 +CFLAGS="$CFLAGS "
114 +LIBS="$LIBS -lssl -lcrypto"
115
116 # Check for obsolete RSAref library
117 echo "$as_me:$LINENO: checking for obsolete RSAref library" >&5