1.1 --- a/common/autoconf/generated-configure.sh Sat Nov 03 16:15:26 2012 -0700 1.2 +++ b/common/autoconf/generated-configure.sh Sat Nov 03 16:28:14 2012 -0700 1.3 @@ -3665,7 +3665,7 @@ 1.4 #CUSTOM_AUTOCONF_INCLUDE 1.5 1.6 # Do not change or remove the following line, it is needed for consistency checks: 1.7 -DATE_WHEN_GENERATED=1351539315 1.8 +DATE_WHEN_GENERATED=1351854415 1.9 1.10 ############################################################################### 1.11 # 1.12 @@ -7603,7 +7603,11 @@ 1.13 # If we have a spec.gmk, we have run here before and we are OK. Otherwise, check for 1.14 # other files 1.15 files_present=`$LS $OUTPUT_ROOT` 1.16 - if test "x$files_present" != x; then 1.17 + # Configure has already touched config.log and confdefs.h in the current dir when this check 1.18 + # is performed. 1.19 + filtered_files=`$ECHO "$files_present" | $SED -e 's/config.log//g' -e 's/confdefs.h//g' -e 's/ //g' \ 1.20 + | $TR -d '\n'` 1.21 + if test "x$filtered_files" != x; then 1.22 { $as_echo "$as_me:${as_lineno-$LINENO}: Current directory is $CURDIR." >&5 1.23 $as_echo "$as_me: Current directory is $CURDIR." >&6;} 1.24 { $as_echo "$as_me:${as_lineno-$LINENO}: Since this is not the source root, configure will output the configuration here" >&5 1.25 @@ -7889,15 +7893,29 @@ 1.26 1.27 # Now try to locate executable using which 1.28 new_path=`$WHICH "$new_path" 2> /dev/null` 1.29 - if test "x$new_path" = x; then 1.30 - # Oops. Which didn't find the executable. 1.31 - # The splitting of arguments from the executable at a space might have been incorrect, 1.32 - # since paths with space are more likely in Windows. Give it another try with the whole 1.33 - # argument. 1.34 - path="$complete" 1.35 - arguments="EOL" 1.36 - new_path=`$CYGPATH -u "$path"` 1.37 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.38 + # bat and cmd files are not always considered executable in cygwin causing which 1.39 + # to not find them 1.40 + if test "x$new_path" = x \ 1.41 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.42 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.43 + new_path=`$CYGPATH -u "$path"` 1.44 + fi 1.45 + if test "x$new_path" = x; then 1.46 + # Oops. Which didn't find the executable. 1.47 + # The splitting of arguments from the executable at a space might have been incorrect, 1.48 + # since paths with space are more likely in Windows. Give it another try with the whole 1.49 + # argument. 1.50 + path="$complete" 1.51 + arguments="EOL" 1.52 + new_path=`$CYGPATH -u "$path"` 1.53 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.54 + # bat and cmd files are not always considered executable in cygwin causing which 1.55 + # to not find them 1.56 + if test "x$new_path" = x \ 1.57 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.58 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.59 + new_path=`$CYGPATH -u "$path"` 1.60 + fi 1.61 if test "x$new_path" = x; then 1.62 # It's still not found. Now this is an unrecoverable error. 1.63 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of FOUND_MAKE, which resolves as \"$complete\", is not found." >&5 1.64 @@ -8221,15 +8239,29 @@ 1.65 1.66 # Now try to locate executable using which 1.67 new_path=`$WHICH "$new_path" 2> /dev/null` 1.68 - if test "x$new_path" = x; then 1.69 - # Oops. Which didn't find the executable. 1.70 - # The splitting of arguments from the executable at a space might have been incorrect, 1.71 - # since paths with space are more likely in Windows. Give it another try with the whole 1.72 - # argument. 1.73 - path="$complete" 1.74 - arguments="EOL" 1.75 - new_path=`$CYGPATH -u "$path"` 1.76 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.77 + # bat and cmd files are not always considered executable in cygwin causing which 1.78 + # to not find them 1.79 + if test "x$new_path" = x \ 1.80 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.81 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.82 + new_path=`$CYGPATH -u "$path"` 1.83 + fi 1.84 + if test "x$new_path" = x; then 1.85 + # Oops. Which didn't find the executable. 1.86 + # The splitting of arguments from the executable at a space might have been incorrect, 1.87 + # since paths with space are more likely in Windows. Give it another try with the whole 1.88 + # argument. 1.89 + path="$complete" 1.90 + arguments="EOL" 1.91 + new_path=`$CYGPATH -u "$path"` 1.92 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.93 + # bat and cmd files are not always considered executable in cygwin causing which 1.94 + # to not find them 1.95 + if test "x$new_path" = x \ 1.96 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.97 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.98 + new_path=`$CYGPATH -u "$path"` 1.99 + fi 1.100 if test "x$new_path" = x; then 1.101 # It's still not found. Now this is an unrecoverable error. 1.102 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of FOUND_MAKE, which resolves as \"$complete\", is not found." >&5 1.103 @@ -8550,15 +8582,29 @@ 1.104 1.105 # Now try to locate executable using which 1.106 new_path=`$WHICH "$new_path" 2> /dev/null` 1.107 - if test "x$new_path" = x; then 1.108 - # Oops. Which didn't find the executable. 1.109 - # The splitting of arguments from the executable at a space might have been incorrect, 1.110 - # since paths with space are more likely in Windows. Give it another try with the whole 1.111 - # argument. 1.112 - path="$complete" 1.113 - arguments="EOL" 1.114 - new_path=`$CYGPATH -u "$path"` 1.115 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.116 + # bat and cmd files are not always considered executable in cygwin causing which 1.117 + # to not find them 1.118 + if test "x$new_path" = x \ 1.119 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.120 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.121 + new_path=`$CYGPATH -u "$path"` 1.122 + fi 1.123 + if test "x$new_path" = x; then 1.124 + # Oops. Which didn't find the executable. 1.125 + # The splitting of arguments from the executable at a space might have been incorrect, 1.126 + # since paths with space are more likely in Windows. Give it another try with the whole 1.127 + # argument. 1.128 + path="$complete" 1.129 + arguments="EOL" 1.130 + new_path=`$CYGPATH -u "$path"` 1.131 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.132 + # bat and cmd files are not always considered executable in cygwin causing which 1.133 + # to not find them 1.134 + if test "x$new_path" = x \ 1.135 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.136 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.137 + new_path=`$CYGPATH -u "$path"` 1.138 + fi 1.139 if test "x$new_path" = x; then 1.140 # It's still not found. Now this is an unrecoverable error. 1.141 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of FOUND_MAKE, which resolves as \"$complete\", is not found." >&5 1.142 @@ -8884,15 +8930,29 @@ 1.143 1.144 # Now try to locate executable using which 1.145 new_path=`$WHICH "$new_path" 2> /dev/null` 1.146 - if test "x$new_path" = x; then 1.147 - # Oops. Which didn't find the executable. 1.148 - # The splitting of arguments from the executable at a space might have been incorrect, 1.149 - # since paths with space are more likely in Windows. Give it another try with the whole 1.150 - # argument. 1.151 - path="$complete" 1.152 - arguments="EOL" 1.153 - new_path=`$CYGPATH -u "$path"` 1.154 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.155 + # bat and cmd files are not always considered executable in cygwin causing which 1.156 + # to not find them 1.157 + if test "x$new_path" = x \ 1.158 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.159 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.160 + new_path=`$CYGPATH -u "$path"` 1.161 + fi 1.162 + if test "x$new_path" = x; then 1.163 + # Oops. Which didn't find the executable. 1.164 + # The splitting of arguments from the executable at a space might have been incorrect, 1.165 + # since paths with space are more likely in Windows. Give it another try with the whole 1.166 + # argument. 1.167 + path="$complete" 1.168 + arguments="EOL" 1.169 + new_path=`$CYGPATH -u "$path"` 1.170 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.171 + # bat and cmd files are not always considered executable in cygwin causing which 1.172 + # to not find them 1.173 + if test "x$new_path" = x \ 1.174 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.175 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.176 + new_path=`$CYGPATH -u "$path"` 1.177 + fi 1.178 if test "x$new_path" = x; then 1.179 # It's still not found. Now this is an unrecoverable error. 1.180 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of FOUND_MAKE, which resolves as \"$complete\", is not found." >&5 1.181 @@ -9212,15 +9272,29 @@ 1.182 1.183 # Now try to locate executable using which 1.184 new_path=`$WHICH "$new_path" 2> /dev/null` 1.185 - if test "x$new_path" = x; then 1.186 - # Oops. Which didn't find the executable. 1.187 - # The splitting of arguments from the executable at a space might have been incorrect, 1.188 - # since paths with space are more likely in Windows. Give it another try with the whole 1.189 - # argument. 1.190 - path="$complete" 1.191 - arguments="EOL" 1.192 - new_path=`$CYGPATH -u "$path"` 1.193 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.194 + # bat and cmd files are not always considered executable in cygwin causing which 1.195 + # to not find them 1.196 + if test "x$new_path" = x \ 1.197 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.198 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.199 + new_path=`$CYGPATH -u "$path"` 1.200 + fi 1.201 + if test "x$new_path" = x; then 1.202 + # Oops. Which didn't find the executable. 1.203 + # The splitting of arguments from the executable at a space might have been incorrect, 1.204 + # since paths with space are more likely in Windows. Give it another try with the whole 1.205 + # argument. 1.206 + path="$complete" 1.207 + arguments="EOL" 1.208 + new_path=`$CYGPATH -u "$path"` 1.209 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.210 + # bat and cmd files are not always considered executable in cygwin causing which 1.211 + # to not find them 1.212 + if test "x$new_path" = x \ 1.213 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.214 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.215 + new_path=`$CYGPATH -u "$path"` 1.216 + fi 1.217 if test "x$new_path" = x; then 1.218 # It's still not found. Now this is an unrecoverable error. 1.219 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of FOUND_MAKE, which resolves as \"$complete\", is not found." >&5 1.220 @@ -15963,15 +16037,29 @@ 1.221 1.222 # Now try to locate executable using which 1.223 new_path=`$WHICH "$new_path" 2> /dev/null` 1.224 - if test "x$new_path" = x; then 1.225 - # Oops. Which didn't find the executable. 1.226 - # The splitting of arguments from the executable at a space might have been incorrect, 1.227 - # since paths with space are more likely in Windows. Give it another try with the whole 1.228 - # argument. 1.229 - path="$complete" 1.230 - arguments="EOL" 1.231 - new_path=`$CYGPATH -u "$path"` 1.232 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.233 + # bat and cmd files are not always considered executable in cygwin causing which 1.234 + # to not find them 1.235 + if test "x$new_path" = x \ 1.236 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.237 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.238 + new_path=`$CYGPATH -u "$path"` 1.239 + fi 1.240 + if test "x$new_path" = x; then 1.241 + # Oops. Which didn't find the executable. 1.242 + # The splitting of arguments from the executable at a space might have been incorrect, 1.243 + # since paths with space are more likely in Windows. Give it another try with the whole 1.244 + # argument. 1.245 + path="$complete" 1.246 + arguments="EOL" 1.247 + new_path=`$CYGPATH -u "$path"` 1.248 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.249 + # bat and cmd files are not always considered executable in cygwin causing which 1.250 + # to not find them 1.251 + if test "x$new_path" = x \ 1.252 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.253 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.254 + new_path=`$CYGPATH -u "$path"` 1.255 + fi 1.256 if test "x$new_path" = x; then 1.257 # It's still not found. Now this is an unrecoverable error. 1.258 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of VS_ENV_CMD, which resolves as \"$complete\", is not found." >&5 1.259 @@ -16537,15 +16625,29 @@ 1.260 1.261 # Now try to locate executable using which 1.262 new_path=`$WHICH "$new_path" 2> /dev/null` 1.263 - if test "x$new_path" = x; then 1.264 - # Oops. Which didn't find the executable. 1.265 - # The splitting of arguments from the executable at a space might have been incorrect, 1.266 - # since paths with space are more likely in Windows. Give it another try with the whole 1.267 - # argument. 1.268 - path="$complete" 1.269 - arguments="EOL" 1.270 - new_path=`$CYGPATH -u "$path"` 1.271 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.272 + # bat and cmd files are not always considered executable in cygwin causing which 1.273 + # to not find them 1.274 + if test "x$new_path" = x \ 1.275 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.276 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.277 + new_path=`$CYGPATH -u "$path"` 1.278 + fi 1.279 + if test "x$new_path" = x; then 1.280 + # Oops. Which didn't find the executable. 1.281 + # The splitting of arguments from the executable at a space might have been incorrect, 1.282 + # since paths with space are more likely in Windows. Give it another try with the whole 1.283 + # argument. 1.284 + path="$complete" 1.285 + arguments="EOL" 1.286 + new_path=`$CYGPATH -u "$path"` 1.287 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.288 + # bat and cmd files are not always considered executable in cygwin causing which 1.289 + # to not find them 1.290 + if test "x$new_path" = x \ 1.291 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.292 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.293 + new_path=`$CYGPATH -u "$path"` 1.294 + fi 1.295 if test "x$new_path" = x; then 1.296 # It's still not found. Now this is an unrecoverable error. 1.297 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BUILD_CC, which resolves as \"$complete\", is not found." >&5 1.298 @@ -16823,15 +16925,29 @@ 1.299 1.300 # Now try to locate executable using which 1.301 new_path=`$WHICH "$new_path" 2> /dev/null` 1.302 - if test "x$new_path" = x; then 1.303 - # Oops. Which didn't find the executable. 1.304 - # The splitting of arguments from the executable at a space might have been incorrect, 1.305 - # since paths with space are more likely in Windows. Give it another try with the whole 1.306 - # argument. 1.307 - path="$complete" 1.308 - arguments="EOL" 1.309 - new_path=`$CYGPATH -u "$path"` 1.310 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.311 + # bat and cmd files are not always considered executable in cygwin causing which 1.312 + # to not find them 1.313 + if test "x$new_path" = x \ 1.314 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.315 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.316 + new_path=`$CYGPATH -u "$path"` 1.317 + fi 1.318 + if test "x$new_path" = x; then 1.319 + # Oops. Which didn't find the executable. 1.320 + # The splitting of arguments from the executable at a space might have been incorrect, 1.321 + # since paths with space are more likely in Windows. Give it another try with the whole 1.322 + # argument. 1.323 + path="$complete" 1.324 + arguments="EOL" 1.325 + new_path=`$CYGPATH -u "$path"` 1.326 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.327 + # bat and cmd files are not always considered executable in cygwin causing which 1.328 + # to not find them 1.329 + if test "x$new_path" = x \ 1.330 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.331 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.332 + new_path=`$CYGPATH -u "$path"` 1.333 + fi 1.334 if test "x$new_path" = x; then 1.335 # It's still not found. Now this is an unrecoverable error. 1.336 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BUILD_CXX, which resolves as \"$complete\", is not found." >&5 1.337 @@ -17104,15 +17220,29 @@ 1.338 1.339 # Now try to locate executable using which 1.340 new_path=`$WHICH "$new_path" 2> /dev/null` 1.341 - if test "x$new_path" = x; then 1.342 - # Oops. Which didn't find the executable. 1.343 - # The splitting of arguments from the executable at a space might have been incorrect, 1.344 - # since paths with space are more likely in Windows. Give it another try with the whole 1.345 - # argument. 1.346 - path="$complete" 1.347 - arguments="EOL" 1.348 - new_path=`$CYGPATH -u "$path"` 1.349 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.350 + # bat and cmd files are not always considered executable in cygwin causing which 1.351 + # to not find them 1.352 + if test "x$new_path" = x \ 1.353 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.354 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.355 + new_path=`$CYGPATH -u "$path"` 1.356 + fi 1.357 + if test "x$new_path" = x; then 1.358 + # Oops. Which didn't find the executable. 1.359 + # The splitting of arguments from the executable at a space might have been incorrect, 1.360 + # since paths with space are more likely in Windows. Give it another try with the whole 1.361 + # argument. 1.362 + path="$complete" 1.363 + arguments="EOL" 1.364 + new_path=`$CYGPATH -u "$path"` 1.365 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.366 + # bat and cmd files are not always considered executable in cygwin causing which 1.367 + # to not find them 1.368 + if test "x$new_path" = x \ 1.369 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.370 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.371 + new_path=`$CYGPATH -u "$path"` 1.372 + fi 1.373 if test "x$new_path" = x; then 1.374 # It's still not found. Now this is an unrecoverable error. 1.375 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BUILD_LD, which resolves as \"$complete\", is not found." >&5 1.376 @@ -17621,15 +17751,29 @@ 1.377 1.378 # Now try to locate executable using which 1.379 new_path=`$WHICH "$new_path" 2> /dev/null` 1.380 - if test "x$new_path" = x; then 1.381 - # Oops. Which didn't find the executable. 1.382 - # The splitting of arguments from the executable at a space might have been incorrect, 1.383 - # since paths with space are more likely in Windows. Give it another try with the whole 1.384 - # argument. 1.385 - path="$complete" 1.386 - arguments="EOL" 1.387 - new_path=`$CYGPATH -u "$path"` 1.388 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.389 + # bat and cmd files are not always considered executable in cygwin causing which 1.390 + # to not find them 1.391 + if test "x$new_path" = x \ 1.392 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.393 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.394 + new_path=`$CYGPATH -u "$path"` 1.395 + fi 1.396 + if test "x$new_path" = x; then 1.397 + # Oops. Which didn't find the executable. 1.398 + # The splitting of arguments from the executable at a space might have been incorrect, 1.399 + # since paths with space are more likely in Windows. Give it another try with the whole 1.400 + # argument. 1.401 + path="$complete" 1.402 + arguments="EOL" 1.403 + new_path=`$CYGPATH -u "$path"` 1.404 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.405 + # bat and cmd files are not always considered executable in cygwin causing which 1.406 + # to not find them 1.407 + if test "x$new_path" = x \ 1.408 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.409 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.410 + new_path=`$CYGPATH -u "$path"` 1.411 + fi 1.412 if test "x$new_path" = x; then 1.413 # It's still not found. Now this is an unrecoverable error. 1.414 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of CC, which resolves as \"$complete\", is not found." >&5 1.415 @@ -18028,15 +18172,29 @@ 1.416 1.417 # Now try to locate executable using which 1.418 new_path=`$WHICH "$new_path" 2> /dev/null` 1.419 - if test "x$new_path" = x; then 1.420 - # Oops. Which didn't find the executable. 1.421 - # The splitting of arguments from the executable at a space might have been incorrect, 1.422 - # since paths with space are more likely in Windows. Give it another try with the whole 1.423 - # argument. 1.424 - path="$complete" 1.425 - arguments="EOL" 1.426 - new_path=`$CYGPATH -u "$path"` 1.427 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.428 + # bat and cmd files are not always considered executable in cygwin causing which 1.429 + # to not find them 1.430 + if test "x$new_path" = x \ 1.431 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.432 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.433 + new_path=`$CYGPATH -u "$path"` 1.434 + fi 1.435 + if test "x$new_path" = x; then 1.436 + # Oops. Which didn't find the executable. 1.437 + # The splitting of arguments from the executable at a space might have been incorrect, 1.438 + # since paths with space are more likely in Windows. Give it another try with the whole 1.439 + # argument. 1.440 + path="$complete" 1.441 + arguments="EOL" 1.442 + new_path=`$CYGPATH -u "$path"` 1.443 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.444 + # bat and cmd files are not always considered executable in cygwin causing which 1.445 + # to not find them 1.446 + if test "x$new_path" = x \ 1.447 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.448 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.449 + new_path=`$CYGPATH -u "$path"` 1.450 + fi 1.451 if test "x$new_path" = x; then 1.452 # It's still not found. Now this is an unrecoverable error. 1.453 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of PROPER_COMPILER_CC, which resolves as \"$complete\", is not found." >&5 1.454 @@ -19076,15 +19234,29 @@ 1.455 1.456 # Now try to locate executable using which 1.457 new_path=`$WHICH "$new_path" 2> /dev/null` 1.458 - if test "x$new_path" = x; then 1.459 - # Oops. Which didn't find the executable. 1.460 - # The splitting of arguments from the executable at a space might have been incorrect, 1.461 - # since paths with space are more likely in Windows. Give it another try with the whole 1.462 - # argument. 1.463 - path="$complete" 1.464 - arguments="EOL" 1.465 - new_path=`$CYGPATH -u "$path"` 1.466 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.467 + # bat and cmd files are not always considered executable in cygwin causing which 1.468 + # to not find them 1.469 + if test "x$new_path" = x \ 1.470 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.471 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.472 + new_path=`$CYGPATH -u "$path"` 1.473 + fi 1.474 + if test "x$new_path" = x; then 1.475 + # Oops. Which didn't find the executable. 1.476 + # The splitting of arguments from the executable at a space might have been incorrect, 1.477 + # since paths with space are more likely in Windows. Give it another try with the whole 1.478 + # argument. 1.479 + path="$complete" 1.480 + arguments="EOL" 1.481 + new_path=`$CYGPATH -u "$path"` 1.482 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.483 + # bat and cmd files are not always considered executable in cygwin causing which 1.484 + # to not find them 1.485 + if test "x$new_path" = x \ 1.486 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.487 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.488 + new_path=`$CYGPATH -u "$path"` 1.489 + fi 1.490 if test "x$new_path" = x; then 1.491 # It's still not found. Now this is an unrecoverable error. 1.492 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of CXX, which resolves as \"$complete\", is not found." >&5 1.493 @@ -19483,15 +19655,29 @@ 1.494 1.495 # Now try to locate executable using which 1.496 new_path=`$WHICH "$new_path" 2> /dev/null` 1.497 - if test "x$new_path" = x; then 1.498 - # Oops. Which didn't find the executable. 1.499 - # The splitting of arguments from the executable at a space might have been incorrect, 1.500 - # since paths with space are more likely in Windows. Give it another try with the whole 1.501 - # argument. 1.502 - path="$complete" 1.503 - arguments="EOL" 1.504 - new_path=`$CYGPATH -u "$path"` 1.505 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.506 + # bat and cmd files are not always considered executable in cygwin causing which 1.507 + # to not find them 1.508 + if test "x$new_path" = x \ 1.509 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.510 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.511 + new_path=`$CYGPATH -u "$path"` 1.512 + fi 1.513 + if test "x$new_path" = x; then 1.514 + # Oops. Which didn't find the executable. 1.515 + # The splitting of arguments from the executable at a space might have been incorrect, 1.516 + # since paths with space are more likely in Windows. Give it another try with the whole 1.517 + # argument. 1.518 + path="$complete" 1.519 + arguments="EOL" 1.520 + new_path=`$CYGPATH -u "$path"` 1.521 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.522 + # bat and cmd files are not always considered executable in cygwin causing which 1.523 + # to not find them 1.524 + if test "x$new_path" = x \ 1.525 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.526 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.527 + new_path=`$CYGPATH -u "$path"` 1.528 + fi 1.529 if test "x$new_path" = x; then 1.530 # It's still not found. Now this is an unrecoverable error. 1.531 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of PROPER_COMPILER_CXX, which resolves as \"$complete\", is not found." >&5 1.532 @@ -20355,15 +20541,29 @@ 1.533 1.534 # Now try to locate executable using which 1.535 new_path=`$WHICH "$new_path" 2> /dev/null` 1.536 - if test "x$new_path" = x; then 1.537 - # Oops. Which didn't find the executable. 1.538 - # The splitting of arguments from the executable at a space might have been incorrect, 1.539 - # since paths with space are more likely in Windows. Give it another try with the whole 1.540 - # argument. 1.541 - path="$complete" 1.542 - arguments="EOL" 1.543 - new_path=`$CYGPATH -u "$path"` 1.544 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.545 + # bat and cmd files are not always considered executable in cygwin causing which 1.546 + # to not find them 1.547 + if test "x$new_path" = x \ 1.548 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.549 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.550 + new_path=`$CYGPATH -u "$path"` 1.551 + fi 1.552 + if test "x$new_path" = x; then 1.553 + # Oops. Which didn't find the executable. 1.554 + # The splitting of arguments from the executable at a space might have been incorrect, 1.555 + # since paths with space are more likely in Windows. Give it another try with the whole 1.556 + # argument. 1.557 + path="$complete" 1.558 + arguments="EOL" 1.559 + new_path=`$CYGPATH -u "$path"` 1.560 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.561 + # bat and cmd files are not always considered executable in cygwin causing which 1.562 + # to not find them 1.563 + if test "x$new_path" = x \ 1.564 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.565 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.566 + new_path=`$CYGPATH -u "$path"` 1.567 + fi 1.568 if test "x$new_path" = x; then 1.569 # It's still not found. Now this is an unrecoverable error. 1.570 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of OBJC, which resolves as \"$complete\", is not found." >&5 1.571 @@ -20711,15 +20911,29 @@ 1.572 1.573 # Now try to locate executable using which 1.574 new_path=`$WHICH "$new_path" 2> /dev/null` 1.575 - if test "x$new_path" = x; then 1.576 - # Oops. Which didn't find the executable. 1.577 - # The splitting of arguments from the executable at a space might have been incorrect, 1.578 - # since paths with space are more likely in Windows. Give it another try with the whole 1.579 - # argument. 1.580 - path="$complete" 1.581 - arguments="EOL" 1.582 - new_path=`$CYGPATH -u "$path"` 1.583 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.584 + # bat and cmd files are not always considered executable in cygwin causing which 1.585 + # to not find them 1.586 + if test "x$new_path" = x \ 1.587 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.588 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.589 + new_path=`$CYGPATH -u "$path"` 1.590 + fi 1.591 + if test "x$new_path" = x; then 1.592 + # Oops. Which didn't find the executable. 1.593 + # The splitting of arguments from the executable at a space might have been incorrect, 1.594 + # since paths with space are more likely in Windows. Give it another try with the whole 1.595 + # argument. 1.596 + path="$complete" 1.597 + arguments="EOL" 1.598 + new_path=`$CYGPATH -u "$path"` 1.599 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.600 + # bat and cmd files are not always considered executable in cygwin causing which 1.601 + # to not find them 1.602 + if test "x$new_path" = x \ 1.603 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.604 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.605 + new_path=`$CYGPATH -u "$path"` 1.606 + fi 1.607 if test "x$new_path" = x; then 1.608 # It's still not found. Now this is an unrecoverable error. 1.609 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of AR, which resolves as \"$complete\", is not found." >&5 1.610 @@ -21033,15 +21247,29 @@ 1.611 1.612 # Now try to locate executable using which 1.613 new_path=`$WHICH "$new_path" 2> /dev/null` 1.614 - if test "x$new_path" = x; then 1.615 - # Oops. Which didn't find the executable. 1.616 - # The splitting of arguments from the executable at a space might have been incorrect, 1.617 - # since paths with space are more likely in Windows. Give it another try with the whole 1.618 - # argument. 1.619 - path="$complete" 1.620 - arguments="EOL" 1.621 - new_path=`$CYGPATH -u "$path"` 1.622 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.623 + # bat and cmd files are not always considered executable in cygwin causing which 1.624 + # to not find them 1.625 + if test "x$new_path" = x \ 1.626 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.627 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.628 + new_path=`$CYGPATH -u "$path"` 1.629 + fi 1.630 + if test "x$new_path" = x; then 1.631 + # Oops. Which didn't find the executable. 1.632 + # The splitting of arguments from the executable at a space might have been incorrect, 1.633 + # since paths with space are more likely in Windows. Give it another try with the whole 1.634 + # argument. 1.635 + path="$complete" 1.636 + arguments="EOL" 1.637 + new_path=`$CYGPATH -u "$path"` 1.638 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.639 + # bat and cmd files are not always considered executable in cygwin causing which 1.640 + # to not find them 1.641 + if test "x$new_path" = x \ 1.642 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.643 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.644 + new_path=`$CYGPATH -u "$path"` 1.645 + fi 1.646 if test "x$new_path" = x; then 1.647 # It's still not found. Now this is an unrecoverable error. 1.648 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of WINLD, which resolves as \"$complete\", is not found." >&5 1.649 @@ -21345,15 +21573,29 @@ 1.650 1.651 # Now try to locate executable using which 1.652 new_path=`$WHICH "$new_path" 2> /dev/null` 1.653 - if test "x$new_path" = x; then 1.654 - # Oops. Which didn't find the executable. 1.655 - # The splitting of arguments from the executable at a space might have been incorrect, 1.656 - # since paths with space are more likely in Windows. Give it another try with the whole 1.657 - # argument. 1.658 - path="$complete" 1.659 - arguments="EOL" 1.660 - new_path=`$CYGPATH -u "$path"` 1.661 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.662 + # bat and cmd files are not always considered executable in cygwin causing which 1.663 + # to not find them 1.664 + if test "x$new_path" = x \ 1.665 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.666 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.667 + new_path=`$CYGPATH -u "$path"` 1.668 + fi 1.669 + if test "x$new_path" = x; then 1.670 + # Oops. Which didn't find the executable. 1.671 + # The splitting of arguments from the executable at a space might have been incorrect, 1.672 + # since paths with space are more likely in Windows. Give it another try with the whole 1.673 + # argument. 1.674 + path="$complete" 1.675 + arguments="EOL" 1.676 + new_path=`$CYGPATH -u "$path"` 1.677 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.678 + # bat and cmd files are not always considered executable in cygwin causing which 1.679 + # to not find them 1.680 + if test "x$new_path" = x \ 1.681 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.682 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.683 + new_path=`$CYGPATH -u "$path"` 1.684 + fi 1.685 if test "x$new_path" = x; then 1.686 # It's still not found. Now this is an unrecoverable error. 1.687 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of MT, which resolves as \"$complete\", is not found." >&5 1.688 @@ -21641,15 +21883,29 @@ 1.689 1.690 # Now try to locate executable using which 1.691 new_path=`$WHICH "$new_path" 2> /dev/null` 1.692 - if test "x$new_path" = x; then 1.693 - # Oops. Which didn't find the executable. 1.694 - # The splitting of arguments from the executable at a space might have been incorrect, 1.695 - # since paths with space are more likely in Windows. Give it another try with the whole 1.696 - # argument. 1.697 - path="$complete" 1.698 - arguments="EOL" 1.699 - new_path=`$CYGPATH -u "$path"` 1.700 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.701 + # bat and cmd files are not always considered executable in cygwin causing which 1.702 + # to not find them 1.703 + if test "x$new_path" = x \ 1.704 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.705 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.706 + new_path=`$CYGPATH -u "$path"` 1.707 + fi 1.708 + if test "x$new_path" = x; then 1.709 + # Oops. Which didn't find the executable. 1.710 + # The splitting of arguments from the executable at a space might have been incorrect, 1.711 + # since paths with space are more likely in Windows. Give it another try with the whole 1.712 + # argument. 1.713 + path="$complete" 1.714 + arguments="EOL" 1.715 + new_path=`$CYGPATH -u "$path"` 1.716 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.717 + # bat and cmd files are not always considered executable in cygwin causing which 1.718 + # to not find them 1.719 + if test "x$new_path" = x \ 1.720 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.721 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.722 + new_path=`$CYGPATH -u "$path"` 1.723 + fi 1.724 if test "x$new_path" = x; then 1.725 # It's still not found. Now this is an unrecoverable error. 1.726 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of RC, which resolves as \"$complete\", is not found." >&5 1.727 @@ -21990,15 +22246,29 @@ 1.728 1.729 # Now try to locate executable using which 1.730 new_path=`$WHICH "$new_path" 2> /dev/null` 1.731 - if test "x$new_path" = x; then 1.732 - # Oops. Which didn't find the executable. 1.733 - # The splitting of arguments from the executable at a space might have been incorrect, 1.734 - # since paths with space are more likely in Windows. Give it another try with the whole 1.735 - # argument. 1.736 - path="$complete" 1.737 - arguments="EOL" 1.738 - new_path=`$CYGPATH -u "$path"` 1.739 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.740 + # bat and cmd files are not always considered executable in cygwin causing which 1.741 + # to not find them 1.742 + if test "x$new_path" = x \ 1.743 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.744 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.745 + new_path=`$CYGPATH -u "$path"` 1.746 + fi 1.747 + if test "x$new_path" = x; then 1.748 + # Oops. Which didn't find the executable. 1.749 + # The splitting of arguments from the executable at a space might have been incorrect, 1.750 + # since paths with space are more likely in Windows. Give it another try with the whole 1.751 + # argument. 1.752 + path="$complete" 1.753 + arguments="EOL" 1.754 + new_path=`$CYGPATH -u "$path"` 1.755 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.756 + # bat and cmd files are not always considered executable in cygwin causing which 1.757 + # to not find them 1.758 + if test "x$new_path" = x \ 1.759 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.760 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.761 + new_path=`$CYGPATH -u "$path"` 1.762 + fi 1.763 if test "x$new_path" = x; then 1.764 # It's still not found. Now this is an unrecoverable error. 1.765 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of WINAR, which resolves as \"$complete\", is not found." >&5 1.766 @@ -22271,15 +22541,29 @@ 1.767 1.768 # Now try to locate executable using which 1.769 new_path=`$WHICH "$new_path" 2> /dev/null` 1.770 - if test "x$new_path" = x; then 1.771 - # Oops. Which didn't find the executable. 1.772 - # The splitting of arguments from the executable at a space might have been incorrect, 1.773 - # since paths with space are more likely in Windows. Give it another try with the whole 1.774 - # argument. 1.775 - path="$complete" 1.776 - arguments="EOL" 1.777 - new_path=`$CYGPATH -u "$path"` 1.778 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.779 + # bat and cmd files are not always considered executable in cygwin causing which 1.780 + # to not find them 1.781 + if test "x$new_path" = x \ 1.782 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.783 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.784 + new_path=`$CYGPATH -u "$path"` 1.785 + fi 1.786 + if test "x$new_path" = x; then 1.787 + # Oops. Which didn't find the executable. 1.788 + # The splitting of arguments from the executable at a space might have been incorrect, 1.789 + # since paths with space are more likely in Windows. Give it another try with the whole 1.790 + # argument. 1.791 + path="$complete" 1.792 + arguments="EOL" 1.793 + new_path=`$CYGPATH -u "$path"` 1.794 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.795 + # bat and cmd files are not always considered executable in cygwin causing which 1.796 + # to not find them 1.797 + if test "x$new_path" = x \ 1.798 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.799 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.800 + new_path=`$CYGPATH -u "$path"` 1.801 + fi 1.802 if test "x$new_path" = x; then 1.803 # It's still not found. Now this is an unrecoverable error. 1.804 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of DUMPBIN, which resolves as \"$complete\", is not found." >&5 1.805 @@ -22657,15 +22941,29 @@ 1.806 1.807 # Now try to locate executable using which 1.808 new_path=`$WHICH "$new_path" 2> /dev/null` 1.809 - if test "x$new_path" = x; then 1.810 - # Oops. Which didn't find the executable. 1.811 - # The splitting of arguments from the executable at a space might have been incorrect, 1.812 - # since paths with space are more likely in Windows. Give it another try with the whole 1.813 - # argument. 1.814 - path="$complete" 1.815 - arguments="EOL" 1.816 - new_path=`$CYGPATH -u "$path"` 1.817 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.818 + # bat and cmd files are not always considered executable in cygwin causing which 1.819 + # to not find them 1.820 + if test "x$new_path" = x \ 1.821 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.822 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.823 + new_path=`$CYGPATH -u "$path"` 1.824 + fi 1.825 + if test "x$new_path" = x; then 1.826 + # Oops. Which didn't find the executable. 1.827 + # The splitting of arguments from the executable at a space might have been incorrect, 1.828 + # since paths with space are more likely in Windows. Give it another try with the whole 1.829 + # argument. 1.830 + path="$complete" 1.831 + arguments="EOL" 1.832 + new_path=`$CYGPATH -u "$path"` 1.833 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.834 + # bat and cmd files are not always considered executable in cygwin causing which 1.835 + # to not find them 1.836 + if test "x$new_path" = x \ 1.837 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.838 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.839 + new_path=`$CYGPATH -u "$path"` 1.840 + fi 1.841 if test "x$new_path" = x; then 1.842 # It's still not found. Now this is an unrecoverable error. 1.843 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of CPP, which resolves as \"$complete\", is not found." >&5 1.844 @@ -23032,15 +23330,29 @@ 1.845 1.846 # Now try to locate executable using which 1.847 new_path=`$WHICH "$new_path" 2> /dev/null` 1.848 - if test "x$new_path" = x; then 1.849 - # Oops. Which didn't find the executable. 1.850 - # The splitting of arguments from the executable at a space might have been incorrect, 1.851 - # since paths with space are more likely in Windows. Give it another try with the whole 1.852 - # argument. 1.853 - path="$complete" 1.854 - arguments="EOL" 1.855 - new_path=`$CYGPATH -u "$path"` 1.856 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.857 + # bat and cmd files are not always considered executable in cygwin causing which 1.858 + # to not find them 1.859 + if test "x$new_path" = x \ 1.860 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.861 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.862 + new_path=`$CYGPATH -u "$path"` 1.863 + fi 1.864 + if test "x$new_path" = x; then 1.865 + # Oops. Which didn't find the executable. 1.866 + # The splitting of arguments from the executable at a space might have been incorrect, 1.867 + # since paths with space are more likely in Windows. Give it another try with the whole 1.868 + # argument. 1.869 + path="$complete" 1.870 + arguments="EOL" 1.871 + new_path=`$CYGPATH -u "$path"` 1.872 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.873 + # bat and cmd files are not always considered executable in cygwin causing which 1.874 + # to not find them 1.875 + if test "x$new_path" = x \ 1.876 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.877 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.878 + new_path=`$CYGPATH -u "$path"` 1.879 + fi 1.880 if test "x$new_path" = x; then 1.881 # It's still not found. Now this is an unrecoverable error. 1.882 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of CXXCPP, which resolves as \"$complete\", is not found." >&5 1.883 @@ -23336,15 +23648,29 @@ 1.884 1.885 # Now try to locate executable using which 1.886 new_path=`$WHICH "$new_path" 2> /dev/null` 1.887 - if test "x$new_path" = x; then 1.888 - # Oops. Which didn't find the executable. 1.889 - # The splitting of arguments from the executable at a space might have been incorrect, 1.890 - # since paths with space are more likely in Windows. Give it another try with the whole 1.891 - # argument. 1.892 - path="$complete" 1.893 - arguments="EOL" 1.894 - new_path=`$CYGPATH -u "$path"` 1.895 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.896 + # bat and cmd files are not always considered executable in cygwin causing which 1.897 + # to not find them 1.898 + if test "x$new_path" = x \ 1.899 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.900 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.901 + new_path=`$CYGPATH -u "$path"` 1.902 + fi 1.903 + if test "x$new_path" = x; then 1.904 + # Oops. Which didn't find the executable. 1.905 + # The splitting of arguments from the executable at a space might have been incorrect, 1.906 + # since paths with space are more likely in Windows. Give it another try with the whole 1.907 + # argument. 1.908 + path="$complete" 1.909 + arguments="EOL" 1.910 + new_path=`$CYGPATH -u "$path"` 1.911 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.912 + # bat and cmd files are not always considered executable in cygwin causing which 1.913 + # to not find them 1.914 + if test "x$new_path" = x \ 1.915 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.916 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.917 + new_path=`$CYGPATH -u "$path"` 1.918 + fi 1.919 if test "x$new_path" = x; then 1.920 # It's still not found. Now this is an unrecoverable error. 1.921 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of AS, which resolves as \"$complete\", is not found." >&5 1.922 @@ -23628,15 +23954,29 @@ 1.923 1.924 # Now try to locate executable using which 1.925 new_path=`$WHICH "$new_path" 2> /dev/null` 1.926 - if test "x$new_path" = x; then 1.927 - # Oops. Which didn't find the executable. 1.928 - # The splitting of arguments from the executable at a space might have been incorrect, 1.929 - # since paths with space are more likely in Windows. Give it another try with the whole 1.930 - # argument. 1.931 - path="$complete" 1.932 - arguments="EOL" 1.933 - new_path=`$CYGPATH -u "$path"` 1.934 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.935 + # bat and cmd files are not always considered executable in cygwin causing which 1.936 + # to not find them 1.937 + if test "x$new_path" = x \ 1.938 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.939 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.940 + new_path=`$CYGPATH -u "$path"` 1.941 + fi 1.942 + if test "x$new_path" = x; then 1.943 + # Oops. Which didn't find the executable. 1.944 + # The splitting of arguments from the executable at a space might have been incorrect, 1.945 + # since paths with space are more likely in Windows. Give it another try with the whole 1.946 + # argument. 1.947 + path="$complete" 1.948 + arguments="EOL" 1.949 + new_path=`$CYGPATH -u "$path"` 1.950 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.951 + # bat and cmd files are not always considered executable in cygwin causing which 1.952 + # to not find them 1.953 + if test "x$new_path" = x \ 1.954 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.955 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.956 + new_path=`$CYGPATH -u "$path"` 1.957 + fi 1.958 if test "x$new_path" = x; then 1.959 # It's still not found. Now this is an unrecoverable error. 1.960 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of NM, which resolves as \"$complete\", is not found." >&5 1.961 @@ -23909,15 +24249,29 @@ 1.962 1.963 # Now try to locate executable using which 1.964 new_path=`$WHICH "$new_path" 2> /dev/null` 1.965 - if test "x$new_path" = x; then 1.966 - # Oops. Which didn't find the executable. 1.967 - # The splitting of arguments from the executable at a space might have been incorrect, 1.968 - # since paths with space are more likely in Windows. Give it another try with the whole 1.969 - # argument. 1.970 - path="$complete" 1.971 - arguments="EOL" 1.972 - new_path=`$CYGPATH -u "$path"` 1.973 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.974 + # bat and cmd files are not always considered executable in cygwin causing which 1.975 + # to not find them 1.976 + if test "x$new_path" = x \ 1.977 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.978 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.979 + new_path=`$CYGPATH -u "$path"` 1.980 + fi 1.981 + if test "x$new_path" = x; then 1.982 + # Oops. Which didn't find the executable. 1.983 + # The splitting of arguments from the executable at a space might have been incorrect, 1.984 + # since paths with space are more likely in Windows. Give it another try with the whole 1.985 + # argument. 1.986 + path="$complete" 1.987 + arguments="EOL" 1.988 + new_path=`$CYGPATH -u "$path"` 1.989 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.990 + # bat and cmd files are not always considered executable in cygwin causing which 1.991 + # to not find them 1.992 + if test "x$new_path" = x \ 1.993 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.994 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.995 + new_path=`$CYGPATH -u "$path"` 1.996 + fi 1.997 if test "x$new_path" = x; then 1.998 # It's still not found. Now this is an unrecoverable error. 1.999 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of STRIP, which resolves as \"$complete\", is not found." >&5 1.1000 @@ -24190,15 +24544,29 @@ 1.1001 1.1002 # Now try to locate executable using which 1.1003 new_path=`$WHICH "$new_path" 2> /dev/null` 1.1004 - if test "x$new_path" = x; then 1.1005 - # Oops. Which didn't find the executable. 1.1006 - # The splitting of arguments from the executable at a space might have been incorrect, 1.1007 - # since paths with space are more likely in Windows. Give it another try with the whole 1.1008 - # argument. 1.1009 - path="$complete" 1.1010 - arguments="EOL" 1.1011 - new_path=`$CYGPATH -u "$path"` 1.1012 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.1013 + # bat and cmd files are not always considered executable in cygwin causing which 1.1014 + # to not find them 1.1015 + if test "x$new_path" = x \ 1.1016 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1017 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1018 + new_path=`$CYGPATH -u "$path"` 1.1019 + fi 1.1020 + if test "x$new_path" = x; then 1.1021 + # Oops. Which didn't find the executable. 1.1022 + # The splitting of arguments from the executable at a space might have been incorrect, 1.1023 + # since paths with space are more likely in Windows. Give it another try with the whole 1.1024 + # argument. 1.1025 + path="$complete" 1.1026 + arguments="EOL" 1.1027 + new_path=`$CYGPATH -u "$path"` 1.1028 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.1029 + # bat and cmd files are not always considered executable in cygwin causing which 1.1030 + # to not find them 1.1031 + if test "x$new_path" = x \ 1.1032 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1033 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1034 + new_path=`$CYGPATH -u "$path"` 1.1035 + fi 1.1036 if test "x$new_path" = x; then 1.1037 # It's still not found. Now this is an unrecoverable error. 1.1038 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of MCS, which resolves as \"$complete\", is not found." >&5 1.1039 @@ -24524,15 +24892,29 @@ 1.1040 1.1041 # Now try to locate executable using which 1.1042 new_path=`$WHICH "$new_path" 2> /dev/null` 1.1043 - if test "x$new_path" = x; then 1.1044 - # Oops. Which didn't find the executable. 1.1045 - # The splitting of arguments from the executable at a space might have been incorrect, 1.1046 - # since paths with space are more likely in Windows. Give it another try with the whole 1.1047 - # argument. 1.1048 - path="$complete" 1.1049 - arguments="EOL" 1.1050 - new_path=`$CYGPATH -u "$path"` 1.1051 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.1052 + # bat and cmd files are not always considered executable in cygwin causing which 1.1053 + # to not find them 1.1054 + if test "x$new_path" = x \ 1.1055 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1056 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1057 + new_path=`$CYGPATH -u "$path"` 1.1058 + fi 1.1059 + if test "x$new_path" = x; then 1.1060 + # Oops. Which didn't find the executable. 1.1061 + # The splitting of arguments from the executable at a space might have been incorrect, 1.1062 + # since paths with space are more likely in Windows. Give it another try with the whole 1.1063 + # argument. 1.1064 + path="$complete" 1.1065 + arguments="EOL" 1.1066 + new_path=`$CYGPATH -u "$path"` 1.1067 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.1068 + # bat and cmd files are not always considered executable in cygwin causing which 1.1069 + # to not find them 1.1070 + if test "x$new_path" = x \ 1.1071 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1072 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1073 + new_path=`$CYGPATH -u "$path"` 1.1074 + fi 1.1075 if test "x$new_path" = x; then 1.1076 # It's still not found. Now this is an unrecoverable error. 1.1077 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of NM, which resolves as \"$complete\", is not found." >&5 1.1078 @@ -24857,15 +25239,29 @@ 1.1079 1.1080 # Now try to locate executable using which 1.1081 new_path=`$WHICH "$new_path" 2> /dev/null` 1.1082 - if test "x$new_path" = x; then 1.1083 - # Oops. Which didn't find the executable. 1.1084 - # The splitting of arguments from the executable at a space might have been incorrect, 1.1085 - # since paths with space are more likely in Windows. Give it another try with the whole 1.1086 - # argument. 1.1087 - path="$complete" 1.1088 - arguments="EOL" 1.1089 - new_path=`$CYGPATH -u "$path"` 1.1090 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.1091 + # bat and cmd files are not always considered executable in cygwin causing which 1.1092 + # to not find them 1.1093 + if test "x$new_path" = x \ 1.1094 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1095 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1096 + new_path=`$CYGPATH -u "$path"` 1.1097 + fi 1.1098 + if test "x$new_path" = x; then 1.1099 + # Oops. Which didn't find the executable. 1.1100 + # The splitting of arguments from the executable at a space might have been incorrect, 1.1101 + # since paths with space are more likely in Windows. Give it another try with the whole 1.1102 + # argument. 1.1103 + path="$complete" 1.1104 + arguments="EOL" 1.1105 + new_path=`$CYGPATH -u "$path"` 1.1106 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.1107 + # bat and cmd files are not always considered executable in cygwin causing which 1.1108 + # to not find them 1.1109 + if test "x$new_path" = x \ 1.1110 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1111 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1112 + new_path=`$CYGPATH -u "$path"` 1.1113 + fi 1.1114 if test "x$new_path" = x; then 1.1115 # It's still not found. Now this is an unrecoverable error. 1.1116 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of STRIP, which resolves as \"$complete\", is not found." >&5 1.1117 @@ -25203,15 +25599,29 @@ 1.1118 1.1119 # Now try to locate executable using which 1.1120 new_path=`$WHICH "$new_path" 2> /dev/null` 1.1121 - if test "x$new_path" = x; then 1.1122 - # Oops. Which didn't find the executable. 1.1123 - # The splitting of arguments from the executable at a space might have been incorrect, 1.1124 - # since paths with space are more likely in Windows. Give it another try with the whole 1.1125 - # argument. 1.1126 - path="$complete" 1.1127 - arguments="EOL" 1.1128 - new_path=`$CYGPATH -u "$path"` 1.1129 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.1130 + # bat and cmd files are not always considered executable in cygwin causing which 1.1131 + # to not find them 1.1132 + if test "x$new_path" = x \ 1.1133 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1134 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1135 + new_path=`$CYGPATH -u "$path"` 1.1136 + fi 1.1137 + if test "x$new_path" = x; then 1.1138 + # Oops. Which didn't find the executable. 1.1139 + # The splitting of arguments from the executable at a space might have been incorrect, 1.1140 + # since paths with space are more likely in Windows. Give it another try with the whole 1.1141 + # argument. 1.1142 + path="$complete" 1.1143 + arguments="EOL" 1.1144 + new_path=`$CYGPATH -u "$path"` 1.1145 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.1146 + # bat and cmd files are not always considered executable in cygwin causing which 1.1147 + # to not find them 1.1148 + if test "x$new_path" = x \ 1.1149 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1150 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1151 + new_path=`$CYGPATH -u "$path"` 1.1152 + fi 1.1153 if test "x$new_path" = x; then 1.1154 # It's still not found. Now this is an unrecoverable error. 1.1155 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of OBJCOPY, which resolves as \"$complete\", is not found." >&5 1.1156 @@ -25548,15 +25958,29 @@ 1.1157 1.1158 # Now try to locate executable using which 1.1159 new_path=`$WHICH "$new_path" 2> /dev/null` 1.1160 - if test "x$new_path" = x; then 1.1161 - # Oops. Which didn't find the executable. 1.1162 - # The splitting of arguments from the executable at a space might have been incorrect, 1.1163 - # since paths with space are more likely in Windows. Give it another try with the whole 1.1164 - # argument. 1.1165 - path="$complete" 1.1166 - arguments="EOL" 1.1167 - new_path=`$CYGPATH -u "$path"` 1.1168 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.1169 + # bat and cmd files are not always considered executable in cygwin causing which 1.1170 + # to not find them 1.1171 + if test "x$new_path" = x \ 1.1172 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1173 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1174 + new_path=`$CYGPATH -u "$path"` 1.1175 + fi 1.1176 + if test "x$new_path" = x; then 1.1177 + # Oops. Which didn't find the executable. 1.1178 + # The splitting of arguments from the executable at a space might have been incorrect, 1.1179 + # since paths with space are more likely in Windows. Give it another try with the whole 1.1180 + # argument. 1.1181 + path="$complete" 1.1182 + arguments="EOL" 1.1183 + new_path=`$CYGPATH -u "$path"` 1.1184 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.1185 + # bat and cmd files are not always considered executable in cygwin causing which 1.1186 + # to not find them 1.1187 + if test "x$new_path" = x \ 1.1188 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1189 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1190 + new_path=`$CYGPATH -u "$path"` 1.1191 + fi 1.1192 if test "x$new_path" = x; then 1.1193 # It's still not found. Now this is an unrecoverable error. 1.1194 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of OBJDUMP, which resolves as \"$complete\", is not found." >&5 1.1195 @@ -25832,15 +26256,29 @@ 1.1196 1.1197 # Now try to locate executable using which 1.1198 new_path=`$WHICH "$new_path" 2> /dev/null` 1.1199 - if test "x$new_path" = x; then 1.1200 - # Oops. Which didn't find the executable. 1.1201 - # The splitting of arguments from the executable at a space might have been incorrect, 1.1202 - # since paths with space are more likely in Windows. Give it another try with the whole 1.1203 - # argument. 1.1204 - path="$complete" 1.1205 - arguments="EOL" 1.1206 - new_path=`$CYGPATH -u "$path"` 1.1207 - new_path=`$WHICH "$new_path" 2> /dev/null` 1.1208 + # bat and cmd files are not always considered executable in cygwin causing which 1.1209 + # to not find them 1.1210 + if test "x$new_path" = x \ 1.1211 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1212 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1213 + new_path=`$CYGPATH -u "$path"` 1.1214 + fi 1.1215 + if test "x$new_path" = x; then 1.1216 + # Oops. Which didn't find the executable. 1.1217 + # The splitting of arguments from the executable at a space might have been incorrect, 1.1218 + # since paths with space are more likely in Windows. Give it another try with the whole 1.1219 + # argument. 1.1220 + path="$complete" 1.1221 + arguments="EOL" 1.1222 + new_path=`$CYGPATH -u "$path"` 1.1223 + new_path=`$WHICH "$new_path" 2> /dev/null` 1.1224 + # bat and cmd files are not always considered executable in cygwin causing which 1.1225 + # to not find them 1.1226 + if test "x$new_path" = x \ 1.1227 + && test "x`$ECHO \"$path\" | $GREP -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \ 1.1228 + && test "x`$LS \"$path\" 2>/dev/null`" != x; then 1.1229 + new_path=`$CYGPATH -u "$path"` 1.1230 + fi 1.1231 if test "x$new_path" = x; then 1.1232 # It's still not found. Now this is an unrecoverable error. 1.1233 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of LIPO, which resolves as \"$complete\", is not found." >&5 1.1234 @@ -29026,12 +29464,7 @@ 1.1235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5 1.1236 $as_echo "$ac_cv_lib_freetype_FT_Init_FreeType" >&6; } 1.1237 if test "x$ac_cv_lib_freetype_FT_Init_FreeType" = x""yes; then : 1.1238 - cat >>confdefs.h <<_ACEOF 1.1239 -#define HAVE_LIBFREETYPE 1 1.1240 -_ACEOF 1.1241 - 1.1242 - LIBS="-lfreetype $LIBS" 1.1243 - 1.1244 + FREETYPE2_FOUND=true 1.1245 else 1.1246 as_fn_error $? "Could not find freetype2! $HELP_MSG " "$LINENO" 5 1.1247 fi