Add patches for strace 4.5.15.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 14 17:02:05 2007 +0000 (2007-07-14)
changeset 25697c14281a40c
parent 255 28bc219f3fb4
child 257 7613a256b9a6
Add patches for strace 4.5.15.
patches/strace/4.5.15/strace-autoreconf.patch
patches/strace/4.5.15/strace-dont-use-REG_SYSCALL-for-sh.patch
patches/strace/4.5.15/strace-fix-arm-bad-syscall.patch
patches/strace/4.5.15/strace-fix-disabled-largefile-syscalls.patch
patches/strace/4.5.15/strace-mips-sprintsigmask-fix.patch
patches/strace/4.5.15/strace-statfs64-check.patch
patches/strace/4.5.15/strace-superh-update.ac.patch
patches/strace/4.5.15/strace-undef-CTL_PROC.patch
patches/strace/4.5.15/strace-undef-PACKET_MEMBERSHIP.patch
patches/strace/4.5.15/strace-undef-syscall.patch
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/strace/4.5.15/strace-autoreconf.patch	Sat Jul 14 17:02:05 2007 +0000
     1.3 @@ -0,0 +1,760 @@
     1.4 +--- strace-4.5.15.orig/configure	2007-01-29 17:23:38.000000000 +0100
     1.5 ++++ strace-4.5.15/configure	2007-01-29 17:46:54.000000000 +0100
     1.6 +@@ -956,7 +956,7 @@ esac
     1.7 +     else
     1.8 +       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1.9 +     fi
    1.10 +-    cd $ac_popdir
    1.11 ++    cd "$ac_popdir"
    1.12 +   done
    1.13 + fi
    1.14 + 
    1.15 +@@ -2660,8 +2660,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.16 +   cat conftest.err >&5
    1.17 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.18 +   (exit $ac_status); } &&
    1.19 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.20 +-			 || test ! -s conftest.err'
    1.21 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.22 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.23 +   (eval $ac_try) 2>&5
    1.24 +   ac_status=$?
    1.25 +@@ -2719,8 +2718,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.26 +   cat conftest.err >&5
    1.27 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.28 +   (exit $ac_status); } &&
    1.29 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.30 +-			 || test ! -s conftest.err'
    1.31 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.32 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.33 +   (eval $ac_try) 2>&5
    1.34 +   ac_status=$?
    1.35 +@@ -2836,8 +2834,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.36 +   cat conftest.err >&5
    1.37 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.38 +   (exit $ac_status); } &&
    1.39 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.40 +-			 || test ! -s conftest.err'
    1.41 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.42 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.43 +   (eval $ac_try) 2>&5
    1.44 +   ac_status=$?
    1.45 +@@ -2891,8 +2888,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.46 +   cat conftest.err >&5
    1.47 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.48 +   (exit $ac_status); } &&
    1.49 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.50 +-			 || test ! -s conftest.err'
    1.51 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.52 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.53 +   (eval $ac_try) 2>&5
    1.54 +   ac_status=$?
    1.55 +@@ -2937,8 +2933,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.56 +   cat conftest.err >&5
    1.57 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.58 +   (exit $ac_status); } &&
    1.59 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.60 +-			 || test ! -s conftest.err'
    1.61 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.62 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.63 +   (eval $ac_try) 2>&5
    1.64 +   ac_status=$?
    1.65 +@@ -2982,8 +2977,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.66 +   cat conftest.err >&5
    1.67 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.68 +   (exit $ac_status); } &&
    1.69 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.70 +-			 || test ! -s conftest.err'
    1.71 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.72 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.73 +   (eval $ac_try) 2>&5
    1.74 +   ac_status=$?
    1.75 +@@ -3721,8 +3715,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.76 +   cat conftest.err >&5
    1.77 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.78 +   (exit $ac_status); } &&
    1.79 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.80 +-			 || test ! -s conftest.err'
    1.81 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.82 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.83 +   (eval $ac_try) 2>&5
    1.84 +   ac_status=$?
    1.85 +@@ -3786,8 +3779,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.86 +   cat conftest.err >&5
    1.87 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.88 +   (exit $ac_status); } &&
    1.89 +-	 { ac_try='test -z "$ac_c_werror_flag"
    1.90 +-			 || test ! -s conftest.err'
    1.91 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
    1.92 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1.93 +   (eval $ac_try) 2>&5
    1.94 +   ac_status=$?
    1.95 +@@ -3959,8 +3951,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
    1.96 +   cat conftest.err >&5
    1.97 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.98 +   (exit $ac_status); } &&
    1.99 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.100 +-			 || test ! -s conftest.err'
   1.101 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.102 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.103 +   (eval $ac_try) 2>&5
   1.104 +   ac_status=$?
   1.105 +@@ -4032,8 +4023,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   1.106 +   cat conftest.err >&5
   1.107 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.108 +   (exit $ac_status); } &&
   1.109 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.110 +-			 || test ! -s conftest.err'
   1.111 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.112 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.113 +   (eval $ac_try) 2>&5
   1.114 +   ac_status=$?
   1.115 +@@ -4087,8 +4077,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   1.116 +   cat conftest.err >&5
   1.117 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.118 +   (exit $ac_status); } &&
   1.119 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.120 +-			 || test ! -s conftest.err'
   1.121 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.122 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.123 +   (eval $ac_try) 2>&5
   1.124 +   ac_status=$?
   1.125 +@@ -4159,8 +4148,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   1.126 +   cat conftest.err >&5
   1.127 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.128 +   (exit $ac_status); } &&
   1.129 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.130 +-			 || test ! -s conftest.err'
   1.131 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.132 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.133 +   (eval $ac_try) 2>&5
   1.134 +   ac_status=$?
   1.135 +@@ -4214,8 +4202,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   1.136 +   cat conftest.err >&5
   1.137 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.138 +   (exit $ac_status); } &&
   1.139 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.140 +-			 || test ! -s conftest.err'
   1.141 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.142 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.143 +   (eval $ac_try) 2>&5
   1.144 +   ac_status=$?
   1.145 +@@ -4345,8 +4332,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.146 +   cat conftest.err >&5
   1.147 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.148 +   (exit $ac_status); } &&
   1.149 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.150 +-			 || test ! -s conftest.err'
   1.151 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.152 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.153 +   (eval $ac_try) 2>&5
   1.154 +   ac_status=$?
   1.155 +@@ -4410,8 +4396,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.156 +   cat conftest.err >&5
   1.157 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.158 +   (exit $ac_status); } &&
   1.159 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.160 +-			 || test ! -s conftest.err'
   1.161 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.162 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.163 +   (eval $ac_try) 2>&5
   1.164 +   ac_status=$?
   1.165 +@@ -4454,8 +4439,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.166 +   cat conftest.err >&5
   1.167 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.168 +   (exit $ac_status); } &&
   1.169 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.170 +-			 || test ! -s conftest.err'
   1.171 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.172 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.173 +   (eval $ac_try) 2>&5
   1.174 +   ac_status=$?
   1.175 +@@ -4519,8 +4503,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.176 +   cat conftest.err >&5
   1.177 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.178 +   (exit $ac_status); } &&
   1.179 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.180 +-			 || test ! -s conftest.err'
   1.181 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.182 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.183 +   (eval $ac_try) 2>&5
   1.184 +   ac_status=$?
   1.185 +@@ -4563,8 +4546,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.186 +   cat conftest.err >&5
   1.187 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.188 +   (exit $ac_status); } &&
   1.189 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.190 +-			 || test ! -s conftest.err'
   1.191 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.192 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.193 +   (eval $ac_try) 2>&5
   1.194 +   ac_status=$?
   1.195 +@@ -4628,8 +4610,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.196 +   cat conftest.err >&5
   1.197 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.198 +   (exit $ac_status); } &&
   1.199 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.200 +-			 || test ! -s conftest.err'
   1.201 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.202 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.203 +   (eval $ac_try) 2>&5
   1.204 +   ac_status=$?
   1.205 +@@ -4672,8 +4653,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.206 +   cat conftest.err >&5
   1.207 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.208 +   (exit $ac_status); } &&
   1.209 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.210 +-			 || test ! -s conftest.err'
   1.211 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.212 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.213 +   (eval $ac_try) 2>&5
   1.214 +   ac_status=$?
   1.215 +@@ -4737,8 +4717,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.216 +   cat conftest.err >&5
   1.217 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.218 +   (exit $ac_status); } &&
   1.219 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.220 +-			 || test ! -s conftest.err'
   1.221 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.222 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.223 +   (eval $ac_try) 2>&5
   1.224 +   ac_status=$?
   1.225 +@@ -4781,8 +4760,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.226 +   cat conftest.err >&5
   1.227 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.228 +   (exit $ac_status); } &&
   1.229 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.230 +-			 || test ! -s conftest.err'
   1.231 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.232 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.233 +   (eval $ac_try) 2>&5
   1.234 +   ac_status=$?
   1.235 +@@ -4846,8 +4824,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.236 +   cat conftest.err >&5
   1.237 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.238 +   (exit $ac_status); } &&
   1.239 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.240 +-			 || test ! -s conftest.err'
   1.241 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.242 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.243 +   (eval $ac_try) 2>&5
   1.244 +   ac_status=$?
   1.245 +@@ -4890,8 +4867,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.246 +   cat conftest.err >&5
   1.247 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.248 +   (exit $ac_status); } &&
   1.249 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.250 +-			 || test ! -s conftest.err'
   1.251 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.252 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.253 +   (eval $ac_try) 2>&5
   1.254 +   ac_status=$?
   1.255 +@@ -4955,8 +4931,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.256 +   cat conftest.err >&5
   1.257 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.258 +   (exit $ac_status); } &&
   1.259 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.260 +-			 || test ! -s conftest.err'
   1.261 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.262 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.263 +   (eval $ac_try) 2>&5
   1.264 +   ac_status=$?
   1.265 +@@ -4999,8 +4974,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.266 +   cat conftest.err >&5
   1.267 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.268 +   (exit $ac_status); } &&
   1.269 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.270 +-			 || test ! -s conftest.err'
   1.271 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.272 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.273 +   (eval $ac_try) 2>&5
   1.274 +   ac_status=$?
   1.275 +@@ -5064,8 +5038,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.276 +   cat conftest.err >&5
   1.277 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.278 +   (exit $ac_status); } &&
   1.279 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.280 +-			 || test ! -s conftest.err'
   1.281 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.282 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.283 +   (eval $ac_try) 2>&5
   1.284 +   ac_status=$?
   1.285 +@@ -5108,8 +5081,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.286 +   cat conftest.err >&5
   1.287 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.288 +   (exit $ac_status); } &&
   1.289 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.290 +-			 || test ! -s conftest.err'
   1.291 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.292 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.293 +   (eval $ac_try) 2>&5
   1.294 +   ac_status=$?
   1.295 +@@ -5173,8 +5145,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.296 +   cat conftest.err >&5
   1.297 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.298 +   (exit $ac_status); } &&
   1.299 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.300 +-			 || test ! -s conftest.err'
   1.301 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.302 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.303 +   (eval $ac_try) 2>&5
   1.304 +   ac_status=$?
   1.305 +@@ -5217,8 +5188,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.306 +   cat conftest.err >&5
   1.307 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.308 +   (exit $ac_status); } &&
   1.309 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.310 +-			 || test ! -s conftest.err'
   1.311 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.312 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.313 +   (eval $ac_try) 2>&5
   1.314 +   ac_status=$?
   1.315 +@@ -5286,8 +5256,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.316 +   cat conftest.err >&5
   1.317 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.318 +   (exit $ac_status); } &&
   1.319 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.320 +-			 || test ! -s conftest.err'
   1.321 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.322 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.323 +   (eval $ac_try) 2>&5
   1.324 +   ac_status=$?
   1.325 +@@ -5320,6 +5289,73 @@ _ACEOF
   1.326 + 
   1.327 + fi
   1.328 + 
   1.329 ++echo "$as_me:$LINENO: checking for statfs64 in sys/(statfs|vfs).h" >&5
   1.330 ++echo $ECHO_N "checking for statfs64 in sys/(statfs|vfs).h... $ECHO_C" >&6
   1.331 ++if test "${ac_cv_type_statfs64+set}" = set; then
   1.332 ++  echo $ECHO_N "(cached) $ECHO_C" >&6
   1.333 ++else
   1.334 ++  cat >conftest.$ac_ext <<_ACEOF
   1.335 ++/* confdefs.h.  */
   1.336 ++_ACEOF
   1.337 ++cat confdefs.h >>conftest.$ac_ext
   1.338 ++cat >>conftest.$ac_ext <<_ACEOF
   1.339 ++/* end confdefs.h.  */
   1.340 ++#ifdef LINUX
   1.341 ++#include <linux/types.h>
   1.342 ++#include <sys/statfs.h>
   1.343 ++#else
   1.344 ++#include <sys/vfs.h>
   1.345 ++#endif
   1.346 ++int
   1.347 ++main ()
   1.348 ++{
   1.349 ++struct statfs64 st;
   1.350 ++  ;
   1.351 ++  return 0;
   1.352 ++}
   1.353 ++_ACEOF
   1.354 ++rm -f conftest.$ac_objext
   1.355 ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1.356 ++  (eval $ac_compile) 2>conftest.er1
   1.357 ++  ac_status=$?
   1.358 ++  grep -v '^ *+' conftest.er1 >conftest.err
   1.359 ++  rm -f conftest.er1
   1.360 ++  cat conftest.err >&5
   1.361 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.362 ++  (exit $ac_status); } &&
   1.363 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.364 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.365 ++  (eval $ac_try) 2>&5
   1.366 ++  ac_status=$?
   1.367 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.368 ++  (exit $ac_status); }; } &&
   1.369 ++	 { ac_try='test -s conftest.$ac_objext'
   1.370 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.371 ++  (eval $ac_try) 2>&5
   1.372 ++  ac_status=$?
   1.373 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.374 ++  (exit $ac_status); }; }; then
   1.375 ++  ac_cv_type_statfs64=yes
   1.376 ++else
   1.377 ++  echo "$as_me: failed program was:" >&5
   1.378 ++sed 's/^/| /' conftest.$ac_ext >&5
   1.379 ++
   1.380 ++ac_cv_type_statfs64=no
   1.381 ++fi
   1.382 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   1.383 ++fi
   1.384 ++
   1.385 ++echo "$as_me:$LINENO: result: $ac_cv_type_statfs64" >&5
   1.386 ++echo "${ECHO_T}$ac_cv_type_statfs64" >&6
   1.387 ++if test "$ac_cv_type_statfs64" = yes
   1.388 ++then
   1.389 ++
   1.390 ++cat >>confdefs.h <<\_ACEOF
   1.391 ++#define HAVE_STATFS64 1
   1.392 ++_ACEOF
   1.393 ++
   1.394 ++fi
   1.395 ++
   1.396 + 
   1.397 + echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   1.398 + echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
   1.399 +@@ -5360,8 +5396,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.400 +   cat conftest.err >&5
   1.401 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.402 +   (exit $ac_status); } &&
   1.403 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.404 +-			 || test ! -s conftest.err'
   1.405 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.406 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.407 +   (eval $ac_try) 2>&5
   1.408 +   ac_status=$?
   1.409 +@@ -5460,8 +5495,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.410 +   cat conftest.err >&5
   1.411 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.412 +   (exit $ac_status); } &&
   1.413 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.414 +-			 || test ! -s conftest.err'
   1.415 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.416 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.417 +   (eval $ac_try) 2>&5
   1.418 +   ac_status=$?
   1.419 +@@ -5610,8 +5644,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   1.420 +   cat conftest.err >&5
   1.421 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.422 +   (exit $ac_status); } &&
   1.423 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.424 +-			 || test ! -s conftest.err'
   1.425 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.426 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.427 +   (eval $ac_try) 2>&5
   1.428 +   ac_status=$?
   1.429 +@@ -5668,8 +5701,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.430 +   cat conftest.err >&5
   1.431 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.432 +   (exit $ac_status); } &&
   1.433 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.434 +-			 || test ! -s conftest.err'
   1.435 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.436 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.437 +   (eval $ac_try) 2>&5
   1.438 +   ac_status=$?
   1.439 +@@ -5816,8 +5848,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.440 +   cat conftest.err >&5
   1.441 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.442 +   (exit $ac_status); } &&
   1.443 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.444 +-			 || test ! -s conftest.err'
   1.445 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.446 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.447 +   (eval $ac_try) 2>&5
   1.448 +   ac_status=$?
   1.449 +@@ -5968,8 +5999,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.450 +   cat conftest.err >&5
   1.451 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.452 +   (exit $ac_status); } &&
   1.453 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.454 +-			 || test ! -s conftest.err'
   1.455 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.456 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.457 +   (eval $ac_try) 2>&5
   1.458 +   ac_status=$?
   1.459 +@@ -6033,8 +6063,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.460 +   cat conftest.err >&5
   1.461 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.462 +   (exit $ac_status); } &&
   1.463 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.464 +-			 || test ! -s conftest.err'
   1.465 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.466 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.467 +   (eval $ac_try) 2>&5
   1.468 +   ac_status=$?
   1.469 +@@ -6100,8 +6129,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.470 +   cat conftest.err >&5
   1.471 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.472 +   (exit $ac_status); } &&
   1.473 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.474 +-			 || test ! -s conftest.err'
   1.475 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.476 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.477 +   (eval $ac_try) 2>&5
   1.478 +   ac_status=$?
   1.479 +@@ -6147,8 +6175,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.480 +   cat conftest.err >&5
   1.481 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.482 +   (exit $ac_status); } &&
   1.483 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.484 +-			 || test ! -s conftest.err'
   1.485 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.486 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.487 +   (eval $ac_try) 2>&5
   1.488 +   ac_status=$?
   1.489 +@@ -6214,8 +6241,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.490 +   cat conftest.err >&5
   1.491 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.492 +   (exit $ac_status); } &&
   1.493 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.494 +-			 || test ! -s conftest.err'
   1.495 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.496 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.497 +   (eval $ac_try) 2>&5
   1.498 +   ac_status=$?
   1.499 +@@ -6466,8 +6492,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.500 +   cat conftest.err >&5
   1.501 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.502 +   (exit $ac_status); } &&
   1.503 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.504 +-			 || test ! -s conftest.err'
   1.505 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.506 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.507 +   (eval $ac_try) 2>&5
   1.508 +   ac_status=$?
   1.509 +@@ -6532,8 +6557,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.510 +   cat conftest.err >&5
   1.511 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.512 +   (exit $ac_status); } &&
   1.513 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.514 +-			 || test ! -s conftest.err'
   1.515 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.516 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.517 +   (eval $ac_try) 2>&5
   1.518 +   ac_status=$?
   1.519 +@@ -6600,8 +6624,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   1.520 +   cat conftest.err >&5
   1.521 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.522 +   (exit $ac_status); } &&
   1.523 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.524 +-			 || test ! -s conftest.err'
   1.525 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.526 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.527 +   (eval $ac_try) 2>&5
   1.528 +   ac_status=$?
   1.529 +@@ -6717,8 +6740,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   1.530 +   cat conftest.err >&5
   1.531 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.532 +   (exit $ac_status); } &&
   1.533 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.534 +-			 || test ! -s conftest.err'
   1.535 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.536 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.537 +   (eval $ac_try) 2>&5
   1.538 +   ac_status=$?
   1.539 +@@ -6812,8 +6834,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.540 +   cat conftest.err >&5
   1.541 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.542 +   (exit $ac_status); } &&
   1.543 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.544 +-			 || test ! -s conftest.err'
   1.545 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.546 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.547 +   (eval $ac_try) 2>&5
   1.548 +   ac_status=$?
   1.549 +@@ -6959,8 +6980,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.550 +   cat conftest.err >&5
   1.551 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.552 +   (exit $ac_status); } &&
   1.553 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.554 +-			 || test ! -s conftest.err'
   1.555 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.556 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.557 +   (eval $ac_try) 2>&5
   1.558 +   ac_status=$?
   1.559 +@@ -7020,8 +7040,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.560 +   cat conftest.err >&5
   1.561 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.562 +   (exit $ac_status); } &&
   1.563 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.564 +-			 || test ! -s conftest.err'
   1.565 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.566 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.567 +   (eval $ac_try) 2>&5
   1.568 +   ac_status=$?
   1.569 +@@ -7082,8 +7101,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.570 +   cat conftest.err >&5
   1.571 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.572 +   (exit $ac_status); } &&
   1.573 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.574 +-			 || test ! -s conftest.err'
   1.575 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.576 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.577 +   (eval $ac_try) 2>&5
   1.578 +   ac_status=$?
   1.579 +@@ -7356,8 +7374,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.580 +   cat conftest.err >&5
   1.581 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.582 +   (exit $ac_status); } &&
   1.583 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.584 +-			 || test ! -s conftest.err'
   1.585 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.586 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.587 +   (eval $ac_try) 2>&5
   1.588 +   ac_status=$?
   1.589 +@@ -7401,8 +7418,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.590 +   cat conftest.err >&5
   1.591 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.592 +   (exit $ac_status); } &&
   1.593 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.594 +-			 || test ! -s conftest.err'
   1.595 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.596 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.597 +   (eval $ac_try) 2>&5
   1.598 +   ac_status=$?
   1.599 +@@ -7471,8 +7487,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.600 +   cat conftest.err >&5
   1.601 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.602 +   (exit $ac_status); } &&
   1.603 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.604 +-			 || test ! -s conftest.err'
   1.605 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.606 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.607 +   (eval $ac_try) 2>&5
   1.608 +   ac_status=$?
   1.609 +@@ -7539,8 +7554,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.610 +   cat conftest.err >&5
   1.611 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.612 +   (exit $ac_status); } &&
   1.613 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.614 +-			 || test ! -s conftest.err'
   1.615 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.616 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.617 +   (eval $ac_try) 2>&5
   1.618 +   ac_status=$?
   1.619 +@@ -7585,8 +7599,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.620 +   cat conftest.err >&5
   1.621 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.622 +   (exit $ac_status); } &&
   1.623 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.624 +-			 || test ! -s conftest.err'
   1.625 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.626 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.627 +   (eval $ac_try) 2>&5
   1.628 +   ac_status=$?
   1.629 +@@ -7652,8 +7665,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.630 +   cat conftest.err >&5
   1.631 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.632 +   (exit $ac_status); } &&
   1.633 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.634 +-			 || test ! -s conftest.err'
   1.635 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.636 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.637 +   (eval $ac_try) 2>&5
   1.638 +   ac_status=$?
   1.639 +@@ -7698,8 +7710,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.640 +   cat conftest.err >&5
   1.641 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.642 +   (exit $ac_status); } &&
   1.643 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.644 +-			 || test ! -s conftest.err'
   1.645 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.646 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.647 +   (eval $ac_try) 2>&5
   1.648 +   ac_status=$?
   1.649 +@@ -7767,8 +7778,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.650 +   cat conftest.err >&5
   1.651 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.652 +   (exit $ac_status); } &&
   1.653 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.654 +-			 || test ! -s conftest.err'
   1.655 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.656 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.657 +   (eval $ac_try) 2>&5
   1.658 +   ac_status=$?
   1.659 +@@ -7834,8 +7844,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.660 +   cat conftest.err >&5
   1.661 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.662 +   (exit $ac_status); } &&
   1.663 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.664 +-			 || test ! -s conftest.err'
   1.665 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.666 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.667 +   (eval $ac_try) 2>&5
   1.668 +   ac_status=$?
   1.669 +@@ -7899,8 +7908,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.670 +   cat conftest.err >&5
   1.671 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.672 +   (exit $ac_status); } &&
   1.673 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.674 +-			 || test ! -s conftest.err'
   1.675 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.676 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.677 +   (eval $ac_try) 2>&5
   1.678 +   ac_status=$?
   1.679 +@@ -7966,8 +7974,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.680 +   cat conftest.err >&5
   1.681 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.682 +   (exit $ac_status); } &&
   1.683 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.684 +-			 || test ! -s conftest.err'
   1.685 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.686 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.687 +   (eval $ac_try) 2>&5
   1.688 +   ac_status=$?
   1.689 +@@ -8032,8 +8039,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.690 +   cat conftest.err >&5
   1.691 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.692 +   (exit $ac_status); } &&
   1.693 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.694 +-			 || test ! -s conftest.err'
   1.695 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.696 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.697 +   (eval $ac_try) 2>&5
   1.698 +   ac_status=$?
   1.699 +@@ -8077,8 +8083,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.700 +   cat conftest.err >&5
   1.701 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.702 +   (exit $ac_status); } &&
   1.703 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.704 +-			 || test ! -s conftest.err'
   1.705 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.706 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.707 +   (eval $ac_try) 2>&5
   1.708 +   ac_status=$?
   1.709 +@@ -8145,8 +8150,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.710 +   cat conftest.err >&5
   1.711 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.712 +   (exit $ac_status); } &&
   1.713 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.714 +-			 || test ! -s conftest.err'
   1.715 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.716 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.717 +   (eval $ac_try) 2>&5
   1.718 +   ac_status=$?
   1.719 +@@ -8218,8 +8222,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.720 +   cat conftest.err >&5
   1.721 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.722 +   (exit $ac_status); } &&
   1.723 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.724 +-			 || test ! -s conftest.err'
   1.725 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.726 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.727 +   (eval $ac_try) 2>&5
   1.728 +   ac_status=$?
   1.729 +@@ -8289,8 +8292,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
   1.730 +   cat conftest.err >&5
   1.731 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1.732 +   (exit $ac_status); } &&
   1.733 +-	 { ac_try='test -z "$ac_c_werror_flag"
   1.734 +-			 || test ! -s conftest.err'
   1.735 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1.736 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1.737 +   (eval $ac_try) 2>&5
   1.738 +   ac_status=$?
   1.739 +@@ -9293,11 +9295,6 @@ esac
   1.740 +   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   1.741 +   esac
   1.742 + 
   1.743 +-  if test x"$ac_file" != x-; then
   1.744 +-    { echo "$as_me:$LINENO: creating $ac_file" >&5
   1.745 +-echo "$as_me: creating $ac_file" >&6;}
   1.746 +-    rm -f "$ac_file"
   1.747 +-  fi
   1.748 +   # Let's still pretend it is `configure' which instantiates (i.e., don't
   1.749 +   # use $as_me), people would be surprised to read:
   1.750 +   #    /* config.h.  Generated by config.status.  */
   1.751 +@@ -9336,6 +9333,12 @@ echo "$as_me: error: cannot find input f
   1.752 + 	 fi;;
   1.753 +       esac
   1.754 +     done` || { (exit 1); exit 1; }
   1.755 ++
   1.756 ++  if test x"$ac_file" != x-; then
   1.757 ++    { echo "$as_me:$LINENO: creating $ac_file" >&5
   1.758 ++echo "$as_me: creating $ac_file" >&6;}
   1.759 ++    rm -f "$ac_file"
   1.760 ++  fi
   1.761 + _ACEOF
   1.762 + cat >>$CONFIG_STATUS <<_ACEOF
   1.763 +   sed "$ac_vpsub
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/patches/strace/4.5.15/strace-dont-use-REG_SYSCALL-for-sh.patch	Sat Jul 14 17:02:05 2007 +0000
     2.3 @@ -0,0 +1,10 @@
     2.4 +--- strace/process.c
     2.5 ++++ strace/process.c
     2.6 +@@ -2663,7 +2663,6 @@ const struct xlat struct_user_offsets[] 
     2.7 +        { 4*REG_GBR,            "4*REG_GBR"                             },
     2.8 +        { 4*REG_MACH,           "4*REG_MACH"                            },
     2.9 +        { 4*REG_MACL,           "4*REG_MACL"                            },
    2.10 +-       { 4*REG_SYSCALL,        "4*REG_SYSCALL"                         },
    2.11 +        { 4*REG_FPUL,           "4*REG_FPUL"                            },
    2.12 +        { 4*REG_FPREG0,         "4*REG_FPREG0"                          },
    2.13 +        { 4*(REG_FPREG0+1),     "4*REG_FPREG1"                          },
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/patches/strace/4.5.15/strace-fix-arm-bad-syscall.patch	Sat Jul 14 17:02:05 2007 +0000
     3.3 @@ -0,0 +1,18 @@
     3.4 +--- strace-4.5.12-orig/syscall.c	2005-06-08 21:45:28.000000000 +0100
     3.5 ++++ strace-4.5.12/syscall.c	2005-10-25 19:26:39.000000000 +0100
     3.6 +@@ -1013,6 +1013,15 @@ struct tcb *tcp;
     3.7 + 		/*
     3.8 + 		 * Note: we only deal with only 32-bit CPUs here.
     3.9 + 		 */
    3.10 ++
    3.11 ++		if (!(tcp->flags & TCB_INSYSCALL) &&
    3.12 ++		    (tcp->flags & TCB_WAITEXECVE)) {
    3.13 ++			/* caught a fake syscall from the execve's exit */
    3.14 ++			tcp->flags &= ~TCB_WAITEXECVE;
    3.15 ++			return 0;
    3.16 ++		}
    3.17 ++ 
    3.18 ++
    3.19 + 		if (regs.ARM_cpsr & 0x20) {
    3.20 + 			/*
    3.21 + 			 * Get the Thumb-mode system call number
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/patches/strace/4.5.15/strace-fix-disabled-largefile-syscalls.patch	Sat Jul 14 17:02:05 2007 +0000
     4.3 @@ -0,0 +1,21 @@
     4.4 +--- strace-4.5.15.orig/syscall.c	2007-01-29 17:23:38.000000000 +0100
     4.5 ++++ strace-4.5.15/syscall.c	2007-01-29 18:02:17.000000000 +0100
     4.6 +@@ -125,6 +125,18 @@
     4.7 + #define TP TRACE_PROCESS
     4.8 + #define TS TRACE_SIGNAL
     4.9 + 
    4.10 ++#ifndef HAVE_STATFS64
    4.11 ++/*
    4.12 ++ * Ugly hacks for systems that do not have LFS
    4.13 ++ */
    4.14 ++
    4.15 ++#define sys_truncate64  sys_truncate
    4.16 ++#define sys_ftruncate64 sys_ftruncate
    4.17 ++#define sys_getdents64  sys_getdents
    4.18 ++#define sys_statfs64    sys_statfs
    4.19 ++#define sys_fstatfs64   sys_fstatfs
    4.20 ++#endif
    4.21 ++
    4.22 + static const struct sysent sysent0[] = {
    4.23 + #include "syscallent.h"
    4.24 + };
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/patches/strace/4.5.15/strace-mips-sprintsigmask-fix.patch	Sat Jul 14 17:02:05 2007 +0000
     5.3 @@ -0,0 +1,12 @@
     5.4 +diff -ur strace-4.5.15/signal.c strace-4.5.15-patched/signal.c
     5.5 +--- strace-4.5.15/signal.c	2007-01-11 16:08:38.000000000 -0600
     5.6 ++++ strace-4.5.15-patched/signal.c	2007-02-06 20:49:34.714320249 -0600
     5.7 +@@ -1440,7 +1440,7 @@
     5.8 + 	  	tcp->u_rval = tcp->u_error = 0;
     5.9 + 		if(tcp->u_arg[0] == 0)
    5.10 + 		  	return 0;
    5.11 +-		tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1]);
    5.12 ++		tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1], 0);
    5.13 + 		return RVAL_NONE | RVAL_STR;
    5.14 + 	}
    5.15 + 	return 0;
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/patches/strace/4.5.15/strace-statfs64-check.patch	Sat Jul 14 17:02:05 2007 +0000
     6.3 @@ -0,0 +1,53 @@
     6.4 +diff -dup strace-4.5.15.orig/acinclude.m4 strace-4.5.15/acinclude.m4
     6.5 +--- strace-4.5.15.orig/acinclude.m4	2004-04-14 04:21:01.000000000 +0200
     6.6 ++++ strace-4.5.15/acinclude.m4	2007-01-29 17:31:37.000000000 +0100
     6.7 +@@ -210,6 +210,26 @@ then
     6.8 + fi
     6.9 + ])
    6.10 + 
    6.11 ++dnl ### A macro to determine whether statfs64 is defined.
    6.12 ++AC_DEFUN([AC_STATFS64],
    6.13 ++[AC_MSG_CHECKING(for statfs64 in sys/(statfs|vfs).h)
    6.14 ++AC_CACHE_VAL(ac_cv_type_statfs64,
    6.15 ++[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef LINUX
    6.16 ++#include <linux/types.h>
    6.17 ++#include <sys/statfs.h>
    6.18 ++#else
    6.19 ++#include <sys/vfs.h>
    6.20 ++#endif]], [[struct statfs64 st;]])],[ac_cv_type_statfs64=yes],[ac_cv_type_statfs64=no])])
    6.21 ++AC_MSG_RESULT($ac_cv_type_statfs64)
    6.22 ++if test "$ac_cv_type_statfs64" = yes
    6.23 ++then
    6.24 ++	AC_DEFINE([HAVE_STATFS64], 1,
    6.25 ++[Define if statfs64 is available in sys/statfs.h or sys/vfs.h.])
    6.26 ++fi
    6.27 ++])
    6.28 ++
    6.29 ++
    6.30 ++
    6.31 + dnl ### A macro to determine if off_t is a long long
    6.32 + AC_DEFUN([AC_OFF_T_IS_LONG_LONG],
    6.33 + [AC_MSG_CHECKING(for long long off_t)
    6.34 +diff -dup strace-4.5.15.orig/configure.ac strace-4.5.15/configure.ac
    6.35 +--- strace-4.5.15.orig/configure.ac	2007-01-11 12:37:55.000000000 +0100
    6.36 ++++ strace-4.5.15/configure.ac	2007-01-29 17:32:02.000000000 +0100
    6.37 +@@ -169,6 +169,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize
    6.38 + 		  struct stat.st_level,
    6.39 + 		  struct stat.st_rdev])
    6.40 + AC_STAT64
    6.41 ++AC_STATFS64
    6.42 + 
    6.43 + AC_TYPE_SIGNAL
    6.44 + AC_TYPE_UID_T
    6.45 +diff -dup strace-4.5.15.orig/file.c strace-4.5.15/file.c
    6.46 +--- strace-4.5.15.orig/file.c	2007-01-15 21:25:52.000000000 +0100
    6.47 ++++ strace-4.5.15/file.c	2007-01-29 17:33:15.000000000 +0100
    6.48 +@@ -1635,7 +1635,7 @@ struct tcb *tcp;
    6.49 + 	return 0;
    6.50 + }
    6.51 + 
    6.52 +-#ifdef LINUX
    6.53 ++#ifdef HAVE_STATFS64
    6.54 + static void
    6.55 + printstatfs64(tcp, addr)
    6.56 + struct tcb *tcp;
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/patches/strace/4.5.15/strace-superh-update.ac.patch	Sat Jul 14 17:02:05 2007 +0000
     7.3 @@ -0,0 +1,22 @@
     7.4 +--- strace-4.5.15.orig/configure.ac	2007-01-11 12:37:55.000000000 +0100
     7.5 ++++ strace-4.5.15/configure.ac	2007-01-29 17:38:26.000000000 +0100
     7.6 +@@ -91,14 +91,14 @@ hppa*|parisc*)
     7.7 + 	arch=hppa
     7.8 + 	AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.])
     7.9 + 	;;
    7.10 +-sh)
    7.11 +-	arch=sh
    7.12 +-	AC_DEFINE([SH], 1, [Define for the SH architecture.])
    7.13 +-	;;
    7.14 + sh64)
    7.15 + 	arch=sh64
    7.16 + 	AC_DEFINE([SH64], 1, [Define for the SH64 architecture.])
    7.17 + 	;;
    7.18 ++sh*)
    7.19 ++	arch=sh
    7.20 ++	AC_DEFINE([SH], 1, [Define for the SH architecture.])
    7.21 ++	;;
    7.22 + x86?64*)
    7.23 + 	arch=x86_64
    7.24 + 	AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.])
    7.25 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/patches/strace/4.5.15/strace-undef-CTL_PROC.patch	Sat Jul 14 17:02:05 2007 +0000
     8.3 @@ -0,0 +1,12 @@
     8.4 +--- strace-4.5.12/system.c.oorig	2005-06-01 21:22:06.000000000 +0200
     8.5 ++++ strace-4.5.12/system.c	2006-09-28 18:18:31.000000000 +0200
     8.6 +@@ -1572,7 +1572,9 @@
     8.7 + 	{ CTL_KERN, "CTL_KERN" },
     8.8 + 	{ CTL_VM, "CTL_VM" },
     8.9 + 	{ CTL_NET, "CTL_NET" },
    8.10 ++#ifdef CTL_PROC
    8.11 + 	{ CTL_PROC, "CTL_PROC" },
    8.12 ++#endif
    8.13 + 	{ CTL_FS, "CTL_FS" },
    8.14 + 	{ CTL_DEBUG, "CTL_DEBUG" },
    8.15 + 	{ CTL_DEV, "CTL_DEV" },
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/patches/strace/4.5.15/strace-undef-PACKET_MEMBERSHIP.patch	Sat Jul 14 17:02:05 2007 +0000
     9.3 @@ -0,0 +1,15 @@
     9.4 +--- strace-4.5.14/net.c.oorig	2005-07-05 01:33:38.000000000 +0200
     9.5 ++++ strace-4.5.14/net.c	2006-10-09 16:35:02.000000000 +0200
     9.6 +@@ -800,8 +800,12 @@
     9.7 + 
     9.8 + #ifdef SOL_PACKET
     9.9 + static const struct xlat sockpacketoptions[] = {
    9.10 ++#if defined(PACKET_ADD_MEMBERSHIP)
    9.11 + 	{ PACKET_ADD_MEMBERSHIP,	"PACKET_ADD_MEMBERSHIP"	},
    9.12 ++#endif
    9.13 ++#if defined(PACKET_DROP_MEMBERSHIP)
    9.14 + 	{ PACKET_DROP_MEMBERSHIP,	"PACKET_DROP_MEMBERSHIP"},
    9.15 ++#endif
    9.16 + #if defined(PACKET_RECV_OUTPUT)
    9.17 + 	{ PACKET_RECV_OUTPUT,		"PACKET_RECV_OUTPUT"	},
    9.18 + #endif
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/patches/strace/4.5.15/strace-undef-syscall.patch	Sat Jul 14 17:02:05 2007 +0000
    10.3 @@ -0,0 +1,62 @@
    10.4 +--- strace-4.5.12/linux/syscallent.h.orig	2005-08-09 01:48:54.000000000 -0600
    10.5 ++++ strace-4.5.12/linux/syscallent.h	2005-08-09 01:50:23.000000000 -0600
    10.6 +@@ -298,7 +298,11 @@
    10.7 + 	{ 3,	0,	sys_io_cancel,		"io_cancel"	}, /* 249 */
    10.8 + 	{ 5,	TF,	sys_fadvise64,		"fadvise64"	}, /* 250 */
    10.9 + 	{ 5,	0,	printargs,		"SYS_251"	}, /* 251 */
   10.10 +-	{ 1,	TP,	sys_exit,		"exit_group", __NR_exit_group }, /* 252 */
   10.11 ++	{ 1,	TP,	sys_exit,		"exit_group"
   10.12 ++#ifdef __NR_exit_group
   10.13 ++	    , __NR_exit_group
   10.14 ++#endif
   10.15 ++								}, /* 252 */
   10.16 + 	{ 4,	0,	printargs,		"lookup_dcookie"}, /* 253 */
   10.17 + 	{ 1,	0,	sys_epoll_create,	"epoll_create"	}, /* 254 */
   10.18 + 	{ 4,	0,	sys_epoll_ctl,		"epoll_ctl"	}, /* 255 */
   10.19 +--- strace-4.5.15.orig/linux/syscallent.h	2007-02-04 19:03:48.000000000 +0100
   10.20 ++++ strace-4.5.15/linux/syscallent.h	2007-02-04 19:11:04.000000000 +0100
   10.21 +@@ -130,7 +130,10 @@
   10.22 + 	{ 2,	TF,	sys_statfs,		"statfs"	}, /* 99 */
   10.23 + 	{ 2,	TD,	sys_fstatfs,		"fstatfs"	}, /* 100 */
   10.24 + 	{ 3,	0,	sys_ioperm,		"ioperm"	}, /* 101 */
   10.25 +-	{ 2,	TD,	sys_socketcall,		"socketcall", SYS_socketcall }, /* 102 */
   10.26 ++	{ 2,	TD,	sys_socketcall,		"socketcall",
   10.27 ++#ifdef __NR_socketcall
   10.28 ++	SYS_socketcall }, /* 102 */
   10.29 ++#endif
   10.30 + 	{ 3,	0,	sys_syslog,		"syslog"	}, /* 103 */
   10.31 + 	{ 3,	0,	sys_setitimer,		"setitimer"	}, /* 104 */
   10.32 + 	{ 2,	0,	sys_getitimer,		"getitimer"	}, /* 105 */
   10.33 +@@ -145,7 +148,10 @@
   10.34 + 	{ 4,	TP,	sys_wait4,		"wait4", SYS_wait4 }, /* 114 */
   10.35 + 	{ 1,	0,	sys_swapoff,		"swapoff"	}, /* 115 */
   10.36 + 	{ 1,	0,	sys_sysinfo,		"sysinfo"	}, /* 116 */
   10.37 +-	{ 6,	0,	sys_ipc,		"ipc", SYS_ipc }, /* 117 */
   10.38 ++	{ 6,	0,	sys_ipc,		"ipc",
   10.39 ++#ifdef __NR_ipc
   10.40 ++	SYS_ipc }, /* 117 */
   10.41 ++#endif
   10.42 + 	{ 1,	TD,	sys_fsync,		"fsync"		}, /* 118 */
   10.43 + 	{ 1,	TS,	sys_sigreturn,		"sigreturn"	}, /* 119 */
   10.44 + 	{ 5,	TP,	sys_clone,		"clone", SYS_clone }, /* 120 */
   10.45 +--- strace-4.5.15.orig/syscall.c	2007-02-04 19:03:48.000000000 +0100
   10.46 ++++ strace-4.5.15/syscall.c	2007-02-04 19:07:26.000000000 +0100
   10.47 +@@ -2404,14 +2404,18 @@
   10.48 + 	switch (known_scno(tcp)) {
   10.49 + #ifdef LINUX
   10.50 + #if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA)
   10.51 ++#ifdef __NR_socketcall
   10.52 + 	case SYS_socketcall:
   10.53 + 		decode_subcall(tcp, SYS_socket_subcall,
   10.54 + 			SYS_socket_nsubcalls, deref_style);
   10.55 + 		break;
   10.56 ++#endif
   10.57 ++#ifdef __NR_ipc
   10.58 + 	case SYS_ipc:
   10.59 + 		decode_subcall(tcp, SYS_ipc_subcall,
   10.60 + 			SYS_ipc_nsubcalls, shift_style);
   10.61 + 		break;
   10.62 ++#endif
   10.63 + #endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA */
   10.64 + #if defined (SPARC) || defined (SPARC64)
   10.65 + 	case SYS_socketcall: