| 1 | Index: files/patch-configure.diff |
| 2 | =================================================================== |
| 3 | --- files/patch-configure.diff (revision 0) |
| 4 | +++ files/patch-configure.diff (revision 0) |
| 5 | @@ -0,0 +1,17929 @@ |
| 6 | +--- configure.orig 2008-09-16 15:11:19.000000000 +0200 |
| 7 | ++++ configure 2008-09-16 15:09:50.000000000 +0200 |
| 8 | +@@ -1,8 +1,9 @@ |
| 9 | + #! /bin/sh |
| 10 | + # Guess values for system-dependent variables and create Makefiles. |
| 11 | +-# Generated by GNU Autoconf 2.59 for advance source. |
| 12 | ++# Generated by GNU Autoconf 2.61 for advance source. |
| 13 | + # |
| 14 | +-# Copyright (C) 2003 Free Software Foundation, Inc. |
| 15 | ++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 16 | ++# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 17 | + # This configure script is free software; the Free Software Foundation |
| 18 | + # gives unlimited permission to copy, distribute and modify it. |
| 19 | + # |
| 20 | +@@ -11,17 +12,45 @@ |
| 21 | + ## M4sh Initialization. ## |
| 22 | + ## --------------------- ## |
| 23 | + |
| 24 | +-# Be Bourne compatible |
| 25 | ++# Be more Bourne compatible |
| 26 | ++DUALCASE=1; export DUALCASE # for MKS sh |
| 27 | + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 28 | + emulate sh |
| 29 | + NULLCMD=: |
| 30 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 31 | + # is contrary to our usage. Disable this feature. |
| 32 | + alias -g '${1+"$@"}'='"$@"' |
| 33 | +-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 34 | +- set -o posix |
| 35 | ++ setopt NO_GLOB_SUBST |
| 36 | ++else |
| 37 | ++ case `(set -o) 2>/dev/null` in |
| 38 | ++ *posix*) set -o posix ;; |
| 39 | ++esac |
| 40 | ++ |
| 41 | ++fi |
| 42 | ++ |
| 43 | ++ |
| 44 | ++ |
| 45 | ++ |
| 46 | ++# PATH needs CR |
| 47 | ++# Avoid depending upon Character Ranges. |
| 48 | ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 49 | ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 50 | ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 51 | ++as_cr_digits='0123456789' |
| 52 | ++as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 53 | ++ |
| 54 | ++# The user is always right. |
| 55 | ++if test "${PATH_SEPARATOR+set}" != set; then |
| 56 | ++ echo "#! /bin/sh" >conf$$.sh |
| 57 | ++ echo "exit 0" >>conf$$.sh |
| 58 | ++ chmod +x conf$$.sh |
| 59 | ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 60 | ++ PATH_SEPARATOR=';' |
| 61 | ++ else |
| 62 | ++ PATH_SEPARATOR=: |
| 63 | ++ fi |
| 64 | ++ rm -f conf$$.sh |
| 65 | + fi |
| 66 | +-DUALCASE=1; export DUALCASE # for MKS sh |
| 67 | + |
| 68 | + # Support unset when possible. |
| 69 | + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 70 | +@@ -31,8 +60,43 @@ |
| 71 | + fi |
| 72 | + |
| 73 | + |
| 74 | ++# IFS |
| 75 | ++# We need space, tab and new line, in precisely that order. Quoting is |
| 76 | ++# there to prevent editors from complaining about space-tab. |
| 77 | ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 78 | ++# splitting by setting IFS to empty value.) |
| 79 | ++as_nl=' |
| 80 | ++' |
| 81 | ++IFS=" "" $as_nl" |
| 82 | ++ |
| 83 | ++# Find who we are. Look in the path if we contain no directory separator. |
| 84 | ++case $0 in |
| 85 | ++ *[\\/]* ) as_myself=$0 ;; |
| 86 | ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 87 | ++for as_dir in $PATH |
| 88 | ++do |
| 89 | ++ IFS=$as_save_IFS |
| 90 | ++ test -z "$as_dir" && as_dir=. |
| 91 | ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 92 | ++done |
| 93 | ++IFS=$as_save_IFS |
| 94 | ++ |
| 95 | ++ ;; |
| 96 | ++esac |
| 97 | ++# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 98 | ++# in which case we are not to be found in the path. |
| 99 | ++if test "x$as_myself" = x; then |
| 100 | ++ as_myself=$0 |
| 101 | ++fi |
| 102 | ++if test ! -f "$as_myself"; then |
| 103 | ++ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 104 | ++ { (exit 1); exit 1; } |
| 105 | ++fi |
| 106 | ++ |
| 107 | + # Work around bugs in pre-3.0 UWIN ksh. |
| 108 | +-$as_unset ENV MAIL MAILPATH |
| 109 | ++for as_var in ENV MAIL MAILPATH |
| 110 | ++do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 111 | ++done |
| 112 | + PS1='$ ' |
| 113 | + PS2='> ' |
| 114 | + PS4='+ ' |
| 115 | +@@ -46,18 +110,19 @@ |
| 116 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 117 | + eval $as_var=C; export $as_var |
| 118 | + else |
| 119 | +- $as_unset $as_var |
| 120 | ++ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 121 | + fi |
| 122 | + done |
| 123 | + |
| 124 | + # Required to use basename. |
| 125 | +-if expr a : '\(a\)' >/dev/null 2>&1; then |
| 126 | ++if expr a : '\(a\)' >/dev/null 2>&1 && |
| 127 | ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 128 | + as_expr=expr |
| 129 | + else |
| 130 | + as_expr=false |
| 131 | + fi |
| 132 | + |
| 133 | +-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 134 | ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 135 | + as_basename=basename |
| 136 | + else |
| 137 | + as_basename=false |
| 138 | +@@ -65,157 +130,388 @@ |
| 139 | + |
| 140 | + |
| 141 | + # Name of the executable. |
| 142 | +-as_me=`$as_basename "$0" || |
| 143 | ++as_me=`$as_basename -- "$0" || |
| 144 | + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 145 | + X"$0" : 'X\(//\)$' \| \ |
| 146 | +- X"$0" : 'X\(/\)$' \| \ |
| 147 | +- . : '\(.\)' 2>/dev/null || |
| 148 | ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 149 | + echo X/"$0" | |
| 150 | +- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 151 | +- /^X\/\(\/\/\)$/{ s//\1/; q; } |
| 152 | +- /^X\/\(\/\).*/{ s//\1/; q; } |
| 153 | +- s/.*/./; q'` |
| 154 | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 155 | ++ s//\1/ |
| 156 | ++ q |
| 157 | ++ } |
| 158 | ++ /^X\/\(\/\/\)$/{ |
| 159 | ++ s//\1/ |
| 160 | ++ q |
| 161 | ++ } |
| 162 | ++ /^X\/\(\/\).*/{ |
| 163 | ++ s//\1/ |
| 164 | ++ q |
| 165 | ++ } |
| 166 | ++ s/.*/./; q'` |
| 167 | + |
| 168 | ++# CDPATH. |
| 169 | ++$as_unset CDPATH |
| 170 | + |
| 171 | +-# PATH needs CR, and LINENO needs CR and PATH. |
| 172 | +-# Avoid depending upon Character Ranges. |
| 173 | +-as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 174 | +-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 175 | +-as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 176 | +-as_cr_digits='0123456789' |
| 177 | +-as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 178 | + |
| 179 | +-# The user is always right. |
| 180 | +-if test "${PATH_SEPARATOR+set}" != set; then |
| 181 | +- echo "#! /bin/sh" >conf$$.sh |
| 182 | +- echo "exit 0" >>conf$$.sh |
| 183 | +- chmod +x conf$$.sh |
| 184 | +- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 185 | +- PATH_SEPARATOR=';' |
| 186 | +- else |
| 187 | +- PATH_SEPARATOR=: |
| 188 | +- fi |
| 189 | +- rm -f conf$$.sh |
| 190 | ++if test "x$CONFIG_SHELL" = x; then |
| 191 | ++ if (eval ":") 2>/dev/null; then |
| 192 | ++ as_have_required=yes |
| 193 | ++else |
| 194 | ++ as_have_required=no |
| 195 | ++fi |
| 196 | ++ |
| 197 | ++ if test $as_have_required = yes && (eval ": |
| 198 | ++(as_func_return () { |
| 199 | ++ (exit \$1) |
| 200 | ++} |
| 201 | ++as_func_success () { |
| 202 | ++ as_func_return 0 |
| 203 | ++} |
| 204 | ++as_func_failure () { |
| 205 | ++ as_func_return 1 |
| 206 | ++} |
| 207 | ++as_func_ret_success () { |
| 208 | ++ return 0 |
| 209 | ++} |
| 210 | ++as_func_ret_failure () { |
| 211 | ++ return 1 |
| 212 | ++} |
| 213 | ++ |
| 214 | ++exitcode=0 |
| 215 | ++if as_func_success; then |
| 216 | ++ : |
| 217 | ++else |
| 218 | ++ exitcode=1 |
| 219 | ++ echo as_func_success failed. |
| 220 | + fi |
| 221 | + |
| 222 | ++if as_func_failure; then |
| 223 | ++ exitcode=1 |
| 224 | ++ echo as_func_failure succeeded. |
| 225 | ++fi |
| 226 | + |
| 227 | +- as_lineno_1=$LINENO |
| 228 | +- as_lineno_2=$LINENO |
| 229 | +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 230 | +- test "x$as_lineno_1" != "x$as_lineno_2" && |
| 231 | +- test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 232 | +- # Find who we are. Look in the path if we contain no path at all |
| 233 | +- # relative or not. |
| 234 | +- case $0 in |
| 235 | +- *[\\/]* ) as_myself=$0 ;; |
| 236 | +- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 237 | +-for as_dir in $PATH |
| 238 | +-do |
| 239 | +- IFS=$as_save_IFS |
| 240 | +- test -z "$as_dir" && as_dir=. |
| 241 | +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 242 | +-done |
| 243 | ++if as_func_ret_success; then |
| 244 | ++ : |
| 245 | ++else |
| 246 | ++ exitcode=1 |
| 247 | ++ echo as_func_ret_success failed. |
| 248 | ++fi |
| 249 | + |
| 250 | +- ;; |
| 251 | +- esac |
| 252 | +- # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 253 | +- # in which case we are not to be found in the path. |
| 254 | +- if test "x$as_myself" = x; then |
| 255 | +- as_myself=$0 |
| 256 | +- fi |
| 257 | +- if test ! -f "$as_myself"; then |
| 258 | +- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
| 259 | +- { (exit 1); exit 1; }; } |
| 260 | +- fi |
| 261 | +- case $CONFIG_SHELL in |
| 262 | +- '') |
| 263 | ++if as_func_ret_failure; then |
| 264 | ++ exitcode=1 |
| 265 | ++ echo as_func_ret_failure succeeded. |
| 266 | ++fi |
| 267 | ++ |
| 268 | ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 269 | ++ : |
| 270 | ++else |
| 271 | ++ exitcode=1 |
| 272 | ++ echo positional parameters were not saved. |
| 273 | ++fi |
| 274 | ++ |
| 275 | ++test \$exitcode = 0) || { (exit 1); exit 1; } |
| 276 | ++ |
| 277 | ++( |
| 278 | ++ as_lineno_1=\$LINENO |
| 279 | ++ as_lineno_2=\$LINENO |
| 280 | ++ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
| 281 | ++ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
| 282 | ++") 2> /dev/null; then |
| 283 | ++ : |
| 284 | ++else |
| 285 | ++ as_candidate_shells= |
| 286 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 287 | + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 288 | + do |
| 289 | + IFS=$as_save_IFS |
| 290 | + test -z "$as_dir" && as_dir=. |
| 291 | +- for as_base in sh bash ksh sh5; do |
| 292 | +- case $as_dir in |
| 293 | ++ case $as_dir in |
| 294 | + /*) |
| 295 | +- if ("$as_dir/$as_base" -c ' |
| 296 | ++ for as_base in sh bash ksh sh5; do |
| 297 | ++ as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 298 | ++ done;; |
| 299 | ++ esac |
| 300 | ++done |
| 301 | ++IFS=$as_save_IFS |
| 302 | ++ |
| 303 | ++ |
| 304 | ++ for as_shell in $as_candidate_shells $SHELL; do |
| 305 | ++ # Try only shells that exist, to save several forks. |
| 306 | ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 307 | ++ { ("$as_shell") 2> /dev/null <<\_ASEOF |
| 308 | ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 309 | ++ emulate sh |
| 310 | ++ NULLCMD=: |
| 311 | ++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 312 | ++ # is contrary to our usage. Disable this feature. |
| 313 | ++ alias -g '${1+"$@"}'='"$@"' |
| 314 | ++ setopt NO_GLOB_SUBST |
| 315 | ++else |
| 316 | ++ case `(set -o) 2>/dev/null` in |
| 317 | ++ *posix*) set -o posix ;; |
| 318 | ++esac |
| 319 | ++ |
| 320 | ++fi |
| 321 | ++ |
| 322 | ++ |
| 323 | ++: |
| 324 | ++_ASEOF |
| 325 | ++}; then |
| 326 | ++ CONFIG_SHELL=$as_shell |
| 327 | ++ as_have_required=yes |
| 328 | ++ if { "$as_shell" 2> /dev/null <<\_ASEOF |
| 329 | ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 330 | ++ emulate sh |
| 331 | ++ NULLCMD=: |
| 332 | ++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 333 | ++ # is contrary to our usage. Disable this feature. |
| 334 | ++ alias -g '${1+"$@"}'='"$@"' |
| 335 | ++ setopt NO_GLOB_SUBST |
| 336 | ++else |
| 337 | ++ case `(set -o) 2>/dev/null` in |
| 338 | ++ *posix*) set -o posix ;; |
| 339 | ++esac |
| 340 | ++ |
| 341 | ++fi |
| 342 | ++ |
| 343 | ++ |
| 344 | ++: |
| 345 | ++(as_func_return () { |
| 346 | ++ (exit $1) |
| 347 | ++} |
| 348 | ++as_func_success () { |
| 349 | ++ as_func_return 0 |
| 350 | ++} |
| 351 | ++as_func_failure () { |
| 352 | ++ as_func_return 1 |
| 353 | ++} |
| 354 | ++as_func_ret_success () { |
| 355 | ++ return 0 |
| 356 | ++} |
| 357 | ++as_func_ret_failure () { |
| 358 | ++ return 1 |
| 359 | ++} |
| 360 | ++ |
| 361 | ++exitcode=0 |
| 362 | ++if as_func_success; then |
| 363 | ++ : |
| 364 | ++else |
| 365 | ++ exitcode=1 |
| 366 | ++ echo as_func_success failed. |
| 367 | ++fi |
| 368 | ++ |
| 369 | ++if as_func_failure; then |
| 370 | ++ exitcode=1 |
| 371 | ++ echo as_func_failure succeeded. |
| 372 | ++fi |
| 373 | ++ |
| 374 | ++if as_func_ret_success; then |
| 375 | ++ : |
| 376 | ++else |
| 377 | ++ exitcode=1 |
| 378 | ++ echo as_func_ret_success failed. |
| 379 | ++fi |
| 380 | ++ |
| 381 | ++if as_func_ret_failure; then |
| 382 | ++ exitcode=1 |
| 383 | ++ echo as_func_ret_failure succeeded. |
| 384 | ++fi |
| 385 | ++ |
| 386 | ++if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 387 | ++ : |
| 388 | ++else |
| 389 | ++ exitcode=1 |
| 390 | ++ echo positional parameters were not saved. |
| 391 | ++fi |
| 392 | ++ |
| 393 | ++test $exitcode = 0) || { (exit 1); exit 1; } |
| 394 | ++ |
| 395 | ++( |
| 396 | + as_lineno_1=$LINENO |
| 397 | + as_lineno_2=$LINENO |
| 398 | +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 399 | + test "x$as_lineno_1" != "x$as_lineno_2" && |
| 400 | +- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 401 | +- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 402 | +- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 403 | +- CONFIG_SHELL=$as_dir/$as_base |
| 404 | +- export CONFIG_SHELL |
| 405 | +- exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 406 | +- fi;; |
| 407 | +- esac |
| 408 | +- done |
| 409 | +-done |
| 410 | +-;; |
| 411 | +- esac |
| 412 | ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 413 | ++ |
| 414 | ++_ASEOF |
| 415 | ++}; then |
| 416 | ++ break |
| 417 | ++fi |
| 418 | ++ |
| 419 | ++fi |
| 420 | ++ |
| 421 | ++ done |
| 422 | ++ |
| 423 | ++ if test "x$CONFIG_SHELL" != x; then |
| 424 | ++ for as_var in BASH_ENV ENV |
| 425 | ++ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 426 | ++ done |
| 427 | ++ export CONFIG_SHELL |
| 428 | ++ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 429 | ++fi |
| 430 | ++ |
| 431 | ++ |
| 432 | ++ if test $as_have_required = no; then |
| 433 | ++ echo This script requires a shell more modern than all the |
| 434 | ++ echo shells that I found on your system. Please install a |
| 435 | ++ echo modern shell, or manually run the script under such a |
| 436 | ++ echo shell if you do have one. |
| 437 | ++ { (exit 1); exit 1; } |
| 438 | ++fi |
| 439 | ++ |
| 440 | ++ |
| 441 | ++fi |
| 442 | ++ |
| 443 | ++fi |
| 444 | ++ |
| 445 | ++ |
| 446 | ++ |
| 447 | ++(eval "as_func_return () { |
| 448 | ++ (exit \$1) |
| 449 | ++} |
| 450 | ++as_func_success () { |
| 451 | ++ as_func_return 0 |
| 452 | ++} |
| 453 | ++as_func_failure () { |
| 454 | ++ as_func_return 1 |
| 455 | ++} |
| 456 | ++as_func_ret_success () { |
| 457 | ++ return 0 |
| 458 | ++} |
| 459 | ++as_func_ret_failure () { |
| 460 | ++ return 1 |
| 461 | ++} |
| 462 | ++ |
| 463 | ++exitcode=0 |
| 464 | ++if as_func_success; then |
| 465 | ++ : |
| 466 | ++else |
| 467 | ++ exitcode=1 |
| 468 | ++ echo as_func_success failed. |
| 469 | ++fi |
| 470 | ++ |
| 471 | ++if as_func_failure; then |
| 472 | ++ exitcode=1 |
| 473 | ++ echo as_func_failure succeeded. |
| 474 | ++fi |
| 475 | ++ |
| 476 | ++if as_func_ret_success; then |
| 477 | ++ : |
| 478 | ++else |
| 479 | ++ exitcode=1 |
| 480 | ++ echo as_func_ret_success failed. |
| 481 | ++fi |
| 482 | ++ |
| 483 | ++if as_func_ret_failure; then |
| 484 | ++ exitcode=1 |
| 485 | ++ echo as_func_ret_failure succeeded. |
| 486 | ++fi |
| 487 | ++ |
| 488 | ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 489 | ++ : |
| 490 | ++else |
| 491 | ++ exitcode=1 |
| 492 | ++ echo positional parameters were not saved. |
| 493 | ++fi |
| 494 | ++ |
| 495 | ++test \$exitcode = 0") || { |
| 496 | ++ echo No shell found that supports shell functions. |
| 497 | ++ echo Please tell autoconf@gnu.org about your system, |
| 498 | ++ echo including any error possibly output before this |
| 499 | ++ echo message |
| 500 | ++} |
| 501 | ++ |
| 502 | ++ |
| 503 | ++ |
| 504 | ++ as_lineno_1=$LINENO |
| 505 | ++ as_lineno_2=$LINENO |
| 506 | ++ test "x$as_lineno_1" != "x$as_lineno_2" && |
| 507 | ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 508 | + |
| 509 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 510 | + # uniformly replaced by the line number. The first 'sed' inserts a |
| 511 | +- # line-number line before each line; the second 'sed' does the real |
| 512 | +- # work. The second script uses 'N' to pair each line-number line |
| 513 | +- # with the numbered line, and appends trailing '-' during |
| 514 | +- # substitution so that $LINENO is not a special case at line end. |
| 515 | ++ # line-number line after each line using $LINENO; the second 'sed' |
| 516 | ++ # does the real work. The second script uses 'N' to pair each |
| 517 | ++ # line-number line with the line containing $LINENO, and appends |
| 518 | ++ # trailing '-' during substitution so that $LINENO is not a special |
| 519 | ++ # case at line end. |
| 520 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 521 | +- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 522 | +- sed '=' <$as_myself | |
| 523 | ++ # scripts with optimization help from Paolo Bonzini. Blame Lee |
| 524 | ++ # E. McMahon (1931-1989) for sed's syntax. :-) |
| 525 | ++ sed -n ' |
| 526 | ++ p |
| 527 | ++ /[$]LINENO/= |
| 528 | ++ ' <$as_myself | |
| 529 | + sed ' |
| 530 | ++ s/[$]LINENO.*/&-/ |
| 531 | ++ t lineno |
| 532 | ++ b |
| 533 | ++ :lineno |
| 534 | + N |
| 535 | +- s,$,-, |
| 536 | +- : loop |
| 537 | +- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 538 | ++ :loop |
| 539 | ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 540 | + t loop |
| 541 | +- s,-$,, |
| 542 | +- s,^['$as_cr_digits']*\n,, |
| 543 | ++ s/-\n.*// |
| 544 | + ' >$as_me.lineno && |
| 545 | +- chmod +x $as_me.lineno || |
| 546 | ++ chmod +x "$as_me.lineno" || |
| 547 | + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 548 | + { (exit 1); exit 1; }; } |
| 549 | + |
| 550 | + # Don't try to exec as it changes $[0], causing all sort of problems |
| 551 | + # (the dirname of $[0] is not the place where we might find the |
| 552 | +- # original and so on. Autoconf is especially sensible to this). |
| 553 | +- . ./$as_me.lineno |
| 554 | ++ # original and so on. Autoconf is especially sensitive to this). |
| 555 | ++ . "./$as_me.lineno" |
| 556 | + # Exit status is that of the last command. |
| 557 | + exit |
| 558 | + } |
| 559 | + |
| 560 | + |
| 561 | +-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 562 | +- *c*,-n*) ECHO_N= ECHO_C=' |
| 563 | +-' ECHO_T=' ' ;; |
| 564 | +- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 565 | +- *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 566 | ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 567 | ++ as_dirname=dirname |
| 568 | ++else |
| 569 | ++ as_dirname=false |
| 570 | ++fi |
| 571 | ++ |
| 572 | ++ECHO_C= ECHO_N= ECHO_T= |
| 573 | ++case `echo -n x` in |
| 574 | ++-n*) |
| 575 | ++ case `echo 'x\c'` in |
| 576 | ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 577 | ++ *) ECHO_C='\c';; |
| 578 | ++ esac;; |
| 579 | ++*) |
| 580 | ++ ECHO_N='-n';; |
| 581 | + esac |
| 582 | + |
| 583 | +-if expr a : '\(a\)' >/dev/null 2>&1; then |
| 584 | ++if expr a : '\(a\)' >/dev/null 2>&1 && |
| 585 | ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 586 | + as_expr=expr |
| 587 | + else |
| 588 | + as_expr=false |
| 589 | + fi |
| 590 | + |
| 591 | + rm -f conf$$ conf$$.exe conf$$.file |
| 592 | ++if test -d conf$$.dir; then |
| 593 | ++ rm -f conf$$.dir/conf$$.file |
| 594 | ++else |
| 595 | ++ rm -f conf$$.dir |
| 596 | ++ mkdir conf$$.dir |
| 597 | ++fi |
| 598 | + echo >conf$$.file |
| 599 | + if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 600 | +- # We could just check for DJGPP; but this test a) works b) is more generic |
| 601 | +- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 602 | +- if test -f conf$$.exe; then |
| 603 | +- # Don't use ln at all; we don't have any links |
| 604 | ++ as_ln_s='ln -s' |
| 605 | ++ # ... but there are two gotchas: |
| 606 | ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 607 | ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 608 | ++ # In both cases, we have to default to `cp -p'. |
| 609 | ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 610 | + as_ln_s='cp -p' |
| 611 | +- else |
| 612 | +- as_ln_s='ln -s' |
| 613 | +- fi |
| 614 | + elif ln conf$$.file conf$$ 2>/dev/null; then |
| 615 | + as_ln_s=ln |
| 616 | + else |
| 617 | + as_ln_s='cp -p' |
| 618 | + fi |
| 619 | +-rm -f conf$$ conf$$.exe conf$$.file |
| 620 | ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 621 | ++rmdir conf$$.dir 2>/dev/null |
| 622 | + |
| 623 | + if mkdir -p . 2>/dev/null; then |
| 624 | + as_mkdir_p=: |
| 625 | +@@ -224,7 +520,28 @@ |
| 626 | + as_mkdir_p=false |
| 627 | + fi |
| 628 | + |
| 629 | +-as_executable_p="test -f" |
| 630 | ++if test -x / >/dev/null 2>&1; then |
| 631 | ++ as_test_x='test -x' |
| 632 | ++else |
| 633 | ++ if ls -dL / >/dev/null 2>&1; then |
| 634 | ++ as_ls_L_option=L |
| 635 | ++ else |
| 636 | ++ as_ls_L_option= |
| 637 | ++ fi |
| 638 | ++ as_test_x=' |
| 639 | ++ eval sh -c '\'' |
| 640 | ++ if test -d "$1"; then |
| 641 | ++ test -d "$1/."; |
| 642 | ++ else |
| 643 | ++ case $1 in |
| 644 | ++ -*)set "./$1";; |
| 645 | ++ esac; |
| 646 | ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 647 | ++ ???[sx]*):;;*)false;;esac;fi |
| 648 | ++ '\'' sh |
| 649 | ++ ' |
| 650 | ++fi |
| 651 | ++as_executable_p=$as_test_x |
| 652 | + |
| 653 | + # Sed expression to map a string onto a valid CPP name. |
| 654 | + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 655 | +@@ -233,39 +550,27 @@ |
| 656 | + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 657 | + |
| 658 | + |
| 659 | +-# IFS |
| 660 | +-# We need space, tab and new line, in precisely that order. |
| 661 | +-as_nl=' |
| 662 | +-' |
| 663 | +-IFS=" $as_nl" |
| 664 | +- |
| 665 | +-# CDPATH. |
| 666 | +-$as_unset CDPATH |
| 667 | + |
| 668 | ++exec 7<&0 </dev/null 6>&1 |
| 669 | + |
| 670 | + # Name of the host. |
| 671 | + # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 672 | + # so uname gets run too. |
| 673 | + ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 674 | + |
| 675 | +-exec 6>&1 |
| 676 | +- |
| 677 | + # |
| 678 | + # Initializations. |
| 679 | + # |
| 680 | + ac_default_prefix=/usr/local |
| 681 | ++ac_clean_files= |
| 682 | + ac_config_libobj_dir=. |
| 683 | ++LIBOBJS= |
| 684 | + cross_compiling=no |
| 685 | + subdirs= |
| 686 | + MFLAGS= |
| 687 | + MAKEFLAGS= |
| 688 | + SHELL=${CONFIG_SHELL-/bin/sh} |
| 689 | + |
| 690 | +-# Maximum number of lines to put in a shell here document. |
| 691 | +-# This variable seems obsolete. It should probably be removed, and |
| 692 | +-# only ac_max_sed_lines should be used. |
| 693 | +-: ${ac_max_here_lines=38} |
| 694 | +- |
| 695 | + # Identity of this package. |
| 696 | + PACKAGE_NAME='advance' |
| 697 | + PACKAGE_TARNAME='advance' |
| 698 | +@@ -276,42 +581,172 @@ |
| 699 | + # Factoring default headers for most tests. |
| 700 | + ac_includes_default="\ |
| 701 | + #include <stdio.h> |
| 702 | +-#if HAVE_SYS_TYPES_H |
| 703 | ++#ifdef HAVE_SYS_TYPES_H |
| 704 | + # include <sys/types.h> |
| 705 | + #endif |
| 706 | +-#if HAVE_SYS_STAT_H |
| 707 | ++#ifdef HAVE_SYS_STAT_H |
| 708 | + # include <sys/stat.h> |
| 709 | + #endif |
| 710 | +-#if STDC_HEADERS |
| 711 | ++#ifdef STDC_HEADERS |
| 712 | + # include <stdlib.h> |
| 713 | + # include <stddef.h> |
| 714 | + #else |
| 715 | +-# if HAVE_STDLIB_H |
| 716 | ++# ifdef HAVE_STDLIB_H |
| 717 | + # include <stdlib.h> |
| 718 | + # endif |
| 719 | + #endif |
| 720 | +-#if HAVE_STRING_H |
| 721 | +-# if !STDC_HEADERS && HAVE_MEMORY_H |
| 722 | ++#ifdef HAVE_STRING_H |
| 723 | ++# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 724 | + # include <memory.h> |
| 725 | + # endif |
| 726 | + # include <string.h> |
| 727 | + #endif |
| 728 | +-#if HAVE_STRINGS_H |
| 729 | ++#ifdef HAVE_STRINGS_H |
| 730 | + # include <strings.h> |
| 731 | + #endif |
| 732 | +-#if HAVE_INTTYPES_H |
| 733 | ++#ifdef HAVE_INTTYPES_H |
| 734 | + # include <inttypes.h> |
| 735 | +-#else |
| 736 | +-# if HAVE_STDINT_H |
| 737 | +-# include <stdint.h> |
| 738 | +-# endif |
| 739 | + #endif |
| 740 | +-#if HAVE_UNISTD_H |
| 741 | ++#ifdef HAVE_STDINT_H |
| 742 | ++# include <stdint.h> |
| 743 | ++#endif |
| 744 | ++#ifdef HAVE_UNISTD_H |
| 745 | + # include <unistd.h> |
| 746 | + #endif" |
| 747 | + |
| 748 | +-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os ASMFLAGS CFLAGS_FOR_BUILD EXE CONF_SYSTEM CONF_HOST EXE_FOR_BUILD CONF_BUILD CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S AR ac_ct_AR RC ac_ct_RC RM CP MKDIR ECHO TAR GZIP ZIP CC_FOR_BUILD CXX_FOR_BUILD CONF_DEBUG CONF_CFLAGS_OPT CONF_LDFLAGS CPP EGREP ASM CONF_CFLAGS_ARCH CONF_EMU CONF_DEBUGGER ALLOCA CONF_LIB_ZLIB CONF_LIB_EXPAT CONF_LIB_SVGALIB CONF_LIB_FB CONF_LIB_ALSA CONF_LIB_OSS CONF_LIB_PTHREAD CONF_LIB_SLANG CONF_LIB_NCURSES ac_lib_freetype_config FREETYPECFLAGS FREETYPELIBS CONF_LIB_FREETYPE ac_lib_sdl_config SDLCFLAGS SDLLIBS CONF_LIB_SDL CONF_LIB_SVGAWIN CONF_LIB_MRAWINPUT CONF_LIB_MCPN CONF_LIB_KRAW CONF_LIB_JRAW CONF_LIB_MRAW CONF_LIB_MEVENT CONF_LIB_KEVENT CONF_LIB_JEVENT CONF_LIB_DIRECT LIBOBJS LTLIBOBJS' |
| 749 | ++ac_subst_vars='SHELL |
| 750 | ++PATH_SEPARATOR |
| 751 | ++PACKAGE_NAME |
| 752 | ++PACKAGE_TARNAME |
| 753 | ++PACKAGE_VERSION |
| 754 | ++PACKAGE_STRING |
| 755 | ++PACKAGE_BUGREPORT |
| 756 | ++exec_prefix |
| 757 | ++prefix |
| 758 | ++program_transform_name |
| 759 | ++bindir |
| 760 | ++sbindir |
| 761 | ++libexecdir |
| 762 | ++datarootdir |
| 763 | ++datadir |
| 764 | ++sysconfdir |
| 765 | ++sharedstatedir |
| 766 | ++localstatedir |
| 767 | ++includedir |
| 768 | ++oldincludedir |
| 769 | ++docdir |
| 770 | ++infodir |
| 771 | ++htmldir |
| 772 | ++dvidir |
| 773 | ++pdfdir |
| 774 | ++psdir |
| 775 | ++libdir |
| 776 | ++localedir |
| 777 | ++mandir |
| 778 | ++DEFS |
| 779 | ++ECHO_C |
| 780 | ++ECHO_N |
| 781 | ++ECHO_T |
| 782 | ++LIBS |
| 783 | ++build_alias |
| 784 | ++host_alias |
| 785 | ++target_alias |
| 786 | ++build |
| 787 | ++build_cpu |
| 788 | ++build_vendor |
| 789 | ++build_os |
| 790 | ++host |
| 791 | ++host_cpu |
| 792 | ++host_vendor |
| 793 | ++host_os |
| 794 | ++ASMFLAGS |
| 795 | ++CFLAGS_FOR_BUILD |
| 796 | ++EXE |
| 797 | ++CONF_SYSTEM |
| 798 | ++CONF_HOST |
| 799 | ++EXE_FOR_BUILD |
| 800 | ++CONF_BUILD |
| 801 | ++CC |
| 802 | ++CFLAGS |
| 803 | ++LDFLAGS |
| 804 | ++CPPFLAGS |
| 805 | ++ac_ct_CC |
| 806 | ++EXEEXT |
| 807 | ++OBJEXT |
| 808 | ++CXX |
| 809 | ++CXXFLAGS |
| 810 | ++ac_ct_CXX |
| 811 | ++INSTALL_PROGRAM |
| 812 | ++INSTALL_SCRIPT |
| 813 | ++INSTALL_DATA |
| 814 | ++LN_S |
| 815 | ++AR |
| 816 | ++ac_ct_AR |
| 817 | ++RC |
| 818 | ++ac_ct_RC |
| 819 | ++RM |
| 820 | ++CP |
| 821 | ++MKDIR |
| 822 | ++ECHO |
| 823 | ++TAR |
| 824 | ++GZIP |
| 825 | ++ZIP |
| 826 | ++CC_FOR_BUILD |
| 827 | ++CXX_FOR_BUILD |
| 828 | ++CONF_DEBUG |
| 829 | ++CONF_CFLAGS_OPT |
| 830 | ++CONF_LDFLAGS |
| 831 | ++CPP |
| 832 | ++GREP |
| 833 | ++EGREP |
| 834 | ++ASM |
| 835 | ++CONF_CFLAGS_ARCH |
| 836 | ++CONF_EMU |
| 837 | ++CONF_DEBUGGER |
| 838 | ++ALLOCA |
| 839 | ++CONF_LIB_ZLIB |
| 840 | ++CONF_LIB_EXPAT |
| 841 | ++CONF_LIB_SVGALIB |
| 842 | ++CONF_LIB_FB |
| 843 | ++CONF_LIB_ALSA |
| 844 | ++CONF_LIB_OSS |
| 845 | ++CONF_LIB_PTHREAD |
| 846 | ++CONF_LIB_SLANG |
| 847 | ++CONF_LIB_NCURSES |
| 848 | ++ac_lib_freetype_config |
| 849 | ++FREETYPECFLAGS |
| 850 | ++FREETYPELIBS |
| 851 | ++CONF_LIB_FREETYPE |
| 852 | ++ac_lib_sdl_config |
| 853 | ++SDLCFLAGS |
| 854 | ++SDLLIBS |
| 855 | ++CONF_LIB_SDL |
| 856 | ++CONF_LIB_SVGAWIN |
| 857 | ++CONF_LIB_MRAWINPUT |
| 858 | ++CONF_LIB_MCPN |
| 859 | ++CONF_LIB_KRAW |
| 860 | ++CONF_LIB_JRAW |
| 861 | ++CONF_LIB_MRAW |
| 862 | ++CONF_LIB_MEVENT |
| 863 | ++CONF_LIB_KEVENT |
| 864 | ++CONF_LIB_JEVENT |
| 865 | ++CONF_LIB_DIRECT |
| 866 | ++LIBOBJS |
| 867 | ++LTLIBOBJS' |
| 868 | + ac_subst_files='' |
| 869 | ++ ac_precious_vars='build_alias |
| 870 | ++host_alias |
| 871 | ++target_alias |
| 872 | ++CC |
| 873 | ++CFLAGS |
| 874 | ++LDFLAGS |
| 875 | ++LIBS |
| 876 | ++CPPFLAGS |
| 877 | ++CXX |
| 878 | ++CXXFLAGS |
| 879 | ++CCC |
| 880 | ++CPP' |
| 881 | ++ |
| 882 | + |
| 883 | + # Initialize some variables set by options. |
| 884 | + ac_init_help= |
| 885 | +@@ -338,34 +773,48 @@ |
| 886 | + # and all the variables that are supposed to be based on exec_prefix |
| 887 | + # by default will actually change. |
| 888 | + # Use braces instead of parens because sh, perl, etc. also accept them. |
| 889 | ++# (The list follows the same order as the GNU Coding Standards.) |
| 890 | + bindir='${exec_prefix}/bin' |
| 891 | + sbindir='${exec_prefix}/sbin' |
| 892 | + libexecdir='${exec_prefix}/libexec' |
| 893 | +-datadir='${prefix}/share' |
| 894 | ++datarootdir='${prefix}/share' |
| 895 | ++datadir='${datarootdir}' |
| 896 | + sysconfdir='${prefix}/etc' |
| 897 | + sharedstatedir='${prefix}/com' |
| 898 | + localstatedir='${prefix}/var' |
| 899 | +-libdir='${exec_prefix}/lib' |
| 900 | + includedir='${prefix}/include' |
| 901 | + oldincludedir='/usr/include' |
| 902 | +-infodir='${prefix}/info' |
| 903 | +-mandir='${prefix}/man' |
| 904 | ++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 905 | ++infodir='${datarootdir}/info' |
| 906 | ++htmldir='${docdir}' |
| 907 | ++dvidir='${docdir}' |
| 908 | ++pdfdir='${docdir}' |
| 909 | ++psdir='${docdir}' |
| 910 | ++libdir='${exec_prefix}/lib' |
| 911 | ++localedir='${datarootdir}/locale' |
| 912 | ++mandir='${datarootdir}/man' |
| 913 | + |
| 914 | + ac_prev= |
| 915 | ++ac_dashdash= |
| 916 | + for ac_option |
| 917 | + do |
| 918 | + # If the previous option needs an argument, assign it. |
| 919 | + if test -n "$ac_prev"; then |
| 920 | +- eval "$ac_prev=\$ac_option" |
| 921 | ++ eval $ac_prev=\$ac_option |
| 922 | + ac_prev= |
| 923 | + continue |
| 924 | + fi |
| 925 | + |
| 926 | +- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| 927 | ++ case $ac_option in |
| 928 | ++ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 929 | ++ *) ac_optarg=yes ;; |
| 930 | ++ esac |
| 931 | + |
| 932 | + # Accept the important Cygnus configure options, so we can diagnose typos. |
| 933 | + |
| 934 | +- case $ac_option in |
| 935 | ++ case $ac_dashdash$ac_option in |
| 936 | ++ --) |
| 937 | ++ ac_dashdash=yes ;; |
| 938 | + |
| 939 | + -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 940 | + ac_prev=bindir ;; |
| 941 | +@@ -387,33 +836,45 @@ |
| 942 | + --config-cache | -C) |
| 943 | + cache_file=config.cache ;; |
| 944 | + |
| 945 | +- -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 946 | ++ -datadir | --datadir | --datadi | --datad) |
| 947 | + ac_prev=datadir ;; |
| 948 | +- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 949 | +- | --da=*) |
| 950 | ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 951 | + datadir=$ac_optarg ;; |
| 952 | + |
| 953 | ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 954 | ++ | --dataroo | --dataro | --datar) |
| 955 | ++ ac_prev=datarootdir ;; |
| 956 | ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 957 | ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 958 | ++ datarootdir=$ac_optarg ;; |
| 959 | ++ |
| 960 | + -disable-* | --disable-*) |
| 961 | + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 962 | + # Reject names that are not valid shell variable names. |
| 963 | +- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 964 | ++ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 965 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 966 | + { (exit 1); exit 1; }; } |
| 967 | +- ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 968 | +- eval "enable_$ac_feature=no" ;; |
| 969 | ++ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 970 | ++ eval enable_$ac_feature=no ;; |
| 971 | ++ |
| 972 | ++ -docdir | --docdir | --docdi | --doc | --do) |
| 973 | ++ ac_prev=docdir ;; |
| 974 | ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 975 | ++ docdir=$ac_optarg ;; |
| 976 | ++ |
| 977 | ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 978 | ++ ac_prev=dvidir ;; |
| 979 | ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 980 | ++ dvidir=$ac_optarg ;; |
| 981 | + |
| 982 | + -enable-* | --enable-*) |
| 983 | + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 984 | + # Reject names that are not valid shell variable names. |
| 985 | +- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 986 | ++ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 987 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 988 | + { (exit 1); exit 1; }; } |
| 989 | +- ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 990 | +- case $ac_option in |
| 991 | +- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 992 | +- *) ac_optarg=yes ;; |
| 993 | +- esac |
| 994 | +- eval "enable_$ac_feature='$ac_optarg'" ;; |
| 995 | ++ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 996 | ++ eval enable_$ac_feature=\$ac_optarg ;; |
| 997 | + |
| 998 | + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 999 | + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 1000 | +@@ -440,6 +901,12 @@ |
| 1001 | + -host=* | --host=* | --hos=* | --ho=*) |
| 1002 | + host_alias=$ac_optarg ;; |
| 1003 | + |
| 1004 | ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1005 | ++ ac_prev=htmldir ;; |
| 1006 | ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 1007 | ++ | --ht=*) |
| 1008 | ++ htmldir=$ac_optarg ;; |
| 1009 | ++ |
| 1010 | + -includedir | --includedir | --includedi | --included | --include \ |
| 1011 | + | --includ | --inclu | --incl | --inc) |
| 1012 | + ac_prev=includedir ;; |
| 1013 | +@@ -464,13 +931,16 @@ |
| 1014 | + | --libexe=* | --libex=* | --libe=*) |
| 1015 | + libexecdir=$ac_optarg ;; |
| 1016 | + |
| 1017 | ++ -localedir | --localedir | --localedi | --localed | --locale) |
| 1018 | ++ ac_prev=localedir ;; |
| 1019 | ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 1020 | ++ localedir=$ac_optarg ;; |
| 1021 | ++ |
| 1022 | + -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1023 | +- | --localstate | --localstat | --localsta | --localst \ |
| 1024 | +- | --locals | --local | --loca | --loc | --lo) |
| 1025 | ++ | --localstate | --localstat | --localsta | --localst | --locals) |
| 1026 | + ac_prev=localstatedir ;; |
| 1027 | + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1028 | +- | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 1029 | +- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 1030 | ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1031 | + localstatedir=$ac_optarg ;; |
| 1032 | + |
| 1033 | + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 1034 | +@@ -535,6 +1005,16 @@ |
| 1035 | + | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1036 | + program_transform_name=$ac_optarg ;; |
| 1037 | + |
| 1038 | ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1039 | ++ ac_prev=pdfdir ;; |
| 1040 | ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1041 | ++ pdfdir=$ac_optarg ;; |
| 1042 | ++ |
| 1043 | ++ -psdir | --psdir | --psdi | --psd | --ps) |
| 1044 | ++ ac_prev=psdir ;; |
| 1045 | ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1046 | ++ psdir=$ac_optarg ;; |
| 1047 | ++ |
| 1048 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1049 | + | -silent | --silent | --silen | --sile | --sil) |
| 1050 | + silent=yes ;; |
| 1051 | +@@ -587,24 +1067,20 @@ |
| 1052 | + -with-* | --with-*) |
| 1053 | + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1054 | + # Reject names that are not valid shell variable names. |
| 1055 | +- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 1056 | ++ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1057 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1058 | + { (exit 1); exit 1; }; } |
| 1059 | +- ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 1060 | +- case $ac_option in |
| 1061 | +- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 1062 | +- *) ac_optarg=yes ;; |
| 1063 | +- esac |
| 1064 | +- eval "with_$ac_package='$ac_optarg'" ;; |
| 1065 | ++ ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1066 | ++ eval with_$ac_package=\$ac_optarg ;; |
| 1067 | + |
| 1068 | + -without-* | --without-*) |
| 1069 | + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1070 | + # Reject names that are not valid shell variable names. |
| 1071 | +- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 1072 | ++ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1073 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1074 | + { (exit 1); exit 1; }; } |
| 1075 | +- ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 1076 | +- eval "with_$ac_package=no" ;; |
| 1077 | ++ ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1078 | ++ eval with_$ac_package=no ;; |
| 1079 | + |
| 1080 | + --x) |
| 1081 | + # Obsolete; use --with-x. |
| 1082 | +@@ -635,8 +1111,7 @@ |
| 1083 | + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1084 | + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1085 | + { (exit 1); exit 1; }; } |
| 1086 | +- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| 1087 | +- eval "$ac_envvar='$ac_optarg'" |
| 1088 | ++ eval $ac_envvar=\$ac_optarg |
| 1089 | + export $ac_envvar ;; |
| 1090 | + |
| 1091 | + *) |
| 1092 | +@@ -656,27 +1131,19 @@ |
| 1093 | + { (exit 1); exit 1; }; } |
| 1094 | + fi |
| 1095 | + |
| 1096 | +-# Be sure to have absolute paths. |
| 1097 | +-for ac_var in exec_prefix prefix |
| 1098 | +-do |
| 1099 | +- eval ac_val=$`echo $ac_var` |
| 1100 | +- case $ac_val in |
| 1101 | +- [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
| 1102 | +- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1103 | +- { (exit 1); exit 1; }; };; |
| 1104 | +- esac |
| 1105 | +-done |
| 1106 | +- |
| 1107 | +-# Be sure to have absolute paths. |
| 1108 | +-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 1109 | +- localstatedir libdir includedir oldincludedir infodir mandir |
| 1110 | ++# Be sure to have absolute directory names. |
| 1111 | ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1112 | ++ datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1113 | ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1114 | ++ libdir localedir mandir |
| 1115 | + do |
| 1116 | +- eval ac_val=$`echo $ac_var` |
| 1117 | ++ eval ac_val=\$$ac_var |
| 1118 | + case $ac_val in |
| 1119 | +- [\\/$]* | ?:[\\/]* ) ;; |
| 1120 | +- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1121 | +- { (exit 1); exit 1; }; };; |
| 1122 | ++ [\\/$]* | ?:[\\/]* ) continue;; |
| 1123 | ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1124 | + esac |
| 1125 | ++ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1126 | ++ { (exit 1); exit 1; }; } |
| 1127 | + done |
| 1128 | + |
| 1129 | + # There might be people who depend on the old broken behavior: `$host' |
| 1130 | +@@ -703,82 +1170,76 @@ |
| 1131 | + test "$silent" = yes && exec 6>/dev/null |
| 1132 | + |
| 1133 | + |
| 1134 | ++ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1135 | ++ac_ls_di=`ls -di .` && |
| 1136 | ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1137 | ++ { echo "$as_me: error: Working directory cannot be determined" >&2 |
| 1138 | ++ { (exit 1); exit 1; }; } |
| 1139 | ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1140 | ++ { echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1141 | ++ { (exit 1); exit 1; }; } |
| 1142 | ++ |
| 1143 | ++ |
| 1144 | + # Find the source files, if location was not specified. |
| 1145 | + if test -z "$srcdir"; then |
| 1146 | + ac_srcdir_defaulted=yes |
| 1147 | +- # Try the directory containing this script, then its parent. |
| 1148 | +- ac_confdir=`(dirname "$0") 2>/dev/null || |
| 1149 | ++ # Try the directory containing this script, then the parent directory. |
| 1150 | ++ ac_confdir=`$as_dirname -- "$0" || |
| 1151 | + $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1152 | + X"$0" : 'X\(//\)[^/]' \| \ |
| 1153 | + X"$0" : 'X\(//\)$' \| \ |
| 1154 | +- X"$0" : 'X\(/\)' \| \ |
| 1155 | +- . : '\(.\)' 2>/dev/null || |
| 1156 | ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 1157 | + echo X"$0" | |
| 1158 | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 1159 | +- /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 1160 | +- /^X\(\/\/\)$/{ s//\1/; q; } |
| 1161 | +- /^X\(\/\).*/{ s//\1/; q; } |
| 1162 | +- s/.*/./; q'` |
| 1163 | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1164 | ++ s//\1/ |
| 1165 | ++ q |
| 1166 | ++ } |
| 1167 | ++ /^X\(\/\/\)[^/].*/{ |
| 1168 | ++ s//\1/ |
| 1169 | ++ q |
| 1170 | ++ } |
| 1171 | ++ /^X\(\/\/\)$/{ |
| 1172 | ++ s//\1/ |
| 1173 | ++ q |
| 1174 | ++ } |
| 1175 | ++ /^X\(\/\).*/{ |
| 1176 | ++ s//\1/ |
| 1177 | ++ q |
| 1178 | ++ } |
| 1179 | ++ s/.*/./; q'` |
| 1180 | + srcdir=$ac_confdir |
| 1181 | +- if test ! -r $srcdir/$ac_unique_file; then |
| 1182 | ++ if test ! -r "$srcdir/$ac_unique_file"; then |
| 1183 | + srcdir=.. |
| 1184 | + fi |
| 1185 | + else |
| 1186 | + ac_srcdir_defaulted=no |
| 1187 | + fi |
| 1188 | +-if test ! -r $srcdir/$ac_unique_file; then |
| 1189 | +- if test "$ac_srcdir_defaulted" = yes; then |
| 1190 | +- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
| 1191 | +- { (exit 1); exit 1; }; } |
| 1192 | +- else |
| 1193 | +- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1194 | +- { (exit 1); exit 1; }; } |
| 1195 | +- fi |
| 1196 | +-fi |
| 1197 | +-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 1198 | +- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
| 1199 | +- { (exit 1); exit 1; }; } |
| 1200 | +-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 1201 | +-ac_env_build_alias_set=${build_alias+set} |
| 1202 | +-ac_env_build_alias_value=$build_alias |
| 1203 | +-ac_cv_env_build_alias_set=${build_alias+set} |
| 1204 | +-ac_cv_env_build_alias_value=$build_alias |
| 1205 | +-ac_env_host_alias_set=${host_alias+set} |
| 1206 | +-ac_env_host_alias_value=$host_alias |
| 1207 | +-ac_cv_env_host_alias_set=${host_alias+set} |
| 1208 | +-ac_cv_env_host_alias_value=$host_alias |
| 1209 | +-ac_env_target_alias_set=${target_alias+set} |
| 1210 | +-ac_env_target_alias_value=$target_alias |
| 1211 | +-ac_cv_env_target_alias_set=${target_alias+set} |
| 1212 | +-ac_cv_env_target_alias_value=$target_alias |
| 1213 | +-ac_env_CC_set=${CC+set} |
| 1214 | +-ac_env_CC_value=$CC |
| 1215 | +-ac_cv_env_CC_set=${CC+set} |
| 1216 | +-ac_cv_env_CC_value=$CC |
| 1217 | +-ac_env_CFLAGS_set=${CFLAGS+set} |
| 1218 | +-ac_env_CFLAGS_value=$CFLAGS |
| 1219 | +-ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 1220 | +-ac_cv_env_CFLAGS_value=$CFLAGS |
| 1221 | +-ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 1222 | +-ac_env_LDFLAGS_value=$LDFLAGS |
| 1223 | +-ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 1224 | +-ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 1225 | +-ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 1226 | +-ac_env_CPPFLAGS_value=$CPPFLAGS |
| 1227 | +-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 1228 | +-ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 1229 | +-ac_env_CXX_set=${CXX+set} |
| 1230 | +-ac_env_CXX_value=$CXX |
| 1231 | +-ac_cv_env_CXX_set=${CXX+set} |
| 1232 | +-ac_cv_env_CXX_value=$CXX |
| 1233 | +-ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 1234 | +-ac_env_CXXFLAGS_value=$CXXFLAGS |
| 1235 | +-ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 1236 | +-ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 1237 | +-ac_env_CPP_set=${CPP+set} |
| 1238 | +-ac_env_CPP_value=$CPP |
| 1239 | +-ac_cv_env_CPP_set=${CPP+set} |
| 1240 | +-ac_cv_env_CPP_value=$CPP |
| 1241 | ++if test ! -r "$srcdir/$ac_unique_file"; then |
| 1242 | ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1243 | ++ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1244 | ++ { (exit 1); exit 1; }; } |
| 1245 | ++fi |
| 1246 | ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1247 | ++ac_abs_confdir=`( |
| 1248 | ++ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
| 1249 | ++ { (exit 1); exit 1; }; } |
| 1250 | ++ pwd)` |
| 1251 | ++# When building in place, set srcdir=. |
| 1252 | ++if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1253 | ++ srcdir=. |
| 1254 | ++fi |
| 1255 | ++# Remove unnecessary trailing slashes from srcdir. |
| 1256 | ++# Double slashes in file names in object file debugging info |
| 1257 | ++# mess up M-x gdb in Emacs. |
| 1258 | ++case $srcdir in |
| 1259 | ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1260 | ++esac |
| 1261 | ++for ac_var in $ac_precious_vars; do |
| 1262 | ++ eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1263 | ++ eval ac_env_${ac_var}_value=\$${ac_var} |
| 1264 | ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1265 | ++ eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1266 | ++done |
| 1267 | + |
| 1268 | + # |
| 1269 | + # Report the --help message. |
| 1270 | +@@ -807,9 +1268,6 @@ |
| 1271 | + -n, --no-create do not create output files |
| 1272 | + --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1273 | + |
| 1274 | +-_ACEOF |
| 1275 | +- |
| 1276 | +- cat <<_ACEOF |
| 1277 | + Installation directories: |
| 1278 | + --prefix=PREFIX install architecture-independent files in PREFIX |
| 1279 | + [$ac_default_prefix] |
| 1280 | +@@ -827,15 +1285,22 @@ |
| 1281 | + --bindir=DIR user executables [EPREFIX/bin] |
| 1282 | + --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1283 | + --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1284 | +- --datadir=DIR read-only architecture-independent data [PREFIX/share] |
| 1285 | + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1286 | + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1287 | + --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1288 | + --libdir=DIR object code libraries [EPREFIX/lib] |
| 1289 | + --includedir=DIR C header files [PREFIX/include] |
| 1290 | + --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1291 | +- --infodir=DIR info documentation [PREFIX/info] |
| 1292 | +- --mandir=DIR man documentation [PREFIX/man] |
| 1293 | ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1294 | ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1295 | ++ --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1296 | ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1297 | ++ --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1298 | ++ --docdir=DIR documentation root [DATAROOTDIR/doc/advance] |
| 1299 | ++ --htmldir=DIR html documentation [DOCDIR] |
| 1300 | ++ --dvidir=DIR dvi documentation [DOCDIR] |
| 1301 | ++ --pdfdir=DIR pdf documentation [DOCDIR] |
| 1302 | ++ --psdir=DIR ps documentation [DOCDIR] |
| 1303 | + _ACEOF |
| 1304 | + |
| 1305 | + cat <<\_ACEOF |
| 1306 | +@@ -860,6 +1325,8 @@ |
| 1307 | + --enable-test enable the test compilation without optimization. |
| 1308 | + Only for developers. (default no) |
| 1309 | + --enable-static enable static compilation. (default no) |
| 1310 | ++ --enable-backtrace enable the usage of backtrace (default auto) |
| 1311 | ++ --enable-ucontexth enable the usage of ucontext.h (default auto) |
| 1312 | + --enable-asm enable the Pentium assembler optimizations (default |
| 1313 | + auto) |
| 1314 | + --enable-asm-mips3 enable the Pentium assembler MIPS3 emulator (default |
| 1315 | +@@ -912,8 +1379,9 @@ |
| 1316 | + CFLAGS C compiler flags |
| 1317 | + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1318 | + nonstandard directory <lib dir> |
| 1319 | +- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 1320 | +- headers in a nonstandard directory <include dir> |
| 1321 | ++ LIBS libraries to pass to the linker, e.g. -l<library> |
| 1322 | ++ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1323 | ++ you have headers in a nonstandard directory <include dir> |
| 1324 | + CXX C++ compiler command |
| 1325 | + CXXFLAGS C++ compiler flags |
| 1326 | + CPP C preprocessor |
| 1327 | +@@ -922,122 +1390,88 @@ |
| 1328 | + it to find libraries and programs with nonstandard names/locations. |
| 1329 | + |
| 1330 | + _ACEOF |
| 1331 | ++ac_status=$? |
| 1332 | + fi |
| 1333 | + |
| 1334 | + if test "$ac_init_help" = "recursive"; then |
| 1335 | + # If there are subdirs, report their specific --help. |
| 1336 | +- ac_popdir=`pwd` |
| 1337 | + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1338 | +- test -d $ac_dir || continue |
| 1339 | ++ test -d "$ac_dir" || continue |
| 1340 | + ac_builddir=. |
| 1341 | + |
| 1342 | +-if test "$ac_dir" != .; then |
| 1343 | ++case "$ac_dir" in |
| 1344 | ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1345 | ++*) |
| 1346 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 1347 | +- # A "../" for each directory in $ac_dir_suffix. |
| 1348 | +- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 1349 | +-else |
| 1350 | +- ac_dir_suffix= ac_top_builddir= |
| 1351 | +-fi |
| 1352 | ++ # A ".." for each directory in $ac_dir_suffix. |
| 1353 | ++ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 1354 | ++ case $ac_top_builddir_sub in |
| 1355 | ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1356 | ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1357 | ++ esac ;; |
| 1358 | ++esac |
| 1359 | ++ac_abs_top_builddir=$ac_pwd |
| 1360 | ++ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1361 | ++# for backward compatibility: |
| 1362 | ++ac_top_builddir=$ac_top_build_prefix |
| 1363 | + |
| 1364 | + case $srcdir in |
| 1365 | +- .) # No --srcdir option. We are building in place. |
| 1366 | ++ .) # We are building in place. |
| 1367 | + ac_srcdir=. |
| 1368 | +- if test -z "$ac_top_builddir"; then |
| 1369 | +- ac_top_srcdir=. |
| 1370 | +- else |
| 1371 | +- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 1372 | +- fi ;; |
| 1373 | +- [\\/]* | ?:[\\/]* ) # Absolute path. |
| 1374 | ++ ac_top_srcdir=$ac_top_builddir_sub |
| 1375 | ++ ac_abs_top_srcdir=$ac_pwd ;; |
| 1376 | ++ [\\/]* | ?:[\\/]* ) # Absolute name. |
| 1377 | + ac_srcdir=$srcdir$ac_dir_suffix; |
| 1378 | +- ac_top_srcdir=$srcdir ;; |
| 1379 | +- *) # Relative path. |
| 1380 | +- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 1381 | +- ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 1382 | +-esac |
| 1383 | +- |
| 1384 | +-# Do not use `cd foo && pwd` to compute absolute paths, because |
| 1385 | +-# the directories may not exist. |
| 1386 | +-case `pwd` in |
| 1387 | +-.) ac_abs_builddir="$ac_dir";; |
| 1388 | +-*) |
| 1389 | +- case "$ac_dir" in |
| 1390 | +- .) ac_abs_builddir=`pwd`;; |
| 1391 | +- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 1392 | +- *) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 1393 | +- esac;; |
| 1394 | +-esac |
| 1395 | +-case $ac_abs_builddir in |
| 1396 | +-.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 1397 | +-*) |
| 1398 | +- case ${ac_top_builddir}. in |
| 1399 | +- .) ac_abs_top_builddir=$ac_abs_builddir;; |
| 1400 | +- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 1401 | +- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 1402 | +- esac;; |
| 1403 | +-esac |
| 1404 | +-case $ac_abs_builddir in |
| 1405 | +-.) ac_abs_srcdir=$ac_srcdir;; |
| 1406 | +-*) |
| 1407 | +- case $ac_srcdir in |
| 1408 | +- .) ac_abs_srcdir=$ac_abs_builddir;; |
| 1409 | +- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 1410 | +- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 1411 | +- esac;; |
| 1412 | +-esac |
| 1413 | +-case $ac_abs_builddir in |
| 1414 | +-.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 1415 | +-*) |
| 1416 | +- case $ac_top_srcdir in |
| 1417 | +- .) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 1418 | +- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 1419 | +- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 1420 | +- esac;; |
| 1421 | ++ ac_top_srcdir=$srcdir |
| 1422 | ++ ac_abs_top_srcdir=$srcdir ;; |
| 1423 | ++ *) # Relative name. |
| 1424 | ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1425 | ++ ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1426 | ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1427 | + esac |
| 1428 | ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1429 | + |
| 1430 | +- cd $ac_dir |
| 1431 | +- # Check for guested configure; otherwise get Cygnus style configure. |
| 1432 | +- if test -f $ac_srcdir/configure.gnu; then |
| 1433 | +- echo |
| 1434 | +- $SHELL $ac_srcdir/configure.gnu --help=recursive |
| 1435 | +- elif test -f $ac_srcdir/configure; then |
| 1436 | +- echo |
| 1437 | +- $SHELL $ac_srcdir/configure --help=recursive |
| 1438 | +- elif test -f $ac_srcdir/configure.ac || |
| 1439 | +- test -f $ac_srcdir/configure.in; then |
| 1440 | +- echo |
| 1441 | +- $ac_configure --help |
| 1442 | ++ cd "$ac_dir" || { ac_status=$?; continue; } |
| 1443 | ++ # Check for guested configure. |
| 1444 | ++ if test -f "$ac_srcdir/configure.gnu"; then |
| 1445 | ++ echo && |
| 1446 | ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1447 | ++ elif test -f "$ac_srcdir/configure"; then |
| 1448 | ++ echo && |
| 1449 | ++ $SHELL "$ac_srcdir/configure" --help=recursive |
| 1450 | + else |
| 1451 | + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1452 | +- fi |
| 1453 | +- cd $ac_popdir |
| 1454 | ++ fi || ac_status=$? |
| 1455 | ++ cd "$ac_pwd" || { ac_status=$?; break; } |
| 1456 | + done |
| 1457 | + fi |
| 1458 | + |
| 1459 | +-test -n "$ac_init_help" && exit 0 |
| 1460 | ++test -n "$ac_init_help" && exit $ac_status |
| 1461 | + if $ac_init_version; then |
| 1462 | + cat <<\_ACEOF |
| 1463 | + advance configure source |
| 1464 | +-generated by GNU Autoconf 2.59 |
| 1465 | ++generated by GNU Autoconf 2.61 |
| 1466 | + |
| 1467 | +-Copyright (C) 2003 Free Software Foundation, Inc. |
| 1468 | ++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1469 | ++2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 1470 | + This configure script is free software; the Free Software Foundation |
| 1471 | + gives unlimited permission to copy, distribute and modify it. |
| 1472 | + |
| 1473 | + Copyright 2005 Andrea Mazzoleni |
| 1474 | + _ACEOF |
| 1475 | +- exit 0 |
| 1476 | ++ exit |
| 1477 | + fi |
| 1478 | +-exec 5>config.log |
| 1479 | +-cat >&5 <<_ACEOF |
| 1480 | ++cat >config.log <<_ACEOF |
| 1481 | + This file contains any messages produced by compilers while |
| 1482 | + running configure, to aid debugging if configure makes a mistake. |
| 1483 | + |
| 1484 | + It was created by advance $as_me source, which was |
| 1485 | +-generated by GNU Autoconf 2.59. Invocation command line was |
| 1486 | ++generated by GNU Autoconf 2.61. Invocation command line was |
| 1487 | + |
| 1488 | + $ $0 $@ |
| 1489 | + |
| 1490 | + _ACEOF |
| 1491 | ++exec 5>>config.log |
| 1492 | + { |
| 1493 | + cat <<_ASUNAME |
| 1494 | + ## --------- ## |
| 1495 | +@@ -1056,7 +1490,7 @@ |
| 1496 | + /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1497 | + /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1498 | + /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1499 | +-hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
| 1500 | ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1501 | + /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1502 | + /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1503 | + /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1504 | +@@ -1070,6 +1504,7 @@ |
| 1505 | + test -z "$as_dir" && as_dir=. |
| 1506 | + echo "PATH: $as_dir" |
| 1507 | + done |
| 1508 | ++IFS=$as_save_IFS |
| 1509 | + |
| 1510 | + } >&5 |
| 1511 | + |
| 1512 | +@@ -1091,7 +1526,6 @@ |
| 1513 | + ac_configure_args= |
| 1514 | + ac_configure_args0= |
| 1515 | + ac_configure_args1= |
| 1516 | +-ac_sep= |
| 1517 | + ac_must_keep_next=false |
| 1518 | + for ac_pass in 1 2 |
| 1519 | + do |
| 1520 | +@@ -1102,7 +1536,7 @@ |
| 1521 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1522 | + | -silent | --silent | --silen | --sile | --sil) |
| 1523 | + continue ;; |
| 1524 | +- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1525 | ++ *\'*) |
| 1526 | + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1527 | + esac |
| 1528 | + case $ac_pass in |
| 1529 | +@@ -1124,9 +1558,7 @@ |
| 1530 | + -* ) ac_must_keep_next=true ;; |
| 1531 | + esac |
| 1532 | + fi |
| 1533 | +- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1534 | +- # Get rid of the leading space. |
| 1535 | +- ac_sep=" " |
| 1536 | ++ ac_configure_args="$ac_configure_args '$ac_arg'" |
| 1537 | + ;; |
| 1538 | + esac |
| 1539 | + done |
| 1540 | +@@ -1137,8 +1569,8 @@ |
| 1541 | + # When interrupted or exit'd, cleanup temporary files, and complete |
| 1542 | + # config.log. We remove comments because anyway the quotes in there |
| 1543 | + # would cause problems or look ugly. |
| 1544 | +-# WARNING: Be sure not to use single quotes in there, as some shells, |
| 1545 | +-# such as our DU 5.0 friend, will then `close' the trap. |
| 1546 | ++# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1547 | ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1548 | + trap 'exit_status=$? |
| 1549 | + # Save into config.log some information that might help in debugging. |
| 1550 | + { |
| 1551 | +@@ -1151,20 +1583,34 @@ |
| 1552 | + _ASBOX |
| 1553 | + echo |
| 1554 | + # The following way of writing the cache mishandles newlines in values, |
| 1555 | +-{ |
| 1556 | ++( |
| 1557 | ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 1558 | ++ eval ac_val=\$$ac_var |
| 1559 | ++ case $ac_val in #( |
| 1560 | ++ *${as_nl}*) |
| 1561 | ++ case $ac_var in #( |
| 1562 | ++ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 1563 | ++echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 1564 | ++ esac |
| 1565 | ++ case $ac_var in #( |
| 1566 | ++ _ | IFS | as_nl) ;; #( |
| 1567 | ++ *) $as_unset $ac_var ;; |
| 1568 | ++ esac ;; |
| 1569 | ++ esac |
| 1570 | ++ done |
| 1571 | + (set) 2>&1 | |
| 1572 | +- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1573 | +- *ac_space=\ *) |
| 1574 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1575 | ++ *${as_nl}ac_space=\ *) |
| 1576 | + sed -n \ |
| 1577 | +- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1578 | +- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1579 | +- ;; |
| 1580 | ++ "s/'\''/'\''\\\\'\'''\''/g; |
| 1581 | ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1582 | ++ ;; #( |
| 1583 | + *) |
| 1584 | +- sed -n \ |
| 1585 | +- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1586 | ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1587 | + ;; |
| 1588 | +- esac; |
| 1589 | +-} |
| 1590 | ++ esac | |
| 1591 | ++ sort |
| 1592 | ++) |
| 1593 | + echo |
| 1594 | + |
| 1595 | + cat <<\_ASBOX |
| 1596 | +@@ -1175,22 +1621,28 @@ |
| 1597 | + echo |
| 1598 | + for ac_var in $ac_subst_vars |
| 1599 | + do |
| 1600 | +- eval ac_val=$`echo $ac_var` |
| 1601 | +- echo "$ac_var='"'"'$ac_val'"'"'" |
| 1602 | ++ eval ac_val=\$$ac_var |
| 1603 | ++ case $ac_val in |
| 1604 | ++ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1605 | ++ esac |
| 1606 | ++ echo "$ac_var='\''$ac_val'\''" |
| 1607 | + done | sort |
| 1608 | + echo |
| 1609 | + |
| 1610 | + if test -n "$ac_subst_files"; then |
| 1611 | + cat <<\_ASBOX |
| 1612 | +-## ------------- ## |
| 1613 | +-## Output files. ## |
| 1614 | +-## ------------- ## |
| 1615 | ++## ------------------- ## |
| 1616 | ++## File substitutions. ## |
| 1617 | ++## ------------------- ## |
| 1618 | + _ASBOX |
| 1619 | + echo |
| 1620 | + for ac_var in $ac_subst_files |
| 1621 | + do |
| 1622 | +- eval ac_val=$`echo $ac_var` |
| 1623 | +- echo "$ac_var='"'"'$ac_val'"'"'" |
| 1624 | ++ eval ac_val=\$$ac_var |
| 1625 | ++ case $ac_val in |
| 1626 | ++ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1627 | ++ esac |
| 1628 | ++ echo "$ac_var='\''$ac_val'\''" |
| 1629 | + done | sort |
| 1630 | + echo |
| 1631 | + fi |
| 1632 | +@@ -1202,26 +1654,24 @@ |
| 1633 | + ## ----------- ## |
| 1634 | + _ASBOX |
| 1635 | + echo |
| 1636 | +- sed "/^$/d" confdefs.h | sort |
| 1637 | ++ cat confdefs.h |
| 1638 | + echo |
| 1639 | + fi |
| 1640 | + test "$ac_signal" != 0 && |
| 1641 | + echo "$as_me: caught signal $ac_signal" |
| 1642 | + echo "$as_me: exit $exit_status" |
| 1643 | + } >&5 |
| 1644 | +- rm -f core *.core && |
| 1645 | +- rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1646 | ++ rm -f core *.core core.conftest.* && |
| 1647 | ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1648 | + exit $exit_status |
| 1649 | +- ' 0 |
| 1650 | ++' 0 |
| 1651 | + for ac_signal in 1 2 13 15; do |
| 1652 | + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1653 | + done |
| 1654 | + ac_signal=0 |
| 1655 | + |
| 1656 | + # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1657 | +-rm -rf conftest* confdefs.h |
| 1658 | +-# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 1659 | +-echo >confdefs.h |
| 1660 | ++rm -f -r conftest* confdefs.h |
| 1661 | + |
| 1662 | + # Predefined preprocessor variables. |
| 1663 | + |
| 1664 | +@@ -1252,14 +1702,17 @@ |
| 1665 | + |
| 1666 | + # Let the site file select an alternate cache file if it wants to. |
| 1667 | + # Prefer explicitly selected file to automatically selected ones. |
| 1668 | +-if test -z "$CONFIG_SITE"; then |
| 1669 | +- if test "x$prefix" != xNONE; then |
| 1670 | +- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| 1671 | +- else |
| 1672 | +- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 1673 | +- fi |
| 1674 | ++if test -n "$CONFIG_SITE"; then |
| 1675 | ++ set x "$CONFIG_SITE" |
| 1676 | ++elif test "x$prefix" != xNONE; then |
| 1677 | ++ set x "$prefix/share/config.site" "$prefix/etc/config.site" |
| 1678 | ++else |
| 1679 | ++ set x "$ac_default_prefix/share/config.site" \ |
| 1680 | ++ "$ac_default_prefix/etc/config.site" |
| 1681 | + fi |
| 1682 | +-for ac_site_file in $CONFIG_SITE; do |
| 1683 | ++shift |
| 1684 | ++for ac_site_file |
| 1685 | ++do |
| 1686 | + if test -r "$ac_site_file"; then |
| 1687 | + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1688 | + echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1689 | +@@ -1275,8 +1728,8 @@ |
| 1690 | + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1691 | + echo "$as_me: loading cache $cache_file" >&6;} |
| 1692 | + case $cache_file in |
| 1693 | +- [\\/]* | ?:[\\/]* ) . $cache_file;; |
| 1694 | +- *) . ./$cache_file;; |
| 1695 | ++ [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1696 | ++ *) . "./$cache_file";; |
| 1697 | + esac |
| 1698 | + fi |
| 1699 | + else |
| 1700 | +@@ -1288,12 +1741,11 @@ |
| 1701 | + # Check that the precious variables saved in the cache have kept the same |
| 1702 | + # value. |
| 1703 | + ac_cache_corrupted=false |
| 1704 | +-for ac_var in `(set) 2>&1 | |
| 1705 | +- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1706 | ++for ac_var in $ac_precious_vars; do |
| 1707 | + eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1708 | + eval ac_new_set=\$ac_env_${ac_var}_set |
| 1709 | +- eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1710 | +- eval ac_new_val="\$ac_env_${ac_var}_value" |
| 1711 | ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1712 | ++ eval ac_new_val=\$ac_env_${ac_var}_value |
| 1713 | + case $ac_old_set,$ac_new_set in |
| 1714 | + set,) |
| 1715 | + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1716 | +@@ -1318,8 +1770,7 @@ |
| 1717 | + # Pass precious variables to config.status. |
| 1718 | + if test "$ac_new_set" = set; then |
| 1719 | + case $ac_new_val in |
| 1720 | +- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1721 | +- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1722 | ++ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1723 | + *) ac_arg=$ac_var=$ac_new_val ;; |
| 1724 | + esac |
| 1725 | + case " $ac_configure_args " in |
| 1726 | +@@ -1336,12 +1787,6 @@ |
| 1727 | + { (exit 1); exit 1; }; } |
| 1728 | + fi |
| 1729 | + |
| 1730 | +-ac_ext=c |
| 1731 | +-ac_cpp='$CPP $CPPFLAGS' |
| 1732 | +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1733 | +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1734 | +-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1735 | +- |
| 1736 | + |
| 1737 | + |
| 1738 | + |
| 1739 | +@@ -1366,87 +1811,127 @@ |
| 1740 | + |
| 1741 | + |
| 1742 | + |
| 1743 | ++ac_ext=c |
| 1744 | ++ac_cpp='$CPP $CPPFLAGS' |
| 1745 | ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1746 | ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1747 | ++ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1748 | + |
| 1749 | + |
| 1750 | +- ac_config_headers="$ac_config_headers advance/lib/config.h:advance/lib/config.hin" |
| 1751 | ++ac_config_headers="$ac_config_headers advance/lib/config.h:advance/lib/config.hin" |
| 1752 | + |
| 1753 | + ac_aux_dir= |
| 1754 | +-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| 1755 | +- if test -f $ac_dir/install-sh; then |
| 1756 | ++for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 1757 | ++ if test -f "$ac_dir/install-sh"; then |
| 1758 | + ac_aux_dir=$ac_dir |
| 1759 | + ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1760 | + break |
| 1761 | +- elif test -f $ac_dir/install.sh; then |
| 1762 | ++ elif test -f "$ac_dir/install.sh"; then |
| 1763 | + ac_aux_dir=$ac_dir |
| 1764 | + ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1765 | + break |
| 1766 | +- elif test -f $ac_dir/shtool; then |
| 1767 | ++ elif test -f "$ac_dir/shtool"; then |
| 1768 | + ac_aux_dir=$ac_dir |
| 1769 | + ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1770 | + break |
| 1771 | + fi |
| 1772 | + done |
| 1773 | + if test -z "$ac_aux_dir"; then |
| 1774 | +- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
| 1775 | +-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
| 1776 | ++ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 1777 | ++echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
| 1778 | + { (exit 1); exit 1; }; } |
| 1779 | + fi |
| 1780 | +-ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
| 1781 | +-ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
| 1782 | +-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| 1783 | ++ |
| 1784 | ++# These three variables are undocumented and unsupported, |
| 1785 | ++# and are intended to be withdrawn in a future Autoconf release. |
| 1786 | ++# They can cause serious problems if a builder's source tree is in a directory |
| 1787 | ++# whose full name contains unusual characters. |
| 1788 | ++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 1789 | ++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 1790 | ++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 1791 | ++ |
| 1792 | + |
| 1793 | + # Make sure we can run config.sub. |
| 1794 | +-$ac_config_sub sun4 >/dev/null 2>&1 || |
| 1795 | +- { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| 1796 | +-echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
| 1797 | ++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 1798 | ++ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 1799 | ++echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
| 1800 | + { (exit 1); exit 1; }; } |
| 1801 | + |
| 1802 | +-echo "$as_me:$LINENO: checking build system type" >&5 |
| 1803 | +-echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
| 1804 | ++{ echo "$as_me:$LINENO: checking build system type" >&5 |
| 1805 | ++echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
| 1806 | + if test "${ac_cv_build+set}" = set; then |
| 1807 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1808 | + else |
| 1809 | +- ac_cv_build_alias=$build_alias |
| 1810 | +-test -z "$ac_cv_build_alias" && |
| 1811 | +- ac_cv_build_alias=`$ac_config_guess` |
| 1812 | +-test -z "$ac_cv_build_alias" && |
| 1813 | ++ ac_build_alias=$build_alias |
| 1814 | ++test "x$ac_build_alias" = x && |
| 1815 | ++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 1816 | ++test "x$ac_build_alias" = x && |
| 1817 | + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 1818 | + echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 1819 | + { (exit 1); exit 1; }; } |
| 1820 | +-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
| 1821 | +- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
| 1822 | +-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
| 1823 | ++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 1824 | ++ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 1825 | ++echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
| 1826 | + { (exit 1); exit 1; }; } |
| 1827 | + |
| 1828 | + fi |
| 1829 | +-echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1830 | +-echo "${ECHO_T}$ac_cv_build" >&6 |
| 1831 | ++{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1832 | ++echo "${ECHO_T}$ac_cv_build" >&6; } |
| 1833 | ++case $ac_cv_build in |
| 1834 | ++*-*-*) ;; |
| 1835 | ++*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 1836 | ++echo "$as_me: error: invalid value of canonical build" >&2;} |
| 1837 | ++ { (exit 1); exit 1; }; };; |
| 1838 | ++esac |
| 1839 | + build=$ac_cv_build |
| 1840 | +-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1841 | +-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1842 | +-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1843 | ++ac_save_IFS=$IFS; IFS='-' |
| 1844 | ++set x $ac_cv_build |
| 1845 | ++shift |
| 1846 | ++build_cpu=$1 |
| 1847 | ++build_vendor=$2 |
| 1848 | ++shift; shift |
| 1849 | ++# Remember, the first character of IFS is used to create $*, |
| 1850 | ++# except with old shells: |
| 1851 | ++build_os=$* |
| 1852 | ++IFS=$ac_save_IFS |
| 1853 | ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 1854 | + |
| 1855 | + |
| 1856 | +-echo "$as_me:$LINENO: checking host system type" >&5 |
| 1857 | +-echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
| 1858 | ++{ echo "$as_me:$LINENO: checking host system type" >&5 |
| 1859 | ++echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
| 1860 | + if test "${ac_cv_host+set}" = set; then |
| 1861 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1862 | + else |
| 1863 | +- ac_cv_host_alias=$host_alias |
| 1864 | +-test -z "$ac_cv_host_alias" && |
| 1865 | +- ac_cv_host_alias=$ac_cv_build_alias |
| 1866 | +-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
| 1867 | +- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
| 1868 | +-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
| 1869 | ++ if test "x$host_alias" = x; then |
| 1870 | ++ ac_cv_host=$ac_cv_build |
| 1871 | ++else |
| 1872 | ++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 1873 | ++ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 1874 | ++echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
| 1875 | + { (exit 1); exit 1; }; } |
| 1876 | ++fi |
| 1877 | + |
| 1878 | + fi |
| 1879 | +-echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1880 | +-echo "${ECHO_T}$ac_cv_host" >&6 |
| 1881 | ++{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1882 | ++echo "${ECHO_T}$ac_cv_host" >&6; } |
| 1883 | ++case $ac_cv_host in |
| 1884 | ++*-*-*) ;; |
| 1885 | ++*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 1886 | ++echo "$as_me: error: invalid value of canonical host" >&2;} |
| 1887 | ++ { (exit 1); exit 1; }; };; |
| 1888 | ++esac |
| 1889 | + host=$ac_cv_host |
| 1890 | +-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1891 | +-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1892 | +-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1893 | ++ac_save_IFS=$IFS; IFS='-' |
| 1894 | ++set x $ac_cv_host |
| 1895 | ++shift |
| 1896 | ++host_cpu=$1 |
| 1897 | ++host_vendor=$2 |
| 1898 | ++shift; shift |
| 1899 | ++# Remember, the first character of IFS is used to create $*, |
| 1900 | ++# except with old shells: |
| 1901 | ++host_os=$* |
| 1902 | ++IFS=$ac_save_IFS |
| 1903 | ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 1904 | + |
| 1905 | + |
| 1906 | + |
| 1907 | +@@ -1564,8 +2049,8 @@ |
| 1908 | + if test -n "$ac_tool_prefix"; then |
| 1909 | + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 1910 | + set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 1911 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1912 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1913 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1914 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1915 | + if test "${ac_cv_prog_CC+set}" = set; then |
| 1916 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1917 | + else |
| 1918 | +@@ -1578,32 +2063,34 @@ |
| 1919 | + IFS=$as_save_IFS |
| 1920 | + test -z "$as_dir" && as_dir=. |
| 1921 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 1922 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1923 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1924 | + ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 1925 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1926 | + break 2 |
| 1927 | + fi |
| 1928 | + done |
| 1929 | + done |
| 1930 | ++IFS=$as_save_IFS |
| 1931 | + |
| 1932 | + fi |
| 1933 | + fi |
| 1934 | + CC=$ac_cv_prog_CC |
| 1935 | + if test -n "$CC"; then |
| 1936 | +- echo "$as_me:$LINENO: result: $CC" >&5 |
| 1937 | +-echo "${ECHO_T}$CC" >&6 |
| 1938 | ++ { echo "$as_me:$LINENO: result: $CC" >&5 |
| 1939 | ++echo "${ECHO_T}$CC" >&6; } |
| 1940 | + else |
| 1941 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 1942 | +-echo "${ECHO_T}no" >&6 |
| 1943 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 1944 | ++echo "${ECHO_T}no" >&6; } |
| 1945 | + fi |
| 1946 | + |
| 1947 | ++ |
| 1948 | + fi |
| 1949 | + if test -z "$ac_cv_prog_CC"; then |
| 1950 | + ac_ct_CC=$CC |
| 1951 | + # Extract the first word of "gcc", so it can be a program name with args. |
| 1952 | + set dummy gcc; ac_word=$2 |
| 1953 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1954 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1955 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1956 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1957 | + if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1958 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1959 | + else |
| 1960 | +@@ -1616,36 +2103,51 @@ |
| 1961 | + IFS=$as_save_IFS |
| 1962 | + test -z "$as_dir" && as_dir=. |
| 1963 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 1964 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1965 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1966 | + ac_cv_prog_ac_ct_CC="gcc" |
| 1967 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1968 | + break 2 |
| 1969 | + fi |
| 1970 | + done |
| 1971 | + done |
| 1972 | ++IFS=$as_save_IFS |
| 1973 | + |
| 1974 | + fi |
| 1975 | + fi |
| 1976 | + ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1977 | + if test -n "$ac_ct_CC"; then |
| 1978 | +- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1979 | +-echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1980 | ++ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1981 | ++echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 1982 | + else |
| 1983 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 1984 | +-echo "${ECHO_T}no" >&6 |
| 1985 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 1986 | ++echo "${ECHO_T}no" >&6; } |
| 1987 | + fi |
| 1988 | + |
| 1989 | +- CC=$ac_ct_CC |
| 1990 | ++ if test "x$ac_ct_CC" = x; then |
| 1991 | ++ CC="" |
| 1992 | ++ else |
| 1993 | ++ case $cross_compiling:$ac_tool_warned in |
| 1994 | ++yes:) |
| 1995 | ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 1996 | ++whose name does not start with the host triplet. If you think this |
| 1997 | ++configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 1998 | ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 1999 | ++whose name does not start with the host triplet. If you think this |
| 2000 | ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 2001 | ++ac_tool_warned=yes ;; |
| 2002 | ++esac |
| 2003 | ++ CC=$ac_ct_CC |
| 2004 | ++ fi |
| 2005 | + else |
| 2006 | + CC="$ac_cv_prog_CC" |
| 2007 | + fi |
| 2008 | + |
| 2009 | + if test -z "$CC"; then |
| 2010 | +- if test -n "$ac_tool_prefix"; then |
| 2011 | +- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2012 | ++ if test -n "$ac_tool_prefix"; then |
| 2013 | ++ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2014 | + set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2015 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2016 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2017 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2018 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2019 | + if test "${ac_cv_prog_CC+set}" = set; then |
| 2020 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2021 | + else |
| 2022 | +@@ -1658,74 +2160,34 @@ |
| 2023 | + IFS=$as_save_IFS |
| 2024 | + test -z "$as_dir" && as_dir=. |
| 2025 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 2026 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2027 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2028 | + ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2029 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2030 | + break 2 |
| 2031 | + fi |
| 2032 | + done |
| 2033 | + done |
| 2034 | ++IFS=$as_save_IFS |
| 2035 | + |
| 2036 | + fi |
| 2037 | + fi |
| 2038 | + CC=$ac_cv_prog_CC |
| 2039 | + if test -n "$CC"; then |
| 2040 | +- echo "$as_me:$LINENO: result: $CC" >&5 |
| 2041 | +-echo "${ECHO_T}$CC" >&6 |
| 2042 | +-else |
| 2043 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 2044 | +-echo "${ECHO_T}no" >&6 |
| 2045 | +-fi |
| 2046 | +- |
| 2047 | +-fi |
| 2048 | +-if test -z "$ac_cv_prog_CC"; then |
| 2049 | +- ac_ct_CC=$CC |
| 2050 | +- # Extract the first word of "cc", so it can be a program name with args. |
| 2051 | +-set dummy cc; ac_word=$2 |
| 2052 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2053 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2054 | +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2055 | +- echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2056 | +-else |
| 2057 | +- if test -n "$ac_ct_CC"; then |
| 2058 | +- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2059 | +-else |
| 2060 | +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2061 | +-for as_dir in $PATH |
| 2062 | +-do |
| 2063 | +- IFS=$as_save_IFS |
| 2064 | +- test -z "$as_dir" && as_dir=. |
| 2065 | +- for ac_exec_ext in '' $ac_executable_extensions; do |
| 2066 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2067 | +- ac_cv_prog_ac_ct_CC="cc" |
| 2068 | +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2069 | +- break 2 |
| 2070 | +- fi |
| 2071 | +-done |
| 2072 | +-done |
| 2073 | +- |
| 2074 | +-fi |
| 2075 | +-fi |
| 2076 | +-ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2077 | +-if test -n "$ac_ct_CC"; then |
| 2078 | +- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2079 | +-echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2080 | ++ { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2081 | ++echo "${ECHO_T}$CC" >&6; } |
| 2082 | + else |
| 2083 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 2084 | +-echo "${ECHO_T}no" >&6 |
| 2085 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 2086 | ++echo "${ECHO_T}no" >&6; } |
| 2087 | + fi |
| 2088 | + |
| 2089 | +- CC=$ac_ct_CC |
| 2090 | +-else |
| 2091 | +- CC="$ac_cv_prog_CC" |
| 2092 | +-fi |
| 2093 | + |
| 2094 | ++ fi |
| 2095 | + fi |
| 2096 | + if test -z "$CC"; then |
| 2097 | + # Extract the first word of "cc", so it can be a program name with args. |
| 2098 | + set dummy cc; ac_word=$2 |
| 2099 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2100 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2101 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2102 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2103 | + if test "${ac_cv_prog_CC+set}" = set; then |
| 2104 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2105 | + else |
| 2106 | +@@ -1739,7 +2201,7 @@ |
| 2107 | + IFS=$as_save_IFS |
| 2108 | + test -z "$as_dir" && as_dir=. |
| 2109 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 2110 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2111 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2112 | + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2113 | + ac_prog_rejected=yes |
| 2114 | + continue |
| 2115 | +@@ -1750,6 +2212,7 @@ |
| 2116 | + fi |
| 2117 | + done |
| 2118 | + done |
| 2119 | ++IFS=$as_save_IFS |
| 2120 | + |
| 2121 | + if test $ac_prog_rejected = yes; then |
| 2122 | + # We found a bogon in the path, so make sure we never use it. |
| 2123 | +@@ -1767,22 +2230,23 @@ |
| 2124 | + fi |
| 2125 | + CC=$ac_cv_prog_CC |
| 2126 | + if test -n "$CC"; then |
| 2127 | +- echo "$as_me:$LINENO: result: $CC" >&5 |
| 2128 | +-echo "${ECHO_T}$CC" >&6 |
| 2129 | ++ { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2130 | ++echo "${ECHO_T}$CC" >&6; } |
| 2131 | + else |
| 2132 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 2133 | +-echo "${ECHO_T}no" >&6 |
| 2134 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 2135 | ++echo "${ECHO_T}no" >&6; } |
| 2136 | + fi |
| 2137 | + |
| 2138 | ++ |
| 2139 | + fi |
| 2140 | + if test -z "$CC"; then |
| 2141 | + if test -n "$ac_tool_prefix"; then |
| 2142 | +- for ac_prog in cl |
| 2143 | ++ for ac_prog in cl.exe |
| 2144 | + do |
| 2145 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2146 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2147 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2148 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2149 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2150 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2151 | + if test "${ac_cv_prog_CC+set}" = set; then |
| 2152 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2153 | + else |
| 2154 | +@@ -1795,36 +2259,38 @@ |
| 2155 | + IFS=$as_save_IFS |
| 2156 | + test -z "$as_dir" && as_dir=. |
| 2157 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 2158 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2159 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2160 | + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2161 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2162 | + break 2 |
| 2163 | + fi |
| 2164 | + done |
| 2165 | + done |
| 2166 | ++IFS=$as_save_IFS |
| 2167 | + |
| 2168 | + fi |
| 2169 | + fi |
| 2170 | + CC=$ac_cv_prog_CC |
| 2171 | + if test -n "$CC"; then |
| 2172 | +- echo "$as_me:$LINENO: result: $CC" >&5 |
| 2173 | +-echo "${ECHO_T}$CC" >&6 |
| 2174 | ++ { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2175 | ++echo "${ECHO_T}$CC" >&6; } |
| 2176 | + else |
| 2177 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 2178 | +-echo "${ECHO_T}no" >&6 |
| 2179 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 2180 | ++echo "${ECHO_T}no" >&6; } |
| 2181 | + fi |
| 2182 | + |
| 2183 | ++ |
| 2184 | + test -n "$CC" && break |
| 2185 | + done |
| 2186 | + fi |
| 2187 | + if test -z "$CC"; then |
| 2188 | + ac_ct_CC=$CC |
| 2189 | +- for ac_prog in cl |
| 2190 | ++ for ac_prog in cl.exe |
| 2191 | + do |
| 2192 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2193 | + set dummy $ac_prog; ac_word=$2 |
| 2194 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2195 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2196 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2197 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2198 | + if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2199 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2200 | + else |
| 2201 | +@@ -1837,29 +2303,45 @@ |
| 2202 | + IFS=$as_save_IFS |
| 2203 | + test -z "$as_dir" && as_dir=. |
| 2204 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 2205 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2206 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2207 | + ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2208 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2209 | + break 2 |
| 2210 | + fi |
| 2211 | + done |
| 2212 | + done |
| 2213 | ++IFS=$as_save_IFS |
| 2214 | + |
| 2215 | + fi |
| 2216 | + fi |
| 2217 | + ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2218 | + if test -n "$ac_ct_CC"; then |
| 2219 | +- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2220 | +-echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2221 | ++ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2222 | ++echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 2223 | + else |
| 2224 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 2225 | +-echo "${ECHO_T}no" >&6 |
| 2226 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 2227 | ++echo "${ECHO_T}no" >&6; } |
| 2228 | + fi |
| 2229 | + |
| 2230 | ++ |
| 2231 | + test -n "$ac_ct_CC" && break |
| 2232 | + done |
| 2233 | + |
| 2234 | +- CC=$ac_ct_CC |
| 2235 | ++ if test "x$ac_ct_CC" = x; then |
| 2236 | ++ CC="" |
| 2237 | ++ else |
| 2238 | ++ case $cross_compiling:$ac_tool_warned in |
| 2239 | ++yes:) |
| 2240 | ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 2241 | ++whose name does not start with the host triplet. If you think this |
| 2242 | ++configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 2243 | ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 2244 | ++whose name does not start with the host triplet. If you think this |
| 2245 | ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 2246 | ++ac_tool_warned=yes ;; |
| 2247 | ++esac |
| 2248 | ++ CC=$ac_ct_CC |
| 2249 | ++ fi |
| 2250 | + fi |
| 2251 | + |
| 2252 | + fi |
| 2253 | +@@ -1872,21 +2354,35 @@ |
| 2254 | + { (exit 1); exit 1; }; } |
| 2255 | + |
| 2256 | + # Provide some information about the compiler. |
| 2257 | +-echo "$as_me:$LINENO:" \ |
| 2258 | +- "checking for C compiler version" >&5 |
| 2259 | ++echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 2260 | + ac_compiler=`set X $ac_compile; echo $2` |
| 2261 | +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2262 | +- (eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2263 | ++{ (ac_try="$ac_compiler --version >&5" |
| 2264 | ++case "(($ac_try" in |
| 2265 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2266 | ++ *) ac_try_echo=$ac_try;; |
| 2267 | ++esac |
| 2268 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2269 | ++ (eval "$ac_compiler --version >&5") 2>&5 |
| 2270 | + ac_status=$? |
| 2271 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2272 | + (exit $ac_status); } |
| 2273 | +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 2274 | +- (eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 2275 | ++{ (ac_try="$ac_compiler -v >&5" |
| 2276 | ++case "(($ac_try" in |
| 2277 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2278 | ++ *) ac_try_echo=$ac_try;; |
| 2279 | ++esac |
| 2280 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2281 | ++ (eval "$ac_compiler -v >&5") 2>&5 |
| 2282 | + ac_status=$? |
| 2283 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2284 | + (exit $ac_status); } |
| 2285 | +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 2286 | +- (eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 2287 | ++{ (ac_try="$ac_compiler -V >&5" |
| 2288 | ++case "(($ac_try" in |
| 2289 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2290 | ++ *) ac_try_echo=$ac_try;; |
| 2291 | ++esac |
| 2292 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2293 | ++ (eval "$ac_compiler -V >&5") 2>&5 |
| 2294 | + ac_status=$? |
| 2295 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2296 | + (exit $ac_status); } |
| 2297 | +@@ -1911,47 +2407,77 @@ |
| 2298 | + # Try to create an executable without -o first, disregard a.out. |
| 2299 | + # It will help us diagnose broken compilers, and finding out an intuition |
| 2300 | + # of exeext. |
| 2301 | +-echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2302 | +-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| 2303 | ++{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2304 | ++echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
| 2305 | + ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2306 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 2307 | +- (eval $ac_link_default) 2>&5 |
| 2308 | ++# |
| 2309 | ++# List of possible output files, starting from the most likely. |
| 2310 | ++# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
| 2311 | ++# only as a last resort. b.out is created by i960 compilers. |
| 2312 | ++ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
| 2313 | ++# |
| 2314 | ++# The IRIX 6 linker writes into existing files which may not be |
| 2315 | ++# executable, retaining their permissions. Remove them first so a |
| 2316 | ++# subsequent execution test works. |
| 2317 | ++ac_rmfiles= |
| 2318 | ++for ac_file in $ac_files |
| 2319 | ++do |
| 2320 | ++ case $ac_file in |
| 2321 | ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 2322 | ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 2323 | ++ esac |
| 2324 | ++done |
| 2325 | ++rm -f $ac_rmfiles |
| 2326 | ++ |
| 2327 | ++if { (ac_try="$ac_link_default" |
| 2328 | ++case "(($ac_try" in |
| 2329 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2330 | ++ *) ac_try_echo=$ac_try;; |
| 2331 | ++esac |
| 2332 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2333 | ++ (eval "$ac_link_default") 2>&5 |
| 2334 | + ac_status=$? |
| 2335 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2336 | + (exit $ac_status); }; then |
| 2337 | +- # Find the output, starting from the most likely. This scheme is |
| 2338 | +-# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| 2339 | +-# resort. |
| 2340 | +- |
| 2341 | +-# Be careful to initialize this variable, since it used to be cached. |
| 2342 | +-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 2343 | +-ac_cv_exeext= |
| 2344 | +-# b.out is created by i960 compilers. |
| 2345 | +-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 2346 | ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 2347 | ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 2348 | ++# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 2349 | ++# so that the user can short-circuit this test for compilers unknown to |
| 2350 | ++# Autoconf. |
| 2351 | ++for ac_file in $ac_files '' |
| 2352 | + do |
| 2353 | + test -f "$ac_file" || continue |
| 2354 | + case $ac_file in |
| 2355 | +- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 2356 | +- ;; |
| 2357 | +- conftest.$ac_ext ) |
| 2358 | +- # This is the source file. |
| 2359 | ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
| 2360 | + ;; |
| 2361 | + [ab].out ) |
| 2362 | + # We found the default executable, but exeext='' is most |
| 2363 | + # certainly right. |
| 2364 | + break;; |
| 2365 | + *.* ) |
| 2366 | +- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2367 | +- # FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2368 | +- # but it would be cool to find out if it's true. Does anybody |
| 2369 | +- # maintain Libtool? --akim. |
| 2370 | +- export ac_cv_exeext |
| 2371 | ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 2372 | ++ then :; else |
| 2373 | ++ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2374 | ++ fi |
| 2375 | ++ # We set ac_cv_exeext here because the later test for it is not |
| 2376 | ++ # safe: cross compilers may not add the suffix if given an `-o' |
| 2377 | ++ # argument, so we may need to know it at that point already. |
| 2378 | ++ # Even if this section looks crufty: it has the advantage of |
| 2379 | ++ # actually working. |
| 2380 | + break;; |
| 2381 | + * ) |
| 2382 | + break;; |
| 2383 | + esac |
| 2384 | + done |
| 2385 | ++test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2386 | ++ |
| 2387 | + else |
| 2388 | ++ ac_file='' |
| 2389 | ++fi |
| 2390 | ++ |
| 2391 | ++{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 2392 | ++echo "${ECHO_T}$ac_file" >&6; } |
| 2393 | ++if test -z "$ac_file"; then |
| 2394 | + echo "$as_me: failed program was:" >&5 |
| 2395 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 2396 | + |
| 2397 | +@@ -1963,19 +2489,21 @@ |
| 2398 | + fi |
| 2399 | + |
| 2400 | + ac_exeext=$ac_cv_exeext |
| 2401 | +-echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 2402 | +-echo "${ECHO_T}$ac_file" >&6 |
| 2403 | + |
| 2404 | +-# Check the compiler produces executables we can run. If not, either |
| 2405 | ++# Check that the compiler produces executables we can run. If not, either |
| 2406 | + # the compiler is broken, or we cross compile. |
| 2407 | +-echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2408 | +-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
| 2409 | ++{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2410 | ++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
| 2411 | + # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2412 | + # If not cross compiling, check that we can run a simple program. |
| 2413 | + if test "$cross_compiling" != yes; then |
| 2414 | + if { ac_try='./$ac_file' |
| 2415 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2416 | +- (eval $ac_try) 2>&5 |
| 2417 | ++ { (case "(($ac_try" in |
| 2418 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2419 | ++ *) ac_try_echo=$ac_try;; |
| 2420 | ++esac |
| 2421 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2422 | ++ (eval "$ac_try") 2>&5 |
| 2423 | + ac_status=$? |
| 2424 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2425 | + (exit $ac_status); }; }; then |
| 2426 | +@@ -1994,22 +2522,27 @@ |
| 2427 | + fi |
| 2428 | + fi |
| 2429 | + fi |
| 2430 | +-echo "$as_me:$LINENO: result: yes" >&5 |
| 2431 | +-echo "${ECHO_T}yes" >&6 |
| 2432 | ++{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2433 | ++echo "${ECHO_T}yes" >&6; } |
| 2434 | + |
| 2435 | + rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2436 | + ac_clean_files=$ac_clean_files_save |
| 2437 | +-# Check the compiler produces executables we can run. If not, either |
| 2438 | ++# Check that the compiler produces executables we can run. If not, either |
| 2439 | + # the compiler is broken, or we cross compile. |
| 2440 | +-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2441 | +-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 2442 | +-echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2443 | +-echo "${ECHO_T}$cross_compiling" >&6 |
| 2444 | +- |
| 2445 | +-echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2446 | +-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| 2447 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2448 | +- (eval $ac_link) 2>&5 |
| 2449 | ++{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2450 | ++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
| 2451 | ++{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2452 | ++echo "${ECHO_T}$cross_compiling" >&6; } |
| 2453 | ++ |
| 2454 | ++{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2455 | ++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
| 2456 | ++if { (ac_try="$ac_link" |
| 2457 | ++case "(($ac_try" in |
| 2458 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2459 | ++ *) ac_try_echo=$ac_try;; |
| 2460 | ++esac |
| 2461 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2462 | ++ (eval "$ac_link") 2>&5 |
| 2463 | + ac_status=$? |
| 2464 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2465 | + (exit $ac_status); }; then |
| 2466 | +@@ -2020,9 +2553,8 @@ |
| 2467 | + for ac_file in conftest.exe conftest conftest.*; do |
| 2468 | + test -f "$ac_file" || continue |
| 2469 | + case $ac_file in |
| 2470 | +- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2471 | ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 2472 | + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2473 | +- export ac_cv_exeext |
| 2474 | + break;; |
| 2475 | + * ) break;; |
| 2476 | + esac |
| 2477 | +@@ -2036,14 +2568,14 @@ |
| 2478 | + fi |
| 2479 | + |
| 2480 | + rm -f conftest$ac_cv_exeext |
| 2481 | +-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2482 | +-echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 2483 | ++{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2484 | ++echo "${ECHO_T}$ac_cv_exeext" >&6; } |
| 2485 | + |
| 2486 | + rm -f conftest.$ac_ext |
| 2487 | + EXEEXT=$ac_cv_exeext |
| 2488 | + ac_exeext=$EXEEXT |
| 2489 | +-echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2490 | +-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| 2491 | ++{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2492 | ++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
| 2493 | + if test "${ac_cv_objext+set}" = set; then |
| 2494 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2495 | + else |
| 2496 | +@@ -2063,14 +2595,20 @@ |
| 2497 | + } |
| 2498 | + _ACEOF |
| 2499 | + rm -f conftest.o conftest.obj |
| 2500 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2501 | +- (eval $ac_compile) 2>&5 |
| 2502 | ++if { (ac_try="$ac_compile" |
| 2503 | ++case "(($ac_try" in |
| 2504 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2505 | ++ *) ac_try_echo=$ac_try;; |
| 2506 | ++esac |
| 2507 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2508 | ++ (eval "$ac_compile") 2>&5 |
| 2509 | + ac_status=$? |
| 2510 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2511 | + (exit $ac_status); }; then |
| 2512 | +- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 2513 | ++ for ac_file in conftest.o conftest.obj conftest.*; do |
| 2514 | ++ test -f "$ac_file" || continue; |
| 2515 | + case $ac_file in |
| 2516 | +- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 2517 | ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
| 2518 | + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2519 | + break;; |
| 2520 | + esac |
| 2521 | +@@ -2088,12 +2626,12 @@ |
| 2522 | + |
| 2523 | + rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2524 | + fi |
| 2525 | +-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2526 | +-echo "${ECHO_T}$ac_cv_objext" >&6 |
| 2527 | ++{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2528 | ++echo "${ECHO_T}$ac_cv_objext" >&6; } |
| 2529 | + OBJEXT=$ac_cv_objext |
| 2530 | + ac_objext=$OBJEXT |
| 2531 | +-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2532 | +-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 2533 | ++{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2534 | ++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
| 2535 | + if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 2536 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2537 | + else |
| 2538 | +@@ -2116,50 +2654,49 @@ |
| 2539 | + } |
| 2540 | + _ACEOF |
| 2541 | + rm -f conftest.$ac_objext |
| 2542 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2543 | +- (eval $ac_compile) 2>conftest.er1 |
| 2544 | ++if { (ac_try="$ac_compile" |
| 2545 | ++case "(($ac_try" in |
| 2546 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2547 | ++ *) ac_try_echo=$ac_try;; |
| 2548 | ++esac |
| 2549 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2550 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 2551 | + ac_status=$? |
| 2552 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 2553 | + rm -f conftest.er1 |
| 2554 | + cat conftest.err >&5 |
| 2555 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2556 | +- (exit $ac_status); } && |
| 2557 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 2558 | +- || test ! -s conftest.err' |
| 2559 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2560 | +- (eval $ac_try) 2>&5 |
| 2561 | +- ac_status=$? |
| 2562 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2563 | +- (exit $ac_status); }; } && |
| 2564 | +- { ac_try='test -s conftest.$ac_objext' |
| 2565 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2566 | +- (eval $ac_try) 2>&5 |
| 2567 | +- ac_status=$? |
| 2568 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2569 | +- (exit $ac_status); }; }; then |
| 2570 | ++ (exit $ac_status); } && { |
| 2571 | ++ test -z "$ac_c_werror_flag" || |
| 2572 | ++ test ! -s conftest.err |
| 2573 | ++ } && test -s conftest.$ac_objext; then |
| 2574 | + ac_compiler_gnu=yes |
| 2575 | + else |
| 2576 | + echo "$as_me: failed program was:" >&5 |
| 2577 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 2578 | + |
| 2579 | +-ac_compiler_gnu=no |
| 2580 | ++ ac_compiler_gnu=no |
| 2581 | + fi |
| 2582 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2583 | ++ |
| 2584 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2585 | + ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2586 | + |
| 2587 | + fi |
| 2588 | +-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2589 | +-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2590 | ++{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2591 | ++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
| 2592 | + GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 2593 | + ac_test_CFLAGS=${CFLAGS+set} |
| 2594 | + ac_save_CFLAGS=$CFLAGS |
| 2595 | +-CFLAGS="-g" |
| 2596 | +-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2597 | +-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 2598 | ++{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2599 | ++echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
| 2600 | + if test "${ac_cv_prog_cc_g+set}" = set; then |
| 2601 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2602 | + else |
| 2603 | +- cat >conftest.$ac_ext <<_ACEOF |
| 2604 | ++ ac_save_c_werror_flag=$ac_c_werror_flag |
| 2605 | ++ ac_c_werror_flag=yes |
| 2606 | ++ ac_cv_prog_cc_g=no |
| 2607 | ++ CFLAGS="-g" |
| 2608 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 2609 | + /* confdefs.h. */ |
| 2610 | + _ACEOF |
| 2611 | + cat confdefs.h >>conftest.$ac_ext |
| 2612 | +@@ -2175,38 +2712,118 @@ |
| 2613 | + } |
| 2614 | + _ACEOF |
| 2615 | + rm -f conftest.$ac_objext |
| 2616 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2617 | +- (eval $ac_compile) 2>conftest.er1 |
| 2618 | ++if { (ac_try="$ac_compile" |
| 2619 | ++case "(($ac_try" in |
| 2620 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2621 | ++ *) ac_try_echo=$ac_try;; |
| 2622 | ++esac |
| 2623 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2624 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 2625 | + ac_status=$? |
| 2626 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 2627 | + rm -f conftest.er1 |
| 2628 | + cat conftest.err >&5 |
| 2629 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2630 | +- (exit $ac_status); } && |
| 2631 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 2632 | +- || test ! -s conftest.err' |
| 2633 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2634 | +- (eval $ac_try) 2>&5 |
| 2635 | ++ (exit $ac_status); } && { |
| 2636 | ++ test -z "$ac_c_werror_flag" || |
| 2637 | ++ test ! -s conftest.err |
| 2638 | ++ } && test -s conftest.$ac_objext; then |
| 2639 | ++ ac_cv_prog_cc_g=yes |
| 2640 | ++else |
| 2641 | ++ echo "$as_me: failed program was:" >&5 |
| 2642 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 2643 | ++ |
| 2644 | ++ CFLAGS="" |
| 2645 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 2646 | ++/* confdefs.h. */ |
| 2647 | ++_ACEOF |
| 2648 | ++cat confdefs.h >>conftest.$ac_ext |
| 2649 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 2650 | ++/* end confdefs.h. */ |
| 2651 | ++ |
| 2652 | ++int |
| 2653 | ++main () |
| 2654 | ++{ |
| 2655 | ++ |
| 2656 | ++ ; |
| 2657 | ++ return 0; |
| 2658 | ++} |
| 2659 | ++_ACEOF |
| 2660 | ++rm -f conftest.$ac_objext |
| 2661 | ++if { (ac_try="$ac_compile" |
| 2662 | ++case "(($ac_try" in |
| 2663 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2664 | ++ *) ac_try_echo=$ac_try;; |
| 2665 | ++esac |
| 2666 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2667 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 2668 | + ac_status=$? |
| 2669 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 2670 | ++ rm -f conftest.er1 |
| 2671 | ++ cat conftest.err >&5 |
| 2672 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2673 | +- (exit $ac_status); }; } && |
| 2674 | +- { ac_try='test -s conftest.$ac_objext' |
| 2675 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2676 | +- (eval $ac_try) 2>&5 |
| 2677 | ++ (exit $ac_status); } && { |
| 2678 | ++ test -z "$ac_c_werror_flag" || |
| 2679 | ++ test ! -s conftest.err |
| 2680 | ++ } && test -s conftest.$ac_objext; then |
| 2681 | ++ : |
| 2682 | ++else |
| 2683 | ++ echo "$as_me: failed program was:" >&5 |
| 2684 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 2685 | ++ |
| 2686 | ++ ac_c_werror_flag=$ac_save_c_werror_flag |
| 2687 | ++ CFLAGS="-g" |
| 2688 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 2689 | ++/* confdefs.h. */ |
| 2690 | ++_ACEOF |
| 2691 | ++cat confdefs.h >>conftest.$ac_ext |
| 2692 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 2693 | ++/* end confdefs.h. */ |
| 2694 | ++ |
| 2695 | ++int |
| 2696 | ++main () |
| 2697 | ++{ |
| 2698 | ++ |
| 2699 | ++ ; |
| 2700 | ++ return 0; |
| 2701 | ++} |
| 2702 | ++_ACEOF |
| 2703 | ++rm -f conftest.$ac_objext |
| 2704 | ++if { (ac_try="$ac_compile" |
| 2705 | ++case "(($ac_try" in |
| 2706 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2707 | ++ *) ac_try_echo=$ac_try;; |
| 2708 | ++esac |
| 2709 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2710 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 2711 | + ac_status=$? |
| 2712 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 2713 | ++ rm -f conftest.er1 |
| 2714 | ++ cat conftest.err >&5 |
| 2715 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2716 | +- (exit $ac_status); }; }; then |
| 2717 | ++ (exit $ac_status); } && { |
| 2718 | ++ test -z "$ac_c_werror_flag" || |
| 2719 | ++ test ! -s conftest.err |
| 2720 | ++ } && test -s conftest.$ac_objext; then |
| 2721 | + ac_cv_prog_cc_g=yes |
| 2722 | + else |
| 2723 | + echo "$as_me: failed program was:" >&5 |
| 2724 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 2725 | + |
| 2726 | +-ac_cv_prog_cc_g=no |
| 2727 | ++ |
| 2728 | ++fi |
| 2729 | ++ |
| 2730 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2731 | ++fi |
| 2732 | ++ |
| 2733 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2734 | + fi |
| 2735 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2736 | ++ |
| 2737 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2738 | ++ ac_c_werror_flag=$ac_save_c_werror_flag |
| 2739 | + fi |
| 2740 | +-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2741 | +-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2742 | ++{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2743 | ++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
| 2744 | + if test "$ac_test_CFLAGS" = set; then |
| 2745 | + CFLAGS=$ac_save_CFLAGS |
| 2746 | + elif test $ac_cv_prog_cc_g = yes; then |
| 2747 | +@@ -2222,12 +2839,12 @@ |
| 2748 | + CFLAGS= |
| 2749 | + fi |
| 2750 | + fi |
| 2751 | +-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 2752 | +-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 2753 | +-if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 2754 | ++{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 2755 | ++echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
| 2756 | ++if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 2757 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2758 | + else |
| 2759 | +- ac_cv_prog_cc_stdc=no |
| 2760 | ++ ac_cv_prog_cc_c89=no |
| 2761 | + ac_save_CC=$CC |
| 2762 | + cat >conftest.$ac_ext <<_ACEOF |
| 2763 | + /* confdefs.h. */ |
| 2764 | +@@ -2261,12 +2878,17 @@ |
| 2765 | + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2766 | + function prototypes and stuff, but not '\xHH' hex character constants. |
| 2767 | + These don't provoke an error unfortunately, instead are silently treated |
| 2768 | +- as 'x'. The following induces an error, until -std1 is added to get |
| 2769 | ++ as 'x'. The following induces an error, until -std is added to get |
| 2770 | + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2771 | + array size at least. It's necessary to write '\x00'==0 to get something |
| 2772 | +- that's true only with -std1. */ |
| 2773 | ++ that's true only with -std. */ |
| 2774 | + int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2775 | + |
| 2776 | ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2777 | ++ inside strings and character constants. */ |
| 2778 | ++#define FOO(x) 'x' |
| 2779 | ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 2780 | ++ |
| 2781 | + int test (int i, double x); |
| 2782 | + struct s1 {int (*f) (int a);}; |
| 2783 | + struct s2 {int (*f) (double a);}; |
| 2784 | +@@ -2281,223 +2903,79 @@ |
| 2785 | + return 0; |
| 2786 | + } |
| 2787 | + _ACEOF |
| 2788 | +-# Don't try gcc -ansi; that turns off useful extensions and |
| 2789 | +-# breaks some systems' header files. |
| 2790 | +-# AIX -qlanglvl=ansi |
| 2791 | +-# Ultrix and OSF/1 -std1 |
| 2792 | +-# HP-UX 10.20 and later -Ae |
| 2793 | +-# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 2794 | +-# SVR4 -Xc -D__EXTENSIONS__ |
| 2795 | +-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2796 | ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 2797 | ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2798 | + do |
| 2799 | + CC="$ac_save_CC $ac_arg" |
| 2800 | + rm -f conftest.$ac_objext |
| 2801 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2802 | +- (eval $ac_compile) 2>conftest.er1 |
| 2803 | ++if { (ac_try="$ac_compile" |
| 2804 | ++case "(($ac_try" in |
| 2805 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2806 | ++ *) ac_try_echo=$ac_try;; |
| 2807 | ++esac |
| 2808 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2809 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 2810 | + ac_status=$? |
| 2811 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 2812 | + rm -f conftest.er1 |
| 2813 | + cat conftest.err >&5 |
| 2814 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2815 | +- (exit $ac_status); } && |
| 2816 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 2817 | +- || test ! -s conftest.err' |
| 2818 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2819 | +- (eval $ac_try) 2>&5 |
| 2820 | +- ac_status=$? |
| 2821 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2822 | +- (exit $ac_status); }; } && |
| 2823 | +- { ac_try='test -s conftest.$ac_objext' |
| 2824 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2825 | +- (eval $ac_try) 2>&5 |
| 2826 | +- ac_status=$? |
| 2827 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2828 | +- (exit $ac_status); }; }; then |
| 2829 | +- ac_cv_prog_cc_stdc=$ac_arg |
| 2830 | +-break |
| 2831 | ++ (exit $ac_status); } && { |
| 2832 | ++ test -z "$ac_c_werror_flag" || |
| 2833 | ++ test ! -s conftest.err |
| 2834 | ++ } && test -s conftest.$ac_objext; then |
| 2835 | ++ ac_cv_prog_cc_c89=$ac_arg |
| 2836 | + else |
| 2837 | + echo "$as_me: failed program was:" >&5 |
| 2838 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 2839 | + |
| 2840 | ++ |
| 2841 | + fi |
| 2842 | +-rm -f conftest.err conftest.$ac_objext |
| 2843 | ++ |
| 2844 | ++rm -f core conftest.err conftest.$ac_objext |
| 2845 | ++ test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 2846 | + done |
| 2847 | +-rm -f conftest.$ac_ext conftest.$ac_objext |
| 2848 | ++rm -f conftest.$ac_ext |
| 2849 | + CC=$ac_save_CC |
| 2850 | + |
| 2851 | + fi |
| 2852 | +- |
| 2853 | +-case "x$ac_cv_prog_cc_stdc" in |
| 2854 | +- x|xno) |
| 2855 | +- echo "$as_me:$LINENO: result: none needed" >&5 |
| 2856 | +-echo "${ECHO_T}none needed" >&6 ;; |
| 2857 | ++# AC_CACHE_VAL |
| 2858 | ++case "x$ac_cv_prog_cc_c89" in |
| 2859 | ++ x) |
| 2860 | ++ { echo "$as_me:$LINENO: result: none needed" >&5 |
| 2861 | ++echo "${ECHO_T}none needed" >&6; } ;; |
| 2862 | ++ xno) |
| 2863 | ++ { echo "$as_me:$LINENO: result: unsupported" >&5 |
| 2864 | ++echo "${ECHO_T}unsupported" >&6; } ;; |
| 2865 | + *) |
| 2866 | +- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 2867 | +-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 2868 | +- CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 2869 | ++ CC="$CC $ac_cv_prog_cc_c89" |
| 2870 | ++ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 2871 | ++echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
| 2872 | + esac |
| 2873 | + |
| 2874 | +-# Some people use a C++ compiler to compile C. Since we use `exit', |
| 2875 | +-# in C++ we need to declare it. In case someone uses the same compiler |
| 2876 | +-# for both compiling C and C++ we need to have the C++ compiler decide |
| 2877 | +-# the declaration of exit, since it's the most demanding environment. |
| 2878 | +-cat >conftest.$ac_ext <<_ACEOF |
| 2879 | +-#ifndef __cplusplus |
| 2880 | +- choke me |
| 2881 | +-#endif |
| 2882 | +-_ACEOF |
| 2883 | +-rm -f conftest.$ac_objext |
| 2884 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2885 | +- (eval $ac_compile) 2>conftest.er1 |
| 2886 | +- ac_status=$? |
| 2887 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 2888 | +- rm -f conftest.er1 |
| 2889 | +- cat conftest.err >&5 |
| 2890 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2891 | +- (exit $ac_status); } && |
| 2892 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 2893 | +- || test ! -s conftest.err' |
| 2894 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2895 | +- (eval $ac_try) 2>&5 |
| 2896 | +- ac_status=$? |
| 2897 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2898 | +- (exit $ac_status); }; } && |
| 2899 | +- { ac_try='test -s conftest.$ac_objext' |
| 2900 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2901 | +- (eval $ac_try) 2>&5 |
| 2902 | +- ac_status=$? |
| 2903 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2904 | +- (exit $ac_status); }; }; then |
| 2905 | +- for ac_declaration in \ |
| 2906 | +- '' \ |
| 2907 | +- 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2908 | +- 'extern "C" void std::exit (int); using std::exit;' \ |
| 2909 | +- 'extern "C" void exit (int) throw ();' \ |
| 2910 | +- 'extern "C" void exit (int);' \ |
| 2911 | +- 'void exit (int);' |
| 2912 | +-do |
| 2913 | +- cat >conftest.$ac_ext <<_ACEOF |
| 2914 | +-/* confdefs.h. */ |
| 2915 | +-_ACEOF |
| 2916 | +-cat confdefs.h >>conftest.$ac_ext |
| 2917 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 2918 | +-/* end confdefs.h. */ |
| 2919 | +-$ac_declaration |
| 2920 | +-#include <stdlib.h> |
| 2921 | +-int |
| 2922 | +-main () |
| 2923 | +-{ |
| 2924 | +-exit (42); |
| 2925 | +- ; |
| 2926 | +- return 0; |
| 2927 | +-} |
| 2928 | +-_ACEOF |
| 2929 | +-rm -f conftest.$ac_objext |
| 2930 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2931 | +- (eval $ac_compile) 2>conftest.er1 |
| 2932 | +- ac_status=$? |
| 2933 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 2934 | +- rm -f conftest.er1 |
| 2935 | +- cat conftest.err >&5 |
| 2936 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2937 | +- (exit $ac_status); } && |
| 2938 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 2939 | +- || test ! -s conftest.err' |
| 2940 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2941 | +- (eval $ac_try) 2>&5 |
| 2942 | +- ac_status=$? |
| 2943 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2944 | +- (exit $ac_status); }; } && |
| 2945 | +- { ac_try='test -s conftest.$ac_objext' |
| 2946 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2947 | +- (eval $ac_try) 2>&5 |
| 2948 | +- ac_status=$? |
| 2949 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2950 | +- (exit $ac_status); }; }; then |
| 2951 | +- : |
| 2952 | +-else |
| 2953 | +- echo "$as_me: failed program was:" >&5 |
| 2954 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 2955 | + |
| 2956 | +-continue |
| 2957 | +-fi |
| 2958 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2959 | +- cat >conftest.$ac_ext <<_ACEOF |
| 2960 | +-/* confdefs.h. */ |
| 2961 | +-_ACEOF |
| 2962 | +-cat confdefs.h >>conftest.$ac_ext |
| 2963 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 2964 | +-/* end confdefs.h. */ |
| 2965 | +-$ac_declaration |
| 2966 | +-int |
| 2967 | +-main () |
| 2968 | +-{ |
| 2969 | +-exit (42); |
| 2970 | +- ; |
| 2971 | +- return 0; |
| 2972 | +-} |
| 2973 | +-_ACEOF |
| 2974 | +-rm -f conftest.$ac_objext |
| 2975 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2976 | +- (eval $ac_compile) 2>conftest.er1 |
| 2977 | +- ac_status=$? |
| 2978 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 2979 | +- rm -f conftest.er1 |
| 2980 | +- cat conftest.err >&5 |
| 2981 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2982 | +- (exit $ac_status); } && |
| 2983 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 2984 | +- || test ! -s conftest.err' |
| 2985 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2986 | +- (eval $ac_try) 2>&5 |
| 2987 | +- ac_status=$? |
| 2988 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2989 | +- (exit $ac_status); }; } && |
| 2990 | +- { ac_try='test -s conftest.$ac_objext' |
| 2991 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2992 | +- (eval $ac_try) 2>&5 |
| 2993 | +- ac_status=$? |
| 2994 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2995 | +- (exit $ac_status); }; }; then |
| 2996 | +- break |
| 2997 | +-else |
| 2998 | +- echo "$as_me: failed program was:" >&5 |
| 2999 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 3000 | +- |
| 3001 | +-fi |
| 3002 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3003 | +-done |
| 3004 | +-rm -f conftest* |
| 3005 | +-if test -n "$ac_declaration"; then |
| 3006 | +- echo '#ifdef __cplusplus' >>confdefs.h |
| 3007 | +- echo $ac_declaration >>confdefs.h |
| 3008 | +- echo '#endif' >>confdefs.h |
| 3009 | +-fi |
| 3010 | +- |
| 3011 | +-else |
| 3012 | +- echo "$as_me: failed program was:" >&5 |
| 3013 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 3014 | +- |
| 3015 | +-fi |
| 3016 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3017 | + ac_ext=c |
| 3018 | + ac_cpp='$CPP $CPPFLAGS' |
| 3019 | + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3020 | + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3021 | + ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3022 | + |
| 3023 | +-ac_ext=cc |
| 3024 | ++ac_ext=cpp |
| 3025 | + ac_cpp='$CXXCPP $CPPFLAGS' |
| 3026 | + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3027 | + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3028 | + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 3029 | +-if test -n "$ac_tool_prefix"; then |
| 3030 | +- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 3031 | ++if test -z "$CXX"; then |
| 3032 | ++ if test -n "$CCC"; then |
| 3033 | ++ CXX=$CCC |
| 3034 | ++ else |
| 3035 | ++ if test -n "$ac_tool_prefix"; then |
| 3036 | ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 3037 | + do |
| 3038 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3039 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3040 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3041 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3042 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3043 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3044 | + if test "${ac_cv_prog_CXX+set}" = set; then |
| 3045 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3046 | + else |
| 3047 | +@@ -2510,36 +2988,38 @@ |
| 3048 | + IFS=$as_save_IFS |
| 3049 | + test -z "$as_dir" && as_dir=. |
| 3050 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3051 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3052 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3053 | + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 3054 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3055 | + break 2 |
| 3056 | + fi |
| 3057 | + done |
| 3058 | + done |
| 3059 | ++IFS=$as_save_IFS |
| 3060 | + |
| 3061 | + fi |
| 3062 | + fi |
| 3063 | + CXX=$ac_cv_prog_CXX |
| 3064 | + if test -n "$CXX"; then |
| 3065 | +- echo "$as_me:$LINENO: result: $CXX" >&5 |
| 3066 | +-echo "${ECHO_T}$CXX" >&6 |
| 3067 | ++ { echo "$as_me:$LINENO: result: $CXX" >&5 |
| 3068 | ++echo "${ECHO_T}$CXX" >&6; } |
| 3069 | + else |
| 3070 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3071 | +-echo "${ECHO_T}no" >&6 |
| 3072 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3073 | ++echo "${ECHO_T}no" >&6; } |
| 3074 | + fi |
| 3075 | + |
| 3076 | ++ |
| 3077 | + test -n "$CXX" && break |
| 3078 | + done |
| 3079 | + fi |
| 3080 | + if test -z "$CXX"; then |
| 3081 | + ac_ct_CXX=$CXX |
| 3082 | +- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 3083 | ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 3084 | + do |
| 3085 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3086 | + set dummy $ac_prog; ac_word=$2 |
| 3087 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3088 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3089 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3090 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3091 | + if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 3092 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3093 | + else |
| 3094 | +@@ -2552,55 +3032,85 @@ |
| 3095 | + IFS=$as_save_IFS |
| 3096 | + test -z "$as_dir" && as_dir=. |
| 3097 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3098 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3099 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3100 | + ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 3101 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3102 | + break 2 |
| 3103 | + fi |
| 3104 | + done |
| 3105 | + done |
| 3106 | ++IFS=$as_save_IFS |
| 3107 | + |
| 3108 | + fi |
| 3109 | + fi |
| 3110 | + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 3111 | + if test -n "$ac_ct_CXX"; then |
| 3112 | +- echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 3113 | +-echo "${ECHO_T}$ac_ct_CXX" >&6 |
| 3114 | ++ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 3115 | ++echo "${ECHO_T}$ac_ct_CXX" >&6; } |
| 3116 | + else |
| 3117 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3118 | +-echo "${ECHO_T}no" >&6 |
| 3119 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3120 | ++echo "${ECHO_T}no" >&6; } |
| 3121 | + fi |
| 3122 | + |
| 3123 | ++ |
| 3124 | + test -n "$ac_ct_CXX" && break |
| 3125 | + done |
| 3126 | +-test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
| 3127 | + |
| 3128 | +- CXX=$ac_ct_CXX |
| 3129 | ++ if test "x$ac_ct_CXX" = x; then |
| 3130 | ++ CXX="g++" |
| 3131 | ++ else |
| 3132 | ++ case $cross_compiling:$ac_tool_warned in |
| 3133 | ++yes:) |
| 3134 | ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3135 | ++whose name does not start with the host triplet. If you think this |
| 3136 | ++configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 3137 | ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3138 | ++whose name does not start with the host triplet. If you think this |
| 3139 | ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 3140 | ++ac_tool_warned=yes ;; |
| 3141 | ++esac |
| 3142 | ++ CXX=$ac_ct_CXX |
| 3143 | ++ fi |
| 3144 | + fi |
| 3145 | + |
| 3146 | +- |
| 3147 | ++ fi |
| 3148 | ++fi |
| 3149 | + # Provide some information about the compiler. |
| 3150 | +-echo "$as_me:$LINENO:" \ |
| 3151 | +- "checking for C++ compiler version" >&5 |
| 3152 | ++echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
| 3153 | + ac_compiler=`set X $ac_compile; echo $2` |
| 3154 | +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 3155 | +- (eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 3156 | ++{ (ac_try="$ac_compiler --version >&5" |
| 3157 | ++case "(($ac_try" in |
| 3158 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3159 | ++ *) ac_try_echo=$ac_try;; |
| 3160 | ++esac |
| 3161 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3162 | ++ (eval "$ac_compiler --version >&5") 2>&5 |
| 3163 | + ac_status=$? |
| 3164 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3165 | + (exit $ac_status); } |
| 3166 | +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 3167 | +- (eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 3168 | ++{ (ac_try="$ac_compiler -v >&5" |
| 3169 | ++case "(($ac_try" in |
| 3170 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3171 | ++ *) ac_try_echo=$ac_try;; |
| 3172 | ++esac |
| 3173 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3174 | ++ (eval "$ac_compiler -v >&5") 2>&5 |
| 3175 | + ac_status=$? |
| 3176 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3177 | + (exit $ac_status); } |
| 3178 | +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 3179 | +- (eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 3180 | ++{ (ac_try="$ac_compiler -V >&5" |
| 3181 | ++case "(($ac_try" in |
| 3182 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3183 | ++ *) ac_try_echo=$ac_try;; |
| 3184 | ++esac |
| 3185 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3186 | ++ (eval "$ac_compiler -V >&5") 2>&5 |
| 3187 | + ac_status=$? |
| 3188 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3189 | + (exit $ac_status); } |
| 3190 | + |
| 3191 | +-echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 3192 | +-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| 3193 | ++{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 3194 | ++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
| 3195 | + if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 3196 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3197 | + else |
| 3198 | +@@ -2623,50 +3133,49 @@ |
| 3199 | + } |
| 3200 | + _ACEOF |
| 3201 | + rm -f conftest.$ac_objext |
| 3202 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3203 | +- (eval $ac_compile) 2>conftest.er1 |
| 3204 | ++if { (ac_try="$ac_compile" |
| 3205 | ++case "(($ac_try" in |
| 3206 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3207 | ++ *) ac_try_echo=$ac_try;; |
| 3208 | ++esac |
| 3209 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3210 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 3211 | + ac_status=$? |
| 3212 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 3213 | + rm -f conftest.er1 |
| 3214 | + cat conftest.err >&5 |
| 3215 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3216 | +- (exit $ac_status); } && |
| 3217 | +- { ac_try='test -z "$ac_cxx_werror_flag" |
| 3218 | +- || test ! -s conftest.err' |
| 3219 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3220 | +- (eval $ac_try) 2>&5 |
| 3221 | +- ac_status=$? |
| 3222 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3223 | +- (exit $ac_status); }; } && |
| 3224 | +- { ac_try='test -s conftest.$ac_objext' |
| 3225 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3226 | +- (eval $ac_try) 2>&5 |
| 3227 | +- ac_status=$? |
| 3228 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3229 | +- (exit $ac_status); }; }; then |
| 3230 | ++ (exit $ac_status); } && { |
| 3231 | ++ test -z "$ac_cxx_werror_flag" || |
| 3232 | ++ test ! -s conftest.err |
| 3233 | ++ } && test -s conftest.$ac_objext; then |
| 3234 | + ac_compiler_gnu=yes |
| 3235 | + else |
| 3236 | + echo "$as_me: failed program was:" >&5 |
| 3237 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 3238 | + |
| 3239 | +-ac_compiler_gnu=no |
| 3240 | ++ ac_compiler_gnu=no |
| 3241 | + fi |
| 3242 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3243 | ++ |
| 3244 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3245 | + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 3246 | + |
| 3247 | + fi |
| 3248 | +-echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 3249 | +-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
| 3250 | ++{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 3251 | ++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
| 3252 | + GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 3253 | + ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 3254 | + ac_save_CXXFLAGS=$CXXFLAGS |
| 3255 | +-CXXFLAGS="-g" |
| 3256 | +-echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 3257 | +-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
| 3258 | ++{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 3259 | ++echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
| 3260 | + if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 3261 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3262 | + else |
| 3263 | +- cat >conftest.$ac_ext <<_ACEOF |
| 3264 | ++ ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 3265 | ++ ac_cxx_werror_flag=yes |
| 3266 | ++ ac_cv_prog_cxx_g=no |
| 3267 | ++ CXXFLAGS="-g" |
| 3268 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 3269 | + /* confdefs.h. */ |
| 3270 | + _ACEOF |
| 3271 | + cat confdefs.h >>conftest.$ac_ext |
| 3272 | +@@ -2682,159 +3191,133 @@ |
| 3273 | + } |
| 3274 | + _ACEOF |
| 3275 | + rm -f conftest.$ac_objext |
| 3276 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3277 | +- (eval $ac_compile) 2>conftest.er1 |
| 3278 | ++if { (ac_try="$ac_compile" |
| 3279 | ++case "(($ac_try" in |
| 3280 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3281 | ++ *) ac_try_echo=$ac_try;; |
| 3282 | ++esac |
| 3283 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3284 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 3285 | + ac_status=$? |
| 3286 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 3287 | + rm -f conftest.er1 |
| 3288 | + cat conftest.err >&5 |
| 3289 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3290 | +- (exit $ac_status); } && |
| 3291 | +- { ac_try='test -z "$ac_cxx_werror_flag" |
| 3292 | +- || test ! -s conftest.err' |
| 3293 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3294 | +- (eval $ac_try) 2>&5 |
| 3295 | +- ac_status=$? |
| 3296 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3297 | +- (exit $ac_status); }; } && |
| 3298 | +- { ac_try='test -s conftest.$ac_objext' |
| 3299 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3300 | +- (eval $ac_try) 2>&5 |
| 3301 | +- ac_status=$? |
| 3302 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3303 | +- (exit $ac_status); }; }; then |
| 3304 | ++ (exit $ac_status); } && { |
| 3305 | ++ test -z "$ac_cxx_werror_flag" || |
| 3306 | ++ test ! -s conftest.err |
| 3307 | ++ } && test -s conftest.$ac_objext; then |
| 3308 | + ac_cv_prog_cxx_g=yes |
| 3309 | + else |
| 3310 | + echo "$as_me: failed program was:" >&5 |
| 3311 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 3312 | + |
| 3313 | +-ac_cv_prog_cxx_g=no |
| 3314 | +-fi |
| 3315 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3316 | +-fi |
| 3317 | +-echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 3318 | +-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 3319 | +-if test "$ac_test_CXXFLAGS" = set; then |
| 3320 | +- CXXFLAGS=$ac_save_CXXFLAGS |
| 3321 | +-elif test $ac_cv_prog_cxx_g = yes; then |
| 3322 | +- if test "$GXX" = yes; then |
| 3323 | +- CXXFLAGS="-g -O2" |
| 3324 | +- else |
| 3325 | +- CXXFLAGS="-g" |
| 3326 | +- fi |
| 3327 | +-else |
| 3328 | +- if test "$GXX" = yes; then |
| 3329 | +- CXXFLAGS="-O2" |
| 3330 | +- else |
| 3331 | +- CXXFLAGS= |
| 3332 | +- fi |
| 3333 | +-fi |
| 3334 | +-for ac_declaration in \ |
| 3335 | +- '' \ |
| 3336 | +- 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3337 | +- 'extern "C" void std::exit (int); using std::exit;' \ |
| 3338 | +- 'extern "C" void exit (int) throw ();' \ |
| 3339 | +- 'extern "C" void exit (int);' \ |
| 3340 | +- 'void exit (int);' |
| 3341 | +-do |
| 3342 | +- cat >conftest.$ac_ext <<_ACEOF |
| 3343 | ++ CXXFLAGS="" |
| 3344 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 3345 | + /* confdefs.h. */ |
| 3346 | + _ACEOF |
| 3347 | + cat confdefs.h >>conftest.$ac_ext |
| 3348 | + cat >>conftest.$ac_ext <<_ACEOF |
| 3349 | + /* end confdefs.h. */ |
| 3350 | +-$ac_declaration |
| 3351 | +-#include <stdlib.h> |
| 3352 | ++ |
| 3353 | + int |
| 3354 | + main () |
| 3355 | + { |
| 3356 | +-exit (42); |
| 3357 | ++ |
| 3358 | + ; |
| 3359 | + return 0; |
| 3360 | + } |
| 3361 | + _ACEOF |
| 3362 | + rm -f conftest.$ac_objext |
| 3363 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3364 | +- (eval $ac_compile) 2>conftest.er1 |
| 3365 | ++if { (ac_try="$ac_compile" |
| 3366 | ++case "(($ac_try" in |
| 3367 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3368 | ++ *) ac_try_echo=$ac_try;; |
| 3369 | ++esac |
| 3370 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3371 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 3372 | + ac_status=$? |
| 3373 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 3374 | + rm -f conftest.er1 |
| 3375 | + cat conftest.err >&5 |
| 3376 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3377 | +- (exit $ac_status); } && |
| 3378 | +- { ac_try='test -z "$ac_cxx_werror_flag" |
| 3379 | +- || test ! -s conftest.err' |
| 3380 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3381 | +- (eval $ac_try) 2>&5 |
| 3382 | +- ac_status=$? |
| 3383 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3384 | +- (exit $ac_status); }; } && |
| 3385 | +- { ac_try='test -s conftest.$ac_objext' |
| 3386 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3387 | +- (eval $ac_try) 2>&5 |
| 3388 | +- ac_status=$? |
| 3389 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3390 | +- (exit $ac_status); }; }; then |
| 3391 | ++ (exit $ac_status); } && { |
| 3392 | ++ test -z "$ac_cxx_werror_flag" || |
| 3393 | ++ test ! -s conftest.err |
| 3394 | ++ } && test -s conftest.$ac_objext; then |
| 3395 | + : |
| 3396 | + else |
| 3397 | + echo "$as_me: failed program was:" >&5 |
| 3398 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 3399 | + |
| 3400 | +-continue |
| 3401 | +-fi |
| 3402 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3403 | +- cat >conftest.$ac_ext <<_ACEOF |
| 3404 | ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 3405 | ++ CXXFLAGS="-g" |
| 3406 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 3407 | + /* confdefs.h. */ |
| 3408 | + _ACEOF |
| 3409 | + cat confdefs.h >>conftest.$ac_ext |
| 3410 | + cat >>conftest.$ac_ext <<_ACEOF |
| 3411 | + /* end confdefs.h. */ |
| 3412 | +-$ac_declaration |
| 3413 | ++ |
| 3414 | + int |
| 3415 | + main () |
| 3416 | + { |
| 3417 | +-exit (42); |
| 3418 | ++ |
| 3419 | + ; |
| 3420 | + return 0; |
| 3421 | + } |
| 3422 | + _ACEOF |
| 3423 | + rm -f conftest.$ac_objext |
| 3424 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3425 | +- (eval $ac_compile) 2>conftest.er1 |
| 3426 | ++if { (ac_try="$ac_compile" |
| 3427 | ++case "(($ac_try" in |
| 3428 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3429 | ++ *) ac_try_echo=$ac_try;; |
| 3430 | ++esac |
| 3431 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3432 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 3433 | + ac_status=$? |
| 3434 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 3435 | + rm -f conftest.er1 |
| 3436 | + cat conftest.err >&5 |
| 3437 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3438 | +- (exit $ac_status); } && |
| 3439 | +- { ac_try='test -z "$ac_cxx_werror_flag" |
| 3440 | +- || test ! -s conftest.err' |
| 3441 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3442 | +- (eval $ac_try) 2>&5 |
| 3443 | +- ac_status=$? |
| 3444 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3445 | +- (exit $ac_status); }; } && |
| 3446 | +- { ac_try='test -s conftest.$ac_objext' |
| 3447 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3448 | +- (eval $ac_try) 2>&5 |
| 3449 | +- ac_status=$? |
| 3450 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3451 | +- (exit $ac_status); }; }; then |
| 3452 | +- break |
| 3453 | ++ (exit $ac_status); } && { |
| 3454 | ++ test -z "$ac_cxx_werror_flag" || |
| 3455 | ++ test ! -s conftest.err |
| 3456 | ++ } && test -s conftest.$ac_objext; then |
| 3457 | ++ ac_cv_prog_cxx_g=yes |
| 3458 | + else |
| 3459 | + echo "$as_me: failed program was:" >&5 |
| 3460 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 3461 | + |
| 3462 | ++ |
| 3463 | + fi |
| 3464 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3465 | +-done |
| 3466 | +-rm -f conftest* |
| 3467 | +-if test -n "$ac_declaration"; then |
| 3468 | +- echo '#ifdef __cplusplus' >>confdefs.h |
| 3469 | +- echo $ac_declaration >>confdefs.h |
| 3470 | +- echo '#endif' >>confdefs.h |
| 3471 | ++ |
| 3472 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3473 | ++fi |
| 3474 | ++ |
| 3475 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3476 | + fi |
| 3477 | + |
| 3478 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3479 | ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 3480 | ++fi |
| 3481 | ++{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 3482 | ++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
| 3483 | ++if test "$ac_test_CXXFLAGS" = set; then |
| 3484 | ++ CXXFLAGS=$ac_save_CXXFLAGS |
| 3485 | ++elif test $ac_cv_prog_cxx_g = yes; then |
| 3486 | ++ if test "$GXX" = yes; then |
| 3487 | ++ CXXFLAGS="-g -O2" |
| 3488 | ++ else |
| 3489 | ++ CXXFLAGS="-g" |
| 3490 | ++ fi |
| 3491 | ++else |
| 3492 | ++ if test "$GXX" = yes; then |
| 3493 | ++ CXXFLAGS="-O2" |
| 3494 | ++ else |
| 3495 | ++ CXXFLAGS= |
| 3496 | ++ fi |
| 3497 | ++fi |
| 3498 | + ac_ext=c |
| 3499 | + ac_cpp='$CPP $CPPFLAGS' |
| 3500 | + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3501 | +@@ -2854,8 +3337,8 @@ |
| 3502 | + # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3503 | + # OS/2's system install, which has a completely different semantic |
| 3504 | + # ./install, which can be erroneously created by make from ./install.sh. |
| 3505 | +-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3506 | +-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 3507 | ++{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3508 | ++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
| 3509 | + if test -z "$INSTALL"; then |
| 3510 | + if test "${ac_cv_path_install+set}" = set; then |
| 3511 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3512 | +@@ -2877,7 +3360,7 @@ |
| 3513 | + # by default. |
| 3514 | + for ac_prog in ginstall scoinst install; do |
| 3515 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3516 | +- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 3517 | ++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 3518 | + if test $ac_prog = install && |
| 3519 | + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3520 | + # AIX install. It has an incompatible calling convention. |
| 3521 | +@@ -2896,21 +3379,22 @@ |
| 3522 | + ;; |
| 3523 | + esac |
| 3524 | + done |
| 3525 | ++IFS=$as_save_IFS |
| 3526 | + |
| 3527 | + |
| 3528 | + fi |
| 3529 | + if test "${ac_cv_path_install+set}" = set; then |
| 3530 | + INSTALL=$ac_cv_path_install |
| 3531 | + else |
| 3532 | +- # As a last resort, use the slow shell script. We don't cache a |
| 3533 | +- # path for INSTALL within a source directory, because that will |
| 3534 | ++ # As a last resort, use the slow shell script. Don't cache a |
| 3535 | ++ # value for INSTALL within a source directory, because that will |
| 3536 | + # break other packages using the cache if that directory is |
| 3537 | +- # removed, or if the path is relative. |
| 3538 | ++ # removed, or if the value is a relative name. |
| 3539 | + INSTALL=$ac_install_sh |
| 3540 | + fi |
| 3541 | + fi |
| 3542 | +-echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3543 | +-echo "${ECHO_T}$INSTALL" >&6 |
| 3544 | ++{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3545 | ++echo "${ECHO_T}$INSTALL" >&6; } |
| 3546 | + |
| 3547 | + # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3548 | + # It thinks the first close brace ends the variable substitution. |
| 3549 | +@@ -2920,15 +3404,15 @@ |
| 3550 | + |
| 3551 | + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3552 | + |
| 3553 | +-echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 3554 | +-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
| 3555 | ++{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 3556 | ++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
| 3557 | + LN_S=$as_ln_s |
| 3558 | + if test "$LN_S" = "ln -s"; then |
| 3559 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 3560 | +-echo "${ECHO_T}yes" >&6 |
| 3561 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 3562 | ++echo "${ECHO_T}yes" >&6; } |
| 3563 | + else |
| 3564 | +- echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 3565 | +-echo "${ECHO_T}no, using $LN_S" >&6 |
| 3566 | ++ { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 3567 | ++echo "${ECHO_T}no, using $LN_S" >&6; } |
| 3568 | + fi |
| 3569 | + |
| 3570 | + if test -n "$ac_tool_prefix"; then |
| 3571 | +@@ -2936,8 +3420,8 @@ |
| 3572 | + do |
| 3573 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3574 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3575 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3576 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3577 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3578 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3579 | + if test "${ac_cv_prog_AR+set}" = set; then |
| 3580 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3581 | + else |
| 3582 | +@@ -2950,25 +3434,27 @@ |
| 3583 | + IFS=$as_save_IFS |
| 3584 | + test -z "$as_dir" && as_dir=. |
| 3585 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3586 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3587 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3588 | + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 3589 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3590 | + break 2 |
| 3591 | + fi |
| 3592 | + done |
| 3593 | + done |
| 3594 | ++IFS=$as_save_IFS |
| 3595 | + |
| 3596 | + fi |
| 3597 | + fi |
| 3598 | + AR=$ac_cv_prog_AR |
| 3599 | + if test -n "$AR"; then |
| 3600 | +- echo "$as_me:$LINENO: result: $AR" >&5 |
| 3601 | +-echo "${ECHO_T}$AR" >&6 |
| 3602 | ++ { echo "$as_me:$LINENO: result: $AR" >&5 |
| 3603 | ++echo "${ECHO_T}$AR" >&6; } |
| 3604 | + else |
| 3605 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3606 | +-echo "${ECHO_T}no" >&6 |
| 3607 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3608 | ++echo "${ECHO_T}no" >&6; } |
| 3609 | + fi |
| 3610 | + |
| 3611 | ++ |
| 3612 | + test -n "$AR" && break |
| 3613 | + done |
| 3614 | + fi |
| 3615 | +@@ -2978,8 +3464,8 @@ |
| 3616 | + do |
| 3617 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3618 | + set dummy $ac_prog; ac_word=$2 |
| 3619 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3620 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3621 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3622 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3623 | + if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
| 3624 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3625 | + else |
| 3626 | +@@ -2992,29 +3478,45 @@ |
| 3627 | + IFS=$as_save_IFS |
| 3628 | + test -z "$as_dir" && as_dir=. |
| 3629 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3630 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3631 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3632 | + ac_cv_prog_ac_ct_AR="$ac_prog" |
| 3633 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3634 | + break 2 |
| 3635 | + fi |
| 3636 | + done |
| 3637 | + done |
| 3638 | ++IFS=$as_save_IFS |
| 3639 | + |
| 3640 | + fi |
| 3641 | + fi |
| 3642 | + ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 3643 | + if test -n "$ac_ct_AR"; then |
| 3644 | +- echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
| 3645 | +-echo "${ECHO_T}$ac_ct_AR" >&6 |
| 3646 | ++ { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
| 3647 | ++echo "${ECHO_T}$ac_ct_AR" >&6; } |
| 3648 | + else |
| 3649 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3650 | +-echo "${ECHO_T}no" >&6 |
| 3651 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3652 | ++echo "${ECHO_T}no" >&6; } |
| 3653 | + fi |
| 3654 | + |
| 3655 | ++ |
| 3656 | + test -n "$ac_ct_AR" && break |
| 3657 | + done |
| 3658 | + |
| 3659 | +- AR=$ac_ct_AR |
| 3660 | ++ if test "x$ac_ct_AR" = x; then |
| 3661 | ++ AR="" |
| 3662 | ++ else |
| 3663 | ++ case $cross_compiling:$ac_tool_warned in |
| 3664 | ++yes:) |
| 3665 | ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3666 | ++whose name does not start with the host triplet. If you think this |
| 3667 | ++configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 3668 | ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3669 | ++whose name does not start with the host triplet. If you think this |
| 3670 | ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 3671 | ++ac_tool_warned=yes ;; |
| 3672 | ++esac |
| 3673 | ++ AR=$ac_ct_AR |
| 3674 | ++ fi |
| 3675 | + fi |
| 3676 | + |
| 3677 | + if test -n "$ac_tool_prefix"; then |
| 3678 | +@@ -3022,8 +3524,8 @@ |
| 3679 | + do |
| 3680 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3681 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3682 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3683 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3684 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3685 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3686 | + if test "${ac_cv_prog_RC+set}" = set; then |
| 3687 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3688 | + else |
| 3689 | +@@ -3036,25 +3538,27 @@ |
| 3690 | + IFS=$as_save_IFS |
| 3691 | + test -z "$as_dir" && as_dir=. |
| 3692 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3693 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3694 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3695 | + ac_cv_prog_RC="$ac_tool_prefix$ac_prog" |
| 3696 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3697 | + break 2 |
| 3698 | + fi |
| 3699 | + done |
| 3700 | + done |
| 3701 | ++IFS=$as_save_IFS |
| 3702 | + |
| 3703 | + fi |
| 3704 | + fi |
| 3705 | + RC=$ac_cv_prog_RC |
| 3706 | + if test -n "$RC"; then |
| 3707 | +- echo "$as_me:$LINENO: result: $RC" >&5 |
| 3708 | +-echo "${ECHO_T}$RC" >&6 |
| 3709 | ++ { echo "$as_me:$LINENO: result: $RC" >&5 |
| 3710 | ++echo "${ECHO_T}$RC" >&6; } |
| 3711 | + else |
| 3712 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3713 | +-echo "${ECHO_T}no" >&6 |
| 3714 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3715 | ++echo "${ECHO_T}no" >&6; } |
| 3716 | + fi |
| 3717 | + |
| 3718 | ++ |
| 3719 | + test -n "$RC" && break |
| 3720 | + done |
| 3721 | + fi |
| 3722 | +@@ -3064,8 +3568,8 @@ |
| 3723 | + do |
| 3724 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3725 | + set dummy $ac_prog; ac_word=$2 |
| 3726 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3727 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3728 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3729 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3730 | + if test "${ac_cv_prog_ac_ct_RC+set}" = set; then |
| 3731 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3732 | + else |
| 3733 | +@@ -3078,37 +3582,53 @@ |
| 3734 | + IFS=$as_save_IFS |
| 3735 | + test -z "$as_dir" && as_dir=. |
| 3736 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3737 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3738 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3739 | + ac_cv_prog_ac_ct_RC="$ac_prog" |
| 3740 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3741 | + break 2 |
| 3742 | + fi |
| 3743 | + done |
| 3744 | + done |
| 3745 | ++IFS=$as_save_IFS |
| 3746 | + |
| 3747 | + fi |
| 3748 | + fi |
| 3749 | + ac_ct_RC=$ac_cv_prog_ac_ct_RC |
| 3750 | + if test -n "$ac_ct_RC"; then |
| 3751 | +- echo "$as_me:$LINENO: result: $ac_ct_RC" >&5 |
| 3752 | +-echo "${ECHO_T}$ac_ct_RC" >&6 |
| 3753 | ++ { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5 |
| 3754 | ++echo "${ECHO_T}$ac_ct_RC" >&6; } |
| 3755 | + else |
| 3756 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3757 | +-echo "${ECHO_T}no" >&6 |
| 3758 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3759 | ++echo "${ECHO_T}no" >&6; } |
| 3760 | + fi |
| 3761 | + |
| 3762 | ++ |
| 3763 | + test -n "$ac_ct_RC" && break |
| 3764 | + done |
| 3765 | + |
| 3766 | +- RC=$ac_ct_RC |
| 3767 | ++ if test "x$ac_ct_RC" = x; then |
| 3768 | ++ RC="" |
| 3769 | ++ else |
| 3770 | ++ case $cross_compiling:$ac_tool_warned in |
| 3771 | ++yes:) |
| 3772 | ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3773 | ++whose name does not start with the host triplet. If you think this |
| 3774 | ++configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 3775 | ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3776 | ++whose name does not start with the host triplet. If you think this |
| 3777 | ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 3778 | ++ac_tool_warned=yes ;; |
| 3779 | ++esac |
| 3780 | ++ RC=$ac_ct_RC |
| 3781 | ++ fi |
| 3782 | + fi |
| 3783 | + |
| 3784 | + for ac_prog in rm |
| 3785 | + do |
| 3786 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3787 | + set dummy $ac_prog; ac_word=$2 |
| 3788 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3789 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3790 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3791 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3792 | + if test "${ac_cv_prog_RM+set}" = set; then |
| 3793 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3794 | + else |
| 3795 | +@@ -3121,25 +3641,27 @@ |
| 3796 | + IFS=$as_save_IFS |
| 3797 | + test -z "$as_dir" && as_dir=. |
| 3798 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3799 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3800 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3801 | + ac_cv_prog_RM="$ac_prog" |
| 3802 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3803 | + break 2 |
| 3804 | + fi |
| 3805 | + done |
| 3806 | + done |
| 3807 | ++IFS=$as_save_IFS |
| 3808 | + |
| 3809 | + fi |
| 3810 | + fi |
| 3811 | + RM=$ac_cv_prog_RM |
| 3812 | + if test -n "$RM"; then |
| 3813 | +- echo "$as_me:$LINENO: result: $RM" >&5 |
| 3814 | +-echo "${ECHO_T}$RM" >&6 |
| 3815 | ++ { echo "$as_me:$LINENO: result: $RM" >&5 |
| 3816 | ++echo "${ECHO_T}$RM" >&6; } |
| 3817 | + else |
| 3818 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3819 | +-echo "${ECHO_T}no" >&6 |
| 3820 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3821 | ++echo "${ECHO_T}no" >&6; } |
| 3822 | + fi |
| 3823 | + |
| 3824 | ++ |
| 3825 | + test -n "$RM" && break |
| 3826 | + done |
| 3827 | + |
| 3828 | +@@ -3147,8 +3669,8 @@ |
| 3829 | + do |
| 3830 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3831 | + set dummy $ac_prog; ac_word=$2 |
| 3832 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3833 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3834 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3835 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3836 | + if test "${ac_cv_prog_CP+set}" = set; then |
| 3837 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3838 | + else |
| 3839 | +@@ -3161,25 +3683,27 @@ |
| 3840 | + IFS=$as_save_IFS |
| 3841 | + test -z "$as_dir" && as_dir=. |
| 3842 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3843 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3844 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3845 | + ac_cv_prog_CP="$ac_prog" |
| 3846 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3847 | + break 2 |
| 3848 | + fi |
| 3849 | + done |
| 3850 | + done |
| 3851 | ++IFS=$as_save_IFS |
| 3852 | + |
| 3853 | + fi |
| 3854 | + fi |
| 3855 | + CP=$ac_cv_prog_CP |
| 3856 | + if test -n "$CP"; then |
| 3857 | +- echo "$as_me:$LINENO: result: $CP" >&5 |
| 3858 | +-echo "${ECHO_T}$CP" >&6 |
| 3859 | ++ { echo "$as_me:$LINENO: result: $CP" >&5 |
| 3860 | ++echo "${ECHO_T}$CP" >&6; } |
| 3861 | + else |
| 3862 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3863 | +-echo "${ECHO_T}no" >&6 |
| 3864 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3865 | ++echo "${ECHO_T}no" >&6; } |
| 3866 | + fi |
| 3867 | + |
| 3868 | ++ |
| 3869 | + test -n "$CP" && break |
| 3870 | + done |
| 3871 | + |
| 3872 | +@@ -3187,8 +3711,8 @@ |
| 3873 | + do |
| 3874 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3875 | + set dummy $ac_prog; ac_word=$2 |
| 3876 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3877 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3878 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3879 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3880 | + if test "${ac_cv_prog_MKDIR+set}" = set; then |
| 3881 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3882 | + else |
| 3883 | +@@ -3201,25 +3725,27 @@ |
| 3884 | + IFS=$as_save_IFS |
| 3885 | + test -z "$as_dir" && as_dir=. |
| 3886 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3887 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3888 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3889 | + ac_cv_prog_MKDIR="$ac_prog" |
| 3890 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3891 | + break 2 |
| 3892 | + fi |
| 3893 | + done |
| 3894 | + done |
| 3895 | ++IFS=$as_save_IFS |
| 3896 | + |
| 3897 | + fi |
| 3898 | + fi |
| 3899 | + MKDIR=$ac_cv_prog_MKDIR |
| 3900 | + if test -n "$MKDIR"; then |
| 3901 | +- echo "$as_me:$LINENO: result: $MKDIR" >&5 |
| 3902 | +-echo "${ECHO_T}$MKDIR" >&6 |
| 3903 | ++ { echo "$as_me:$LINENO: result: $MKDIR" >&5 |
| 3904 | ++echo "${ECHO_T}$MKDIR" >&6; } |
| 3905 | + else |
| 3906 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3907 | +-echo "${ECHO_T}no" >&6 |
| 3908 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3909 | ++echo "${ECHO_T}no" >&6; } |
| 3910 | + fi |
| 3911 | + |
| 3912 | ++ |
| 3913 | + test -n "$MKDIR" && break |
| 3914 | + done |
| 3915 | + |
| 3916 | +@@ -3227,8 +3753,8 @@ |
| 3917 | + do |
| 3918 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3919 | + set dummy $ac_prog; ac_word=$2 |
| 3920 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3921 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3922 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3923 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3924 | + if test "${ac_cv_prog_ECHO+set}" = set; then |
| 3925 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3926 | + else |
| 3927 | +@@ -3241,25 +3767,27 @@ |
| 3928 | + IFS=$as_save_IFS |
| 3929 | + test -z "$as_dir" && as_dir=. |
| 3930 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3931 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3932 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3933 | + ac_cv_prog_ECHO="$ac_prog" |
| 3934 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3935 | + break 2 |
| 3936 | + fi |
| 3937 | + done |
| 3938 | + done |
| 3939 | ++IFS=$as_save_IFS |
| 3940 | + |
| 3941 | + fi |
| 3942 | + fi |
| 3943 | + ECHO=$ac_cv_prog_ECHO |
| 3944 | + if test -n "$ECHO"; then |
| 3945 | +- echo "$as_me:$LINENO: result: $ECHO" >&5 |
| 3946 | +-echo "${ECHO_T}$ECHO" >&6 |
| 3947 | ++ { echo "$as_me:$LINENO: result: $ECHO" >&5 |
| 3948 | ++echo "${ECHO_T}$ECHO" >&6; } |
| 3949 | + else |
| 3950 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3951 | +-echo "${ECHO_T}no" >&6 |
| 3952 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3953 | ++echo "${ECHO_T}no" >&6; } |
| 3954 | + fi |
| 3955 | + |
| 3956 | ++ |
| 3957 | + test -n "$ECHO" && break |
| 3958 | + done |
| 3959 | + |
| 3960 | +@@ -3267,8 +3795,8 @@ |
| 3961 | + do |
| 3962 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3963 | + set dummy $ac_prog; ac_word=$2 |
| 3964 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3965 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3966 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3967 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3968 | + if test "${ac_cv_prog_TAR+set}" = set; then |
| 3969 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3970 | + else |
| 3971 | +@@ -3281,25 +3809,27 @@ |
| 3972 | + IFS=$as_save_IFS |
| 3973 | + test -z "$as_dir" && as_dir=. |
| 3974 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 3975 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3976 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3977 | + ac_cv_prog_TAR="$ac_prog" |
| 3978 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3979 | + break 2 |
| 3980 | + fi |
| 3981 | + done |
| 3982 | + done |
| 3983 | ++IFS=$as_save_IFS |
| 3984 | + |
| 3985 | + fi |
| 3986 | + fi |
| 3987 | + TAR=$ac_cv_prog_TAR |
| 3988 | + if test -n "$TAR"; then |
| 3989 | +- echo "$as_me:$LINENO: result: $TAR" >&5 |
| 3990 | +-echo "${ECHO_T}$TAR" >&6 |
| 3991 | ++ { echo "$as_me:$LINENO: result: $TAR" >&5 |
| 3992 | ++echo "${ECHO_T}$TAR" >&6; } |
| 3993 | + else |
| 3994 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 3995 | +-echo "${ECHO_T}no" >&6 |
| 3996 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 3997 | ++echo "${ECHO_T}no" >&6; } |
| 3998 | + fi |
| 3999 | + |
| 4000 | ++ |
| 4001 | + test -n "$TAR" && break |
| 4002 | + done |
| 4003 | + |
| 4004 | +@@ -3307,8 +3837,8 @@ |
| 4005 | + do |
| 4006 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4007 | + set dummy $ac_prog; ac_word=$2 |
| 4008 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4009 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 4010 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4011 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4012 | + if test "${ac_cv_prog_GZIP+set}" = set; then |
| 4013 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4014 | + else |
| 4015 | +@@ -3321,25 +3851,27 @@ |
| 4016 | + IFS=$as_save_IFS |
| 4017 | + test -z "$as_dir" && as_dir=. |
| 4018 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 4019 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4020 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4021 | + ac_cv_prog_GZIP="$ac_prog" |
| 4022 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4023 | + break 2 |
| 4024 | + fi |
| 4025 | + done |
| 4026 | + done |
| 4027 | ++IFS=$as_save_IFS |
| 4028 | + |
| 4029 | + fi |
| 4030 | + fi |
| 4031 | + GZIP=$ac_cv_prog_GZIP |
| 4032 | + if test -n "$GZIP"; then |
| 4033 | +- echo "$as_me:$LINENO: result: $GZIP" >&5 |
| 4034 | +-echo "${ECHO_T}$GZIP" >&6 |
| 4035 | ++ { echo "$as_me:$LINENO: result: $GZIP" >&5 |
| 4036 | ++echo "${ECHO_T}$GZIP" >&6; } |
| 4037 | + else |
| 4038 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4039 | +-echo "${ECHO_T}no" >&6 |
| 4040 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4041 | ++echo "${ECHO_T}no" >&6; } |
| 4042 | + fi |
| 4043 | + |
| 4044 | ++ |
| 4045 | + test -n "$GZIP" && break |
| 4046 | + done |
| 4047 | + |
| 4048 | +@@ -3347,8 +3879,8 @@ |
| 4049 | + do |
| 4050 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4051 | + set dummy $ac_prog; ac_word=$2 |
| 4052 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4053 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 4054 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4055 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4056 | + if test "${ac_cv_prog_ZIP+set}" = set; then |
| 4057 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4058 | + else |
| 4059 | +@@ -3361,25 +3893,27 @@ |
| 4060 | + IFS=$as_save_IFS |
| 4061 | + test -z "$as_dir" && as_dir=. |
| 4062 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 4063 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4064 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4065 | + ac_cv_prog_ZIP="$ac_prog" |
| 4066 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4067 | + break 2 |
| 4068 | + fi |
| 4069 | + done |
| 4070 | + done |
| 4071 | ++IFS=$as_save_IFS |
| 4072 | + |
| 4073 | + fi |
| 4074 | + fi |
| 4075 | + ZIP=$ac_cv_prog_ZIP |
| 4076 | + if test -n "$ZIP"; then |
| 4077 | +- echo "$as_me:$LINENO: result: $ZIP" >&5 |
| 4078 | +-echo "${ECHO_T}$ZIP" >&6 |
| 4079 | ++ { echo "$as_me:$LINENO: result: $ZIP" >&5 |
| 4080 | ++echo "${ECHO_T}$ZIP" >&6; } |
| 4081 | + else |
| 4082 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4083 | +-echo "${ECHO_T}no" >&6 |
| 4084 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4085 | ++echo "${ECHO_T}no" >&6; } |
| 4086 | + fi |
| 4087 | + |
| 4088 | ++ |
| 4089 | + test -n "$ZIP" && break |
| 4090 | + done |
| 4091 | + |
| 4092 | +@@ -3390,8 +3924,8 @@ |
| 4093 | + do |
| 4094 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4095 | + set dummy $ac_prog; ac_word=$2 |
| 4096 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4097 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 4098 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4099 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4100 | + if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then |
| 4101 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4102 | + else |
| 4103 | +@@ -3404,25 +3938,27 @@ |
| 4104 | + IFS=$as_save_IFS |
| 4105 | + test -z "$as_dir" && as_dir=. |
| 4106 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 4107 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4108 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4109 | + ac_cv_prog_CC_FOR_BUILD="$ac_prog" |
| 4110 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4111 | + break 2 |
| 4112 | + fi |
| 4113 | + done |
| 4114 | + done |
| 4115 | ++IFS=$as_save_IFS |
| 4116 | + |
| 4117 | + fi |
| 4118 | + fi |
| 4119 | + CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD |
| 4120 | + if test -n "$CC_FOR_BUILD"; then |
| 4121 | +- echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5 |
| 4122 | +-echo "${ECHO_T}$CC_FOR_BUILD" >&6 |
| 4123 | ++ { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5 |
| 4124 | ++echo "${ECHO_T}$CC_FOR_BUILD" >&6; } |
| 4125 | + else |
| 4126 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4127 | +-echo "${ECHO_T}no" >&6 |
| 4128 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4129 | ++echo "${ECHO_T}no" >&6; } |
| 4130 | + fi |
| 4131 | + |
| 4132 | ++ |
| 4133 | + test -n "$CC_FOR_BUILD" && break |
| 4134 | + done |
| 4135 | + |
| 4136 | +@@ -3430,8 +3966,8 @@ |
| 4137 | + do |
| 4138 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4139 | + set dummy $ac_prog; ac_word=$2 |
| 4140 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4141 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 4142 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4143 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4144 | + if test "${ac_cv_prog_CXX_FOR_BUILD+set}" = set; then |
| 4145 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4146 | + else |
| 4147 | +@@ -3444,25 +3980,27 @@ |
| 4148 | + IFS=$as_save_IFS |
| 4149 | + test -z "$as_dir" && as_dir=. |
| 4150 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 4151 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4152 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4153 | + ac_cv_prog_CXX_FOR_BUILD="$ac_prog" |
| 4154 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4155 | + break 2 |
| 4156 | + fi |
| 4157 | + done |
| 4158 | + done |
| 4159 | ++IFS=$as_save_IFS |
| 4160 | + |
| 4161 | + fi |
| 4162 | + fi |
| 4163 | + CXX_FOR_BUILD=$ac_cv_prog_CXX_FOR_BUILD |
| 4164 | + if test -n "$CXX_FOR_BUILD"; then |
| 4165 | +- echo "$as_me:$LINENO: result: $CXX_FOR_BUILD" >&5 |
| 4166 | +-echo "${ECHO_T}$CXX_FOR_BUILD" >&6 |
| 4167 | ++ { echo "$as_me:$LINENO: result: $CXX_FOR_BUILD" >&5 |
| 4168 | ++echo "${ECHO_T}$CXX_FOR_BUILD" >&6; } |
| 4169 | + else |
| 4170 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4171 | +-echo "${ECHO_T}no" >&6 |
| 4172 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4173 | ++echo "${ECHO_T}no" >&6; } |
| 4174 | + fi |
| 4175 | + |
| 4176 | ++ |
| 4177 | + test -n "$CXX_FOR_BUILD" && break |
| 4178 | + done |
| 4179 | + |
| 4180 | +@@ -3475,34 +4013,34 @@ |
| 4181 | + fi |
| 4182 | + |
| 4183 | + # Checks for optimizations |
| 4184 | +-# Check whether --enable-debug or --disable-debug was given. |
| 4185 | ++# Check whether --enable-debug was given. |
| 4186 | + if test "${enable_debug+set}" = set; then |
| 4187 | +- enableval="$enable_debug" |
| 4188 | +- ac_enable_debug=$enableval |
| 4189 | ++ enableval=$enable_debug; ac_enable_debug=$enableval |
| 4190 | + else |
| 4191 | + ac_enable_debug=no |
| 4192 | + |
| 4193 | +-fi; |
| 4194 | ++fi |
| 4195 | ++ |
| 4196 | + CONF_DEBUG=$ac_enable_debug |
| 4197 | + |
| 4198 | + |
| 4199 | +-# Check whether --enable-test or --disable-test was given. |
| 4200 | ++# Check whether --enable-test was given. |
| 4201 | + if test "${enable_test+set}" = set; then |
| 4202 | +- enableval="$enable_test" |
| 4203 | +- ac_enable_test=$enableval |
| 4204 | ++ enableval=$enable_test; ac_enable_test=$enableval |
| 4205 | + else |
| 4206 | + ac_enable_test=no |
| 4207 | + |
| 4208 | +-fi; |
| 4209 | ++fi |
| 4210 | ++ |
| 4211 | + |
| 4212 | +-# Check whether --enable-static or --disable-static was given. |
| 4213 | ++# Check whether --enable-static was given. |
| 4214 | + if test "${enable_static+set}" = set; then |
| 4215 | +- enableval="$enable_static" |
| 4216 | +- ac_enable_static=$enableval |
| 4217 | ++ enableval=$enable_static; ac_enable_static=$enableval |
| 4218 | + else |
| 4219 | + ac_enable_static=no |
| 4220 | + |
| 4221 | +-fi; |
| 4222 | ++fi |
| 4223 | ++ |
| 4224 | + |
| 4225 | + if test $ac_auto_cflags = yes; then |
| 4226 | + if test $ac_enable_debug = yes ; then |
| 4227 | +@@ -3547,26 +4085,26 @@ |
| 4228 | + ac_cpu_arch_secondary=blend |
| 4229 | + fi |
| 4230 | + |
| 4231 | +-echo "$as_me:$LINENO: checking build arch" >&5 |
| 4232 | +-echo $ECHO_N "checking build arch... $ECHO_C" >&6 |
| 4233 | +-echo "$as_me:$LINENO: result: $ac_cpu_arch" >&5 |
| 4234 | +-echo "${ECHO_T}$ac_cpu_arch" >&6 |
| 4235 | ++{ echo "$as_me:$LINENO: checking build arch" >&5 |
| 4236 | ++echo $ECHO_N "checking build arch... $ECHO_C" >&6; } |
| 4237 | ++{ echo "$as_me:$LINENO: result: $ac_cpu_arch" >&5 |
| 4238 | ++echo "${ECHO_T}$ac_cpu_arch" >&6; } |
| 4239 | + |
| 4240 | + |
| 4241 | + if test $ac_cpu_arch = blend; then |
| 4242 | + ac_cc_arch=blend |
| 4243 | + else |
| 4244 | + |
| 4245 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch" >&5 |
| 4246 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch... $ECHO_C" >&6 |
| 4247 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch" >&5 |
| 4248 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch... $ECHO_C" >&6; } |
| 4249 | + echo 'void f(){}' > conftest.c |
| 4250 | + if test -z "`${CC-cc} -c -march=$ac_cpu_arch conftest.c 2>&1`"; then |
| 4251 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4252 | +-echo "${ECHO_T}yes" >&6 |
| 4253 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4254 | ++echo "${ECHO_T}yes" >&6; } |
| 4255 | + ac_cc_cpu_arch=yes |
| 4256 | + else |
| 4257 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4258 | +-echo "${ECHO_T}no" >&6 |
| 4259 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4260 | ++echo "${ECHO_T}no" >&6; } |
| 4261 | + ac_cc_cpu_arch=no |
| 4262 | + fi |
| 4263 | + rm -f conftest* |
| 4264 | +@@ -3575,16 +4113,16 @@ |
| 4265 | + ac_cc_arch=$ac_cpu_arch |
| 4266 | + else |
| 4267 | + |
| 4268 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary" >&5 |
| 4269 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary... $ECHO_C" >&6 |
| 4270 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary" >&5 |
| 4271 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -march=$ac_cpu_arch_secondary... $ECHO_C" >&6; } |
| 4272 | + echo 'void f(){}' > conftest.c |
| 4273 | + if test -z "`${CC-cc} -c -march=$ac_cpu_arch_secondary conftest.c 2>&1`"; then |
| 4274 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4275 | +-echo "${ECHO_T}yes" >&6 |
| 4276 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4277 | ++echo "${ECHO_T}yes" >&6; } |
| 4278 | + ac_cc_family_arch=yes |
| 4279 | + else |
| 4280 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4281 | +-echo "${ECHO_T}no" >&6 |
| 4282 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4283 | ++echo "${ECHO_T}no" >&6; } |
| 4284 | + ac_cc_family_arch=no |
| 4285 | + fi |
| 4286 | + rm -f conftest* |
| 4287 | +@@ -3600,16 +4138,16 @@ |
| 4288 | + if test ! $ac_cc_arch = blend; then |
| 4289 | + CFLAGS="$CFLAGS -march=$ac_cc_arch " |
| 4290 | + |
| 4291 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fomit-frame-pointer" >&5 |
| 4292 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -fomit-frame-pointer... $ECHO_C" >&6 |
| 4293 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fomit-frame-pointer" >&5 |
| 4294 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -fomit-frame-pointer... $ECHO_C" >&6; } |
| 4295 | + echo 'void f(){}' > conftest.c |
| 4296 | + if test -z "`${CC-cc} -c -fomit-frame-pointer conftest.c 2>&1`"; then |
| 4297 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4298 | +-echo "${ECHO_T}yes" >&6 |
| 4299 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4300 | ++echo "${ECHO_T}yes" >&6; } |
| 4301 | + CFLAGS="$CFLAGS -fomit-frame-pointer" |
| 4302 | + else |
| 4303 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4304 | +-echo "${ECHO_T}no" >&6 |
| 4305 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4306 | ++echo "${ECHO_T}no" >&6; } |
| 4307 | + |
| 4308 | + fi |
| 4309 | + rm -f conftest* |
| 4310 | +@@ -3617,77 +4155,77 @@ |
| 4311 | + fi |
| 4312 | + # -O3 don't seem to be safe on x86 platforms, also on latest gcc 3.3.x |
| 4313 | + |
| 4314 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -O2" >&5 |
| 4315 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -O2... $ECHO_C" >&6 |
| 4316 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -O2" >&5 |
| 4317 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -O2... $ECHO_C" >&6; } |
| 4318 | + echo 'void f(){}' > conftest.c |
| 4319 | + if test -z "`${CC-cc} -c -O2 conftest.c 2>&1`"; then |
| 4320 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4321 | +-echo "${ECHO_T}yes" >&6 |
| 4322 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4323 | ++echo "${ECHO_T}yes" >&6; } |
| 4324 | + CFLAGS="$CFLAGS -O2" |
| 4325 | + else |
| 4326 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4327 | +-echo "${ECHO_T}no" >&6 |
| 4328 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4329 | ++echo "${ECHO_T}no" >&6; } |
| 4330 | + CFLAGS="$CFLAGS -O" |
| 4331 | + fi |
| 4332 | + rm -f conftest* |
| 4333 | + |
| 4334 | + # -fno-merge-constants is required to speedup the link time. ld spends a lot of time trying to merge partial strings. |
| 4335 | + |
| 4336 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fno-merge-constants" >&5 |
| 4337 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -fno-merge-constants... $ECHO_C" >&6 |
| 4338 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fno-merge-constants" >&5 |
| 4339 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -fno-merge-constants... $ECHO_C" >&6; } |
| 4340 | + echo 'void f(){}' > conftest.c |
| 4341 | + if test -z "`${CC-cc} -c -fno-merge-constants conftest.c 2>&1`"; then |
| 4342 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4343 | +-echo "${ECHO_T}yes" >&6 |
| 4344 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4345 | ++echo "${ECHO_T}yes" >&6; } |
| 4346 | + CFLAGS="$CFLAGS -fno-merge-constants" |
| 4347 | + else |
| 4348 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4349 | +-echo "${ECHO_T}no" >&6 |
| 4350 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4351 | ++echo "${ECHO_T}no" >&6; } |
| 4352 | + |
| 4353 | + fi |
| 4354 | + rm -f conftest* |
| 4355 | + |
| 4356 | + |
| 4357 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wall" >&5 |
| 4358 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -Wall... $ECHO_C" >&6 |
| 4359 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wall" >&5 |
| 4360 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -Wall... $ECHO_C" >&6; } |
| 4361 | + echo 'void f(){}' > conftest.c |
| 4362 | + if test -z "`${CC-cc} -c -Wall conftest.c 2>&1`"; then |
| 4363 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4364 | +-echo "${ECHO_T}yes" >&6 |
| 4365 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4366 | ++echo "${ECHO_T}yes" >&6; } |
| 4367 | + CFLAGS="$CFLAGS -Wall" |
| 4368 | + else |
| 4369 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4370 | +-echo "${ECHO_T}no" >&6 |
| 4371 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4372 | ++echo "${ECHO_T}no" >&6; } |
| 4373 | + |
| 4374 | + fi |
| 4375 | + rm -f conftest* |
| 4376 | + |
| 4377 | + |
| 4378 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-sign-compare" >&5 |
| 4379 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-sign-compare... $ECHO_C" >&6 |
| 4380 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-sign-compare" >&5 |
| 4381 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-sign-compare... $ECHO_C" >&6; } |
| 4382 | + echo 'void f(){}' > conftest.c |
| 4383 | + if test -z "`${CC-cc} -c -Wno-sign-compare conftest.c 2>&1`"; then |
| 4384 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4385 | +-echo "${ECHO_T}yes" >&6 |
| 4386 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4387 | ++echo "${ECHO_T}yes" >&6; } |
| 4388 | + CFLAGS="$CFLAGS -Wno-sign-compare" |
| 4389 | + else |
| 4390 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4391 | +-echo "${ECHO_T}no" >&6 |
| 4392 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4393 | ++echo "${ECHO_T}no" >&6; } |
| 4394 | + |
| 4395 | + fi |
| 4396 | + rm -f conftest* |
| 4397 | + |
| 4398 | + |
| 4399 | +-echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-unused" >&5 |
| 4400 | +-echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-unused... $ECHO_C" >&6 |
| 4401 | ++{ echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Wno-unused" >&5 |
| 4402 | ++echo $ECHO_N "checking whether ${CC-cc} accepts -Wno-unused... $ECHO_C" >&6; } |
| 4403 | + echo 'void f(){}' > conftest.c |
| 4404 | + if test -z "`${CC-cc} -c -Wno-unused conftest.c 2>&1`"; then |
| 4405 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 4406 | +-echo "${ECHO_T}yes" >&6 |
| 4407 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 4408 | ++echo "${ECHO_T}yes" >&6; } |
| 4409 | + CFLAGS="$CFLAGS -Wno-unused" |
| 4410 | + else |
| 4411 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 4412 | +-echo "${ECHO_T}no" >&6 |
| 4413 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 4414 | ++echo "${ECHO_T}no" >&6; } |
| 4415 | + |
| 4416 | + fi |
| 4417 | + rm -f conftest* |
| 4418 | +@@ -3722,345 +4260,110 @@ |
| 4419 | + |
| 4420 | + # Checks for architecture |
| 4421 | + |
| 4422 | +-echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
| 4423 | +-echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
| 4424 | +-if test "${ac_cv_c_bigendian+set}" = set; then |
| 4425 | ++ac_ext=c |
| 4426 | ++ac_cpp='$CPP $CPPFLAGS' |
| 4427 | ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4428 | ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4429 | ++ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4430 | ++{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4431 | ++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
| 4432 | ++# On Suns, sometimes $CPP names a directory. |
| 4433 | ++if test -n "$CPP" && test -d "$CPP"; then |
| 4434 | ++ CPP= |
| 4435 | ++fi |
| 4436 | ++if test -z "$CPP"; then |
| 4437 | ++ if test "${ac_cv_prog_CPP+set}" = set; then |
| 4438 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4439 | + else |
| 4440 | +- # See if sys/param.h defines the BYTE_ORDER macro. |
| 4441 | +-cat >conftest.$ac_ext <<_ACEOF |
| 4442 | ++ # Double quotes because CPP needs to be expanded |
| 4443 | ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4444 | ++ do |
| 4445 | ++ ac_preproc_ok=false |
| 4446 | ++for ac_c_preproc_warn_flag in '' yes |
| 4447 | ++do |
| 4448 | ++ # Use a header file that comes with gcc, so configuring glibc |
| 4449 | ++ # with a fresh cross-compiler works. |
| 4450 | ++ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4451 | ++ # <limits.h> exists even on freestanding compilers. |
| 4452 | ++ # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4453 | ++ # not just through cpp. "Syntax error" is here to catch this case. |
| 4454 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 4455 | + /* confdefs.h. */ |
| 4456 | + _ACEOF |
| 4457 | + cat confdefs.h >>conftest.$ac_ext |
| 4458 | + cat >>conftest.$ac_ext <<_ACEOF |
| 4459 | + /* end confdefs.h. */ |
| 4460 | +-#include <sys/types.h> |
| 4461 | +-#include <sys/param.h> |
| 4462 | +- |
| 4463 | +-int |
| 4464 | +-main () |
| 4465 | +-{ |
| 4466 | +-#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 4467 | +- bogus endian macros |
| 4468 | ++#ifdef __STDC__ |
| 4469 | ++# include <limits.h> |
| 4470 | ++#else |
| 4471 | ++# include <assert.h> |
| 4472 | + #endif |
| 4473 | +- |
| 4474 | +- ; |
| 4475 | +- return 0; |
| 4476 | +-} |
| 4477 | ++ Syntax error |
| 4478 | + _ACEOF |
| 4479 | +-rm -f conftest.$ac_objext |
| 4480 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4481 | +- (eval $ac_compile) 2>conftest.er1 |
| 4482 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4483 | ++case "(($ac_try" in |
| 4484 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4485 | ++ *) ac_try_echo=$ac_try;; |
| 4486 | ++esac |
| 4487 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4488 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4489 | + ac_status=$? |
| 4490 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 4491 | + rm -f conftest.er1 |
| 4492 | + cat conftest.err >&5 |
| 4493 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4494 | +- (exit $ac_status); } && |
| 4495 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 4496 | +- || test ! -s conftest.err' |
| 4497 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4498 | +- (eval $ac_try) 2>&5 |
| 4499 | +- ac_status=$? |
| 4500 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4501 | +- (exit $ac_status); }; } && |
| 4502 | +- { ac_try='test -s conftest.$ac_objext' |
| 4503 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4504 | +- (eval $ac_try) 2>&5 |
| 4505 | +- ac_status=$? |
| 4506 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4507 | +- (exit $ac_status); }; }; then |
| 4508 | +- # It does; now see whether it defined to BIG_ENDIAN or not. |
| 4509 | +-cat >conftest.$ac_ext <<_ACEOF |
| 4510 | ++ (exit $ac_status); } >/dev/null && { |
| 4511 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4512 | ++ test ! -s conftest.err |
| 4513 | ++ }; then |
| 4514 | ++ : |
| 4515 | ++else |
| 4516 | ++ echo "$as_me: failed program was:" >&5 |
| 4517 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 4518 | ++ |
| 4519 | ++ # Broken: fails on valid input. |
| 4520 | ++continue |
| 4521 | ++fi |
| 4522 | ++ |
| 4523 | ++rm -f conftest.err conftest.$ac_ext |
| 4524 | ++ |
| 4525 | ++ # OK, works on sane cases. Now check whether nonexistent headers |
| 4526 | ++ # can be detected and how. |
| 4527 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 4528 | + /* confdefs.h. */ |
| 4529 | + _ACEOF |
| 4530 | + cat confdefs.h >>conftest.$ac_ext |
| 4531 | + cat >>conftest.$ac_ext <<_ACEOF |
| 4532 | + /* end confdefs.h. */ |
| 4533 | +-#include <sys/types.h> |
| 4534 | +-#include <sys/param.h> |
| 4535 | +- |
| 4536 | +-int |
| 4537 | +-main () |
| 4538 | +-{ |
| 4539 | +-#if BYTE_ORDER != BIG_ENDIAN |
| 4540 | +- not big endian |
| 4541 | +-#endif |
| 4542 | +- |
| 4543 | +- ; |
| 4544 | +- return 0; |
| 4545 | +-} |
| 4546 | ++#include <ac_nonexistent.h> |
| 4547 | + _ACEOF |
| 4548 | +-rm -f conftest.$ac_objext |
| 4549 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4550 | +- (eval $ac_compile) 2>conftest.er1 |
| 4551 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4552 | ++case "(($ac_try" in |
| 4553 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4554 | ++ *) ac_try_echo=$ac_try;; |
| 4555 | ++esac |
| 4556 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4557 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4558 | + ac_status=$? |
| 4559 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 4560 | + rm -f conftest.er1 |
| 4561 | + cat conftest.err >&5 |
| 4562 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4563 | +- (exit $ac_status); } && |
| 4564 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 4565 | +- || test ! -s conftest.err' |
| 4566 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4567 | +- (eval $ac_try) 2>&5 |
| 4568 | +- ac_status=$? |
| 4569 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4570 | +- (exit $ac_status); }; } && |
| 4571 | +- { ac_try='test -s conftest.$ac_objext' |
| 4572 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4573 | +- (eval $ac_try) 2>&5 |
| 4574 | +- ac_status=$? |
| 4575 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4576 | +- (exit $ac_status); }; }; then |
| 4577 | +- ac_cv_c_bigendian=yes |
| 4578 | ++ (exit $ac_status); } >/dev/null && { |
| 4579 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4580 | ++ test ! -s conftest.err |
| 4581 | ++ }; then |
| 4582 | ++ # Broken: success on invalid input. |
| 4583 | ++continue |
| 4584 | + else |
| 4585 | + echo "$as_me: failed program was:" >&5 |
| 4586 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 4587 | + |
| 4588 | +-ac_cv_c_bigendian=no |
| 4589 | ++ # Passes both tests. |
| 4590 | ++ac_preproc_ok=: |
| 4591 | ++break |
| 4592 | + fi |
| 4593 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4594 | +-else |
| 4595 | +- echo "$as_me: failed program was:" >&5 |
| 4596 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 4597 | + |
| 4598 | +-# It does not; compile a test program. |
| 4599 | +-if test "$cross_compiling" = yes; then |
| 4600 | +- # try to guess the endianness by grepping values into an object file |
| 4601 | +- ac_cv_c_bigendian=unknown |
| 4602 | +- cat >conftest.$ac_ext <<_ACEOF |
| 4603 | +-/* confdefs.h. */ |
| 4604 | +-_ACEOF |
| 4605 | +-cat confdefs.h >>conftest.$ac_ext |
| 4606 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 4607 | +-/* end confdefs.h. */ |
| 4608 | +-short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 4609 | +-short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 4610 | +-void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
| 4611 | +-short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 4612 | +-short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 4613 | +-void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
| 4614 | +-int |
| 4615 | +-main () |
| 4616 | +-{ |
| 4617 | +- _ascii (); _ebcdic (); |
| 4618 | +- ; |
| 4619 | +- return 0; |
| 4620 | +-} |
| 4621 | +-_ACEOF |
| 4622 | +-rm -f conftest.$ac_objext |
| 4623 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4624 | +- (eval $ac_compile) 2>conftest.er1 |
| 4625 | +- ac_status=$? |
| 4626 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 4627 | +- rm -f conftest.er1 |
| 4628 | +- cat conftest.err >&5 |
| 4629 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4630 | +- (exit $ac_status); } && |
| 4631 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 4632 | +- || test ! -s conftest.err' |
| 4633 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4634 | +- (eval $ac_try) 2>&5 |
| 4635 | +- ac_status=$? |
| 4636 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4637 | +- (exit $ac_status); }; } && |
| 4638 | +- { ac_try='test -s conftest.$ac_objext' |
| 4639 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4640 | +- (eval $ac_try) 2>&5 |
| 4641 | +- ac_status=$? |
| 4642 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4643 | +- (exit $ac_status); }; }; then |
| 4644 | +- if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
| 4645 | +- ac_cv_c_bigendian=yes |
| 4646 | +-fi |
| 4647 | +-if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
| 4648 | +- if test "$ac_cv_c_bigendian" = unknown; then |
| 4649 | +- ac_cv_c_bigendian=no |
| 4650 | +- else |
| 4651 | +- # finding both strings is unlikely to happen, but who knows? |
| 4652 | +- ac_cv_c_bigendian=unknown |
| 4653 | +- fi |
| 4654 | +-fi |
| 4655 | +-else |
| 4656 | +- echo "$as_me: failed program was:" >&5 |
| 4657 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 4658 | +- |
| 4659 | +-fi |
| 4660 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4661 | +-else |
| 4662 | +- cat >conftest.$ac_ext <<_ACEOF |
| 4663 | +-/* confdefs.h. */ |
| 4664 | +-_ACEOF |
| 4665 | +-cat confdefs.h >>conftest.$ac_ext |
| 4666 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 4667 | +-/* end confdefs.h. */ |
| 4668 | +-int |
| 4669 | +-main () |
| 4670 | +-{ |
| 4671 | +- /* Are we little or big endian? From Harbison&Steele. */ |
| 4672 | +- union |
| 4673 | +- { |
| 4674 | +- long l; |
| 4675 | +- char c[sizeof (long)]; |
| 4676 | +- } u; |
| 4677 | +- u.l = 1; |
| 4678 | +- exit (u.c[sizeof (long) - 1] == 1); |
| 4679 | +-} |
| 4680 | +-_ACEOF |
| 4681 | +-rm -f conftest$ac_exeext |
| 4682 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4683 | +- (eval $ac_link) 2>&5 |
| 4684 | +- ac_status=$? |
| 4685 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4686 | +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 4687 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4688 | +- (eval $ac_try) 2>&5 |
| 4689 | +- ac_status=$? |
| 4690 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4691 | +- (exit $ac_status); }; }; then |
| 4692 | +- ac_cv_c_bigendian=no |
| 4693 | +-else |
| 4694 | +- echo "$as_me: program exited with status $ac_status" >&5 |
| 4695 | +-echo "$as_me: failed program was:" >&5 |
| 4696 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 4697 | +- |
| 4698 | +-( exit $ac_status ) |
| 4699 | +-ac_cv_c_bigendian=yes |
| 4700 | +-fi |
| 4701 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4702 | +-fi |
| 4703 | +-fi |
| 4704 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4705 | +-fi |
| 4706 | +-echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
| 4707 | +-echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
| 4708 | +-case $ac_cv_c_bigendian in |
| 4709 | +- yes) |
| 4710 | +- ac_is_bigendian=yes ;; |
| 4711 | +- no) |
| 4712 | +- ac_is_bigendian=no |
| 4713 | +- ;; |
| 4714 | +- *) |
| 4715 | +- { { echo "$as_me:$LINENO: error: unknown endianness |
| 4716 | +-presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
| 4717 | +-echo "$as_me: error: unknown endianness |
| 4718 | +-presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
| 4719 | +- { (exit 1); exit 1; }; } ;; |
| 4720 | +-esac |
| 4721 | +- |
| 4722 | +-if test $ac_is_bigendian = yes; then |
| 4723 | +- CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_MSB" |
| 4724 | +-else |
| 4725 | +- CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_LSB" |
| 4726 | +-fi |
| 4727 | +- |
| 4728 | +-ac_ext=c |
| 4729 | +-ac_cpp='$CPP $CPPFLAGS' |
| 4730 | +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4731 | +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4732 | +-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4733 | +-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4734 | +-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 4735 | +-# On Suns, sometimes $CPP names a directory. |
| 4736 | +-if test -n "$CPP" && test -d "$CPP"; then |
| 4737 | +- CPP= |
| 4738 | +-fi |
| 4739 | +-if test -z "$CPP"; then |
| 4740 | +- if test "${ac_cv_prog_CPP+set}" = set; then |
| 4741 | +- echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4742 | +-else |
| 4743 | +- # Double quotes because CPP needs to be expanded |
| 4744 | +- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4745 | +- do |
| 4746 | +- ac_preproc_ok=false |
| 4747 | +-for ac_c_preproc_warn_flag in '' yes |
| 4748 | +-do |
| 4749 | +- # Use a header file that comes with gcc, so configuring glibc |
| 4750 | +- # with a fresh cross-compiler works. |
| 4751 | +- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4752 | +- # <limits.h> exists even on freestanding compilers. |
| 4753 | +- # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4754 | +- # not just through cpp. "Syntax error" is here to catch this case. |
| 4755 | +- cat >conftest.$ac_ext <<_ACEOF |
| 4756 | +-/* confdefs.h. */ |
| 4757 | +-_ACEOF |
| 4758 | +-cat confdefs.h >>conftest.$ac_ext |
| 4759 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 4760 | +-/* end confdefs.h. */ |
| 4761 | +-#ifdef __STDC__ |
| 4762 | +-# include <limits.h> |
| 4763 | +-#else |
| 4764 | +-# include <assert.h> |
| 4765 | +-#endif |
| 4766 | +- Syntax error |
| 4767 | +-_ACEOF |
| 4768 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4769 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4770 | +- ac_status=$? |
| 4771 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 4772 | +- rm -f conftest.er1 |
| 4773 | +- cat conftest.err >&5 |
| 4774 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4775 | +- (exit $ac_status); } >/dev/null; then |
| 4776 | +- if test -s conftest.err; then |
| 4777 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 4778 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4779 | +- else |
| 4780 | +- ac_cpp_err= |
| 4781 | +- fi |
| 4782 | +-else |
| 4783 | +- ac_cpp_err=yes |
| 4784 | +-fi |
| 4785 | +-if test -z "$ac_cpp_err"; then |
| 4786 | +- : |
| 4787 | +-else |
| 4788 | +- echo "$as_me: failed program was:" >&5 |
| 4789 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 4790 | +- |
| 4791 | +- # Broken: fails on valid input. |
| 4792 | +-continue |
| 4793 | +-fi |
| 4794 | +-rm -f conftest.err conftest.$ac_ext |
| 4795 | +- |
| 4796 | +- # OK, works on sane cases. Now check whether non-existent headers |
| 4797 | +- # can be detected and how. |
| 4798 | +- cat >conftest.$ac_ext <<_ACEOF |
| 4799 | +-/* confdefs.h. */ |
| 4800 | +-_ACEOF |
| 4801 | +-cat confdefs.h >>conftest.$ac_ext |
| 4802 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 4803 | +-/* end confdefs.h. */ |
| 4804 | +-#include <ac_nonexistent.h> |
| 4805 | +-_ACEOF |
| 4806 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4807 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4808 | +- ac_status=$? |
| 4809 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 4810 | +- rm -f conftest.er1 |
| 4811 | +- cat conftest.err >&5 |
| 4812 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4813 | +- (exit $ac_status); } >/dev/null; then |
| 4814 | +- if test -s conftest.err; then |
| 4815 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 4816 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4817 | +- else |
| 4818 | +- ac_cpp_err= |
| 4819 | +- fi |
| 4820 | +-else |
| 4821 | +- ac_cpp_err=yes |
| 4822 | +-fi |
| 4823 | +-if test -z "$ac_cpp_err"; then |
| 4824 | +- # Broken: success on invalid input. |
| 4825 | +-continue |
| 4826 | +-else |
| 4827 | +- echo "$as_me: failed program was:" >&5 |
| 4828 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 4829 | +- |
| 4830 | +- # Passes both tests. |
| 4831 | +-ac_preproc_ok=: |
| 4832 | +-break |
| 4833 | +-fi |
| 4834 | + rm -f conftest.err conftest.$ac_ext |
| 4835 | + |
| 4836 | + done |
| 4837 | +@@ -4078,8 +4381,8 @@ |
| 4838 | + else |
| 4839 | + ac_cv_prog_CPP=$CPP |
| 4840 | + fi |
| 4841 | +-echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4842 | +-echo "${ECHO_T}$CPP" >&6 |
| 4843 | ++{ echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4844 | ++echo "${ECHO_T}$CPP" >&6; } |
| 4845 | + ac_preproc_ok=false |
| 4846 | + for ac_c_preproc_warn_flag in '' yes |
| 4847 | + do |
| 4848 | +@@ -4102,24 +4405,22 @@ |
| 4849 | + #endif |
| 4850 | + Syntax error |
| 4851 | + _ACEOF |
| 4852 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4853 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4854 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4855 | ++case "(($ac_try" in |
| 4856 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4857 | ++ *) ac_try_echo=$ac_try;; |
| 4858 | ++esac |
| 4859 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4860 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4861 | + ac_status=$? |
| 4862 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 4863 | + rm -f conftest.er1 |
| 4864 | + cat conftest.err >&5 |
| 4865 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4866 | +- (exit $ac_status); } >/dev/null; then |
| 4867 | +- if test -s conftest.err; then |
| 4868 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 4869 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4870 | +- else |
| 4871 | +- ac_cpp_err= |
| 4872 | +- fi |
| 4873 | +-else |
| 4874 | +- ac_cpp_err=yes |
| 4875 | +-fi |
| 4876 | +-if test -z "$ac_cpp_err"; then |
| 4877 | ++ (exit $ac_status); } >/dev/null && { |
| 4878 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4879 | ++ test ! -s conftest.err |
| 4880 | ++ }; then |
| 4881 | + : |
| 4882 | + else |
| 4883 | + echo "$as_me: failed program was:" >&5 |
| 4884 | +@@ -4128,9 +4429,10 @@ |
| 4885 | + # Broken: fails on valid input. |
| 4886 | + continue |
| 4887 | + fi |
| 4888 | ++ |
| 4889 | + rm -f conftest.err conftest.$ac_ext |
| 4890 | + |
| 4891 | +- # OK, works on sane cases. Now check whether non-existent headers |
| 4892 | ++ # OK, works on sane cases. Now check whether nonexistent headers |
| 4893 | + # can be detected and how. |
| 4894 | + cat >conftest.$ac_ext <<_ACEOF |
| 4895 | + /* confdefs.h. */ |
| 4896 | +@@ -4140,24 +4442,22 @@ |
| 4897 | + /* end confdefs.h. */ |
| 4898 | + #include <ac_nonexistent.h> |
| 4899 | + _ACEOF |
| 4900 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4901 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4902 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4903 | ++case "(($ac_try" in |
| 4904 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4905 | ++ *) ac_try_echo=$ac_try;; |
| 4906 | ++esac |
| 4907 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4908 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4909 | + ac_status=$? |
| 4910 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 4911 | + rm -f conftest.er1 |
| 4912 | + cat conftest.err >&5 |
| 4913 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4914 | +- (exit $ac_status); } >/dev/null; then |
| 4915 | +- if test -s conftest.err; then |
| 4916 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 4917 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4918 | +- else |
| 4919 | +- ac_cpp_err= |
| 4920 | +- fi |
| 4921 | +-else |
| 4922 | +- ac_cpp_err=yes |
| 4923 | +-fi |
| 4924 | +-if test -z "$ac_cpp_err"; then |
| 4925 | ++ (exit $ac_status); } >/dev/null && { |
| 4926 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4927 | ++ test ! -s conftest.err |
| 4928 | ++ }; then |
| 4929 | + # Broken: success on invalid input. |
| 4930 | + continue |
| 4931 | + else |
| 4932 | +@@ -4168,6 +4468,7 @@ |
| 4933 | + ac_preproc_ok=: |
| 4934 | + break |
| 4935 | + fi |
| 4936 | ++ |
| 4937 | + rm -f conftest.err conftest.$ac_ext |
| 4938 | + |
| 4939 | + done |
| 4940 | +@@ -4190,23 +4491,170 @@ |
| 4941 | + ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4942 | + |
| 4943 | + |
| 4944 | +-echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4945 | +-echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 4946 | +-if test "${ac_cv_prog_egrep+set}" = set; then |
| 4947 | ++{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 4948 | ++echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
| 4949 | ++if test "${ac_cv_path_GREP+set}" = set; then |
| 4950 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4951 | ++else |
| 4952 | ++ # Extract the first word of "grep ggrep" to use in msg output |
| 4953 | ++if test -z "$GREP"; then |
| 4954 | ++set dummy grep ggrep; ac_prog_name=$2 |
| 4955 | ++if test "${ac_cv_path_GREP+set}" = set; then |
| 4956 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4957 | + else |
| 4958 | +- if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 4959 | +- then ac_cv_prog_egrep='grep -E' |
| 4960 | +- else ac_cv_prog_egrep='egrep' |
| 4961 | ++ ac_path_GREP_found=false |
| 4962 | ++# Loop through the user's path and test for each of PROGNAME-LIST |
| 4963 | ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4964 | ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4965 | ++do |
| 4966 | ++ IFS=$as_save_IFS |
| 4967 | ++ test -z "$as_dir" && as_dir=. |
| 4968 | ++ for ac_prog in grep ggrep; do |
| 4969 | ++ for ac_exec_ext in '' $ac_executable_extensions; do |
| 4970 | ++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4971 | ++ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 4972 | ++ # Check for GNU ac_path_GREP and select it if it is found. |
| 4973 | ++ # Check for GNU $ac_path_GREP |
| 4974 | ++case `"$ac_path_GREP" --version 2>&1` in |
| 4975 | ++*GNU*) |
| 4976 | ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 4977 | ++*) |
| 4978 | ++ ac_count=0 |
| 4979 | ++ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
| 4980 | ++ while : |
| 4981 | ++ do |
| 4982 | ++ cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4983 | ++ mv "conftest.tmp" "conftest.in" |
| 4984 | ++ cp "conftest.in" "conftest.nl" |
| 4985 | ++ echo 'GREP' >> "conftest.nl" |
| 4986 | ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4987 | ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4988 | ++ ac_count=`expr $ac_count + 1` |
| 4989 | ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4990 | ++ # Best one so far, save it but keep looking for a better one |
| 4991 | ++ ac_cv_path_GREP="$ac_path_GREP" |
| 4992 | ++ ac_path_GREP_max=$ac_count |
| 4993 | + fi |
| 4994 | ++ # 10*(2^10) chars as input seems more than enough |
| 4995 | ++ test $ac_count -gt 10 && break |
| 4996 | ++ done |
| 4997 | ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 4998 | ++esac |
| 4999 | ++ |
| 5000 | ++ |
| 5001 | ++ $ac_path_GREP_found && break 3 |
| 5002 | ++ done |
| 5003 | ++done |
| 5004 | ++ |
| 5005 | ++done |
| 5006 | ++IFS=$as_save_IFS |
| 5007 | ++ |
| 5008 | ++ |
| 5009 | ++fi |
| 5010 | ++ |
| 5011 | ++GREP="$ac_cv_path_GREP" |
| 5012 | ++if test -z "$GREP"; then |
| 5013 | ++ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 5014 | ++echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 5015 | ++ { (exit 1); exit 1; }; } |
| 5016 | ++fi |
| 5017 | ++ |
| 5018 | ++else |
| 5019 | ++ ac_cv_path_GREP=$GREP |
| 5020 | ++fi |
| 5021 | ++ |
| 5022 | ++ |
| 5023 | ++fi |
| 5024 | ++{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 5025 | ++echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
| 5026 | ++ GREP="$ac_cv_path_GREP" |
| 5027 | ++ |
| 5028 | ++ |
| 5029 | ++{ echo "$as_me:$LINENO: checking for egrep" >&5 |
| 5030 | ++echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
| 5031 | ++if test "${ac_cv_path_EGREP+set}" = set; then |
| 5032 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5033 | ++else |
| 5034 | ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 5035 | ++ then ac_cv_path_EGREP="$GREP -E" |
| 5036 | ++ else |
| 5037 | ++ # Extract the first word of "egrep" to use in msg output |
| 5038 | ++if test -z "$EGREP"; then |
| 5039 | ++set dummy egrep; ac_prog_name=$2 |
| 5040 | ++if test "${ac_cv_path_EGREP+set}" = set; then |
| 5041 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5042 | ++else |
| 5043 | ++ ac_path_EGREP_found=false |
| 5044 | ++# Loop through the user's path and test for each of PROGNAME-LIST |
| 5045 | ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5046 | ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 5047 | ++do |
| 5048 | ++ IFS=$as_save_IFS |
| 5049 | ++ test -z "$as_dir" && as_dir=. |
| 5050 | ++ for ac_prog in egrep; do |
| 5051 | ++ for ac_exec_ext in '' $ac_executable_extensions; do |
| 5052 | ++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 5053 | ++ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 5054 | ++ # Check for GNU ac_path_EGREP and select it if it is found. |
| 5055 | ++ # Check for GNU $ac_path_EGREP |
| 5056 | ++case `"$ac_path_EGREP" --version 2>&1` in |
| 5057 | ++*GNU*) |
| 5058 | ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 5059 | ++*) |
| 5060 | ++ ac_count=0 |
| 5061 | ++ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
| 5062 | ++ while : |
| 5063 | ++ do |
| 5064 | ++ cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 5065 | ++ mv "conftest.tmp" "conftest.in" |
| 5066 | ++ cp "conftest.in" "conftest.nl" |
| 5067 | ++ echo 'EGREP' >> "conftest.nl" |
| 5068 | ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 5069 | ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 5070 | ++ ac_count=`expr $ac_count + 1` |
| 5071 | ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 5072 | ++ # Best one so far, save it but keep looking for a better one |
| 5073 | ++ ac_cv_path_EGREP="$ac_path_EGREP" |
| 5074 | ++ ac_path_EGREP_max=$ac_count |
| 5075 | ++ fi |
| 5076 | ++ # 10*(2^10) chars as input seems more than enough |
| 5077 | ++ test $ac_count -gt 10 && break |
| 5078 | ++ done |
| 5079 | ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 5080 | ++esac |
| 5081 | ++ |
| 5082 | ++ |
| 5083 | ++ $ac_path_EGREP_found && break 3 |
| 5084 | ++ done |
| 5085 | ++done |
| 5086 | ++ |
| 5087 | ++done |
| 5088 | ++IFS=$as_save_IFS |
| 5089 | ++ |
| 5090 | ++ |
| 5091 | ++fi |
| 5092 | ++ |
| 5093 | ++EGREP="$ac_cv_path_EGREP" |
| 5094 | ++if test -z "$EGREP"; then |
| 5095 | ++ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 5096 | ++echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 5097 | ++ { (exit 1); exit 1; }; } |
| 5098 | ++fi |
| 5099 | ++ |
| 5100 | ++else |
| 5101 | ++ ac_cv_path_EGREP=$EGREP |
| 5102 | + fi |
| 5103 | +-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 5104 | +-echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 5105 | +- EGREP=$ac_cv_prog_egrep |
| 5106 | + |
| 5107 | + |
| 5108 | +-echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 5109 | +-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 5110 | ++ fi |
| 5111 | ++fi |
| 5112 | ++{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 5113 | ++echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
| 5114 | ++ EGREP="$ac_cv_path_EGREP" |
| 5115 | ++ |
| 5116 | ++ |
| 5117 | ++{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 5118 | ++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
| 5119 | + if test "${ac_cv_header_stdc+set}" = set; then |
| 5120 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5121 | + else |
| 5122 | +@@ -4230,35 +4678,31 @@ |
| 5123 | + } |
| 5124 | + _ACEOF |
| 5125 | + rm -f conftest.$ac_objext |
| 5126 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5127 | +- (eval $ac_compile) 2>conftest.er1 |
| 5128 | ++if { (ac_try="$ac_compile" |
| 5129 | ++case "(($ac_try" in |
| 5130 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5131 | ++ *) ac_try_echo=$ac_try;; |
| 5132 | ++esac |
| 5133 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5134 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5135 | + ac_status=$? |
| 5136 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 5137 | + rm -f conftest.er1 |
| 5138 | + cat conftest.err >&5 |
| 5139 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5140 | +- (exit $ac_status); } && |
| 5141 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 5142 | +- || test ! -s conftest.err' |
| 5143 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5144 | +- (eval $ac_try) 2>&5 |
| 5145 | +- ac_status=$? |
| 5146 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5147 | +- (exit $ac_status); }; } && |
| 5148 | +- { ac_try='test -s conftest.$ac_objext' |
| 5149 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5150 | +- (eval $ac_try) 2>&5 |
| 5151 | +- ac_status=$? |
| 5152 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5153 | +- (exit $ac_status); }; }; then |
| 5154 | ++ (exit $ac_status); } && { |
| 5155 | ++ test -z "$ac_c_werror_flag" || |
| 5156 | ++ test ! -s conftest.err |
| 5157 | ++ } && test -s conftest.$ac_objext; then |
| 5158 | + ac_cv_header_stdc=yes |
| 5159 | + else |
| 5160 | + echo "$as_me: failed program was:" >&5 |
| 5161 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 5162 | + |
| 5163 | +-ac_cv_header_stdc=no |
| 5164 | ++ ac_cv_header_stdc=no |
| 5165 | + fi |
| 5166 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5167 | ++ |
| 5168 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5169 | + |
| 5170 | + if test $ac_cv_header_stdc = yes; then |
| 5171 | + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 5172 | +@@ -4298,14 +4742,315 @@ |
| 5173 | + else |
| 5174 | + ac_cv_header_stdc=no |
| 5175 | + fi |
| 5176 | +-rm -f conftest* |
| 5177 | ++rm -f conftest* |
| 5178 | ++ |
| 5179 | ++fi |
| 5180 | ++ |
| 5181 | ++if test $ac_cv_header_stdc = yes; then |
| 5182 | ++ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 5183 | ++ if test "$cross_compiling" = yes; then |
| 5184 | ++ : |
| 5185 | ++else |
| 5186 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 5187 | ++/* confdefs.h. */ |
| 5188 | ++_ACEOF |
| 5189 | ++cat confdefs.h >>conftest.$ac_ext |
| 5190 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 5191 | ++/* end confdefs.h. */ |
| 5192 | ++#include <ctype.h> |
| 5193 | ++#include <stdlib.h> |
| 5194 | ++#if ((' ' & 0x0FF) == 0x020) |
| 5195 | ++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 5196 | ++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 5197 | ++#else |
| 5198 | ++# define ISLOWER(c) \ |
| 5199 | ++ (('a' <= (c) && (c) <= 'i') \ |
| 5200 | ++ || ('j' <= (c) && (c) <= 'r') \ |
| 5201 | ++ || ('s' <= (c) && (c) <= 'z')) |
| 5202 | ++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 5203 | ++#endif |
| 5204 | ++ |
| 5205 | ++#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 5206 | ++int |
| 5207 | ++main () |
| 5208 | ++{ |
| 5209 | ++ int i; |
| 5210 | ++ for (i = 0; i < 256; i++) |
| 5211 | ++ if (XOR (islower (i), ISLOWER (i)) |
| 5212 | ++ || toupper (i) != TOUPPER (i)) |
| 5213 | ++ return 2; |
| 5214 | ++ return 0; |
| 5215 | ++} |
| 5216 | ++_ACEOF |
| 5217 | ++rm -f conftest$ac_exeext |
| 5218 | ++if { (ac_try="$ac_link" |
| 5219 | ++case "(($ac_try" in |
| 5220 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5221 | ++ *) ac_try_echo=$ac_try;; |
| 5222 | ++esac |
| 5223 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5224 | ++ (eval "$ac_link") 2>&5 |
| 5225 | ++ ac_status=$? |
| 5226 | ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5227 | ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 5228 | ++ { (case "(($ac_try" in |
| 5229 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5230 | ++ *) ac_try_echo=$ac_try;; |
| 5231 | ++esac |
| 5232 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5233 | ++ (eval "$ac_try") 2>&5 |
| 5234 | ++ ac_status=$? |
| 5235 | ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5236 | ++ (exit $ac_status); }; }; then |
| 5237 | ++ : |
| 5238 | ++else |
| 5239 | ++ echo "$as_me: program exited with status $ac_status" >&5 |
| 5240 | ++echo "$as_me: failed program was:" >&5 |
| 5241 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 5242 | ++ |
| 5243 | ++( exit $ac_status ) |
| 5244 | ++ac_cv_header_stdc=no |
| 5245 | ++fi |
| 5246 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5247 | ++fi |
| 5248 | ++ |
| 5249 | ++ |
| 5250 | ++fi |
| 5251 | ++fi |
| 5252 | ++{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 5253 | ++echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
| 5254 | ++if test $ac_cv_header_stdc = yes; then |
| 5255 | ++ |
| 5256 | ++cat >>confdefs.h <<\_ACEOF |
| 5257 | ++#define STDC_HEADERS 1 |
| 5258 | ++_ACEOF |
| 5259 | ++ |
| 5260 | ++fi |
| 5261 | ++ |
| 5262 | ++# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 5263 | ++ |
| 5264 | ++ |
| 5265 | ++ |
| 5266 | ++ |
| 5267 | ++ |
| 5268 | ++ |
| 5269 | ++ |
| 5270 | ++ |
| 5271 | ++ |
| 5272 | ++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 5273 | ++ inttypes.h stdint.h unistd.h |
| 5274 | ++do |
| 5275 | ++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5276 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5277 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5278 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5279 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5280 | ++else |
| 5281 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 5282 | ++/* confdefs.h. */ |
| 5283 | ++_ACEOF |
| 5284 | ++cat confdefs.h >>conftest.$ac_ext |
| 5285 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 5286 | ++/* end confdefs.h. */ |
| 5287 | ++$ac_includes_default |
| 5288 | ++ |
| 5289 | ++#include <$ac_header> |
| 5290 | ++_ACEOF |
| 5291 | ++rm -f conftest.$ac_objext |
| 5292 | ++if { (ac_try="$ac_compile" |
| 5293 | ++case "(($ac_try" in |
| 5294 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5295 | ++ *) ac_try_echo=$ac_try;; |
| 5296 | ++esac |
| 5297 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5298 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5299 | ++ ac_status=$? |
| 5300 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 5301 | ++ rm -f conftest.er1 |
| 5302 | ++ cat conftest.err >&5 |
| 5303 | ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5304 | ++ (exit $ac_status); } && { |
| 5305 | ++ test -z "$ac_c_werror_flag" || |
| 5306 | ++ test ! -s conftest.err |
| 5307 | ++ } && test -s conftest.$ac_objext; then |
| 5308 | ++ eval "$as_ac_Header=yes" |
| 5309 | ++else |
| 5310 | ++ echo "$as_me: failed program was:" >&5 |
| 5311 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 5312 | ++ |
| 5313 | ++ eval "$as_ac_Header=no" |
| 5314 | ++fi |
| 5315 | ++ |
| 5316 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5317 | ++fi |
| 5318 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 5319 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 5320 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 5321 | ++if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5322 | ++ cat >>confdefs.h <<_ACEOF |
| 5323 | ++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5324 | ++_ACEOF |
| 5325 | ++ |
| 5326 | ++fi |
| 5327 | ++ |
| 5328 | ++done |
| 5329 | ++ |
| 5330 | ++ |
| 5331 | ++{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
| 5332 | ++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } |
| 5333 | ++if test "${ac_cv_c_bigendian+set}" = set; then |
| 5334 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5335 | ++else |
| 5336 | ++ # See if sys/param.h defines the BYTE_ORDER macro. |
| 5337 | ++cat >conftest.$ac_ext <<_ACEOF |
| 5338 | ++/* confdefs.h. */ |
| 5339 | ++_ACEOF |
| 5340 | ++cat confdefs.h >>conftest.$ac_ext |
| 5341 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 5342 | ++/* end confdefs.h. */ |
| 5343 | ++#include <sys/types.h> |
| 5344 | ++#include <sys/param.h> |
| 5345 | ++ |
| 5346 | ++int |
| 5347 | ++main () |
| 5348 | ++{ |
| 5349 | ++#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ |
| 5350 | ++ && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) |
| 5351 | ++ bogus endian macros |
| 5352 | ++#endif |
| 5353 | ++ |
| 5354 | ++ ; |
| 5355 | ++ return 0; |
| 5356 | ++} |
| 5357 | ++_ACEOF |
| 5358 | ++rm -f conftest.$ac_objext |
| 5359 | ++if { (ac_try="$ac_compile" |
| 5360 | ++case "(($ac_try" in |
| 5361 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5362 | ++ *) ac_try_echo=$ac_try;; |
| 5363 | ++esac |
| 5364 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5365 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5366 | ++ ac_status=$? |
| 5367 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 5368 | ++ rm -f conftest.er1 |
| 5369 | ++ cat conftest.err >&5 |
| 5370 | ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5371 | ++ (exit $ac_status); } && { |
| 5372 | ++ test -z "$ac_c_werror_flag" || |
| 5373 | ++ test ! -s conftest.err |
| 5374 | ++ } && test -s conftest.$ac_objext; then |
| 5375 | ++ # It does; now see whether it defined to BIG_ENDIAN or not. |
| 5376 | ++cat >conftest.$ac_ext <<_ACEOF |
| 5377 | ++/* confdefs.h. */ |
| 5378 | ++_ACEOF |
| 5379 | ++cat confdefs.h >>conftest.$ac_ext |
| 5380 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 5381 | ++/* end confdefs.h. */ |
| 5382 | ++#include <sys/types.h> |
| 5383 | ++#include <sys/param.h> |
| 5384 | ++ |
| 5385 | ++int |
| 5386 | ++main () |
| 5387 | ++{ |
| 5388 | ++#if BYTE_ORDER != BIG_ENDIAN |
| 5389 | ++ not big endian |
| 5390 | ++#endif |
| 5391 | ++ |
| 5392 | ++ ; |
| 5393 | ++ return 0; |
| 5394 | ++} |
| 5395 | ++_ACEOF |
| 5396 | ++rm -f conftest.$ac_objext |
| 5397 | ++if { (ac_try="$ac_compile" |
| 5398 | ++case "(($ac_try" in |
| 5399 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5400 | ++ *) ac_try_echo=$ac_try;; |
| 5401 | ++esac |
| 5402 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5403 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5404 | ++ ac_status=$? |
| 5405 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 5406 | ++ rm -f conftest.er1 |
| 5407 | ++ cat conftest.err >&5 |
| 5408 | ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5409 | ++ (exit $ac_status); } && { |
| 5410 | ++ test -z "$ac_c_werror_flag" || |
| 5411 | ++ test ! -s conftest.err |
| 5412 | ++ } && test -s conftest.$ac_objext; then |
| 5413 | ++ ac_cv_c_bigendian=yes |
| 5414 | ++else |
| 5415 | ++ echo "$as_me: failed program was:" >&5 |
| 5416 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 5417 | ++ |
| 5418 | ++ ac_cv_c_bigendian=no |
| 5419 | ++fi |
| 5420 | ++ |
| 5421 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5422 | ++else |
| 5423 | ++ echo "$as_me: failed program was:" >&5 |
| 5424 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 5425 | ++ |
| 5426 | ++ # It does not; compile a test program. |
| 5427 | ++if test "$cross_compiling" = yes; then |
| 5428 | ++ # try to guess the endianness by grepping values into an object file |
| 5429 | ++ ac_cv_c_bigendian=unknown |
| 5430 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 5431 | ++/* confdefs.h. */ |
| 5432 | ++_ACEOF |
| 5433 | ++cat confdefs.h >>conftest.$ac_ext |
| 5434 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 5435 | ++/* end confdefs.h. */ |
| 5436 | ++short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 5437 | ++short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 5438 | ++void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
| 5439 | ++short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 5440 | ++short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 5441 | ++void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
| 5442 | ++int |
| 5443 | ++main () |
| 5444 | ++{ |
| 5445 | ++ _ascii (); _ebcdic (); |
| 5446 | ++ ; |
| 5447 | ++ return 0; |
| 5448 | ++} |
| 5449 | ++_ACEOF |
| 5450 | ++rm -f conftest.$ac_objext |
| 5451 | ++if { (ac_try="$ac_compile" |
| 5452 | ++case "(($ac_try" in |
| 5453 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5454 | ++ *) ac_try_echo=$ac_try;; |
| 5455 | ++esac |
| 5456 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5457 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5458 | ++ ac_status=$? |
| 5459 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 5460 | ++ rm -f conftest.er1 |
| 5461 | ++ cat conftest.err >&5 |
| 5462 | ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5463 | ++ (exit $ac_status); } && { |
| 5464 | ++ test -z "$ac_c_werror_flag" || |
| 5465 | ++ test ! -s conftest.err |
| 5466 | ++ } && test -s conftest.$ac_objext; then |
| 5467 | ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
| 5468 | ++ ac_cv_c_bigendian=yes |
| 5469 | ++fi |
| 5470 | ++if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
| 5471 | ++ if test "$ac_cv_c_bigendian" = unknown; then |
| 5472 | ++ ac_cv_c_bigendian=no |
| 5473 | ++ else |
| 5474 | ++ # finding both strings is unlikely to happen, but who knows? |
| 5475 | ++ ac_cv_c_bigendian=unknown |
| 5476 | ++ fi |
| 5477 | ++fi |
| 5478 | ++else |
| 5479 | ++ echo "$as_me: failed program was:" >&5 |
| 5480 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 5481 | ++ |
| 5482 | + |
| 5483 | + fi |
| 5484 | + |
| 5485 | +-if test $ac_cv_header_stdc = yes; then |
| 5486 | +- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 5487 | +- if test "$cross_compiling" = yes; then |
| 5488 | +- : |
| 5489 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5490 | + else |
| 5491 | + cat >conftest.$ac_ext <<_ACEOF |
| 5492 | + /* confdefs.h. */ |
| 5493 | +@@ -4313,138 +5058,85 @@ |
| 5494 | + cat confdefs.h >>conftest.$ac_ext |
| 5495 | + cat >>conftest.$ac_ext <<_ACEOF |
| 5496 | + /* end confdefs.h. */ |
| 5497 | +-#include <ctype.h> |
| 5498 | +-#if ((' ' & 0x0FF) == 0x020) |
| 5499 | +-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 5500 | +-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 5501 | +-#else |
| 5502 | +-# define ISLOWER(c) \ |
| 5503 | +- (('a' <= (c) && (c) <= 'i') \ |
| 5504 | +- || ('j' <= (c) && (c) <= 'r') \ |
| 5505 | +- || ('s' <= (c) && (c) <= 'z')) |
| 5506 | +-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 5507 | +-#endif |
| 5508 | +- |
| 5509 | +-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 5510 | ++$ac_includes_default |
| 5511 | + int |
| 5512 | + main () |
| 5513 | + { |
| 5514 | +- int i; |
| 5515 | +- for (i = 0; i < 256; i++) |
| 5516 | +- if (XOR (islower (i), ISLOWER (i)) |
| 5517 | +- || toupper (i) != TOUPPER (i)) |
| 5518 | +- exit(2); |
| 5519 | +- exit (0); |
| 5520 | ++ |
| 5521 | ++ /* Are we little or big endian? From Harbison&Steele. */ |
| 5522 | ++ union |
| 5523 | ++ { |
| 5524 | ++ long int l; |
| 5525 | ++ char c[sizeof (long int)]; |
| 5526 | ++ } u; |
| 5527 | ++ u.l = 1; |
| 5528 | ++ return u.c[sizeof (long int) - 1] == 1; |
| 5529 | ++ |
| 5530 | ++ ; |
| 5531 | ++ return 0; |
| 5532 | + } |
| 5533 | + _ACEOF |
| 5534 | + rm -f conftest$ac_exeext |
| 5535 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5536 | +- (eval $ac_link) 2>&5 |
| 5537 | ++if { (ac_try="$ac_link" |
| 5538 | ++case "(($ac_try" in |
| 5539 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5540 | ++ *) ac_try_echo=$ac_try;; |
| 5541 | ++esac |
| 5542 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5543 | ++ (eval "$ac_link") 2>&5 |
| 5544 | + ac_status=$? |
| 5545 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5546 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 5547 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5548 | +- (eval $ac_try) 2>&5 |
| 5549 | ++ { (case "(($ac_try" in |
| 5550 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5551 | ++ *) ac_try_echo=$ac_try;; |
| 5552 | ++esac |
| 5553 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5554 | ++ (eval "$ac_try") 2>&5 |
| 5555 | + ac_status=$? |
| 5556 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5557 | + (exit $ac_status); }; }; then |
| 5558 | +- : |
| 5559 | ++ ac_cv_c_bigendian=no |
| 5560 | + else |
| 5561 | + echo "$as_me: program exited with status $ac_status" >&5 |
| 5562 | + echo "$as_me: failed program was:" >&5 |
| 5563 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 5564 | + |
| 5565 | + ( exit $ac_status ) |
| 5566 | +-ac_cv_header_stdc=no |
| 5567 | +-fi |
| 5568 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5569 | +-fi |
| 5570 | ++ac_cv_c_bigendian=yes |
| 5571 | + fi |
| 5572 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5573 | + fi |
| 5574 | +-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 5575 | +-echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 5576 | +-if test $ac_cv_header_stdc = yes; then |
| 5577 | + |
| 5578 | +-cat >>confdefs.h <<\_ACEOF |
| 5579 | +-#define STDC_HEADERS 1 |
| 5580 | +-_ACEOF |
| 5581 | + |
| 5582 | + fi |
| 5583 | + |
| 5584 | +-# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 5585 | +- |
| 5586 | +- |
| 5587 | +- |
| 5588 | +- |
| 5589 | +- |
| 5590 | +- |
| 5591 | +- |
| 5592 | +- |
| 5593 | +- |
| 5594 | +-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 5595 | +- inttypes.h stdint.h unistd.h |
| 5596 | +-do |
| 5597 | +-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5598 | +-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5599 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5600 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5601 | +- echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5602 | +-else |
| 5603 | +- cat >conftest.$ac_ext <<_ACEOF |
| 5604 | +-/* confdefs.h. */ |
| 5605 | +-_ACEOF |
| 5606 | +-cat confdefs.h >>conftest.$ac_ext |
| 5607 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 5608 | +-/* end confdefs.h. */ |
| 5609 | +-$ac_includes_default |
| 5610 | +- |
| 5611 | +-#include <$ac_header> |
| 5612 | +-_ACEOF |
| 5613 | +-rm -f conftest.$ac_objext |
| 5614 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5615 | +- (eval $ac_compile) 2>conftest.er1 |
| 5616 | +- ac_status=$? |
| 5617 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 5618 | +- rm -f conftest.er1 |
| 5619 | +- cat conftest.err >&5 |
| 5620 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5621 | +- (exit $ac_status); } && |
| 5622 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 5623 | +- || test ! -s conftest.err' |
| 5624 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5625 | +- (eval $ac_try) 2>&5 |
| 5626 | +- ac_status=$? |
| 5627 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5628 | +- (exit $ac_status); }; } && |
| 5629 | +- { ac_try='test -s conftest.$ac_objext' |
| 5630 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5631 | +- (eval $ac_try) 2>&5 |
| 5632 | +- ac_status=$? |
| 5633 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5634 | +- (exit $ac_status); }; }; then |
| 5635 | +- eval "$as_ac_Header=yes" |
| 5636 | +-else |
| 5637 | +- echo "$as_me: failed program was:" >&5 |
| 5638 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 5639 | +- |
| 5640 | +-eval "$as_ac_Header=no" |
| 5641 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5642 | + fi |
| 5643 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5644 | +-fi |
| 5645 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5646 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5647 | +-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5648 | +- cat >>confdefs.h <<_ACEOF |
| 5649 | +-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5650 | +-_ACEOF |
| 5651 | ++{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
| 5652 | ++echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } |
| 5653 | ++case $ac_cv_c_bigendian in |
| 5654 | ++ yes) |
| 5655 | ++ ac_is_bigendian=yes ;; |
| 5656 | ++ no) |
| 5657 | ++ ac_is_bigendian=no |
| 5658 | ++ ;; |
| 5659 | ++ *) |
| 5660 | ++ { { echo "$as_me:$LINENO: error: unknown endianness |
| 5661 | ++presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
| 5662 | ++echo "$as_me: error: unknown endianness |
| 5663 | ++presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
| 5664 | ++ { (exit 1); exit 1; }; } ;; |
| 5665 | ++esac |
| 5666 | + |
| 5667 | ++if test $ac_is_bigendian = yes; then |
| 5668 | ++ CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_MSB" |
| 5669 | ++else |
| 5670 | ++ CFLAGS_ARCH="$CFLAGS_ARCH -DUSE_LSB" |
| 5671 | + fi |
| 5672 | + |
| 5673 | +-done |
| 5674 | +- |
| 5675 | +- |
| 5676 | +-echo "$as_me:$LINENO: checking for char" >&5 |
| 5677 | +-echo $ECHO_N "checking for char... $ECHO_C" >&6 |
| 5678 | ++{ echo "$as_me:$LINENO: checking for char" >&5 |
| 5679 | ++echo $ECHO_N "checking for char... $ECHO_C" >&6; } |
| 5680 | + if test "${ac_cv_type_char+set}" = set; then |
| 5681 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5682 | + else |
| 5683 | +@@ -4455,61 +5147,57 @@ |
| 5684 | + cat >>conftest.$ac_ext <<_ACEOF |
| 5685 | + /* end confdefs.h. */ |
| 5686 | + $ac_includes_default |
| 5687 | ++typedef char ac__type_new_; |
| 5688 | + int |
| 5689 | + main () |
| 5690 | + { |
| 5691 | +-if ((char *) 0) |
| 5692 | ++if ((ac__type_new_ *) 0) |
| 5693 | + return 0; |
| 5694 | +-if (sizeof (char)) |
| 5695 | ++if (sizeof (ac__type_new_)) |
| 5696 | + return 0; |
| 5697 | + ; |
| 5698 | + return 0; |
| 5699 | + } |
| 5700 | + _ACEOF |
| 5701 | + rm -f conftest.$ac_objext |
| 5702 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5703 | +- (eval $ac_compile) 2>conftest.er1 |
| 5704 | ++if { (ac_try="$ac_compile" |
| 5705 | ++case "(($ac_try" in |
| 5706 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5707 | ++ *) ac_try_echo=$ac_try;; |
| 5708 | ++esac |
| 5709 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5710 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5711 | + ac_status=$? |
| 5712 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 5713 | + rm -f conftest.er1 |
| 5714 | + cat conftest.err >&5 |
| 5715 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5716 | +- (exit $ac_status); } && |
| 5717 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 5718 | +- || test ! -s conftest.err' |
| 5719 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5720 | +- (eval $ac_try) 2>&5 |
| 5721 | +- ac_status=$? |
| 5722 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5723 | +- (exit $ac_status); }; } && |
| 5724 | +- { ac_try='test -s conftest.$ac_objext' |
| 5725 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5726 | +- (eval $ac_try) 2>&5 |
| 5727 | +- ac_status=$? |
| 5728 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5729 | +- (exit $ac_status); }; }; then |
| 5730 | ++ (exit $ac_status); } && { |
| 5731 | ++ test -z "$ac_c_werror_flag" || |
| 5732 | ++ test ! -s conftest.err |
| 5733 | ++ } && test -s conftest.$ac_objext; then |
| 5734 | + ac_cv_type_char=yes |
| 5735 | + else |
| 5736 | + echo "$as_me: failed program was:" >&5 |
| 5737 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 5738 | + |
| 5739 | +-ac_cv_type_char=no |
| 5740 | ++ ac_cv_type_char=no |
| 5741 | + fi |
| 5742 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5743 | ++ |
| 5744 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5745 | + fi |
| 5746 | +-echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
| 5747 | +-echo "${ECHO_T}$ac_cv_type_char" >&6 |
| 5748 | ++{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
| 5749 | ++echo "${ECHO_T}$ac_cv_type_char" >&6; } |
| 5750 | + |
| 5751 | +-echo "$as_me:$LINENO: checking size of char" >&5 |
| 5752 | +-echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
| 5753 | ++# The cast to long int works around a bug in the HP C Compiler |
| 5754 | ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 5755 | ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 5756 | ++# This bug is HP SR number 8606223364. |
| 5757 | ++{ echo "$as_me:$LINENO: checking size of char" >&5 |
| 5758 | ++echo $ECHO_N "checking size of char... $ECHO_C" >&6; } |
| 5759 | + if test "${ac_cv_sizeof_char+set}" = set; then |
| 5760 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5761 | + else |
| 5762 | +- if test "$ac_cv_type_char" = yes; then |
| 5763 | +- # The cast to unsigned long works around a bug in the HP C Compiler |
| 5764 | +- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 5765 | +- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 5766 | +- # This bug is HP SR number 8606223364. |
| 5767 | + if test "$cross_compiling" = yes; then |
| 5768 | + # Depending upon the size, compute the lo and hi bounds. |
| 5769 | + cat >conftest.$ac_ext <<_ACEOF |
| 5770 | +@@ -4519,10 +5207,11 @@ |
| 5771 | + cat >>conftest.$ac_ext <<_ACEOF |
| 5772 | + /* end confdefs.h. */ |
| 5773 | + $ac_includes_default |
| 5774 | ++ typedef char ac__type_sizeof_; |
| 5775 | + int |
| 5776 | + main () |
| 5777 | + { |
| 5778 | +-static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
| 5779 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 5780 | + test_array [0] = 0 |
| 5781 | + |
| 5782 | + ; |
| 5783 | +@@ -4530,27 +5219,22 @@ |
| 5784 | + } |
| 5785 | + _ACEOF |
| 5786 | + rm -f conftest.$ac_objext |
| 5787 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5788 | +- (eval $ac_compile) 2>conftest.er1 |
| 5789 | ++if { (ac_try="$ac_compile" |
| 5790 | ++case "(($ac_try" in |
| 5791 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5792 | ++ *) ac_try_echo=$ac_try;; |
| 5793 | ++esac |
| 5794 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5795 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5796 | + ac_status=$? |
| 5797 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 5798 | + rm -f conftest.er1 |
| 5799 | + cat conftest.err >&5 |
| 5800 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5801 | +- (exit $ac_status); } && |
| 5802 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 5803 | +- || test ! -s conftest.err' |
| 5804 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5805 | +- (eval $ac_try) 2>&5 |
| 5806 | +- ac_status=$? |
| 5807 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5808 | +- (exit $ac_status); }; } && |
| 5809 | +- { ac_try='test -s conftest.$ac_objext' |
| 5810 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5811 | +- (eval $ac_try) 2>&5 |
| 5812 | +- ac_status=$? |
| 5813 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5814 | +- (exit $ac_status); }; }; then |
| 5815 | ++ (exit $ac_status); } && { |
| 5816 | ++ test -z "$ac_c_werror_flag" || |
| 5817 | ++ test ! -s conftest.err |
| 5818 | ++ } && test -s conftest.$ac_objext; then |
| 5819 | + ac_lo=0 ac_mid=0 |
| 5820 | + while :; do |
| 5821 | + cat >conftest.$ac_ext <<_ACEOF |
| 5822 | +@@ -4560,10 +5244,11 @@ |
| 5823 | + cat >>conftest.$ac_ext <<_ACEOF |
| 5824 | + /* end confdefs.h. */ |
| 5825 | + $ac_includes_default |
| 5826 | ++ typedef char ac__type_sizeof_; |
| 5827 | + int |
| 5828 | + main () |
| 5829 | + { |
| 5830 | +-static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
| 5831 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 5832 | + test_array [0] = 0 |
| 5833 | + |
| 5834 | + ; |
| 5835 | +@@ -4571,56 +5256,53 @@ |
| 5836 | + } |
| 5837 | + _ACEOF |
| 5838 | + rm -f conftest.$ac_objext |
| 5839 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5840 | +- (eval $ac_compile) 2>conftest.er1 |
| 5841 | ++if { (ac_try="$ac_compile" |
| 5842 | ++case "(($ac_try" in |
| 5843 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5844 | ++ *) ac_try_echo=$ac_try;; |
| 5845 | ++esac |
| 5846 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5847 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5848 | + ac_status=$? |
| 5849 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 5850 | + rm -f conftest.er1 |
| 5851 | + cat conftest.err >&5 |
| 5852 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5853 | +- (exit $ac_status); } && |
| 5854 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 5855 | +- || test ! -s conftest.err' |
| 5856 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5857 | +- (eval $ac_try) 2>&5 |
| 5858 | +- ac_status=$? |
| 5859 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5860 | +- (exit $ac_status); }; } && |
| 5861 | +- { ac_try='test -s conftest.$ac_objext' |
| 5862 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5863 | +- (eval $ac_try) 2>&5 |
| 5864 | +- ac_status=$? |
| 5865 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5866 | +- (exit $ac_status); }; }; then |
| 5867 | ++ (exit $ac_status); } && { |
| 5868 | ++ test -z "$ac_c_werror_flag" || |
| 5869 | ++ test ! -s conftest.err |
| 5870 | ++ } && test -s conftest.$ac_objext; then |
| 5871 | + ac_hi=$ac_mid; break |
| 5872 | + else |
| 5873 | + echo "$as_me: failed program was:" >&5 |
| 5874 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 5875 | + |
| 5876 | +-ac_lo=`expr $ac_mid + 1` |
| 5877 | +- if test $ac_lo -le $ac_mid; then |
| 5878 | +- ac_lo= ac_hi= |
| 5879 | +- break |
| 5880 | +- fi |
| 5881 | +- ac_mid=`expr 2 '*' $ac_mid + 1` |
| 5882 | ++ ac_lo=`expr $ac_mid + 1` |
| 5883 | ++ if test $ac_lo -le $ac_mid; then |
| 5884 | ++ ac_lo= ac_hi= |
| 5885 | ++ break |
| 5886 | ++ fi |
| 5887 | ++ ac_mid=`expr 2 '*' $ac_mid + 1` |
| 5888 | + fi |
| 5889 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5890 | ++ |
| 5891 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5892 | + done |
| 5893 | + else |
| 5894 | + echo "$as_me: failed program was:" >&5 |
| 5895 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 5896 | + |
| 5897 | +-cat >conftest.$ac_ext <<_ACEOF |
| 5898 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 5899 | + /* confdefs.h. */ |
| 5900 | + _ACEOF |
| 5901 | + cat confdefs.h >>conftest.$ac_ext |
| 5902 | + cat >>conftest.$ac_ext <<_ACEOF |
| 5903 | + /* end confdefs.h. */ |
| 5904 | + $ac_includes_default |
| 5905 | ++ typedef char ac__type_sizeof_; |
| 5906 | + int |
| 5907 | + main () |
| 5908 | + { |
| 5909 | +-static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
| 5910 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 5911 | + test_array [0] = 0 |
| 5912 | + |
| 5913 | + ; |
| 5914 | +@@ -4628,27 +5310,22 @@ |
| 5915 | + } |
| 5916 | + _ACEOF |
| 5917 | + rm -f conftest.$ac_objext |
| 5918 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5919 | +- (eval $ac_compile) 2>conftest.er1 |
| 5920 | ++if { (ac_try="$ac_compile" |
| 5921 | ++case "(($ac_try" in |
| 5922 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5923 | ++ *) ac_try_echo=$ac_try;; |
| 5924 | ++esac |
| 5925 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5926 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5927 | + ac_status=$? |
| 5928 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 5929 | + rm -f conftest.er1 |
| 5930 | + cat conftest.err >&5 |
| 5931 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5932 | +- (exit $ac_status); } && |
| 5933 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 5934 | +- || test ! -s conftest.err' |
| 5935 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5936 | +- (eval $ac_try) 2>&5 |
| 5937 | +- ac_status=$? |
| 5938 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5939 | +- (exit $ac_status); }; } && |
| 5940 | +- { ac_try='test -s conftest.$ac_objext' |
| 5941 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5942 | +- (eval $ac_try) 2>&5 |
| 5943 | +- ac_status=$? |
| 5944 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5945 | +- (exit $ac_status); }; }; then |
| 5946 | ++ (exit $ac_status); } && { |
| 5947 | ++ test -z "$ac_c_werror_flag" || |
| 5948 | ++ test ! -s conftest.err |
| 5949 | ++ } && test -s conftest.$ac_objext; then |
| 5950 | + ac_hi=-1 ac_mid=-1 |
| 5951 | + while :; do |
| 5952 | + cat >conftest.$ac_ext <<_ACEOF |
| 5953 | +@@ -4658,10 +5335,11 @@ |
| 5954 | + cat >>conftest.$ac_ext <<_ACEOF |
| 5955 | + /* end confdefs.h. */ |
| 5956 | + $ac_includes_default |
| 5957 | ++ typedef char ac__type_sizeof_; |
| 5958 | + int |
| 5959 | + main () |
| 5960 | + { |
| 5961 | +-static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
| 5962 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 5963 | + test_array [0] = 0 |
| 5964 | + |
| 5965 | + ; |
| 5966 | +@@ -4669,50 +5347,48 @@ |
| 5967 | + } |
| 5968 | + _ACEOF |
| 5969 | + rm -f conftest.$ac_objext |
| 5970 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5971 | +- (eval $ac_compile) 2>conftest.er1 |
| 5972 | ++if { (ac_try="$ac_compile" |
| 5973 | ++case "(($ac_try" in |
| 5974 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5975 | ++ *) ac_try_echo=$ac_try;; |
| 5976 | ++esac |
| 5977 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5978 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 5979 | + ac_status=$? |
| 5980 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 5981 | + rm -f conftest.er1 |
| 5982 | + cat conftest.err >&5 |
| 5983 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5984 | +- (exit $ac_status); } && |
| 5985 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 5986 | +- || test ! -s conftest.err' |
| 5987 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5988 | +- (eval $ac_try) 2>&5 |
| 5989 | +- ac_status=$? |
| 5990 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5991 | +- (exit $ac_status); }; } && |
| 5992 | +- { ac_try='test -s conftest.$ac_objext' |
| 5993 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5994 | +- (eval $ac_try) 2>&5 |
| 5995 | +- ac_status=$? |
| 5996 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5997 | +- (exit $ac_status); }; }; then |
| 5998 | ++ (exit $ac_status); } && { |
| 5999 | ++ test -z "$ac_c_werror_flag" || |
| 6000 | ++ test ! -s conftest.err |
| 6001 | ++ } && test -s conftest.$ac_objext; then |
| 6002 | + ac_lo=$ac_mid; break |
| 6003 | + else |
| 6004 | + echo "$as_me: failed program was:" >&5 |
| 6005 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6006 | + |
| 6007 | +-ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6008 | +- if test $ac_mid -le $ac_hi; then |
| 6009 | +- ac_lo= ac_hi= |
| 6010 | +- break |
| 6011 | +- fi |
| 6012 | +- ac_mid=`expr 2 '*' $ac_mid` |
| 6013 | ++ ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6014 | ++ if test $ac_mid -le $ac_hi; then |
| 6015 | ++ ac_lo= ac_hi= |
| 6016 | ++ break |
| 6017 | ++ fi |
| 6018 | ++ ac_mid=`expr 2 '*' $ac_mid` |
| 6019 | + fi |
| 6020 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6021 | ++ |
| 6022 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6023 | + done |
| 6024 | + else |
| 6025 | + echo "$as_me: failed program was:" >&5 |
| 6026 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6027 | + |
| 6028 | +-ac_lo= ac_hi= |
| 6029 | ++ ac_lo= ac_hi= |
| 6030 | + fi |
| 6031 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6032 | ++ |
| 6033 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6034 | + fi |
| 6035 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6036 | ++ |
| 6037 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6038 | + # Binary search between lo and hi bounds. |
| 6039 | + while test "x$ac_lo" != "x$ac_hi"; do |
| 6040 | + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 6041 | +@@ -4723,10 +5399,11 @@ |
| 6042 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6043 | + /* end confdefs.h. */ |
| 6044 | + $ac_includes_default |
| 6045 | ++ typedef char ac__type_sizeof_; |
| 6046 | + int |
| 6047 | + main () |
| 6048 | + { |
| 6049 | +-static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
| 6050 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6051 | + test_array [0] = 0 |
| 6052 | + |
| 6053 | + ; |
| 6054 | +@@ -4734,52 +5411,45 @@ |
| 6055 | + } |
| 6056 | + _ACEOF |
| 6057 | + rm -f conftest.$ac_objext |
| 6058 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6059 | +- (eval $ac_compile) 2>conftest.er1 |
| 6060 | ++if { (ac_try="$ac_compile" |
| 6061 | ++case "(($ac_try" in |
| 6062 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6063 | ++ *) ac_try_echo=$ac_try;; |
| 6064 | ++esac |
| 6065 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6066 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6067 | + ac_status=$? |
| 6068 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6069 | + rm -f conftest.er1 |
| 6070 | + cat conftest.err >&5 |
| 6071 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6072 | +- (exit $ac_status); } && |
| 6073 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6074 | +- || test ! -s conftest.err' |
| 6075 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6076 | +- (eval $ac_try) 2>&5 |
| 6077 | +- ac_status=$? |
| 6078 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6079 | +- (exit $ac_status); }; } && |
| 6080 | +- { ac_try='test -s conftest.$ac_objext' |
| 6081 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6082 | +- (eval $ac_try) 2>&5 |
| 6083 | +- ac_status=$? |
| 6084 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6085 | +- (exit $ac_status); }; }; then |
| 6086 | ++ (exit $ac_status); } && { |
| 6087 | ++ test -z "$ac_c_werror_flag" || |
| 6088 | ++ test ! -s conftest.err |
| 6089 | ++ } && test -s conftest.$ac_objext; then |
| 6090 | + ac_hi=$ac_mid |
| 6091 | + else |
| 6092 | + echo "$as_me: failed program was:" >&5 |
| 6093 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6094 | + |
| 6095 | +-ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6096 | ++ ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6097 | + fi |
| 6098 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6099 | ++ |
| 6100 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6101 | + done |
| 6102 | + case $ac_lo in |
| 6103 | + ?*) ac_cv_sizeof_char=$ac_lo;; |
| 6104 | +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
| 6105 | ++'') if test "$ac_cv_type_char" = yes; then |
| 6106 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) |
| 6107 | + See \`config.log' for more details." >&5 |
| 6108 | +-echo "$as_me: error: cannot compute sizeof (char), 77 |
| 6109 | ++echo "$as_me: error: cannot compute sizeof (char) |
| 6110 | + See \`config.log' for more details." >&2;} |
| 6111 | +- { (exit 1); exit 1; }; } ;; |
| 6112 | ++ { (exit 77); exit 77; }; } |
| 6113 | ++ else |
| 6114 | ++ ac_cv_sizeof_char=0 |
| 6115 | ++ fi ;; |
| 6116 | + esac |
| 6117 | + else |
| 6118 | +- if test "$cross_compiling" = yes; then |
| 6119 | +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 6120 | +-See \`config.log' for more details." >&5 |
| 6121 | +-echo "$as_me: error: cannot run test program while cross compiling |
| 6122 | +-See \`config.log' for more details." >&2;} |
| 6123 | +- { (exit 1); exit 1; }; } |
| 6124 | +-else |
| 6125 | + cat >conftest.$ac_ext <<_ACEOF |
| 6126 | + /* confdefs.h. */ |
| 6127 | + _ACEOF |
| 6128 | +@@ -4787,8 +5457,9 @@ |
| 6129 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6130 | + /* end confdefs.h. */ |
| 6131 | + $ac_includes_default |
| 6132 | +-long longval () { return (long) (sizeof (char)); } |
| 6133 | +-unsigned long ulongval () { return (long) (sizeof (char)); } |
| 6134 | ++ typedef char ac__type_sizeof_; |
| 6135 | ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6136 | ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6137 | + #include <stdio.h> |
| 6138 | + #include <stdlib.h> |
| 6139 | + int |
| 6140 | +@@ -4797,35 +5468,44 @@ |
| 6141 | + |
| 6142 | + FILE *f = fopen ("conftest.val", "w"); |
| 6143 | + if (! f) |
| 6144 | +- exit (1); |
| 6145 | +- if (((long) (sizeof (char))) < 0) |
| 6146 | ++ return 1; |
| 6147 | ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 6148 | + { |
| 6149 | +- long i = longval (); |
| 6150 | +- if (i != ((long) (sizeof (char)))) |
| 6151 | +- exit (1); |
| 6152 | ++ long int i = longval (); |
| 6153 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6154 | ++ return 1; |
| 6155 | + fprintf (f, "%ld\n", i); |
| 6156 | + } |
| 6157 | + else |
| 6158 | + { |
| 6159 | +- unsigned long i = ulongval (); |
| 6160 | +- if (i != ((long) (sizeof (char)))) |
| 6161 | +- exit (1); |
| 6162 | ++ unsigned long int i = ulongval (); |
| 6163 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6164 | ++ return 1; |
| 6165 | + fprintf (f, "%lu\n", i); |
| 6166 | + } |
| 6167 | +- exit (ferror (f) || fclose (f) != 0); |
| 6168 | ++ return ferror (f) || fclose (f) != 0; |
| 6169 | + |
| 6170 | + ; |
| 6171 | + return 0; |
| 6172 | + } |
| 6173 | + _ACEOF |
| 6174 | + rm -f conftest$ac_exeext |
| 6175 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6176 | +- (eval $ac_link) 2>&5 |
| 6177 | ++if { (ac_try="$ac_link" |
| 6178 | ++case "(($ac_try" in |
| 6179 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6180 | ++ *) ac_try_echo=$ac_try;; |
| 6181 | ++esac |
| 6182 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6183 | ++ (eval "$ac_link") 2>&5 |
| 6184 | + ac_status=$? |
| 6185 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6186 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 6187 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6188 | +- (eval $ac_try) 2>&5 |
| 6189 | ++ { (case "(($ac_try" in |
| 6190 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6191 | ++ *) ac_try_echo=$ac_try;; |
| 6192 | ++esac |
| 6193 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6194 | ++ (eval "$ac_try") 2>&5 |
| 6195 | + ac_status=$? |
| 6196 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6197 | + (exit $ac_status); }; }; then |
| 6198 | +@@ -4836,29 +5516,32 @@ |
| 6199 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6200 | + |
| 6201 | + ( exit $ac_status ) |
| 6202 | +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
| 6203 | ++if test "$ac_cv_type_char" = yes; then |
| 6204 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) |
| 6205 | + See \`config.log' for more details." >&5 |
| 6206 | +-echo "$as_me: error: cannot compute sizeof (char), 77 |
| 6207 | ++echo "$as_me: error: cannot compute sizeof (char) |
| 6208 | + See \`config.log' for more details." >&2;} |
| 6209 | +- { (exit 1); exit 1; }; } |
| 6210 | +-fi |
| 6211 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6212 | ++ { (exit 77); exit 77; }; } |
| 6213 | ++ else |
| 6214 | ++ ac_cv_sizeof_char=0 |
| 6215 | ++ fi |
| 6216 | + fi |
| 6217 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6218 | + fi |
| 6219 | + rm -f conftest.val |
| 6220 | +-else |
| 6221 | +- ac_cv_sizeof_char=0 |
| 6222 | + fi |
| 6223 | +-fi |
| 6224 | +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
| 6225 | +-echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
| 6226 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
| 6227 | ++echo "${ECHO_T}$ac_cv_sizeof_char" >&6; } |
| 6228 | ++ |
| 6229 | ++ |
| 6230 | ++ |
| 6231 | + cat >>confdefs.h <<_ACEOF |
| 6232 | + #define SIZEOF_CHAR $ac_cv_sizeof_char |
| 6233 | + _ACEOF |
| 6234 | + |
| 6235 | + |
| 6236 | +-echo "$as_me:$LINENO: checking for short" >&5 |
| 6237 | +-echo $ECHO_N "checking for short... $ECHO_C" >&6 |
| 6238 | ++{ echo "$as_me:$LINENO: checking for short" >&5 |
| 6239 | ++echo $ECHO_N "checking for short... $ECHO_C" >&6; } |
| 6240 | + if test "${ac_cv_type_short+set}" = set; then |
| 6241 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6242 | + else |
| 6243 | +@@ -4869,61 +5552,57 @@ |
| 6244 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6245 | + /* end confdefs.h. */ |
| 6246 | + $ac_includes_default |
| 6247 | ++typedef short ac__type_new_; |
| 6248 | + int |
| 6249 | + main () |
| 6250 | + { |
| 6251 | +-if ((short *) 0) |
| 6252 | ++if ((ac__type_new_ *) 0) |
| 6253 | + return 0; |
| 6254 | +-if (sizeof (short)) |
| 6255 | ++if (sizeof (ac__type_new_)) |
| 6256 | + return 0; |
| 6257 | + ; |
| 6258 | + return 0; |
| 6259 | + } |
| 6260 | + _ACEOF |
| 6261 | + rm -f conftest.$ac_objext |
| 6262 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6263 | +- (eval $ac_compile) 2>conftest.er1 |
| 6264 | ++if { (ac_try="$ac_compile" |
| 6265 | ++case "(($ac_try" in |
| 6266 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6267 | ++ *) ac_try_echo=$ac_try;; |
| 6268 | ++esac |
| 6269 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6270 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6271 | + ac_status=$? |
| 6272 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6273 | + rm -f conftest.er1 |
| 6274 | + cat conftest.err >&5 |
| 6275 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6276 | +- (exit $ac_status); } && |
| 6277 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6278 | +- || test ! -s conftest.err' |
| 6279 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6280 | +- (eval $ac_try) 2>&5 |
| 6281 | +- ac_status=$? |
| 6282 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6283 | +- (exit $ac_status); }; } && |
| 6284 | +- { ac_try='test -s conftest.$ac_objext' |
| 6285 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6286 | +- (eval $ac_try) 2>&5 |
| 6287 | +- ac_status=$? |
| 6288 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6289 | +- (exit $ac_status); }; }; then |
| 6290 | ++ (exit $ac_status); } && { |
| 6291 | ++ test -z "$ac_c_werror_flag" || |
| 6292 | ++ test ! -s conftest.err |
| 6293 | ++ } && test -s conftest.$ac_objext; then |
| 6294 | + ac_cv_type_short=yes |
| 6295 | + else |
| 6296 | + echo "$as_me: failed program was:" >&5 |
| 6297 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6298 | + |
| 6299 | +-ac_cv_type_short=no |
| 6300 | ++ ac_cv_type_short=no |
| 6301 | + fi |
| 6302 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6303 | ++ |
| 6304 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6305 | + fi |
| 6306 | +-echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
| 6307 | +-echo "${ECHO_T}$ac_cv_type_short" >&6 |
| 6308 | ++{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
| 6309 | ++echo "${ECHO_T}$ac_cv_type_short" >&6; } |
| 6310 | + |
| 6311 | +-echo "$as_me:$LINENO: checking size of short" >&5 |
| 6312 | +-echo $ECHO_N "checking size of short... $ECHO_C" >&6 |
| 6313 | ++# The cast to long int works around a bug in the HP C Compiler |
| 6314 | ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6315 | ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6316 | ++# This bug is HP SR number 8606223364. |
| 6317 | ++{ echo "$as_me:$LINENO: checking size of short" >&5 |
| 6318 | ++echo $ECHO_N "checking size of short... $ECHO_C" >&6; } |
| 6319 | + if test "${ac_cv_sizeof_short+set}" = set; then |
| 6320 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6321 | + else |
| 6322 | +- if test "$ac_cv_type_short" = yes; then |
| 6323 | +- # The cast to unsigned long works around a bug in the HP C Compiler |
| 6324 | +- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6325 | +- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6326 | +- # This bug is HP SR number 8606223364. |
| 6327 | + if test "$cross_compiling" = yes; then |
| 6328 | + # Depending upon the size, compute the lo and hi bounds. |
| 6329 | + cat >conftest.$ac_ext <<_ACEOF |
| 6330 | +@@ -4933,10 +5612,11 @@ |
| 6331 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6332 | + /* end confdefs.h. */ |
| 6333 | + $ac_includes_default |
| 6334 | ++ typedef short ac__type_sizeof_; |
| 6335 | + int |
| 6336 | + main () |
| 6337 | + { |
| 6338 | +-static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; |
| 6339 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 6340 | + test_array [0] = 0 |
| 6341 | + |
| 6342 | + ; |
| 6343 | +@@ -4944,27 +5624,22 @@ |
| 6344 | + } |
| 6345 | + _ACEOF |
| 6346 | + rm -f conftest.$ac_objext |
| 6347 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6348 | +- (eval $ac_compile) 2>conftest.er1 |
| 6349 | ++if { (ac_try="$ac_compile" |
| 6350 | ++case "(($ac_try" in |
| 6351 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6352 | ++ *) ac_try_echo=$ac_try;; |
| 6353 | ++esac |
| 6354 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6355 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6356 | + ac_status=$? |
| 6357 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6358 | + rm -f conftest.er1 |
| 6359 | + cat conftest.err >&5 |
| 6360 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6361 | +- (exit $ac_status); } && |
| 6362 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6363 | +- || test ! -s conftest.err' |
| 6364 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6365 | +- (eval $ac_try) 2>&5 |
| 6366 | +- ac_status=$? |
| 6367 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6368 | +- (exit $ac_status); }; } && |
| 6369 | +- { ac_try='test -s conftest.$ac_objext' |
| 6370 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6371 | +- (eval $ac_try) 2>&5 |
| 6372 | +- ac_status=$? |
| 6373 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6374 | +- (exit $ac_status); }; }; then |
| 6375 | ++ (exit $ac_status); } && { |
| 6376 | ++ test -z "$ac_c_werror_flag" || |
| 6377 | ++ test ! -s conftest.err |
| 6378 | ++ } && test -s conftest.$ac_objext; then |
| 6379 | + ac_lo=0 ac_mid=0 |
| 6380 | + while :; do |
| 6381 | + cat >conftest.$ac_ext <<_ACEOF |
| 6382 | +@@ -4974,10 +5649,11 @@ |
| 6383 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6384 | + /* end confdefs.h. */ |
| 6385 | + $ac_includes_default |
| 6386 | ++ typedef short ac__type_sizeof_; |
| 6387 | + int |
| 6388 | + main () |
| 6389 | + { |
| 6390 | +-static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
| 6391 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6392 | + test_array [0] = 0 |
| 6393 | + |
| 6394 | + ; |
| 6395 | +@@ -4985,56 +5661,53 @@ |
| 6396 | + } |
| 6397 | + _ACEOF |
| 6398 | + rm -f conftest.$ac_objext |
| 6399 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6400 | +- (eval $ac_compile) 2>conftest.er1 |
| 6401 | ++if { (ac_try="$ac_compile" |
| 6402 | ++case "(($ac_try" in |
| 6403 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6404 | ++ *) ac_try_echo=$ac_try;; |
| 6405 | ++esac |
| 6406 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6407 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6408 | + ac_status=$? |
| 6409 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6410 | + rm -f conftest.er1 |
| 6411 | + cat conftest.err >&5 |
| 6412 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6413 | +- (exit $ac_status); } && |
| 6414 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6415 | +- || test ! -s conftest.err' |
| 6416 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6417 | +- (eval $ac_try) 2>&5 |
| 6418 | +- ac_status=$? |
| 6419 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6420 | +- (exit $ac_status); }; } && |
| 6421 | +- { ac_try='test -s conftest.$ac_objext' |
| 6422 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6423 | +- (eval $ac_try) 2>&5 |
| 6424 | +- ac_status=$? |
| 6425 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6426 | +- (exit $ac_status); }; }; then |
| 6427 | ++ (exit $ac_status); } && { |
| 6428 | ++ test -z "$ac_c_werror_flag" || |
| 6429 | ++ test ! -s conftest.err |
| 6430 | ++ } && test -s conftest.$ac_objext; then |
| 6431 | + ac_hi=$ac_mid; break |
| 6432 | + else |
| 6433 | + echo "$as_me: failed program was:" >&5 |
| 6434 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6435 | + |
| 6436 | +-ac_lo=`expr $ac_mid + 1` |
| 6437 | +- if test $ac_lo -le $ac_mid; then |
| 6438 | +- ac_lo= ac_hi= |
| 6439 | +- break |
| 6440 | +- fi |
| 6441 | +- ac_mid=`expr 2 '*' $ac_mid + 1` |
| 6442 | ++ ac_lo=`expr $ac_mid + 1` |
| 6443 | ++ if test $ac_lo -le $ac_mid; then |
| 6444 | ++ ac_lo= ac_hi= |
| 6445 | ++ break |
| 6446 | ++ fi |
| 6447 | ++ ac_mid=`expr 2 '*' $ac_mid + 1` |
| 6448 | + fi |
| 6449 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6450 | ++ |
| 6451 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6452 | + done |
| 6453 | + else |
| 6454 | + echo "$as_me: failed program was:" >&5 |
| 6455 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6456 | + |
| 6457 | +-cat >conftest.$ac_ext <<_ACEOF |
| 6458 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 6459 | + /* confdefs.h. */ |
| 6460 | + _ACEOF |
| 6461 | + cat confdefs.h >>conftest.$ac_ext |
| 6462 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6463 | + /* end confdefs.h. */ |
| 6464 | + $ac_includes_default |
| 6465 | ++ typedef short ac__type_sizeof_; |
| 6466 | + int |
| 6467 | + main () |
| 6468 | + { |
| 6469 | +-static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; |
| 6470 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 6471 | + test_array [0] = 0 |
| 6472 | + |
| 6473 | + ; |
| 6474 | +@@ -5042,27 +5715,22 @@ |
| 6475 | + } |
| 6476 | + _ACEOF |
| 6477 | + rm -f conftest.$ac_objext |
| 6478 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6479 | +- (eval $ac_compile) 2>conftest.er1 |
| 6480 | ++if { (ac_try="$ac_compile" |
| 6481 | ++case "(($ac_try" in |
| 6482 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6483 | ++ *) ac_try_echo=$ac_try;; |
| 6484 | ++esac |
| 6485 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6486 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6487 | + ac_status=$? |
| 6488 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6489 | + rm -f conftest.er1 |
| 6490 | + cat conftest.err >&5 |
| 6491 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6492 | +- (exit $ac_status); } && |
| 6493 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6494 | +- || test ! -s conftest.err' |
| 6495 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6496 | +- (eval $ac_try) 2>&5 |
| 6497 | +- ac_status=$? |
| 6498 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6499 | +- (exit $ac_status); }; } && |
| 6500 | +- { ac_try='test -s conftest.$ac_objext' |
| 6501 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6502 | +- (eval $ac_try) 2>&5 |
| 6503 | +- ac_status=$? |
| 6504 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6505 | +- (exit $ac_status); }; }; then |
| 6506 | ++ (exit $ac_status); } && { |
| 6507 | ++ test -z "$ac_c_werror_flag" || |
| 6508 | ++ test ! -s conftest.err |
| 6509 | ++ } && test -s conftest.$ac_objext; then |
| 6510 | + ac_hi=-1 ac_mid=-1 |
| 6511 | + while :; do |
| 6512 | + cat >conftest.$ac_ext <<_ACEOF |
| 6513 | +@@ -5072,10 +5740,11 @@ |
| 6514 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6515 | + /* end confdefs.h. */ |
| 6516 | + $ac_includes_default |
| 6517 | ++ typedef short ac__type_sizeof_; |
| 6518 | + int |
| 6519 | + main () |
| 6520 | + { |
| 6521 | +-static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; |
| 6522 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 6523 | + test_array [0] = 0 |
| 6524 | + |
| 6525 | + ; |
| 6526 | +@@ -5083,50 +5752,48 @@ |
| 6527 | + } |
| 6528 | + _ACEOF |
| 6529 | + rm -f conftest.$ac_objext |
| 6530 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6531 | +- (eval $ac_compile) 2>conftest.er1 |
| 6532 | ++if { (ac_try="$ac_compile" |
| 6533 | ++case "(($ac_try" in |
| 6534 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6535 | ++ *) ac_try_echo=$ac_try;; |
| 6536 | ++esac |
| 6537 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6538 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6539 | + ac_status=$? |
| 6540 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6541 | + rm -f conftest.er1 |
| 6542 | + cat conftest.err >&5 |
| 6543 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6544 | +- (exit $ac_status); } && |
| 6545 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6546 | +- || test ! -s conftest.err' |
| 6547 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6548 | +- (eval $ac_try) 2>&5 |
| 6549 | +- ac_status=$? |
| 6550 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6551 | +- (exit $ac_status); }; } && |
| 6552 | +- { ac_try='test -s conftest.$ac_objext' |
| 6553 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6554 | +- (eval $ac_try) 2>&5 |
| 6555 | +- ac_status=$? |
| 6556 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6557 | +- (exit $ac_status); }; }; then |
| 6558 | ++ (exit $ac_status); } && { |
| 6559 | ++ test -z "$ac_c_werror_flag" || |
| 6560 | ++ test ! -s conftest.err |
| 6561 | ++ } && test -s conftest.$ac_objext; then |
| 6562 | + ac_lo=$ac_mid; break |
| 6563 | + else |
| 6564 | + echo "$as_me: failed program was:" >&5 |
| 6565 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6566 | + |
| 6567 | +-ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6568 | +- if test $ac_mid -le $ac_hi; then |
| 6569 | +- ac_lo= ac_hi= |
| 6570 | +- break |
| 6571 | +- fi |
| 6572 | +- ac_mid=`expr 2 '*' $ac_mid` |
| 6573 | ++ ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6574 | ++ if test $ac_mid -le $ac_hi; then |
| 6575 | ++ ac_lo= ac_hi= |
| 6576 | ++ break |
| 6577 | ++ fi |
| 6578 | ++ ac_mid=`expr 2 '*' $ac_mid` |
| 6579 | + fi |
| 6580 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6581 | ++ |
| 6582 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6583 | + done |
| 6584 | + else |
| 6585 | + echo "$as_me: failed program was:" >&5 |
| 6586 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6587 | + |
| 6588 | +-ac_lo= ac_hi= |
| 6589 | ++ ac_lo= ac_hi= |
| 6590 | + fi |
| 6591 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6592 | ++ |
| 6593 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6594 | + fi |
| 6595 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6596 | ++ |
| 6597 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6598 | + # Binary search between lo and hi bounds. |
| 6599 | + while test "x$ac_lo" != "x$ac_hi"; do |
| 6600 | + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 6601 | +@@ -5137,10 +5804,11 @@ |
| 6602 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6603 | + /* end confdefs.h. */ |
| 6604 | + $ac_includes_default |
| 6605 | ++ typedef short ac__type_sizeof_; |
| 6606 | + int |
| 6607 | + main () |
| 6608 | + { |
| 6609 | +-static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
| 6610 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6611 | + test_array [0] = 0 |
| 6612 | + |
| 6613 | + ; |
| 6614 | +@@ -5148,52 +5816,45 @@ |
| 6615 | + } |
| 6616 | + _ACEOF |
| 6617 | + rm -f conftest.$ac_objext |
| 6618 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6619 | +- (eval $ac_compile) 2>conftest.er1 |
| 6620 | ++if { (ac_try="$ac_compile" |
| 6621 | ++case "(($ac_try" in |
| 6622 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6623 | ++ *) ac_try_echo=$ac_try;; |
| 6624 | ++esac |
| 6625 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6626 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6627 | + ac_status=$? |
| 6628 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6629 | + rm -f conftest.er1 |
| 6630 | + cat conftest.err >&5 |
| 6631 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6632 | +- (exit $ac_status); } && |
| 6633 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6634 | +- || test ! -s conftest.err' |
| 6635 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6636 | +- (eval $ac_try) 2>&5 |
| 6637 | +- ac_status=$? |
| 6638 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6639 | +- (exit $ac_status); }; } && |
| 6640 | +- { ac_try='test -s conftest.$ac_objext' |
| 6641 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6642 | +- (eval $ac_try) 2>&5 |
| 6643 | +- ac_status=$? |
| 6644 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6645 | +- (exit $ac_status); }; }; then |
| 6646 | ++ (exit $ac_status); } && { |
| 6647 | ++ test -z "$ac_c_werror_flag" || |
| 6648 | ++ test ! -s conftest.err |
| 6649 | ++ } && test -s conftest.$ac_objext; then |
| 6650 | + ac_hi=$ac_mid |
| 6651 | + else |
| 6652 | + echo "$as_me: failed program was:" >&5 |
| 6653 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6654 | + |
| 6655 | +-ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6656 | ++ ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6657 | + fi |
| 6658 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6659 | ++ |
| 6660 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6661 | + done |
| 6662 | + case $ac_lo in |
| 6663 | + ?*) ac_cv_sizeof_short=$ac_lo;; |
| 6664 | +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
| 6665 | ++'') if test "$ac_cv_type_short" = yes; then |
| 6666 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
| 6667 | + See \`config.log' for more details." >&5 |
| 6668 | +-echo "$as_me: error: cannot compute sizeof (short), 77 |
| 6669 | ++echo "$as_me: error: cannot compute sizeof (short) |
| 6670 | + See \`config.log' for more details." >&2;} |
| 6671 | +- { (exit 1); exit 1; }; } ;; |
| 6672 | ++ { (exit 77); exit 77; }; } |
| 6673 | ++ else |
| 6674 | ++ ac_cv_sizeof_short=0 |
| 6675 | ++ fi ;; |
| 6676 | + esac |
| 6677 | + else |
| 6678 | +- if test "$cross_compiling" = yes; then |
| 6679 | +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 6680 | +-See \`config.log' for more details." >&5 |
| 6681 | +-echo "$as_me: error: cannot run test program while cross compiling |
| 6682 | +-See \`config.log' for more details." >&2;} |
| 6683 | +- { (exit 1); exit 1; }; } |
| 6684 | +-else |
| 6685 | + cat >conftest.$ac_ext <<_ACEOF |
| 6686 | + /* confdefs.h. */ |
| 6687 | + _ACEOF |
| 6688 | +@@ -5201,8 +5862,9 @@ |
| 6689 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6690 | + /* end confdefs.h. */ |
| 6691 | + $ac_includes_default |
| 6692 | +-long longval () { return (long) (sizeof (short)); } |
| 6693 | +-unsigned long ulongval () { return (long) (sizeof (short)); } |
| 6694 | ++ typedef short ac__type_sizeof_; |
| 6695 | ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6696 | ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6697 | + #include <stdio.h> |
| 6698 | + #include <stdlib.h> |
| 6699 | + int |
| 6700 | +@@ -5211,35 +5873,44 @@ |
| 6701 | + |
| 6702 | + FILE *f = fopen ("conftest.val", "w"); |
| 6703 | + if (! f) |
| 6704 | +- exit (1); |
| 6705 | +- if (((long) (sizeof (short))) < 0) |
| 6706 | ++ return 1; |
| 6707 | ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 6708 | + { |
| 6709 | +- long i = longval (); |
| 6710 | +- if (i != ((long) (sizeof (short)))) |
| 6711 | +- exit (1); |
| 6712 | ++ long int i = longval (); |
| 6713 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6714 | ++ return 1; |
| 6715 | + fprintf (f, "%ld\n", i); |
| 6716 | + } |
| 6717 | + else |
| 6718 | + { |
| 6719 | +- unsigned long i = ulongval (); |
| 6720 | +- if (i != ((long) (sizeof (short)))) |
| 6721 | +- exit (1); |
| 6722 | ++ unsigned long int i = ulongval (); |
| 6723 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6724 | ++ return 1; |
| 6725 | + fprintf (f, "%lu\n", i); |
| 6726 | + } |
| 6727 | +- exit (ferror (f) || fclose (f) != 0); |
| 6728 | ++ return ferror (f) || fclose (f) != 0; |
| 6729 | + |
| 6730 | + ; |
| 6731 | + return 0; |
| 6732 | + } |
| 6733 | + _ACEOF |
| 6734 | + rm -f conftest$ac_exeext |
| 6735 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6736 | +- (eval $ac_link) 2>&5 |
| 6737 | ++if { (ac_try="$ac_link" |
| 6738 | ++case "(($ac_try" in |
| 6739 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6740 | ++ *) ac_try_echo=$ac_try;; |
| 6741 | ++esac |
| 6742 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6743 | ++ (eval "$ac_link") 2>&5 |
| 6744 | + ac_status=$? |
| 6745 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6746 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 6747 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6748 | +- (eval $ac_try) 2>&5 |
| 6749 | ++ { (case "(($ac_try" in |
| 6750 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6751 | ++ *) ac_try_echo=$ac_try;; |
| 6752 | ++esac |
| 6753 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6754 | ++ (eval "$ac_try") 2>&5 |
| 6755 | + ac_status=$? |
| 6756 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6757 | + (exit $ac_status); }; }; then |
| 6758 | +@@ -5250,29 +5921,32 @@ |
| 6759 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6760 | + |
| 6761 | + ( exit $ac_status ) |
| 6762 | +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
| 6763 | ++if test "$ac_cv_type_short" = yes; then |
| 6764 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
| 6765 | + See \`config.log' for more details." >&5 |
| 6766 | +-echo "$as_me: error: cannot compute sizeof (short), 77 |
| 6767 | ++echo "$as_me: error: cannot compute sizeof (short) |
| 6768 | + See \`config.log' for more details." >&2;} |
| 6769 | +- { (exit 1); exit 1; }; } |
| 6770 | +-fi |
| 6771 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6772 | ++ { (exit 77); exit 77; }; } |
| 6773 | ++ else |
| 6774 | ++ ac_cv_sizeof_short=0 |
| 6775 | ++ fi |
| 6776 | + fi |
| 6777 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6778 | + fi |
| 6779 | + rm -f conftest.val |
| 6780 | +-else |
| 6781 | +- ac_cv_sizeof_short=0 |
| 6782 | +-fi |
| 6783 | + fi |
| 6784 | +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
| 6785 | +-echo "${ECHO_T}$ac_cv_sizeof_short" >&6 |
| 6786 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
| 6787 | ++echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } |
| 6788 | ++ |
| 6789 | ++ |
| 6790 | ++ |
| 6791 | + cat >>confdefs.h <<_ACEOF |
| 6792 | + #define SIZEOF_SHORT $ac_cv_sizeof_short |
| 6793 | + _ACEOF |
| 6794 | + |
| 6795 | + |
| 6796 | +-echo "$as_me:$LINENO: checking for int" >&5 |
| 6797 | +-echo $ECHO_N "checking for int... $ECHO_C" >&6 |
| 6798 | ++{ echo "$as_me:$LINENO: checking for int" >&5 |
| 6799 | ++echo $ECHO_N "checking for int... $ECHO_C" >&6; } |
| 6800 | + if test "${ac_cv_type_int+set}" = set; then |
| 6801 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6802 | + else |
| 6803 | +@@ -5283,61 +5957,57 @@ |
| 6804 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6805 | + /* end confdefs.h. */ |
| 6806 | + $ac_includes_default |
| 6807 | ++typedef int ac__type_new_; |
| 6808 | + int |
| 6809 | + main () |
| 6810 | + { |
| 6811 | +-if ((int *) 0) |
| 6812 | ++if ((ac__type_new_ *) 0) |
| 6813 | + return 0; |
| 6814 | +-if (sizeof (int)) |
| 6815 | ++if (sizeof (ac__type_new_)) |
| 6816 | + return 0; |
| 6817 | + ; |
| 6818 | + return 0; |
| 6819 | + } |
| 6820 | + _ACEOF |
| 6821 | + rm -f conftest.$ac_objext |
| 6822 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6823 | +- (eval $ac_compile) 2>conftest.er1 |
| 6824 | ++if { (ac_try="$ac_compile" |
| 6825 | ++case "(($ac_try" in |
| 6826 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6827 | ++ *) ac_try_echo=$ac_try;; |
| 6828 | ++esac |
| 6829 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6830 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6831 | + ac_status=$? |
| 6832 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6833 | + rm -f conftest.er1 |
| 6834 | + cat conftest.err >&5 |
| 6835 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6836 | +- (exit $ac_status); } && |
| 6837 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6838 | +- || test ! -s conftest.err' |
| 6839 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6840 | +- (eval $ac_try) 2>&5 |
| 6841 | +- ac_status=$? |
| 6842 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6843 | +- (exit $ac_status); }; } && |
| 6844 | +- { ac_try='test -s conftest.$ac_objext' |
| 6845 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6846 | +- (eval $ac_try) 2>&5 |
| 6847 | +- ac_status=$? |
| 6848 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6849 | +- (exit $ac_status); }; }; then |
| 6850 | ++ (exit $ac_status); } && { |
| 6851 | ++ test -z "$ac_c_werror_flag" || |
| 6852 | ++ test ! -s conftest.err |
| 6853 | ++ } && test -s conftest.$ac_objext; then |
| 6854 | + ac_cv_type_int=yes |
| 6855 | + else |
| 6856 | + echo "$as_me: failed program was:" >&5 |
| 6857 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6858 | + |
| 6859 | +-ac_cv_type_int=no |
| 6860 | ++ ac_cv_type_int=no |
| 6861 | + fi |
| 6862 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6863 | ++ |
| 6864 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6865 | + fi |
| 6866 | +-echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
| 6867 | +-echo "${ECHO_T}$ac_cv_type_int" >&6 |
| 6868 | ++{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
| 6869 | ++echo "${ECHO_T}$ac_cv_type_int" >&6; } |
| 6870 | + |
| 6871 | +-echo "$as_me:$LINENO: checking size of int" >&5 |
| 6872 | +-echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
| 6873 | ++# The cast to long int works around a bug in the HP C Compiler |
| 6874 | ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6875 | ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6876 | ++# This bug is HP SR number 8606223364. |
| 6877 | ++{ echo "$as_me:$LINENO: checking size of int" >&5 |
| 6878 | ++echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
| 6879 | + if test "${ac_cv_sizeof_int+set}" = set; then |
| 6880 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6881 | + else |
| 6882 | +- if test "$ac_cv_type_int" = yes; then |
| 6883 | +- # The cast to unsigned long works around a bug in the HP C Compiler |
| 6884 | +- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6885 | +- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6886 | +- # This bug is HP SR number 8606223364. |
| 6887 | + if test "$cross_compiling" = yes; then |
| 6888 | + # Depending upon the size, compute the lo and hi bounds. |
| 6889 | + cat >conftest.$ac_ext <<_ACEOF |
| 6890 | +@@ -5347,10 +6017,11 @@ |
| 6891 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6892 | + /* end confdefs.h. */ |
| 6893 | + $ac_includes_default |
| 6894 | ++ typedef int ac__type_sizeof_; |
| 6895 | + int |
| 6896 | + main () |
| 6897 | + { |
| 6898 | +-static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; |
| 6899 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 6900 | + test_array [0] = 0 |
| 6901 | + |
| 6902 | + ; |
| 6903 | +@@ -5358,27 +6029,22 @@ |
| 6904 | + } |
| 6905 | + _ACEOF |
| 6906 | + rm -f conftest.$ac_objext |
| 6907 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6908 | +- (eval $ac_compile) 2>conftest.er1 |
| 6909 | ++if { (ac_try="$ac_compile" |
| 6910 | ++case "(($ac_try" in |
| 6911 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6912 | ++ *) ac_try_echo=$ac_try;; |
| 6913 | ++esac |
| 6914 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6915 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6916 | + ac_status=$? |
| 6917 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6918 | + rm -f conftest.er1 |
| 6919 | + cat conftest.err >&5 |
| 6920 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6921 | +- (exit $ac_status); } && |
| 6922 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6923 | +- || test ! -s conftest.err' |
| 6924 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6925 | +- (eval $ac_try) 2>&5 |
| 6926 | +- ac_status=$? |
| 6927 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6928 | +- (exit $ac_status); }; } && |
| 6929 | +- { ac_try='test -s conftest.$ac_objext' |
| 6930 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6931 | +- (eval $ac_try) 2>&5 |
| 6932 | +- ac_status=$? |
| 6933 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6934 | +- (exit $ac_status); }; }; then |
| 6935 | ++ (exit $ac_status); } && { |
| 6936 | ++ test -z "$ac_c_werror_flag" || |
| 6937 | ++ test ! -s conftest.err |
| 6938 | ++ } && test -s conftest.$ac_objext; then |
| 6939 | + ac_lo=0 ac_mid=0 |
| 6940 | + while :; do |
| 6941 | + cat >conftest.$ac_ext <<_ACEOF |
| 6942 | +@@ -5388,10 +6054,11 @@ |
| 6943 | + cat >>conftest.$ac_ext <<_ACEOF |
| 6944 | + /* end confdefs.h. */ |
| 6945 | + $ac_includes_default |
| 6946 | ++ typedef int ac__type_sizeof_; |
| 6947 | + int |
| 6948 | + main () |
| 6949 | + { |
| 6950 | +-static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
| 6951 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6952 | + test_array [0] = 0 |
| 6953 | + |
| 6954 | + ; |
| 6955 | +@@ -5399,56 +6066,53 @@ |
| 6956 | + } |
| 6957 | + _ACEOF |
| 6958 | + rm -f conftest.$ac_objext |
| 6959 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6960 | +- (eval $ac_compile) 2>conftest.er1 |
| 6961 | ++if { (ac_try="$ac_compile" |
| 6962 | ++case "(($ac_try" in |
| 6963 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6964 | ++ *) ac_try_echo=$ac_try;; |
| 6965 | ++esac |
| 6966 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6967 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 6968 | + ac_status=$? |
| 6969 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 6970 | + rm -f conftest.er1 |
| 6971 | + cat conftest.err >&5 |
| 6972 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6973 | +- (exit $ac_status); } && |
| 6974 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 6975 | +- || test ! -s conftest.err' |
| 6976 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6977 | +- (eval $ac_try) 2>&5 |
| 6978 | +- ac_status=$? |
| 6979 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6980 | +- (exit $ac_status); }; } && |
| 6981 | +- { ac_try='test -s conftest.$ac_objext' |
| 6982 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6983 | +- (eval $ac_try) 2>&5 |
| 6984 | +- ac_status=$? |
| 6985 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6986 | +- (exit $ac_status); }; }; then |
| 6987 | ++ (exit $ac_status); } && { |
| 6988 | ++ test -z "$ac_c_werror_flag" || |
| 6989 | ++ test ! -s conftest.err |
| 6990 | ++ } && test -s conftest.$ac_objext; then |
| 6991 | + ac_hi=$ac_mid; break |
| 6992 | + else |
| 6993 | + echo "$as_me: failed program was:" >&5 |
| 6994 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 6995 | + |
| 6996 | +-ac_lo=`expr $ac_mid + 1` |
| 6997 | +- if test $ac_lo -le $ac_mid; then |
| 6998 | +- ac_lo= ac_hi= |
| 6999 | +- break |
| 7000 | +- fi |
| 7001 | +- ac_mid=`expr 2 '*' $ac_mid + 1` |
| 7002 | ++ ac_lo=`expr $ac_mid + 1` |
| 7003 | ++ if test $ac_lo -le $ac_mid; then |
| 7004 | ++ ac_lo= ac_hi= |
| 7005 | ++ break |
| 7006 | ++ fi |
| 7007 | ++ ac_mid=`expr 2 '*' $ac_mid + 1` |
| 7008 | + fi |
| 7009 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7010 | ++ |
| 7011 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7012 | + done |
| 7013 | + else |
| 7014 | + echo "$as_me: failed program was:" >&5 |
| 7015 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7016 | + |
| 7017 | +-cat >conftest.$ac_ext <<_ACEOF |
| 7018 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 7019 | + /* confdefs.h. */ |
| 7020 | + _ACEOF |
| 7021 | + cat confdefs.h >>conftest.$ac_ext |
| 7022 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7023 | + /* end confdefs.h. */ |
| 7024 | + $ac_includes_default |
| 7025 | ++ typedef int ac__type_sizeof_; |
| 7026 | + int |
| 7027 | + main () |
| 7028 | + { |
| 7029 | +-static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; |
| 7030 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 7031 | + test_array [0] = 0 |
| 7032 | + |
| 7033 | + ; |
| 7034 | +@@ -5456,27 +6120,22 @@ |
| 7035 | + } |
| 7036 | + _ACEOF |
| 7037 | + rm -f conftest.$ac_objext |
| 7038 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7039 | +- (eval $ac_compile) 2>conftest.er1 |
| 7040 | ++if { (ac_try="$ac_compile" |
| 7041 | ++case "(($ac_try" in |
| 7042 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7043 | ++ *) ac_try_echo=$ac_try;; |
| 7044 | ++esac |
| 7045 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7046 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7047 | + ac_status=$? |
| 7048 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7049 | + rm -f conftest.er1 |
| 7050 | + cat conftest.err >&5 |
| 7051 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7052 | +- (exit $ac_status); } && |
| 7053 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7054 | +- || test ! -s conftest.err' |
| 7055 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7056 | +- (eval $ac_try) 2>&5 |
| 7057 | +- ac_status=$? |
| 7058 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7059 | +- (exit $ac_status); }; } && |
| 7060 | +- { ac_try='test -s conftest.$ac_objext' |
| 7061 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7062 | +- (eval $ac_try) 2>&5 |
| 7063 | +- ac_status=$? |
| 7064 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7065 | +- (exit $ac_status); }; }; then |
| 7066 | ++ (exit $ac_status); } && { |
| 7067 | ++ test -z "$ac_c_werror_flag" || |
| 7068 | ++ test ! -s conftest.err |
| 7069 | ++ } && test -s conftest.$ac_objext; then |
| 7070 | + ac_hi=-1 ac_mid=-1 |
| 7071 | + while :; do |
| 7072 | + cat >conftest.$ac_ext <<_ACEOF |
| 7073 | +@@ -5486,10 +6145,11 @@ |
| 7074 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7075 | + /* end confdefs.h. */ |
| 7076 | + $ac_includes_default |
| 7077 | ++ typedef int ac__type_sizeof_; |
| 7078 | + int |
| 7079 | + main () |
| 7080 | + { |
| 7081 | +-static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; |
| 7082 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 7083 | + test_array [0] = 0 |
| 7084 | + |
| 7085 | + ; |
| 7086 | +@@ -5497,50 +6157,48 @@ |
| 7087 | + } |
| 7088 | + _ACEOF |
| 7089 | + rm -f conftest.$ac_objext |
| 7090 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7091 | +- (eval $ac_compile) 2>conftest.er1 |
| 7092 | ++if { (ac_try="$ac_compile" |
| 7093 | ++case "(($ac_try" in |
| 7094 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7095 | ++ *) ac_try_echo=$ac_try;; |
| 7096 | ++esac |
| 7097 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7098 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7099 | + ac_status=$? |
| 7100 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7101 | + rm -f conftest.er1 |
| 7102 | + cat conftest.err >&5 |
| 7103 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7104 | +- (exit $ac_status); } && |
| 7105 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7106 | +- || test ! -s conftest.err' |
| 7107 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7108 | +- (eval $ac_try) 2>&5 |
| 7109 | +- ac_status=$? |
| 7110 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7111 | +- (exit $ac_status); }; } && |
| 7112 | +- { ac_try='test -s conftest.$ac_objext' |
| 7113 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7114 | +- (eval $ac_try) 2>&5 |
| 7115 | +- ac_status=$? |
| 7116 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7117 | +- (exit $ac_status); }; }; then |
| 7118 | ++ (exit $ac_status); } && { |
| 7119 | ++ test -z "$ac_c_werror_flag" || |
| 7120 | ++ test ! -s conftest.err |
| 7121 | ++ } && test -s conftest.$ac_objext; then |
| 7122 | + ac_lo=$ac_mid; break |
| 7123 | + else |
| 7124 | + echo "$as_me: failed program was:" >&5 |
| 7125 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7126 | + |
| 7127 | +-ac_hi=`expr '(' $ac_mid ')' - 1` |
| 7128 | +- if test $ac_mid -le $ac_hi; then |
| 7129 | +- ac_lo= ac_hi= |
| 7130 | +- break |
| 7131 | +- fi |
| 7132 | +- ac_mid=`expr 2 '*' $ac_mid` |
| 7133 | ++ ac_hi=`expr '(' $ac_mid ')' - 1` |
| 7134 | ++ if test $ac_mid -le $ac_hi; then |
| 7135 | ++ ac_lo= ac_hi= |
| 7136 | ++ break |
| 7137 | ++ fi |
| 7138 | ++ ac_mid=`expr 2 '*' $ac_mid` |
| 7139 | + fi |
| 7140 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7141 | ++ |
| 7142 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7143 | + done |
| 7144 | + else |
| 7145 | + echo "$as_me: failed program was:" >&5 |
| 7146 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7147 | + |
| 7148 | +-ac_lo= ac_hi= |
| 7149 | ++ ac_lo= ac_hi= |
| 7150 | + fi |
| 7151 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7152 | ++ |
| 7153 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7154 | + fi |
| 7155 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7156 | ++ |
| 7157 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7158 | + # Binary search between lo and hi bounds. |
| 7159 | + while test "x$ac_lo" != "x$ac_hi"; do |
| 7160 | + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 7161 | +@@ -5551,10 +6209,11 @@ |
| 7162 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7163 | + /* end confdefs.h. */ |
| 7164 | + $ac_includes_default |
| 7165 | ++ typedef int ac__type_sizeof_; |
| 7166 | + int |
| 7167 | + main () |
| 7168 | + { |
| 7169 | +-static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
| 7170 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 7171 | + test_array [0] = 0 |
| 7172 | + |
| 7173 | + ; |
| 7174 | +@@ -5562,52 +6221,45 @@ |
| 7175 | + } |
| 7176 | + _ACEOF |
| 7177 | + rm -f conftest.$ac_objext |
| 7178 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7179 | +- (eval $ac_compile) 2>conftest.er1 |
| 7180 | ++if { (ac_try="$ac_compile" |
| 7181 | ++case "(($ac_try" in |
| 7182 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7183 | ++ *) ac_try_echo=$ac_try;; |
| 7184 | ++esac |
| 7185 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7186 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7187 | + ac_status=$? |
| 7188 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7189 | + rm -f conftest.er1 |
| 7190 | + cat conftest.err >&5 |
| 7191 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7192 | +- (exit $ac_status); } && |
| 7193 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7194 | +- || test ! -s conftest.err' |
| 7195 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7196 | +- (eval $ac_try) 2>&5 |
| 7197 | +- ac_status=$? |
| 7198 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7199 | +- (exit $ac_status); }; } && |
| 7200 | +- { ac_try='test -s conftest.$ac_objext' |
| 7201 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7202 | +- (eval $ac_try) 2>&5 |
| 7203 | +- ac_status=$? |
| 7204 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7205 | +- (exit $ac_status); }; }; then |
| 7206 | ++ (exit $ac_status); } && { |
| 7207 | ++ test -z "$ac_c_werror_flag" || |
| 7208 | ++ test ! -s conftest.err |
| 7209 | ++ } && test -s conftest.$ac_objext; then |
| 7210 | + ac_hi=$ac_mid |
| 7211 | + else |
| 7212 | + echo "$as_me: failed program was:" >&5 |
| 7213 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7214 | + |
| 7215 | +-ac_lo=`expr '(' $ac_mid ')' + 1` |
| 7216 | ++ ac_lo=`expr '(' $ac_mid ')' + 1` |
| 7217 | + fi |
| 7218 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7219 | ++ |
| 7220 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7221 | + done |
| 7222 | + case $ac_lo in |
| 7223 | + ?*) ac_cv_sizeof_int=$ac_lo;; |
| 7224 | +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
| 7225 | ++'') if test "$ac_cv_type_int" = yes; then |
| 7226 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
| 7227 | + See \`config.log' for more details." >&5 |
| 7228 | +-echo "$as_me: error: cannot compute sizeof (int), 77 |
| 7229 | ++echo "$as_me: error: cannot compute sizeof (int) |
| 7230 | + See \`config.log' for more details." >&2;} |
| 7231 | +- { (exit 1); exit 1; }; } ;; |
| 7232 | ++ { (exit 77); exit 77; }; } |
| 7233 | ++ else |
| 7234 | ++ ac_cv_sizeof_int=0 |
| 7235 | ++ fi ;; |
| 7236 | + esac |
| 7237 | + else |
| 7238 | +- if test "$cross_compiling" = yes; then |
| 7239 | +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 7240 | +-See \`config.log' for more details." >&5 |
| 7241 | +-echo "$as_me: error: cannot run test program while cross compiling |
| 7242 | +-See \`config.log' for more details." >&2;} |
| 7243 | +- { (exit 1); exit 1; }; } |
| 7244 | +-else |
| 7245 | + cat >conftest.$ac_ext <<_ACEOF |
| 7246 | + /* confdefs.h. */ |
| 7247 | + _ACEOF |
| 7248 | +@@ -5615,8 +6267,9 @@ |
| 7249 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7250 | + /* end confdefs.h. */ |
| 7251 | + $ac_includes_default |
| 7252 | +-long longval () { return (long) (sizeof (int)); } |
| 7253 | +-unsigned long ulongval () { return (long) (sizeof (int)); } |
| 7254 | ++ typedef int ac__type_sizeof_; |
| 7255 | ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 7256 | ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 7257 | + #include <stdio.h> |
| 7258 | + #include <stdlib.h> |
| 7259 | + int |
| 7260 | +@@ -5625,35 +6278,44 @@ |
| 7261 | + |
| 7262 | + FILE *f = fopen ("conftest.val", "w"); |
| 7263 | + if (! f) |
| 7264 | +- exit (1); |
| 7265 | +- if (((long) (sizeof (int))) < 0) |
| 7266 | ++ return 1; |
| 7267 | ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 7268 | + { |
| 7269 | +- long i = longval (); |
| 7270 | +- if (i != ((long) (sizeof (int)))) |
| 7271 | +- exit (1); |
| 7272 | ++ long int i = longval (); |
| 7273 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 7274 | ++ return 1; |
| 7275 | + fprintf (f, "%ld\n", i); |
| 7276 | + } |
| 7277 | + else |
| 7278 | + { |
| 7279 | +- unsigned long i = ulongval (); |
| 7280 | +- if (i != ((long) (sizeof (int)))) |
| 7281 | +- exit (1); |
| 7282 | ++ unsigned long int i = ulongval (); |
| 7283 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 7284 | ++ return 1; |
| 7285 | + fprintf (f, "%lu\n", i); |
| 7286 | + } |
| 7287 | +- exit (ferror (f) || fclose (f) != 0); |
| 7288 | ++ return ferror (f) || fclose (f) != 0; |
| 7289 | + |
| 7290 | + ; |
| 7291 | + return 0; |
| 7292 | + } |
| 7293 | + _ACEOF |
| 7294 | + rm -f conftest$ac_exeext |
| 7295 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7296 | +- (eval $ac_link) 2>&5 |
| 7297 | ++if { (ac_try="$ac_link" |
| 7298 | ++case "(($ac_try" in |
| 7299 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7300 | ++ *) ac_try_echo=$ac_try;; |
| 7301 | ++esac |
| 7302 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7303 | ++ (eval "$ac_link") 2>&5 |
| 7304 | + ac_status=$? |
| 7305 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7306 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 7307 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7308 | +- (eval $ac_try) 2>&5 |
| 7309 | ++ { (case "(($ac_try" in |
| 7310 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7311 | ++ *) ac_try_echo=$ac_try;; |
| 7312 | ++esac |
| 7313 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7314 | ++ (eval "$ac_try") 2>&5 |
| 7315 | + ac_status=$? |
| 7316 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7317 | + (exit $ac_status); }; }; then |
| 7318 | +@@ -5664,29 +6326,32 @@ |
| 7319 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7320 | + |
| 7321 | + ( exit $ac_status ) |
| 7322 | +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
| 7323 | ++if test "$ac_cv_type_int" = yes; then |
| 7324 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
| 7325 | + See \`config.log' for more details." >&5 |
| 7326 | +-echo "$as_me: error: cannot compute sizeof (int), 77 |
| 7327 | ++echo "$as_me: error: cannot compute sizeof (int) |
| 7328 | + See \`config.log' for more details." >&2;} |
| 7329 | +- { (exit 1); exit 1; }; } |
| 7330 | +-fi |
| 7331 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7332 | ++ { (exit 77); exit 77; }; } |
| 7333 | ++ else |
| 7334 | ++ ac_cv_sizeof_int=0 |
| 7335 | ++ fi |
| 7336 | + fi |
| 7337 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7338 | + fi |
| 7339 | + rm -f conftest.val |
| 7340 | +-else |
| 7341 | +- ac_cv_sizeof_int=0 |
| 7342 | + fi |
| 7343 | +-fi |
| 7344 | +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
| 7345 | +-echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
| 7346 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
| 7347 | ++echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
| 7348 | ++ |
| 7349 | ++ |
| 7350 | ++ |
| 7351 | + cat >>confdefs.h <<_ACEOF |
| 7352 | + #define SIZEOF_INT $ac_cv_sizeof_int |
| 7353 | + _ACEOF |
| 7354 | + |
| 7355 | + |
| 7356 | +-echo "$as_me:$LINENO: checking for long" >&5 |
| 7357 | +-echo $ECHO_N "checking for long... $ECHO_C" >&6 |
| 7358 | ++{ echo "$as_me:$LINENO: checking for long" >&5 |
| 7359 | ++echo $ECHO_N "checking for long... $ECHO_C" >&6; } |
| 7360 | + if test "${ac_cv_type_long+set}" = set; then |
| 7361 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7362 | + else |
| 7363 | +@@ -5697,61 +6362,57 @@ |
| 7364 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7365 | + /* end confdefs.h. */ |
| 7366 | + $ac_includes_default |
| 7367 | ++typedef long ac__type_new_; |
| 7368 | + int |
| 7369 | + main () |
| 7370 | + { |
| 7371 | +-if ((long *) 0) |
| 7372 | ++if ((ac__type_new_ *) 0) |
| 7373 | + return 0; |
| 7374 | +-if (sizeof (long)) |
| 7375 | ++if (sizeof (ac__type_new_)) |
| 7376 | + return 0; |
| 7377 | + ; |
| 7378 | + return 0; |
| 7379 | + } |
| 7380 | + _ACEOF |
| 7381 | + rm -f conftest.$ac_objext |
| 7382 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7383 | +- (eval $ac_compile) 2>conftest.er1 |
| 7384 | ++if { (ac_try="$ac_compile" |
| 7385 | ++case "(($ac_try" in |
| 7386 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7387 | ++ *) ac_try_echo=$ac_try;; |
| 7388 | ++esac |
| 7389 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7390 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7391 | + ac_status=$? |
| 7392 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7393 | + rm -f conftest.er1 |
| 7394 | + cat conftest.err >&5 |
| 7395 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7396 | +- (exit $ac_status); } && |
| 7397 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7398 | +- || test ! -s conftest.err' |
| 7399 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7400 | +- (eval $ac_try) 2>&5 |
| 7401 | +- ac_status=$? |
| 7402 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7403 | +- (exit $ac_status); }; } && |
| 7404 | +- { ac_try='test -s conftest.$ac_objext' |
| 7405 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7406 | +- (eval $ac_try) 2>&5 |
| 7407 | +- ac_status=$? |
| 7408 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7409 | +- (exit $ac_status); }; }; then |
| 7410 | ++ (exit $ac_status); } && { |
| 7411 | ++ test -z "$ac_c_werror_flag" || |
| 7412 | ++ test ! -s conftest.err |
| 7413 | ++ } && test -s conftest.$ac_objext; then |
| 7414 | + ac_cv_type_long=yes |
| 7415 | + else |
| 7416 | + echo "$as_me: failed program was:" >&5 |
| 7417 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7418 | + |
| 7419 | +-ac_cv_type_long=no |
| 7420 | ++ ac_cv_type_long=no |
| 7421 | + fi |
| 7422 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7423 | ++ |
| 7424 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7425 | + fi |
| 7426 | +-echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
| 7427 | +-echo "${ECHO_T}$ac_cv_type_long" >&6 |
| 7428 | ++{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
| 7429 | ++echo "${ECHO_T}$ac_cv_type_long" >&6; } |
| 7430 | + |
| 7431 | +-echo "$as_me:$LINENO: checking size of long" >&5 |
| 7432 | +-echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
| 7433 | ++# The cast to long int works around a bug in the HP C Compiler |
| 7434 | ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 7435 | ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 7436 | ++# This bug is HP SR number 8606223364. |
| 7437 | ++{ echo "$as_me:$LINENO: checking size of long" >&5 |
| 7438 | ++echo $ECHO_N "checking size of long... $ECHO_C" >&6; } |
| 7439 | + if test "${ac_cv_sizeof_long+set}" = set; then |
| 7440 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7441 | + else |
| 7442 | +- if test "$ac_cv_type_long" = yes; then |
| 7443 | +- # The cast to unsigned long works around a bug in the HP C Compiler |
| 7444 | +- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 7445 | +- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 7446 | +- # This bug is HP SR number 8606223364. |
| 7447 | + if test "$cross_compiling" = yes; then |
| 7448 | + # Depending upon the size, compute the lo and hi bounds. |
| 7449 | + cat >conftest.$ac_ext <<_ACEOF |
| 7450 | +@@ -5761,10 +6422,11 @@ |
| 7451 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7452 | + /* end confdefs.h. */ |
| 7453 | + $ac_includes_default |
| 7454 | ++ typedef long ac__type_sizeof_; |
| 7455 | + int |
| 7456 | + main () |
| 7457 | + { |
| 7458 | +-static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
| 7459 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 7460 | + test_array [0] = 0 |
| 7461 | + |
| 7462 | + ; |
| 7463 | +@@ -5772,27 +6434,22 @@ |
| 7464 | + } |
| 7465 | + _ACEOF |
| 7466 | + rm -f conftest.$ac_objext |
| 7467 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7468 | +- (eval $ac_compile) 2>conftest.er1 |
| 7469 | ++if { (ac_try="$ac_compile" |
| 7470 | ++case "(($ac_try" in |
| 7471 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7472 | ++ *) ac_try_echo=$ac_try;; |
| 7473 | ++esac |
| 7474 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7475 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7476 | + ac_status=$? |
| 7477 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7478 | + rm -f conftest.er1 |
| 7479 | + cat conftest.err >&5 |
| 7480 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7481 | +- (exit $ac_status); } && |
| 7482 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7483 | +- || test ! -s conftest.err' |
| 7484 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7485 | +- (eval $ac_try) 2>&5 |
| 7486 | +- ac_status=$? |
| 7487 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7488 | +- (exit $ac_status); }; } && |
| 7489 | +- { ac_try='test -s conftest.$ac_objext' |
| 7490 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7491 | +- (eval $ac_try) 2>&5 |
| 7492 | +- ac_status=$? |
| 7493 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7494 | +- (exit $ac_status); }; }; then |
| 7495 | ++ (exit $ac_status); } && { |
| 7496 | ++ test -z "$ac_c_werror_flag" || |
| 7497 | ++ test ! -s conftest.err |
| 7498 | ++ } && test -s conftest.$ac_objext; then |
| 7499 | + ac_lo=0 ac_mid=0 |
| 7500 | + while :; do |
| 7501 | + cat >conftest.$ac_ext <<_ACEOF |
| 7502 | +@@ -5802,10 +6459,11 @@ |
| 7503 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7504 | + /* end confdefs.h. */ |
| 7505 | + $ac_includes_default |
| 7506 | ++ typedef long ac__type_sizeof_; |
| 7507 | + int |
| 7508 | + main () |
| 7509 | + { |
| 7510 | +-static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
| 7511 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 7512 | + test_array [0] = 0 |
| 7513 | + |
| 7514 | + ; |
| 7515 | +@@ -5813,56 +6471,53 @@ |
| 7516 | + } |
| 7517 | + _ACEOF |
| 7518 | + rm -f conftest.$ac_objext |
| 7519 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7520 | +- (eval $ac_compile) 2>conftest.er1 |
| 7521 | ++if { (ac_try="$ac_compile" |
| 7522 | ++case "(($ac_try" in |
| 7523 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7524 | ++ *) ac_try_echo=$ac_try;; |
| 7525 | ++esac |
| 7526 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7527 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7528 | + ac_status=$? |
| 7529 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7530 | + rm -f conftest.er1 |
| 7531 | + cat conftest.err >&5 |
| 7532 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7533 | +- (exit $ac_status); } && |
| 7534 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7535 | +- || test ! -s conftest.err' |
| 7536 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7537 | +- (eval $ac_try) 2>&5 |
| 7538 | +- ac_status=$? |
| 7539 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7540 | +- (exit $ac_status); }; } && |
| 7541 | +- { ac_try='test -s conftest.$ac_objext' |
| 7542 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7543 | +- (eval $ac_try) 2>&5 |
| 7544 | +- ac_status=$? |
| 7545 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7546 | +- (exit $ac_status); }; }; then |
| 7547 | ++ (exit $ac_status); } && { |
| 7548 | ++ test -z "$ac_c_werror_flag" || |
| 7549 | ++ test ! -s conftest.err |
| 7550 | ++ } && test -s conftest.$ac_objext; then |
| 7551 | + ac_hi=$ac_mid; break |
| 7552 | + else |
| 7553 | + echo "$as_me: failed program was:" >&5 |
| 7554 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7555 | + |
| 7556 | +-ac_lo=`expr $ac_mid + 1` |
| 7557 | +- if test $ac_lo -le $ac_mid; then |
| 7558 | +- ac_lo= ac_hi= |
| 7559 | +- break |
| 7560 | +- fi |
| 7561 | +- ac_mid=`expr 2 '*' $ac_mid + 1` |
| 7562 | ++ ac_lo=`expr $ac_mid + 1` |
| 7563 | ++ if test $ac_lo -le $ac_mid; then |
| 7564 | ++ ac_lo= ac_hi= |
| 7565 | ++ break |
| 7566 | ++ fi |
| 7567 | ++ ac_mid=`expr 2 '*' $ac_mid + 1` |
| 7568 | + fi |
| 7569 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7570 | ++ |
| 7571 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7572 | + done |
| 7573 | + else |
| 7574 | + echo "$as_me: failed program was:" >&5 |
| 7575 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7576 | + |
| 7577 | +-cat >conftest.$ac_ext <<_ACEOF |
| 7578 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 7579 | + /* confdefs.h. */ |
| 7580 | + _ACEOF |
| 7581 | + cat confdefs.h >>conftest.$ac_ext |
| 7582 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7583 | + /* end confdefs.h. */ |
| 7584 | + $ac_includes_default |
| 7585 | ++ typedef long ac__type_sizeof_; |
| 7586 | + int |
| 7587 | + main () |
| 7588 | + { |
| 7589 | +-static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
| 7590 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 7591 | + test_array [0] = 0 |
| 7592 | + |
| 7593 | + ; |
| 7594 | +@@ -5870,27 +6525,22 @@ |
| 7595 | + } |
| 7596 | + _ACEOF |
| 7597 | + rm -f conftest.$ac_objext |
| 7598 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7599 | +- (eval $ac_compile) 2>conftest.er1 |
| 7600 | ++if { (ac_try="$ac_compile" |
| 7601 | ++case "(($ac_try" in |
| 7602 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7603 | ++ *) ac_try_echo=$ac_try;; |
| 7604 | ++esac |
| 7605 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7606 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7607 | + ac_status=$? |
| 7608 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7609 | + rm -f conftest.er1 |
| 7610 | + cat conftest.err >&5 |
| 7611 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7612 | +- (exit $ac_status); } && |
| 7613 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7614 | +- || test ! -s conftest.err' |
| 7615 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7616 | +- (eval $ac_try) 2>&5 |
| 7617 | +- ac_status=$? |
| 7618 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7619 | +- (exit $ac_status); }; } && |
| 7620 | +- { ac_try='test -s conftest.$ac_objext' |
| 7621 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7622 | +- (eval $ac_try) 2>&5 |
| 7623 | +- ac_status=$? |
| 7624 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7625 | +- (exit $ac_status); }; }; then |
| 7626 | ++ (exit $ac_status); } && { |
| 7627 | ++ test -z "$ac_c_werror_flag" || |
| 7628 | ++ test ! -s conftest.err |
| 7629 | ++ } && test -s conftest.$ac_objext; then |
| 7630 | + ac_hi=-1 ac_mid=-1 |
| 7631 | + while :; do |
| 7632 | + cat >conftest.$ac_ext <<_ACEOF |
| 7633 | +@@ -5900,10 +6550,11 @@ |
| 7634 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7635 | + /* end confdefs.h. */ |
| 7636 | + $ac_includes_default |
| 7637 | ++ typedef long ac__type_sizeof_; |
| 7638 | + int |
| 7639 | + main () |
| 7640 | + { |
| 7641 | +-static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
| 7642 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 7643 | + test_array [0] = 0 |
| 7644 | + |
| 7645 | + ; |
| 7646 | +@@ -5911,50 +6562,48 @@ |
| 7647 | + } |
| 7648 | + _ACEOF |
| 7649 | + rm -f conftest.$ac_objext |
| 7650 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7651 | +- (eval $ac_compile) 2>conftest.er1 |
| 7652 | ++if { (ac_try="$ac_compile" |
| 7653 | ++case "(($ac_try" in |
| 7654 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7655 | ++ *) ac_try_echo=$ac_try;; |
| 7656 | ++esac |
| 7657 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7658 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7659 | + ac_status=$? |
| 7660 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7661 | + rm -f conftest.er1 |
| 7662 | + cat conftest.err >&5 |
| 7663 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7664 | +- (exit $ac_status); } && |
| 7665 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7666 | +- || test ! -s conftest.err' |
| 7667 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7668 | +- (eval $ac_try) 2>&5 |
| 7669 | +- ac_status=$? |
| 7670 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7671 | +- (exit $ac_status); }; } && |
| 7672 | +- { ac_try='test -s conftest.$ac_objext' |
| 7673 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7674 | +- (eval $ac_try) 2>&5 |
| 7675 | +- ac_status=$? |
| 7676 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7677 | +- (exit $ac_status); }; }; then |
| 7678 | ++ (exit $ac_status); } && { |
| 7679 | ++ test -z "$ac_c_werror_flag" || |
| 7680 | ++ test ! -s conftest.err |
| 7681 | ++ } && test -s conftest.$ac_objext; then |
| 7682 | + ac_lo=$ac_mid; break |
| 7683 | + else |
| 7684 | + echo "$as_me: failed program was:" >&5 |
| 7685 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7686 | + |
| 7687 | +-ac_hi=`expr '(' $ac_mid ')' - 1` |
| 7688 | +- if test $ac_mid -le $ac_hi; then |
| 7689 | +- ac_lo= ac_hi= |
| 7690 | +- break |
| 7691 | +- fi |
| 7692 | +- ac_mid=`expr 2 '*' $ac_mid` |
| 7693 | ++ ac_hi=`expr '(' $ac_mid ')' - 1` |
| 7694 | ++ if test $ac_mid -le $ac_hi; then |
| 7695 | ++ ac_lo= ac_hi= |
| 7696 | ++ break |
| 7697 | ++ fi |
| 7698 | ++ ac_mid=`expr 2 '*' $ac_mid` |
| 7699 | + fi |
| 7700 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7701 | ++ |
| 7702 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7703 | + done |
| 7704 | + else |
| 7705 | + echo "$as_me: failed program was:" >&5 |
| 7706 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7707 | + |
| 7708 | +-ac_lo= ac_hi= |
| 7709 | ++ ac_lo= ac_hi= |
| 7710 | + fi |
| 7711 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7712 | ++ |
| 7713 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7714 | + fi |
| 7715 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7716 | ++ |
| 7717 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7718 | + # Binary search between lo and hi bounds. |
| 7719 | + while test "x$ac_lo" != "x$ac_hi"; do |
| 7720 | + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 7721 | +@@ -5965,10 +6614,11 @@ |
| 7722 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7723 | + /* end confdefs.h. */ |
| 7724 | + $ac_includes_default |
| 7725 | ++ typedef long ac__type_sizeof_; |
| 7726 | + int |
| 7727 | + main () |
| 7728 | + { |
| 7729 | +-static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
| 7730 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 7731 | + test_array [0] = 0 |
| 7732 | + |
| 7733 | + ; |
| 7734 | +@@ -5976,52 +6626,45 @@ |
| 7735 | + } |
| 7736 | + _ACEOF |
| 7737 | + rm -f conftest.$ac_objext |
| 7738 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7739 | +- (eval $ac_compile) 2>conftest.er1 |
| 7740 | ++if { (ac_try="$ac_compile" |
| 7741 | ++case "(($ac_try" in |
| 7742 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7743 | ++ *) ac_try_echo=$ac_try;; |
| 7744 | ++esac |
| 7745 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7746 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7747 | + ac_status=$? |
| 7748 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7749 | + rm -f conftest.er1 |
| 7750 | + cat conftest.err >&5 |
| 7751 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7752 | +- (exit $ac_status); } && |
| 7753 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7754 | +- || test ! -s conftest.err' |
| 7755 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7756 | +- (eval $ac_try) 2>&5 |
| 7757 | +- ac_status=$? |
| 7758 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7759 | +- (exit $ac_status); }; } && |
| 7760 | +- { ac_try='test -s conftest.$ac_objext' |
| 7761 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7762 | +- (eval $ac_try) 2>&5 |
| 7763 | +- ac_status=$? |
| 7764 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7765 | +- (exit $ac_status); }; }; then |
| 7766 | ++ (exit $ac_status); } && { |
| 7767 | ++ test -z "$ac_c_werror_flag" || |
| 7768 | ++ test ! -s conftest.err |
| 7769 | ++ } && test -s conftest.$ac_objext; then |
| 7770 | + ac_hi=$ac_mid |
| 7771 | + else |
| 7772 | + echo "$as_me: failed program was:" >&5 |
| 7773 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7774 | + |
| 7775 | +-ac_lo=`expr '(' $ac_mid ')' + 1` |
| 7776 | ++ ac_lo=`expr '(' $ac_mid ')' + 1` |
| 7777 | + fi |
| 7778 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7779 | ++ |
| 7780 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7781 | + done |
| 7782 | + case $ac_lo in |
| 7783 | + ?*) ac_cv_sizeof_long=$ac_lo;; |
| 7784 | +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
| 7785 | ++'') if test "$ac_cv_type_long" = yes; then |
| 7786 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
| 7787 | + See \`config.log' for more details." >&5 |
| 7788 | +-echo "$as_me: error: cannot compute sizeof (long), 77 |
| 7789 | ++echo "$as_me: error: cannot compute sizeof (long) |
| 7790 | + See \`config.log' for more details." >&2;} |
| 7791 | +- { (exit 1); exit 1; }; } ;; |
| 7792 | ++ { (exit 77); exit 77; }; } |
| 7793 | ++ else |
| 7794 | ++ ac_cv_sizeof_long=0 |
| 7795 | ++ fi ;; |
| 7796 | + esac |
| 7797 | + else |
| 7798 | +- if test "$cross_compiling" = yes; then |
| 7799 | +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 7800 | +-See \`config.log' for more details." >&5 |
| 7801 | +-echo "$as_me: error: cannot run test program while cross compiling |
| 7802 | +-See \`config.log' for more details." >&2;} |
| 7803 | +- { (exit 1); exit 1; }; } |
| 7804 | +-else |
| 7805 | + cat >conftest.$ac_ext <<_ACEOF |
| 7806 | + /* confdefs.h. */ |
| 7807 | + _ACEOF |
| 7808 | +@@ -6029,8 +6672,9 @@ |
| 7809 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7810 | + /* end confdefs.h. */ |
| 7811 | + $ac_includes_default |
| 7812 | +-long longval () { return (long) (sizeof (long)); } |
| 7813 | +-unsigned long ulongval () { return (long) (sizeof (long)); } |
| 7814 | ++ typedef long ac__type_sizeof_; |
| 7815 | ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 7816 | ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 7817 | + #include <stdio.h> |
| 7818 | + #include <stdlib.h> |
| 7819 | + int |
| 7820 | +@@ -6039,35 +6683,44 @@ |
| 7821 | + |
| 7822 | + FILE *f = fopen ("conftest.val", "w"); |
| 7823 | + if (! f) |
| 7824 | +- exit (1); |
| 7825 | +- if (((long) (sizeof (long))) < 0) |
| 7826 | ++ return 1; |
| 7827 | ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 7828 | + { |
| 7829 | +- long i = longval (); |
| 7830 | +- if (i != ((long) (sizeof (long)))) |
| 7831 | +- exit (1); |
| 7832 | ++ long int i = longval (); |
| 7833 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 7834 | ++ return 1; |
| 7835 | + fprintf (f, "%ld\n", i); |
| 7836 | + } |
| 7837 | + else |
| 7838 | + { |
| 7839 | +- unsigned long i = ulongval (); |
| 7840 | +- if (i != ((long) (sizeof (long)))) |
| 7841 | +- exit (1); |
| 7842 | ++ unsigned long int i = ulongval (); |
| 7843 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 7844 | ++ return 1; |
| 7845 | + fprintf (f, "%lu\n", i); |
| 7846 | + } |
| 7847 | +- exit (ferror (f) || fclose (f) != 0); |
| 7848 | ++ return ferror (f) || fclose (f) != 0; |
| 7849 | + |
| 7850 | + ; |
| 7851 | + return 0; |
| 7852 | + } |
| 7853 | + _ACEOF |
| 7854 | + rm -f conftest$ac_exeext |
| 7855 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7856 | +- (eval $ac_link) 2>&5 |
| 7857 | ++if { (ac_try="$ac_link" |
| 7858 | ++case "(($ac_try" in |
| 7859 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7860 | ++ *) ac_try_echo=$ac_try;; |
| 7861 | ++esac |
| 7862 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7863 | ++ (eval "$ac_link") 2>&5 |
| 7864 | + ac_status=$? |
| 7865 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7866 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 7867 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7868 | +- (eval $ac_try) 2>&5 |
| 7869 | ++ { (case "(($ac_try" in |
| 7870 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7871 | ++ *) ac_try_echo=$ac_try;; |
| 7872 | ++esac |
| 7873 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7874 | ++ (eval "$ac_try") 2>&5 |
| 7875 | + ac_status=$? |
| 7876 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7877 | + (exit $ac_status); }; }; then |
| 7878 | +@@ -6078,29 +6731,32 @@ |
| 7879 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7880 | + |
| 7881 | + ( exit $ac_status ) |
| 7882 | +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
| 7883 | ++if test "$ac_cv_type_long" = yes; then |
| 7884 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
| 7885 | + See \`config.log' for more details." >&5 |
| 7886 | +-echo "$as_me: error: cannot compute sizeof (long), 77 |
| 7887 | ++echo "$as_me: error: cannot compute sizeof (long) |
| 7888 | + See \`config.log' for more details." >&2;} |
| 7889 | +- { (exit 1); exit 1; }; } |
| 7890 | +-fi |
| 7891 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7892 | ++ { (exit 77); exit 77; }; } |
| 7893 | ++ else |
| 7894 | ++ ac_cv_sizeof_long=0 |
| 7895 | ++ fi |
| 7896 | + fi |
| 7897 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7898 | + fi |
| 7899 | + rm -f conftest.val |
| 7900 | +-else |
| 7901 | +- ac_cv_sizeof_long=0 |
| 7902 | +-fi |
| 7903 | + fi |
| 7904 | +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
| 7905 | +-echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
| 7906 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
| 7907 | ++echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } |
| 7908 | ++ |
| 7909 | ++ |
| 7910 | ++ |
| 7911 | + cat >>confdefs.h <<_ACEOF |
| 7912 | + #define SIZEOF_LONG $ac_cv_sizeof_long |
| 7913 | + _ACEOF |
| 7914 | + |
| 7915 | + |
| 7916 | +-echo "$as_me:$LINENO: checking for long long" >&5 |
| 7917 | +-echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
| 7918 | ++{ echo "$as_me:$LINENO: checking for long long" >&5 |
| 7919 | ++echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
| 7920 | + if test "${ac_cv_type_long_long+set}" = set; then |
| 7921 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7922 | + else |
| 7923 | +@@ -6111,61 +6767,57 @@ |
| 7924 | + cat >>conftest.$ac_ext <<_ACEOF |
| 7925 | + /* end confdefs.h. */ |
| 7926 | + $ac_includes_default |
| 7927 | ++typedef long long ac__type_new_; |
| 7928 | + int |
| 7929 | + main () |
| 7930 | + { |
| 7931 | +-if ((long long *) 0) |
| 7932 | ++if ((ac__type_new_ *) 0) |
| 7933 | + return 0; |
| 7934 | +-if (sizeof (long long)) |
| 7935 | ++if (sizeof (ac__type_new_)) |
| 7936 | + return 0; |
| 7937 | + ; |
| 7938 | + return 0; |
| 7939 | + } |
| 7940 | + _ACEOF |
| 7941 | + rm -f conftest.$ac_objext |
| 7942 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7943 | +- (eval $ac_compile) 2>conftest.er1 |
| 7944 | ++if { (ac_try="$ac_compile" |
| 7945 | ++case "(($ac_try" in |
| 7946 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7947 | ++ *) ac_try_echo=$ac_try;; |
| 7948 | ++esac |
| 7949 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7950 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 7951 | + ac_status=$? |
| 7952 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 7953 | + rm -f conftest.er1 |
| 7954 | + cat conftest.err >&5 |
| 7955 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7956 | +- (exit $ac_status); } && |
| 7957 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 7958 | +- || test ! -s conftest.err' |
| 7959 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7960 | +- (eval $ac_try) 2>&5 |
| 7961 | +- ac_status=$? |
| 7962 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7963 | +- (exit $ac_status); }; } && |
| 7964 | +- { ac_try='test -s conftest.$ac_objext' |
| 7965 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7966 | +- (eval $ac_try) 2>&5 |
| 7967 | +- ac_status=$? |
| 7968 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7969 | +- (exit $ac_status); }; }; then |
| 7970 | ++ (exit $ac_status); } && { |
| 7971 | ++ test -z "$ac_c_werror_flag" || |
| 7972 | ++ test ! -s conftest.err |
| 7973 | ++ } && test -s conftest.$ac_objext; then |
| 7974 | + ac_cv_type_long_long=yes |
| 7975 | + else |
| 7976 | + echo "$as_me: failed program was:" >&5 |
| 7977 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 7978 | + |
| 7979 | +-ac_cv_type_long_long=no |
| 7980 | ++ ac_cv_type_long_long=no |
| 7981 | + fi |
| 7982 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7983 | ++ |
| 7984 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7985 | + fi |
| 7986 | +-echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
| 7987 | +-echo "${ECHO_T}$ac_cv_type_long_long" >&6 |
| 7988 | ++{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
| 7989 | ++echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
| 7990 | + |
| 7991 | +-echo "$as_me:$LINENO: checking size of long long" >&5 |
| 7992 | +-echo $ECHO_N "checking size of long long... $ECHO_C" >&6 |
| 7993 | ++# The cast to long int works around a bug in the HP C Compiler |
| 7994 | ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 7995 | ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 7996 | ++# This bug is HP SR number 8606223364. |
| 7997 | ++{ echo "$as_me:$LINENO: checking size of long long" >&5 |
| 7998 | ++echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } |
| 7999 | + if test "${ac_cv_sizeof_long_long+set}" = set; then |
| 8000 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8001 | + else |
| 8002 | +- if test "$ac_cv_type_long_long" = yes; then |
| 8003 | +- # The cast to unsigned long works around a bug in the HP C Compiler |
| 8004 | +- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 8005 | +- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 8006 | +- # This bug is HP SR number 8606223364. |
| 8007 | + if test "$cross_compiling" = yes; then |
| 8008 | + # Depending upon the size, compute the lo and hi bounds. |
| 8009 | + cat >conftest.$ac_ext <<_ACEOF |
| 8010 | +@@ -6175,10 +6827,11 @@ |
| 8011 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8012 | + /* end confdefs.h. */ |
| 8013 | + $ac_includes_default |
| 8014 | ++ typedef long long ac__type_sizeof_; |
| 8015 | + int |
| 8016 | + main () |
| 8017 | + { |
| 8018 | +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; |
| 8019 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 8020 | + test_array [0] = 0 |
| 8021 | + |
| 8022 | + ; |
| 8023 | +@@ -6186,27 +6839,22 @@ |
| 8024 | + } |
| 8025 | + _ACEOF |
| 8026 | + rm -f conftest.$ac_objext |
| 8027 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8028 | +- (eval $ac_compile) 2>conftest.er1 |
| 8029 | ++if { (ac_try="$ac_compile" |
| 8030 | ++case "(($ac_try" in |
| 8031 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8032 | ++ *) ac_try_echo=$ac_try;; |
| 8033 | ++esac |
| 8034 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8035 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8036 | + ac_status=$? |
| 8037 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8038 | + rm -f conftest.er1 |
| 8039 | + cat conftest.err >&5 |
| 8040 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8041 | +- (exit $ac_status); } && |
| 8042 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8043 | +- || test ! -s conftest.err' |
| 8044 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8045 | +- (eval $ac_try) 2>&5 |
| 8046 | +- ac_status=$? |
| 8047 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8048 | +- (exit $ac_status); }; } && |
| 8049 | +- { ac_try='test -s conftest.$ac_objext' |
| 8050 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8051 | +- (eval $ac_try) 2>&5 |
| 8052 | +- ac_status=$? |
| 8053 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8054 | +- (exit $ac_status); }; }; then |
| 8055 | ++ (exit $ac_status); } && { |
| 8056 | ++ test -z "$ac_c_werror_flag" || |
| 8057 | ++ test ! -s conftest.err |
| 8058 | ++ } && test -s conftest.$ac_objext; then |
| 8059 | + ac_lo=0 ac_mid=0 |
| 8060 | + while :; do |
| 8061 | + cat >conftest.$ac_ext <<_ACEOF |
| 8062 | +@@ -6216,10 +6864,11 @@ |
| 8063 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8064 | + /* end confdefs.h. */ |
| 8065 | + $ac_includes_default |
| 8066 | ++ typedef long long ac__type_sizeof_; |
| 8067 | + int |
| 8068 | + main () |
| 8069 | + { |
| 8070 | +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
| 8071 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 8072 | + test_array [0] = 0 |
| 8073 | + |
| 8074 | + ; |
| 8075 | +@@ -6227,56 +6876,53 @@ |
| 8076 | + } |
| 8077 | + _ACEOF |
| 8078 | + rm -f conftest.$ac_objext |
| 8079 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8080 | +- (eval $ac_compile) 2>conftest.er1 |
| 8081 | ++if { (ac_try="$ac_compile" |
| 8082 | ++case "(($ac_try" in |
| 8083 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8084 | ++ *) ac_try_echo=$ac_try;; |
| 8085 | ++esac |
| 8086 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8087 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8088 | + ac_status=$? |
| 8089 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8090 | + rm -f conftest.er1 |
| 8091 | + cat conftest.err >&5 |
| 8092 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8093 | +- (exit $ac_status); } && |
| 8094 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8095 | +- || test ! -s conftest.err' |
| 8096 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8097 | +- (eval $ac_try) 2>&5 |
| 8098 | +- ac_status=$? |
| 8099 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8100 | +- (exit $ac_status); }; } && |
| 8101 | +- { ac_try='test -s conftest.$ac_objext' |
| 8102 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8103 | +- (eval $ac_try) 2>&5 |
| 8104 | +- ac_status=$? |
| 8105 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8106 | +- (exit $ac_status); }; }; then |
| 8107 | ++ (exit $ac_status); } && { |
| 8108 | ++ test -z "$ac_c_werror_flag" || |
| 8109 | ++ test ! -s conftest.err |
| 8110 | ++ } && test -s conftest.$ac_objext; then |
| 8111 | + ac_hi=$ac_mid; break |
| 8112 | + else |
| 8113 | + echo "$as_me: failed program was:" >&5 |
| 8114 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8115 | + |
| 8116 | +-ac_lo=`expr $ac_mid + 1` |
| 8117 | +- if test $ac_lo -le $ac_mid; then |
| 8118 | +- ac_lo= ac_hi= |
| 8119 | +- break |
| 8120 | +- fi |
| 8121 | +- ac_mid=`expr 2 '*' $ac_mid + 1` |
| 8122 | ++ ac_lo=`expr $ac_mid + 1` |
| 8123 | ++ if test $ac_lo -le $ac_mid; then |
| 8124 | ++ ac_lo= ac_hi= |
| 8125 | ++ break |
| 8126 | ++ fi |
| 8127 | ++ ac_mid=`expr 2 '*' $ac_mid + 1` |
| 8128 | + fi |
| 8129 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8130 | ++ |
| 8131 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8132 | + done |
| 8133 | + else |
| 8134 | + echo "$as_me: failed program was:" >&5 |
| 8135 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8136 | + |
| 8137 | +-cat >conftest.$ac_ext <<_ACEOF |
| 8138 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 8139 | + /* confdefs.h. */ |
| 8140 | + _ACEOF |
| 8141 | + cat confdefs.h >>conftest.$ac_ext |
| 8142 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8143 | + /* end confdefs.h. */ |
| 8144 | + $ac_includes_default |
| 8145 | ++ typedef long long ac__type_sizeof_; |
| 8146 | + int |
| 8147 | + main () |
| 8148 | + { |
| 8149 | +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; |
| 8150 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 8151 | + test_array [0] = 0 |
| 8152 | + |
| 8153 | + ; |
| 8154 | +@@ -6284,27 +6930,22 @@ |
| 8155 | + } |
| 8156 | + _ACEOF |
| 8157 | + rm -f conftest.$ac_objext |
| 8158 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8159 | +- (eval $ac_compile) 2>conftest.er1 |
| 8160 | ++if { (ac_try="$ac_compile" |
| 8161 | ++case "(($ac_try" in |
| 8162 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8163 | ++ *) ac_try_echo=$ac_try;; |
| 8164 | ++esac |
| 8165 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8166 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8167 | + ac_status=$? |
| 8168 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8169 | + rm -f conftest.er1 |
| 8170 | + cat conftest.err >&5 |
| 8171 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8172 | +- (exit $ac_status); } && |
| 8173 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8174 | +- || test ! -s conftest.err' |
| 8175 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8176 | +- (eval $ac_try) 2>&5 |
| 8177 | +- ac_status=$? |
| 8178 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8179 | +- (exit $ac_status); }; } && |
| 8180 | +- { ac_try='test -s conftest.$ac_objext' |
| 8181 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8182 | +- (eval $ac_try) 2>&5 |
| 8183 | +- ac_status=$? |
| 8184 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8185 | +- (exit $ac_status); }; }; then |
| 8186 | ++ (exit $ac_status); } && { |
| 8187 | ++ test -z "$ac_c_werror_flag" || |
| 8188 | ++ test ! -s conftest.err |
| 8189 | ++ } && test -s conftest.$ac_objext; then |
| 8190 | + ac_hi=-1 ac_mid=-1 |
| 8191 | + while :; do |
| 8192 | + cat >conftest.$ac_ext <<_ACEOF |
| 8193 | +@@ -6314,10 +6955,11 @@ |
| 8194 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8195 | + /* end confdefs.h. */ |
| 8196 | + $ac_includes_default |
| 8197 | ++ typedef long long ac__type_sizeof_; |
| 8198 | + int |
| 8199 | + main () |
| 8200 | + { |
| 8201 | +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; |
| 8202 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 8203 | + test_array [0] = 0 |
| 8204 | + |
| 8205 | + ; |
| 8206 | +@@ -6325,50 +6967,48 @@ |
| 8207 | + } |
| 8208 | + _ACEOF |
| 8209 | + rm -f conftest.$ac_objext |
| 8210 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8211 | +- (eval $ac_compile) 2>conftest.er1 |
| 8212 | ++if { (ac_try="$ac_compile" |
| 8213 | ++case "(($ac_try" in |
| 8214 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8215 | ++ *) ac_try_echo=$ac_try;; |
| 8216 | ++esac |
| 8217 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8218 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8219 | + ac_status=$? |
| 8220 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8221 | + rm -f conftest.er1 |
| 8222 | + cat conftest.err >&5 |
| 8223 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8224 | +- (exit $ac_status); } && |
| 8225 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8226 | +- || test ! -s conftest.err' |
| 8227 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8228 | +- (eval $ac_try) 2>&5 |
| 8229 | +- ac_status=$? |
| 8230 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8231 | +- (exit $ac_status); }; } && |
| 8232 | +- { ac_try='test -s conftest.$ac_objext' |
| 8233 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8234 | +- (eval $ac_try) 2>&5 |
| 8235 | +- ac_status=$? |
| 8236 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8237 | +- (exit $ac_status); }; }; then |
| 8238 | ++ (exit $ac_status); } && { |
| 8239 | ++ test -z "$ac_c_werror_flag" || |
| 8240 | ++ test ! -s conftest.err |
| 8241 | ++ } && test -s conftest.$ac_objext; then |
| 8242 | + ac_lo=$ac_mid; break |
| 8243 | + else |
| 8244 | + echo "$as_me: failed program was:" >&5 |
| 8245 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8246 | + |
| 8247 | +-ac_hi=`expr '(' $ac_mid ')' - 1` |
| 8248 | +- if test $ac_mid -le $ac_hi; then |
| 8249 | +- ac_lo= ac_hi= |
| 8250 | +- break |
| 8251 | +- fi |
| 8252 | +- ac_mid=`expr 2 '*' $ac_mid` |
| 8253 | ++ ac_hi=`expr '(' $ac_mid ')' - 1` |
| 8254 | ++ if test $ac_mid -le $ac_hi; then |
| 8255 | ++ ac_lo= ac_hi= |
| 8256 | ++ break |
| 8257 | ++ fi |
| 8258 | ++ ac_mid=`expr 2 '*' $ac_mid` |
| 8259 | + fi |
| 8260 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8261 | ++ |
| 8262 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8263 | + done |
| 8264 | + else |
| 8265 | + echo "$as_me: failed program was:" >&5 |
| 8266 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8267 | + |
| 8268 | +-ac_lo= ac_hi= |
| 8269 | ++ ac_lo= ac_hi= |
| 8270 | + fi |
| 8271 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8272 | ++ |
| 8273 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8274 | + fi |
| 8275 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8276 | ++ |
| 8277 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8278 | + # Binary search between lo and hi bounds. |
| 8279 | + while test "x$ac_lo" != "x$ac_hi"; do |
| 8280 | + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 8281 | +@@ -6379,10 +7019,11 @@ |
| 8282 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8283 | + /* end confdefs.h. */ |
| 8284 | + $ac_includes_default |
| 8285 | ++ typedef long long ac__type_sizeof_; |
| 8286 | + int |
| 8287 | + main () |
| 8288 | + { |
| 8289 | +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
| 8290 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 8291 | + test_array [0] = 0 |
| 8292 | + |
| 8293 | + ; |
| 8294 | +@@ -6390,52 +7031,45 @@ |
| 8295 | + } |
| 8296 | + _ACEOF |
| 8297 | + rm -f conftest.$ac_objext |
| 8298 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8299 | +- (eval $ac_compile) 2>conftest.er1 |
| 8300 | ++if { (ac_try="$ac_compile" |
| 8301 | ++case "(($ac_try" in |
| 8302 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8303 | ++ *) ac_try_echo=$ac_try;; |
| 8304 | ++esac |
| 8305 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8306 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8307 | + ac_status=$? |
| 8308 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8309 | + rm -f conftest.er1 |
| 8310 | + cat conftest.err >&5 |
| 8311 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8312 | +- (exit $ac_status); } && |
| 8313 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8314 | +- || test ! -s conftest.err' |
| 8315 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8316 | +- (eval $ac_try) 2>&5 |
| 8317 | +- ac_status=$? |
| 8318 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8319 | +- (exit $ac_status); }; } && |
| 8320 | +- { ac_try='test -s conftest.$ac_objext' |
| 8321 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8322 | +- (eval $ac_try) 2>&5 |
| 8323 | +- ac_status=$? |
| 8324 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8325 | +- (exit $ac_status); }; }; then |
| 8326 | ++ (exit $ac_status); } && { |
| 8327 | ++ test -z "$ac_c_werror_flag" || |
| 8328 | ++ test ! -s conftest.err |
| 8329 | ++ } && test -s conftest.$ac_objext; then |
| 8330 | + ac_hi=$ac_mid |
| 8331 | + else |
| 8332 | + echo "$as_me: failed program was:" >&5 |
| 8333 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8334 | + |
| 8335 | +-ac_lo=`expr '(' $ac_mid ')' + 1` |
| 8336 | ++ ac_lo=`expr '(' $ac_mid ')' + 1` |
| 8337 | + fi |
| 8338 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8339 | ++ |
| 8340 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8341 | + done |
| 8342 | + case $ac_lo in |
| 8343 | + ?*) ac_cv_sizeof_long_long=$ac_lo;; |
| 8344 | +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
| 8345 | ++'') if test "$ac_cv_type_long_long" = yes; then |
| 8346 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| 8347 | + See \`config.log' for more details." >&5 |
| 8348 | +-echo "$as_me: error: cannot compute sizeof (long long), 77 |
| 8349 | ++echo "$as_me: error: cannot compute sizeof (long long) |
| 8350 | + See \`config.log' for more details." >&2;} |
| 8351 | +- { (exit 1); exit 1; }; } ;; |
| 8352 | ++ { (exit 77); exit 77; }; } |
| 8353 | ++ else |
| 8354 | ++ ac_cv_sizeof_long_long=0 |
| 8355 | ++ fi ;; |
| 8356 | + esac |
| 8357 | + else |
| 8358 | +- if test "$cross_compiling" = yes; then |
| 8359 | +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 8360 | +-See \`config.log' for more details." >&5 |
| 8361 | +-echo "$as_me: error: cannot run test program while cross compiling |
| 8362 | +-See \`config.log' for more details." >&2;} |
| 8363 | +- { (exit 1); exit 1; }; } |
| 8364 | +-else |
| 8365 | + cat >conftest.$ac_ext <<_ACEOF |
| 8366 | + /* confdefs.h. */ |
| 8367 | + _ACEOF |
| 8368 | +@@ -6443,8 +7077,9 @@ |
| 8369 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8370 | + /* end confdefs.h. */ |
| 8371 | + $ac_includes_default |
| 8372 | +-long longval () { return (long) (sizeof (long long)); } |
| 8373 | +-unsigned long ulongval () { return (long) (sizeof (long long)); } |
| 8374 | ++ typedef long long ac__type_sizeof_; |
| 8375 | ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 8376 | ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 8377 | + #include <stdio.h> |
| 8378 | + #include <stdlib.h> |
| 8379 | + int |
| 8380 | +@@ -6453,35 +7088,44 @@ |
| 8381 | + |
| 8382 | + FILE *f = fopen ("conftest.val", "w"); |
| 8383 | + if (! f) |
| 8384 | +- exit (1); |
| 8385 | +- if (((long) (sizeof (long long))) < 0) |
| 8386 | ++ return 1; |
| 8387 | ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 8388 | + { |
| 8389 | +- long i = longval (); |
| 8390 | +- if (i != ((long) (sizeof (long long)))) |
| 8391 | +- exit (1); |
| 8392 | ++ long int i = longval (); |
| 8393 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 8394 | ++ return 1; |
| 8395 | + fprintf (f, "%ld\n", i); |
| 8396 | + } |
| 8397 | + else |
| 8398 | + { |
| 8399 | +- unsigned long i = ulongval (); |
| 8400 | +- if (i != ((long) (sizeof (long long)))) |
| 8401 | +- exit (1); |
| 8402 | ++ unsigned long int i = ulongval (); |
| 8403 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 8404 | ++ return 1; |
| 8405 | + fprintf (f, "%lu\n", i); |
| 8406 | + } |
| 8407 | +- exit (ferror (f) || fclose (f) != 0); |
| 8408 | ++ return ferror (f) || fclose (f) != 0; |
| 8409 | + |
| 8410 | + ; |
| 8411 | + return 0; |
| 8412 | + } |
| 8413 | + _ACEOF |
| 8414 | + rm -f conftest$ac_exeext |
| 8415 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8416 | +- (eval $ac_link) 2>&5 |
| 8417 | ++if { (ac_try="$ac_link" |
| 8418 | ++case "(($ac_try" in |
| 8419 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8420 | ++ *) ac_try_echo=$ac_try;; |
| 8421 | ++esac |
| 8422 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8423 | ++ (eval "$ac_link") 2>&5 |
| 8424 | + ac_status=$? |
| 8425 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8426 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 8427 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8428 | +- (eval $ac_try) 2>&5 |
| 8429 | ++ { (case "(($ac_try" in |
| 8430 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8431 | ++ *) ac_try_echo=$ac_try;; |
| 8432 | ++esac |
| 8433 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8434 | ++ (eval "$ac_try") 2>&5 |
| 8435 | + ac_status=$? |
| 8436 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8437 | + (exit $ac_status); }; }; then |
| 8438 | +@@ -6492,29 +7136,32 @@ |
| 8439 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8440 | + |
| 8441 | + ( exit $ac_status ) |
| 8442 | +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
| 8443 | ++if test "$ac_cv_type_long_long" = yes; then |
| 8444 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| 8445 | + See \`config.log' for more details." >&5 |
| 8446 | +-echo "$as_me: error: cannot compute sizeof (long long), 77 |
| 8447 | ++echo "$as_me: error: cannot compute sizeof (long long) |
| 8448 | + See \`config.log' for more details." >&2;} |
| 8449 | +- { (exit 1); exit 1; }; } |
| 8450 | +-fi |
| 8451 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8452 | ++ { (exit 77); exit 77; }; } |
| 8453 | ++ else |
| 8454 | ++ ac_cv_sizeof_long_long=0 |
| 8455 | ++ fi |
| 8456 | + fi |
| 8457 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8458 | + fi |
| 8459 | + rm -f conftest.val |
| 8460 | +-else |
| 8461 | +- ac_cv_sizeof_long_long=0 |
| 8462 | + fi |
| 8463 | +-fi |
| 8464 | +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
| 8465 | +-echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 |
| 8466 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
| 8467 | ++echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } |
| 8468 | ++ |
| 8469 | ++ |
| 8470 | ++ |
| 8471 | + cat >>confdefs.h <<_ACEOF |
| 8472 | + #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 8473 | + _ACEOF |
| 8474 | + |
| 8475 | + |
| 8476 | +-echo "$as_me:$LINENO: checking for void*" >&5 |
| 8477 | +-echo $ECHO_N "checking for void*... $ECHO_C" >&6 |
| 8478 | ++{ echo "$as_me:$LINENO: checking for void*" >&5 |
| 8479 | ++echo $ECHO_N "checking for void*... $ECHO_C" >&6; } |
| 8480 | + if test "${ac_cv_type_voidp+set}" = set; then |
| 8481 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8482 | + else |
| 8483 | +@@ -6525,61 +7172,57 @@ |
| 8484 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8485 | + /* end confdefs.h. */ |
| 8486 | + $ac_includes_default |
| 8487 | ++typedef void* ac__type_new_; |
| 8488 | + int |
| 8489 | + main () |
| 8490 | + { |
| 8491 | +-if ((void* *) 0) |
| 8492 | ++if ((ac__type_new_ *) 0) |
| 8493 | + return 0; |
| 8494 | +-if (sizeof (void*)) |
| 8495 | ++if (sizeof (ac__type_new_)) |
| 8496 | + return 0; |
| 8497 | + ; |
| 8498 | + return 0; |
| 8499 | + } |
| 8500 | + _ACEOF |
| 8501 | + rm -f conftest.$ac_objext |
| 8502 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8503 | +- (eval $ac_compile) 2>conftest.er1 |
| 8504 | ++if { (ac_try="$ac_compile" |
| 8505 | ++case "(($ac_try" in |
| 8506 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8507 | ++ *) ac_try_echo=$ac_try;; |
| 8508 | ++esac |
| 8509 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8510 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8511 | + ac_status=$? |
| 8512 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8513 | + rm -f conftest.er1 |
| 8514 | + cat conftest.err >&5 |
| 8515 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8516 | +- (exit $ac_status); } && |
| 8517 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8518 | +- || test ! -s conftest.err' |
| 8519 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8520 | +- (eval $ac_try) 2>&5 |
| 8521 | +- ac_status=$? |
| 8522 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8523 | +- (exit $ac_status); }; } && |
| 8524 | +- { ac_try='test -s conftest.$ac_objext' |
| 8525 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8526 | +- (eval $ac_try) 2>&5 |
| 8527 | +- ac_status=$? |
| 8528 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8529 | +- (exit $ac_status); }; }; then |
| 8530 | ++ (exit $ac_status); } && { |
| 8531 | ++ test -z "$ac_c_werror_flag" || |
| 8532 | ++ test ! -s conftest.err |
| 8533 | ++ } && test -s conftest.$ac_objext; then |
| 8534 | + ac_cv_type_voidp=yes |
| 8535 | + else |
| 8536 | + echo "$as_me: failed program was:" >&5 |
| 8537 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8538 | + |
| 8539 | +-ac_cv_type_voidp=no |
| 8540 | ++ ac_cv_type_voidp=no |
| 8541 | + fi |
| 8542 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8543 | ++ |
| 8544 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8545 | + fi |
| 8546 | +-echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5 |
| 8547 | +-echo "${ECHO_T}$ac_cv_type_voidp" >&6 |
| 8548 | ++{ echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5 |
| 8549 | ++echo "${ECHO_T}$ac_cv_type_voidp" >&6; } |
| 8550 | + |
| 8551 | +-echo "$as_me:$LINENO: checking size of void*" >&5 |
| 8552 | +-echo $ECHO_N "checking size of void*... $ECHO_C" >&6 |
| 8553 | ++# The cast to long int works around a bug in the HP C Compiler |
| 8554 | ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 8555 | ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 8556 | ++# This bug is HP SR number 8606223364. |
| 8557 | ++{ echo "$as_me:$LINENO: checking size of void*" >&5 |
| 8558 | ++echo $ECHO_N "checking size of void*... $ECHO_C" >&6; } |
| 8559 | + if test "${ac_cv_sizeof_voidp+set}" = set; then |
| 8560 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8561 | + else |
| 8562 | +- if test "$ac_cv_type_voidp" = yes; then |
| 8563 | +- # The cast to unsigned long works around a bug in the HP C Compiler |
| 8564 | +- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 8565 | +- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 8566 | +- # This bug is HP SR number 8606223364. |
| 8567 | + if test "$cross_compiling" = yes; then |
| 8568 | + # Depending upon the size, compute the lo and hi bounds. |
| 8569 | + cat >conftest.$ac_ext <<_ACEOF |
| 8570 | +@@ -6589,10 +7232,11 @@ |
| 8571 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8572 | + /* end confdefs.h. */ |
| 8573 | + $ac_includes_default |
| 8574 | ++ typedef void* ac__type_sizeof_; |
| 8575 | + int |
| 8576 | + main () |
| 8577 | + { |
| 8578 | +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)]; |
| 8579 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 8580 | + test_array [0] = 0 |
| 8581 | + |
| 8582 | + ; |
| 8583 | +@@ -6600,27 +7244,22 @@ |
| 8584 | + } |
| 8585 | + _ACEOF |
| 8586 | + rm -f conftest.$ac_objext |
| 8587 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8588 | +- (eval $ac_compile) 2>conftest.er1 |
| 8589 | ++if { (ac_try="$ac_compile" |
| 8590 | ++case "(($ac_try" in |
| 8591 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8592 | ++ *) ac_try_echo=$ac_try;; |
| 8593 | ++esac |
| 8594 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8595 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8596 | + ac_status=$? |
| 8597 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8598 | + rm -f conftest.er1 |
| 8599 | + cat conftest.err >&5 |
| 8600 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8601 | +- (exit $ac_status); } && |
| 8602 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8603 | +- || test ! -s conftest.err' |
| 8604 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8605 | +- (eval $ac_try) 2>&5 |
| 8606 | +- ac_status=$? |
| 8607 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8608 | +- (exit $ac_status); }; } && |
| 8609 | +- { ac_try='test -s conftest.$ac_objext' |
| 8610 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8611 | +- (eval $ac_try) 2>&5 |
| 8612 | +- ac_status=$? |
| 8613 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8614 | +- (exit $ac_status); }; }; then |
| 8615 | ++ (exit $ac_status); } && { |
| 8616 | ++ test -z "$ac_c_werror_flag" || |
| 8617 | ++ test ! -s conftest.err |
| 8618 | ++ } && test -s conftest.$ac_objext; then |
| 8619 | + ac_lo=0 ac_mid=0 |
| 8620 | + while :; do |
| 8621 | + cat >conftest.$ac_ext <<_ACEOF |
| 8622 | +@@ -6630,10 +7269,11 @@ |
| 8623 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8624 | + /* end confdefs.h. */ |
| 8625 | + $ac_includes_default |
| 8626 | ++ typedef void* ac__type_sizeof_; |
| 8627 | + int |
| 8628 | + main () |
| 8629 | + { |
| 8630 | +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)]; |
| 8631 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 8632 | + test_array [0] = 0 |
| 8633 | + |
| 8634 | + ; |
| 8635 | +@@ -6641,56 +7281,53 @@ |
| 8636 | + } |
| 8637 | + _ACEOF |
| 8638 | + rm -f conftest.$ac_objext |
| 8639 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8640 | +- (eval $ac_compile) 2>conftest.er1 |
| 8641 | ++if { (ac_try="$ac_compile" |
| 8642 | ++case "(($ac_try" in |
| 8643 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8644 | ++ *) ac_try_echo=$ac_try;; |
| 8645 | ++esac |
| 8646 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8647 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8648 | + ac_status=$? |
| 8649 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8650 | + rm -f conftest.er1 |
| 8651 | + cat conftest.err >&5 |
| 8652 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8653 | +- (exit $ac_status); } && |
| 8654 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8655 | +- || test ! -s conftest.err' |
| 8656 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8657 | +- (eval $ac_try) 2>&5 |
| 8658 | +- ac_status=$? |
| 8659 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8660 | +- (exit $ac_status); }; } && |
| 8661 | +- { ac_try='test -s conftest.$ac_objext' |
| 8662 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8663 | +- (eval $ac_try) 2>&5 |
| 8664 | +- ac_status=$? |
| 8665 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8666 | +- (exit $ac_status); }; }; then |
| 8667 | ++ (exit $ac_status); } && { |
| 8668 | ++ test -z "$ac_c_werror_flag" || |
| 8669 | ++ test ! -s conftest.err |
| 8670 | ++ } && test -s conftest.$ac_objext; then |
| 8671 | + ac_hi=$ac_mid; break |
| 8672 | + else |
| 8673 | + echo "$as_me: failed program was:" >&5 |
| 8674 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8675 | + |
| 8676 | +-ac_lo=`expr $ac_mid + 1` |
| 8677 | +- if test $ac_lo -le $ac_mid; then |
| 8678 | +- ac_lo= ac_hi= |
| 8679 | +- break |
| 8680 | +- fi |
| 8681 | +- ac_mid=`expr 2 '*' $ac_mid + 1` |
| 8682 | ++ ac_lo=`expr $ac_mid + 1` |
| 8683 | ++ if test $ac_lo -le $ac_mid; then |
| 8684 | ++ ac_lo= ac_hi= |
| 8685 | ++ break |
| 8686 | ++ fi |
| 8687 | ++ ac_mid=`expr 2 '*' $ac_mid + 1` |
| 8688 | + fi |
| 8689 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8690 | ++ |
| 8691 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8692 | + done |
| 8693 | + else |
| 8694 | + echo "$as_me: failed program was:" >&5 |
| 8695 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8696 | + |
| 8697 | +-cat >conftest.$ac_ext <<_ACEOF |
| 8698 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 8699 | + /* confdefs.h. */ |
| 8700 | + _ACEOF |
| 8701 | + cat confdefs.h >>conftest.$ac_ext |
| 8702 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8703 | + /* end confdefs.h. */ |
| 8704 | + $ac_includes_default |
| 8705 | ++ typedef void* ac__type_sizeof_; |
| 8706 | + int |
| 8707 | + main () |
| 8708 | + { |
| 8709 | +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)]; |
| 8710 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 8711 | + test_array [0] = 0 |
| 8712 | + |
| 8713 | + ; |
| 8714 | +@@ -6698,27 +7335,22 @@ |
| 8715 | + } |
| 8716 | + _ACEOF |
| 8717 | + rm -f conftest.$ac_objext |
| 8718 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8719 | +- (eval $ac_compile) 2>conftest.er1 |
| 8720 | ++if { (ac_try="$ac_compile" |
| 8721 | ++case "(($ac_try" in |
| 8722 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8723 | ++ *) ac_try_echo=$ac_try;; |
| 8724 | ++esac |
| 8725 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8726 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8727 | + ac_status=$? |
| 8728 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8729 | + rm -f conftest.er1 |
| 8730 | + cat conftest.err >&5 |
| 8731 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8732 | +- (exit $ac_status); } && |
| 8733 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8734 | +- || test ! -s conftest.err' |
| 8735 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8736 | +- (eval $ac_try) 2>&5 |
| 8737 | +- ac_status=$? |
| 8738 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8739 | +- (exit $ac_status); }; } && |
| 8740 | +- { ac_try='test -s conftest.$ac_objext' |
| 8741 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8742 | +- (eval $ac_try) 2>&5 |
| 8743 | +- ac_status=$? |
| 8744 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8745 | +- (exit $ac_status); }; }; then |
| 8746 | ++ (exit $ac_status); } && { |
| 8747 | ++ test -z "$ac_c_werror_flag" || |
| 8748 | ++ test ! -s conftest.err |
| 8749 | ++ } && test -s conftest.$ac_objext; then |
| 8750 | + ac_hi=-1 ac_mid=-1 |
| 8751 | + while :; do |
| 8752 | + cat >conftest.$ac_ext <<_ACEOF |
| 8753 | +@@ -6728,10 +7360,11 @@ |
| 8754 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8755 | + /* end confdefs.h. */ |
| 8756 | + $ac_includes_default |
| 8757 | ++ typedef void* ac__type_sizeof_; |
| 8758 | + int |
| 8759 | + main () |
| 8760 | + { |
| 8761 | +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)]; |
| 8762 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 8763 | + test_array [0] = 0 |
| 8764 | + |
| 8765 | + ; |
| 8766 | +@@ -6739,50 +7372,48 @@ |
| 8767 | + } |
| 8768 | + _ACEOF |
| 8769 | + rm -f conftest.$ac_objext |
| 8770 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8771 | +- (eval $ac_compile) 2>conftest.er1 |
| 8772 | ++if { (ac_try="$ac_compile" |
| 8773 | ++case "(($ac_try" in |
| 8774 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8775 | ++ *) ac_try_echo=$ac_try;; |
| 8776 | ++esac |
| 8777 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8778 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8779 | + ac_status=$? |
| 8780 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8781 | + rm -f conftest.er1 |
| 8782 | + cat conftest.err >&5 |
| 8783 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8784 | +- (exit $ac_status); } && |
| 8785 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8786 | +- || test ! -s conftest.err' |
| 8787 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8788 | +- (eval $ac_try) 2>&5 |
| 8789 | +- ac_status=$? |
| 8790 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8791 | +- (exit $ac_status); }; } && |
| 8792 | +- { ac_try='test -s conftest.$ac_objext' |
| 8793 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8794 | +- (eval $ac_try) 2>&5 |
| 8795 | +- ac_status=$? |
| 8796 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8797 | +- (exit $ac_status); }; }; then |
| 8798 | ++ (exit $ac_status); } && { |
| 8799 | ++ test -z "$ac_c_werror_flag" || |
| 8800 | ++ test ! -s conftest.err |
| 8801 | ++ } && test -s conftest.$ac_objext; then |
| 8802 | + ac_lo=$ac_mid; break |
| 8803 | + else |
| 8804 | + echo "$as_me: failed program was:" >&5 |
| 8805 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8806 | + |
| 8807 | +-ac_hi=`expr '(' $ac_mid ')' - 1` |
| 8808 | +- if test $ac_mid -le $ac_hi; then |
| 8809 | +- ac_lo= ac_hi= |
| 8810 | +- break |
| 8811 | +- fi |
| 8812 | +- ac_mid=`expr 2 '*' $ac_mid` |
| 8813 | ++ ac_hi=`expr '(' $ac_mid ')' - 1` |
| 8814 | ++ if test $ac_mid -le $ac_hi; then |
| 8815 | ++ ac_lo= ac_hi= |
| 8816 | ++ break |
| 8817 | ++ fi |
| 8818 | ++ ac_mid=`expr 2 '*' $ac_mid` |
| 8819 | + fi |
| 8820 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8821 | ++ |
| 8822 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8823 | + done |
| 8824 | + else |
| 8825 | + echo "$as_me: failed program was:" >&5 |
| 8826 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8827 | + |
| 8828 | +-ac_lo= ac_hi= |
| 8829 | ++ ac_lo= ac_hi= |
| 8830 | + fi |
| 8831 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8832 | ++ |
| 8833 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8834 | + fi |
| 8835 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8836 | ++ |
| 8837 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8838 | + # Binary search between lo and hi bounds. |
| 8839 | + while test "x$ac_lo" != "x$ac_hi"; do |
| 8840 | + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 8841 | +@@ -6793,10 +7424,11 @@ |
| 8842 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8843 | + /* end confdefs.h. */ |
| 8844 | + $ac_includes_default |
| 8845 | ++ typedef void* ac__type_sizeof_; |
| 8846 | + int |
| 8847 | + main () |
| 8848 | + { |
| 8849 | +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)]; |
| 8850 | ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 8851 | + test_array [0] = 0 |
| 8852 | + |
| 8853 | + ; |
| 8854 | +@@ -6804,52 +7436,45 @@ |
| 8855 | + } |
| 8856 | + _ACEOF |
| 8857 | + rm -f conftest.$ac_objext |
| 8858 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8859 | +- (eval $ac_compile) 2>conftest.er1 |
| 8860 | ++if { (ac_try="$ac_compile" |
| 8861 | ++case "(($ac_try" in |
| 8862 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8863 | ++ *) ac_try_echo=$ac_try;; |
| 8864 | ++esac |
| 8865 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8866 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 8867 | + ac_status=$? |
| 8868 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 8869 | + rm -f conftest.er1 |
| 8870 | + cat conftest.err >&5 |
| 8871 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8872 | +- (exit $ac_status); } && |
| 8873 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 8874 | +- || test ! -s conftest.err' |
| 8875 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8876 | +- (eval $ac_try) 2>&5 |
| 8877 | +- ac_status=$? |
| 8878 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8879 | +- (exit $ac_status); }; } && |
| 8880 | +- { ac_try='test -s conftest.$ac_objext' |
| 8881 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8882 | +- (eval $ac_try) 2>&5 |
| 8883 | +- ac_status=$? |
| 8884 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8885 | +- (exit $ac_status); }; }; then |
| 8886 | ++ (exit $ac_status); } && { |
| 8887 | ++ test -z "$ac_c_werror_flag" || |
| 8888 | ++ test ! -s conftest.err |
| 8889 | ++ } && test -s conftest.$ac_objext; then |
| 8890 | + ac_hi=$ac_mid |
| 8891 | + else |
| 8892 | + echo "$as_me: failed program was:" >&5 |
| 8893 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 8894 | + |
| 8895 | +-ac_lo=`expr '(' $ac_mid ')' + 1` |
| 8896 | ++ ac_lo=`expr '(' $ac_mid ')' + 1` |
| 8897 | + fi |
| 8898 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8899 | ++ |
| 8900 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8901 | + done |
| 8902 | + case $ac_lo in |
| 8903 | + ?*) ac_cv_sizeof_voidp=$ac_lo;; |
| 8904 | +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77 |
| 8905 | ++'') if test "$ac_cv_type_voidp" = yes; then |
| 8906 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*) |
| 8907 | + See \`config.log' for more details." >&5 |
| 8908 | +-echo "$as_me: error: cannot compute sizeof (void*), 77 |
| 8909 | ++echo "$as_me: error: cannot compute sizeof (void*) |
| 8910 | + See \`config.log' for more details." >&2;} |
| 8911 | +- { (exit 1); exit 1; }; } ;; |
| 8912 | ++ { (exit 77); exit 77; }; } |
| 8913 | ++ else |
| 8914 | ++ ac_cv_sizeof_voidp=0 |
| 8915 | ++ fi ;; |
| 8916 | + esac |
| 8917 | + else |
| 8918 | +- if test "$cross_compiling" = yes; then |
| 8919 | +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 8920 | +-See \`config.log' for more details." >&5 |
| 8921 | +-echo "$as_me: error: cannot run test program while cross compiling |
| 8922 | +-See \`config.log' for more details." >&2;} |
| 8923 | +- { (exit 1); exit 1; }; } |
| 8924 | +-else |
| 8925 | + cat >conftest.$ac_ext <<_ACEOF |
| 8926 | + /* confdefs.h. */ |
| 8927 | + _ACEOF |
| 8928 | +@@ -6857,8 +7482,9 @@ |
| 8929 | + cat >>conftest.$ac_ext <<_ACEOF |
| 8930 | + /* end confdefs.h. */ |
| 8931 | + $ac_includes_default |
| 8932 | +-long longval () { return (long) (sizeof (void*)); } |
| 8933 | +-unsigned long ulongval () { return (long) (sizeof (void*)); } |
| 8934 | ++ typedef void* ac__type_sizeof_; |
| 8935 | ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 8936 | ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 8937 | + #include <stdio.h> |
| 8938 | + #include <stdlib.h> |
| 8939 | + int |
| 8940 | +@@ -6867,35 +7493,44 @@ |
| 8941 | + |
| 8942 | + FILE *f = fopen ("conftest.val", "w"); |
| 8943 | + if (! f) |
| 8944 | +- exit (1); |
| 8945 | +- if (((long) (sizeof (void*))) < 0) |
| 8946 | ++ return 1; |
| 8947 | ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 8948 | + { |
| 8949 | +- long i = longval (); |
| 8950 | +- if (i != ((long) (sizeof (void*)))) |
| 8951 | +- exit (1); |
| 8952 | ++ long int i = longval (); |
| 8953 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 8954 | ++ return 1; |
| 8955 | + fprintf (f, "%ld\n", i); |
| 8956 | + } |
| 8957 | + else |
| 8958 | + { |
| 8959 | +- unsigned long i = ulongval (); |
| 8960 | +- if (i != ((long) (sizeof (void*)))) |
| 8961 | +- exit (1); |
| 8962 | ++ unsigned long int i = ulongval (); |
| 8963 | ++ if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 8964 | ++ return 1; |
| 8965 | + fprintf (f, "%lu\n", i); |
| 8966 | + } |
| 8967 | +- exit (ferror (f) || fclose (f) != 0); |
| 8968 | ++ return ferror (f) || fclose (f) != 0; |
| 8969 | + |
| 8970 | + ; |
| 8971 | + return 0; |
| 8972 | + } |
| 8973 | + _ACEOF |
| 8974 | + rm -f conftest$ac_exeext |
| 8975 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8976 | +- (eval $ac_link) 2>&5 |
| 8977 | ++if { (ac_try="$ac_link" |
| 8978 | ++case "(($ac_try" in |
| 8979 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8980 | ++ *) ac_try_echo=$ac_try;; |
| 8981 | ++esac |
| 8982 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8983 | ++ (eval "$ac_link") 2>&5 |
| 8984 | + ac_status=$? |
| 8985 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8986 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 8987 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8988 | +- (eval $ac_try) 2>&5 |
| 8989 | ++ { (case "(($ac_try" in |
| 8990 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8991 | ++ *) ac_try_echo=$ac_try;; |
| 8992 | ++esac |
| 8993 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8994 | ++ (eval "$ac_try") 2>&5 |
| 8995 | + ac_status=$? |
| 8996 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8997 | + (exit $ac_status); }; }; then |
| 8998 | +@@ -6906,39 +7541,58 @@ |
| 8999 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9000 | + |
| 9001 | + ( exit $ac_status ) |
| 9002 | +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77 |
| 9003 | ++if test "$ac_cv_type_voidp" = yes; then |
| 9004 | ++ { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*) |
| 9005 | + See \`config.log' for more details." >&5 |
| 9006 | +-echo "$as_me: error: cannot compute sizeof (void*), 77 |
| 9007 | ++echo "$as_me: error: cannot compute sizeof (void*) |
| 9008 | + See \`config.log' for more details." >&2;} |
| 9009 | +- { (exit 1); exit 1; }; } |
| 9010 | +-fi |
| 9011 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9012 | ++ { (exit 77); exit 77; }; } |
| 9013 | ++ else |
| 9014 | ++ ac_cv_sizeof_voidp=0 |
| 9015 | ++ fi |
| 9016 | + fi |
| 9017 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9018 | + fi |
| 9019 | + rm -f conftest.val |
| 9020 | +-else |
| 9021 | +- ac_cv_sizeof_voidp=0 |
| 9022 | +-fi |
| 9023 | + fi |
| 9024 | +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5 |
| 9025 | +-echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6 |
| 9026 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5 |
| 9027 | ++echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; } |
| 9028 | ++ |
| 9029 | ++ |
| 9030 | ++ |
| 9031 | + cat >>confdefs.h <<_ACEOF |
| 9032 | + #define SIZEOF_VOIDP $ac_cv_sizeof_voidp |
| 9033 | + _ACEOF |
| 9034 | + |
| 9035 | + |
| 9036 | + |
| 9037 | +-# Check whether --enable-asm or --disable-asm was given. |
| 9038 | ++# Check whether --enable-backtrace was given. |
| 9039 | ++if test "${enable_backtrace+set}" = set; then |
| 9040 | ++ enableval=$enable_backtrace; ac_enable_backtrace=$enableleval |
| 9041 | ++else |
| 9042 | ++ ac_enable_backtrace=auto |
| 9043 | ++ |
| 9044 | ++fi |
| 9045 | ++ |
| 9046 | ++# Check whether --enable-ucontexth was given. |
| 9047 | ++if test "${enable_ucontexth+set}" = set; then |
| 9048 | ++ enableval=$enable_ucontexth; ac_enable_ucontexth=$enableleval |
| 9049 | ++else |
| 9050 | ++ ac_enable_ucontexth=auto |
| 9051 | ++ |
| 9052 | ++fi |
| 9053 | ++ |
| 9054 | ++# Check whether --enable-asm was given. |
| 9055 | + if test "${enable_asm+set}" = set; then |
| 9056 | +- enableval="$enable_asm" |
| 9057 | +- ac_enable_asm=$enableval |
| 9058 | ++ enableval=$enable_asm; ac_enable_asm=$enableval |
| 9059 | + else |
| 9060 | + ac_enable_asm=auto |
| 9061 | + |
| 9062 | +-fi; |
| 9063 | ++fi |
| 9064 | ++ |
| 9065 | + if test $ac_enable_asm = auto; then |
| 9066 | +- echo "$as_me:$LINENO: checking whether ${CC-cc} accepts Pentium assembler" >&5 |
| 9067 | +-echo $ECHO_N "checking whether ${CC-cc} accepts Pentium assembler... $ECHO_C" >&6 |
| 9068 | ++ { echo "$as_me:$LINENO: checking whether ${CC-cc} accepts Pentium assembler" >&5 |
| 9069 | ++echo $ECHO_N "checking whether ${CC-cc} accepts Pentium assembler... $ECHO_C" >&6; } |
| 9070 | + cat >conftest.$ac_ext <<_ACEOF |
| 9071 | + /* confdefs.h. */ |
| 9072 | + _ACEOF |
| 9073 | +@@ -6960,44 +7614,40 @@ |
| 9074 | + } |
| 9075 | + _ACEOF |
| 9076 | + rm -f conftest.$ac_objext |
| 9077 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9078 | +- (eval $ac_compile) 2>conftest.er1 |
| 9079 | ++if { (ac_try="$ac_compile" |
| 9080 | ++case "(($ac_try" in |
| 9081 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9082 | ++ *) ac_try_echo=$ac_try;; |
| 9083 | ++esac |
| 9084 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9085 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 9086 | + ac_status=$? |
| 9087 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 9088 | + rm -f conftest.er1 |
| 9089 | + cat conftest.err >&5 |
| 9090 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9091 | +- (exit $ac_status); } && |
| 9092 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9093 | +- || test ! -s conftest.err' |
| 9094 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9095 | +- (eval $ac_try) 2>&5 |
| 9096 | +- ac_status=$? |
| 9097 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9098 | +- (exit $ac_status); }; } && |
| 9099 | +- { ac_try='test -s conftest.$ac_objext' |
| 9100 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9101 | +- (eval $ac_try) 2>&5 |
| 9102 | +- ac_status=$? |
| 9103 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9104 | +- (exit $ac_status); }; }; then |
| 9105 | ++ (exit $ac_status); } && { |
| 9106 | ++ test -z "$ac_c_werror_flag" || |
| 9107 | ++ test ! -s conftest.err |
| 9108 | ++ } && test -s conftest.$ac_objext; then |
| 9109 | + ac_enable_asm=yes |
| 9110 | + else |
| 9111 | + echo "$as_me: failed program was:" >&5 |
| 9112 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9113 | + |
| 9114 | +-ac_enable_asm=no |
| 9115 | ++ ac_enable_asm=no |
| 9116 | + fi |
| 9117 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9118 | +- echo "$as_me:$LINENO: result: $ac_enable_asm" >&5 |
| 9119 | +-echo "${ECHO_T}$ac_enable_asm" >&6 |
| 9120 | ++ |
| 9121 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9122 | ++ { echo "$as_me:$LINENO: result: $ac_enable_asm" >&5 |
| 9123 | ++echo "${ECHO_T}$ac_enable_asm" >&6; } |
| 9124 | + if test $ac_enable_asm = yes; then |
| 9125 | + for ac_prog in ${ac_tool_prefix}nasm |
| 9126 | + do |
| 9127 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 9128 | + set dummy $ac_prog; ac_word=$2 |
| 9129 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9130 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 9131 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9132 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 9133 | + if test "${ac_cv_prog_ASM+set}" = set; then |
| 9134 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9135 | + else |
| 9136 | +@@ -7010,25 +7660,27 @@ |
| 9137 | + IFS=$as_save_IFS |
| 9138 | + test -z "$as_dir" && as_dir=. |
| 9139 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 9140 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 9141 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9142 | + ac_cv_prog_ASM="$ac_prog" |
| 9143 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9144 | + break 2 |
| 9145 | + fi |
| 9146 | + done |
| 9147 | + done |
| 9148 | ++IFS=$as_save_IFS |
| 9149 | + |
| 9150 | + fi |
| 9151 | + fi |
| 9152 | + ASM=$ac_cv_prog_ASM |
| 9153 | + if test -n "$ASM"; then |
| 9154 | +- echo "$as_me:$LINENO: result: $ASM" >&5 |
| 9155 | +-echo "${ECHO_T}$ASM" >&6 |
| 9156 | ++ { echo "$as_me:$LINENO: result: $ASM" >&5 |
| 9157 | ++echo "${ECHO_T}$ASM" >&6; } |
| 9158 | + else |
| 9159 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 9160 | +-echo "${ECHO_T}no" >&6 |
| 9161 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 9162 | ++echo "${ECHO_T}no" >&6; } |
| 9163 | + fi |
| 9164 | + |
| 9165 | ++ |
| 9166 | + test -n "$ASM" && break |
| 9167 | + done |
| 9168 | + test -n "$ASM" || ASM="none" |
| 9169 | +@@ -7044,8 +7696,8 @@ |
| 9170 | + do |
| 9171 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 9172 | + set dummy $ac_prog; ac_word=$2 |
| 9173 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9174 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 9175 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9176 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 9177 | + if test "${ac_cv_prog_ASM+set}" = set; then |
| 9178 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9179 | + else |
| 9180 | +@@ -7058,25 +7710,27 @@ |
| 9181 | + IFS=$as_save_IFS |
| 9182 | + test -z "$as_dir" && as_dir=. |
| 9183 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 9184 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 9185 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9186 | + ac_cv_prog_ASM="$ac_prog" |
| 9187 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9188 | + break 2 |
| 9189 | + fi |
| 9190 | + done |
| 9191 | + done |
| 9192 | ++IFS=$as_save_IFS |
| 9193 | + |
| 9194 | + fi |
| 9195 | + fi |
| 9196 | + ASM=$ac_cv_prog_ASM |
| 9197 | + if test -n "$ASM"; then |
| 9198 | +- echo "$as_me:$LINENO: result: $ASM" >&5 |
| 9199 | +-echo "${ECHO_T}$ASM" >&6 |
| 9200 | ++ { echo "$as_me:$LINENO: result: $ASM" >&5 |
| 9201 | ++echo "${ECHO_T}$ASM" >&6; } |
| 9202 | + else |
| 9203 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 9204 | +-echo "${ECHO_T}no" >&6 |
| 9205 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 9206 | ++echo "${ECHO_T}no" >&6; } |
| 9207 | + fi |
| 9208 | + |
| 9209 | ++ |
| 9210 | + test -n "$ASM" && break |
| 9211 | + done |
| 9212 | + test -n "$ASM" || ASM="none" |
| 9213 | +@@ -7090,14 +7744,14 @@ |
| 9214 | + fi |
| 9215 | + fi |
| 9216 | + |
| 9217 | +-# Check whether --enable-asm-mips3 or --disable-asm-mips3 was given. |
| 9218 | ++# Check whether --enable-asm-mips3 was given. |
| 9219 | + if test "${enable_asm_mips3+set}" = set; then |
| 9220 | +- enableval="$enable_asm_mips3" |
| 9221 | +- ac_enable_asm_mips3=$enableval |
| 9222 | ++ enableval=$enable_asm_mips3; ac_enable_asm_mips3=$enableval |
| 9223 | + else |
| 9224 | + ac_enable_asm_mips3=auto |
| 9225 | + |
| 9226 | +-fi; |
| 9227 | ++fi |
| 9228 | ++ |
| 9229 | + if test $ac_enable_asm_mips3 = auto; then |
| 9230 | + if test $ac_enable_asm = yes; then |
| 9231 | + ac_enable_asm_mips3=yes |
| 9232 | +@@ -7119,14 +7773,14 @@ |
| 9233 | + |
| 9234 | + # Checks for configuration options. |
| 9235 | + |
| 9236 | +-# Check whether --with-emu or --without-emu was given. |
| 9237 | ++# Check whether --with-emu was given. |
| 9238 | + if test "${with_emu+set}" = set; then |
| 9239 | +- withval="$with_emu" |
| 9240 | +- ac_with_emu=$withval |
| 9241 | ++ withval=$with_emu; ac_with_emu=$withval |
| 9242 | + else |
| 9243 | + ac_with_emu=auto |
| 9244 | + |
| 9245 | +-fi; |
| 9246 | ++fi |
| 9247 | ++ |
| 9248 | + if test $ac_with_emu = auto; then |
| 9249 | + if test -f $srcdir/advance/advmame.dif ; then |
| 9250 | + ac_with_emu=mame |
| 9251 | +@@ -7176,14 +7830,14 @@ |
| 9252 | + CONF_EMU=$ac_with_emu |
| 9253 | + |
| 9254 | + |
| 9255 | +-# Check whether --enable-debugger or --disable-debugger was given. |
| 9256 | ++# Check whether --enable-debugger was given. |
| 9257 | + if test "${enable_debugger+set}" = set; then |
| 9258 | +- enableval="$enable_debugger" |
| 9259 | +- ac_enable_debugger=$enableval |
| 9260 | ++ enableval=$enable_debugger; ac_enable_debugger=$enableval |
| 9261 | + else |
| 9262 | + ac_enable_debugger=no |
| 9263 | + |
| 9264 | +-fi; |
| 9265 | ++fi |
| 9266 | ++ |
| 9267 | + CONF_DEBUGGER=$ac_enable_debugger |
| 9268 | + |
| 9269 | + |
| 9270 | +@@ -7192,8 +7846,8 @@ |
| 9271 | + # Checks for library functions. |
| 9272 | + |
| 9273 | + if test $ac_system = unix ; then |
| 9274 | +- echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 9275 | +-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 9276 | ++ { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 9277 | ++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
| 9278 | + if test "${ac_cv_header_stdc+set}" = set; then |
| 9279 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9280 | + else |
| 9281 | +@@ -7217,35 +7871,31 @@ |
| 9282 | + } |
| 9283 | + _ACEOF |
| 9284 | + rm -f conftest.$ac_objext |
| 9285 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9286 | +- (eval $ac_compile) 2>conftest.er1 |
| 9287 | ++if { (ac_try="$ac_compile" |
| 9288 | ++case "(($ac_try" in |
| 9289 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9290 | ++ *) ac_try_echo=$ac_try;; |
| 9291 | ++esac |
| 9292 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9293 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 9294 | + ac_status=$? |
| 9295 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 9296 | + rm -f conftest.er1 |
| 9297 | + cat conftest.err >&5 |
| 9298 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9299 | +- (exit $ac_status); } && |
| 9300 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9301 | +- || test ! -s conftest.err' |
| 9302 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9303 | +- (eval $ac_try) 2>&5 |
| 9304 | +- ac_status=$? |
| 9305 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9306 | +- (exit $ac_status); }; } && |
| 9307 | +- { ac_try='test -s conftest.$ac_objext' |
| 9308 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9309 | +- (eval $ac_try) 2>&5 |
| 9310 | +- ac_status=$? |
| 9311 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9312 | +- (exit $ac_status); }; }; then |
| 9313 | ++ (exit $ac_status); } && { |
| 9314 | ++ test -z "$ac_c_werror_flag" || |
| 9315 | ++ test ! -s conftest.err |
| 9316 | ++ } && test -s conftest.$ac_objext; then |
| 9317 | + ac_cv_header_stdc=yes |
| 9318 | + else |
| 9319 | + echo "$as_me: failed program was:" >&5 |
| 9320 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9321 | + |
| 9322 | +-ac_cv_header_stdc=no |
| 9323 | ++ ac_cv_header_stdc=no |
| 9324 | + fi |
| 9325 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9326 | ++ |
| 9327 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9328 | + |
| 9329 | + if test $ac_cv_header_stdc = yes; then |
| 9330 | + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 9331 | +@@ -7301,6 +7951,7 @@ |
| 9332 | + cat >>conftest.$ac_ext <<_ACEOF |
| 9333 | + /* end confdefs.h. */ |
| 9334 | + #include <ctype.h> |
| 9335 | ++#include <stdlib.h> |
| 9336 | + #if ((' ' & 0x0FF) == 0x020) |
| 9337 | + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 9338 | + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 9339 | +@@ -7320,18 +7971,27 @@ |
| 9340 | + for (i = 0; i < 256; i++) |
| 9341 | + if (XOR (islower (i), ISLOWER (i)) |
| 9342 | + || toupper (i) != TOUPPER (i)) |
| 9343 | +- exit(2); |
| 9344 | +- exit (0); |
| 9345 | ++ return 2; |
| 9346 | ++ return 0; |
| 9347 | + } |
| 9348 | + _ACEOF |
| 9349 | + rm -f conftest$ac_exeext |
| 9350 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9351 | +- (eval $ac_link) 2>&5 |
| 9352 | ++if { (ac_try="$ac_link" |
| 9353 | ++case "(($ac_try" in |
| 9354 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9355 | ++ *) ac_try_echo=$ac_try;; |
| 9356 | ++esac |
| 9357 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9358 | ++ (eval "$ac_link") 2>&5 |
| 9359 | + ac_status=$? |
| 9360 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9361 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 9362 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9363 | +- (eval $ac_try) 2>&5 |
| 9364 | ++ { (case "(($ac_try" in |
| 9365 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9366 | ++ *) ac_try_echo=$ac_try;; |
| 9367 | ++esac |
| 9368 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9369 | ++ (eval "$ac_try") 2>&5 |
| 9370 | + ac_status=$? |
| 9371 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9372 | + (exit $ac_status); }; }; then |
| 9373 | +@@ -7344,12 +8004,14 @@ |
| 9374 | + ( exit $ac_status ) |
| 9375 | + ac_cv_header_stdc=no |
| 9376 | + fi |
| 9377 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9378 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9379 | + fi |
| 9380 | ++ |
| 9381 | ++ |
| 9382 | + fi |
| 9383 | + fi |
| 9384 | +-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 9385 | +-echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 9386 | ++{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 9387 | ++echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
| 9388 | + if test $ac_cv_header_stdc = yes; then |
| 9389 | + |
| 9390 | + cat >>confdefs.h <<\_ACEOF |
| 9391 | +@@ -7358,8 +8020,8 @@ |
| 9392 | + |
| 9393 | + fi |
| 9394 | + |
| 9395 | +- echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 9396 | +-echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 |
| 9397 | ++ { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 9398 | ++echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
| 9399 | + if test "${ac_cv_header_sys_wait_h+set}" = set; then |
| 9400 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9401 | + else |
| 9402 | +@@ -7372,7 +8034,7 @@ |
| 9403 | + #include <sys/types.h> |
| 9404 | + #include <sys/wait.h> |
| 9405 | + #ifndef WEXITSTATUS |
| 9406 | +-# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 9407 | ++# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
| 9408 | + #endif |
| 9409 | + #ifndef WIFEXITED |
| 9410 | + # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
| 9411 | +@@ -7389,38 +8051,34 @@ |
| 9412 | + } |
| 9413 | + _ACEOF |
| 9414 | + rm -f conftest.$ac_objext |
| 9415 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9416 | +- (eval $ac_compile) 2>conftest.er1 |
| 9417 | ++if { (ac_try="$ac_compile" |
| 9418 | ++case "(($ac_try" in |
| 9419 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9420 | ++ *) ac_try_echo=$ac_try;; |
| 9421 | ++esac |
| 9422 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9423 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 9424 | + ac_status=$? |
| 9425 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 9426 | + rm -f conftest.er1 |
| 9427 | + cat conftest.err >&5 |
| 9428 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9429 | +- (exit $ac_status); } && |
| 9430 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9431 | +- || test ! -s conftest.err' |
| 9432 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9433 | +- (eval $ac_try) 2>&5 |
| 9434 | +- ac_status=$? |
| 9435 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9436 | +- (exit $ac_status); }; } && |
| 9437 | +- { ac_try='test -s conftest.$ac_objext' |
| 9438 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9439 | +- (eval $ac_try) 2>&5 |
| 9440 | +- ac_status=$? |
| 9441 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9442 | +- (exit $ac_status); }; }; then |
| 9443 | ++ (exit $ac_status); } && { |
| 9444 | ++ test -z "$ac_c_werror_flag" || |
| 9445 | ++ test ! -s conftest.err |
| 9446 | ++ } && test -s conftest.$ac_objext; then |
| 9447 | + ac_cv_header_sys_wait_h=yes |
| 9448 | + else |
| 9449 | + echo "$as_me: failed program was:" >&5 |
| 9450 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9451 | + |
| 9452 | +-ac_cv_header_sys_wait_h=no |
| 9453 | ++ ac_cv_header_sys_wait_h=no |
| 9454 | + fi |
| 9455 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9456 | ++ |
| 9457 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9458 | + fi |
| 9459 | +-echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
| 9460 | +-echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 |
| 9461 | ++{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
| 9462 | ++echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
| 9463 | + if test $ac_cv_header_sys_wait_h = yes; then |
| 9464 | + |
| 9465 | + cat >>confdefs.h <<\_ACEOF |
| 9466 | +@@ -7437,9 +8095,9 @@ |
| 9467 | + ac_header_dirent=no |
| 9468 | + for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
| 9469 | + as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
| 9470 | +-echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
| 9471 | +-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 |
| 9472 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9473 | ++{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
| 9474 | ++echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } |
| 9475 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9476 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9477 | + else |
| 9478 | + cat >conftest.$ac_ext <<_ACEOF |
| 9479 | +@@ -7461,38 +8119,35 @@ |
| 9480 | + } |
| 9481 | + _ACEOF |
| 9482 | + rm -f conftest.$ac_objext |
| 9483 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9484 | +- (eval $ac_compile) 2>conftest.er1 |
| 9485 | ++if { (ac_try="$ac_compile" |
| 9486 | ++case "(($ac_try" in |
| 9487 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9488 | ++ *) ac_try_echo=$ac_try;; |
| 9489 | ++esac |
| 9490 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9491 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 9492 | + ac_status=$? |
| 9493 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 9494 | + rm -f conftest.er1 |
| 9495 | + cat conftest.err >&5 |
| 9496 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9497 | +- (exit $ac_status); } && |
| 9498 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9499 | +- || test ! -s conftest.err' |
| 9500 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9501 | +- (eval $ac_try) 2>&5 |
| 9502 | +- ac_status=$? |
| 9503 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9504 | +- (exit $ac_status); }; } && |
| 9505 | +- { ac_try='test -s conftest.$ac_objext' |
| 9506 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9507 | +- (eval $ac_try) 2>&5 |
| 9508 | +- ac_status=$? |
| 9509 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9510 | +- (exit $ac_status); }; }; then |
| 9511 | ++ (exit $ac_status); } && { |
| 9512 | ++ test -z "$ac_c_werror_flag" || |
| 9513 | ++ test ! -s conftest.err |
| 9514 | ++ } && test -s conftest.$ac_objext; then |
| 9515 | + eval "$as_ac_Header=yes" |
| 9516 | + else |
| 9517 | + echo "$as_me: failed program was:" >&5 |
| 9518 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9519 | + |
| 9520 | +-eval "$as_ac_Header=no" |
| 9521 | ++ eval "$as_ac_Header=no" |
| 9522 | + fi |
| 9523 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9524 | ++ |
| 9525 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9526 | + fi |
| 9527 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 9528 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 9529 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9530 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9531 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 9532 | + if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 9533 | + cat >>confdefs.h <<_ACEOF |
| 9534 | + #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
| 9535 | +@@ -7504,13 +8159,12 @@ |
| 9536 | + done |
| 9537 | + # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| 9538 | + if test $ac_header_dirent = dirent.h; then |
| 9539 | +- echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
| 9540 | +-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
| 9541 | ++ { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
| 9542 | ++echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
| 9543 | + if test "${ac_cv_search_opendir+set}" = set; then |
| 9544 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9545 | + else |
| 9546 | + ac_func_search_save_LIBS=$LIBS |
| 9547 | +-ac_cv_search_opendir=no |
| 9548 | + cat >conftest.$ac_ext <<_ACEOF |
| 9549 | + /* confdefs.h. */ |
| 9550 | + _ACEOF |
| 9551 | +@@ -7518,126 +8172,83 @@ |
| 9552 | + cat >>conftest.$ac_ext <<_ACEOF |
| 9553 | + /* end confdefs.h. */ |
| 9554 | + |
| 9555 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 9556 | ++/* Override any GCC internal prototype to avoid an error. |
| 9557 | ++ Use char because int might match the return type of a GCC |
| 9558 | ++ builtin and then its argument prototype would still apply. */ |
| 9559 | + #ifdef __cplusplus |
| 9560 | + extern "C" |
| 9561 | + #endif |
| 9562 | +-/* We use char because int might match the return type of a gcc2 |
| 9563 | +- builtin and then its argument prototype would still apply. */ |
| 9564 | + char opendir (); |
| 9565 | + int |
| 9566 | + main () |
| 9567 | + { |
| 9568 | +-opendir (); |
| 9569 | ++return opendir (); |
| 9570 | + ; |
| 9571 | + return 0; |
| 9572 | + } |
| 9573 | + _ACEOF |
| 9574 | +-rm -f conftest.$ac_objext conftest$ac_exeext |
| 9575 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9576 | +- (eval $ac_link) 2>conftest.er1 |
| 9577 | ++for ac_lib in '' dir; do |
| 9578 | ++ if test -z "$ac_lib"; then |
| 9579 | ++ ac_res="none required" |
| 9580 | ++ else |
| 9581 | ++ ac_res=-l$ac_lib |
| 9582 | ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 9583 | ++ fi |
| 9584 | ++ rm -f conftest.$ac_objext conftest$ac_exeext |
| 9585 | ++if { (ac_try="$ac_link" |
| 9586 | ++case "(($ac_try" in |
| 9587 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9588 | ++ *) ac_try_echo=$ac_try;; |
| 9589 | ++esac |
| 9590 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9591 | ++ (eval "$ac_link") 2>conftest.er1 |
| 9592 | + ac_status=$? |
| 9593 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 9594 | + rm -f conftest.er1 |
| 9595 | + cat conftest.err >&5 |
| 9596 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9597 | +- (exit $ac_status); } && |
| 9598 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9599 | +- || test ! -s conftest.err' |
| 9600 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9601 | +- (eval $ac_try) 2>&5 |
| 9602 | +- ac_status=$? |
| 9603 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9604 | +- (exit $ac_status); }; } && |
| 9605 | +- { ac_try='test -s conftest$ac_exeext' |
| 9606 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9607 | +- (eval $ac_try) 2>&5 |
| 9608 | +- ac_status=$? |
| 9609 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9610 | +- (exit $ac_status); }; }; then |
| 9611 | +- ac_cv_search_opendir="none required" |
| 9612 | ++ (exit $ac_status); } && { |
| 9613 | ++ test -z "$ac_c_werror_flag" || |
| 9614 | ++ test ! -s conftest.err |
| 9615 | ++ } && test -s conftest$ac_exeext && |
| 9616 | ++ $as_test_x conftest$ac_exeext; then |
| 9617 | ++ ac_cv_search_opendir=$ac_res |
| 9618 | + else |
| 9619 | + echo "$as_me: failed program was:" >&5 |
| 9620 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9621 | + |
| 9622 | +-fi |
| 9623 | +-rm -f conftest.err conftest.$ac_objext \ |
| 9624 | +- conftest$ac_exeext conftest.$ac_ext |
| 9625 | +-if test "$ac_cv_search_opendir" = no; then |
| 9626 | +- for ac_lib in dir; do |
| 9627 | +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 9628 | +- cat >conftest.$ac_ext <<_ACEOF |
| 9629 | +-/* confdefs.h. */ |
| 9630 | +-_ACEOF |
| 9631 | +-cat confdefs.h >>conftest.$ac_ext |
| 9632 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 9633 | +-/* end confdefs.h. */ |
| 9634 | + |
| 9635 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 9636 | +-#ifdef __cplusplus |
| 9637 | +-extern "C" |
| 9638 | +-#endif |
| 9639 | +-/* We use char because int might match the return type of a gcc2 |
| 9640 | +- builtin and then its argument prototype would still apply. */ |
| 9641 | +-char opendir (); |
| 9642 | +-int |
| 9643 | +-main () |
| 9644 | +-{ |
| 9645 | +-opendir (); |
| 9646 | +- ; |
| 9647 | +- return 0; |
| 9648 | +-} |
| 9649 | +-_ACEOF |
| 9650 | +-rm -f conftest.$ac_objext conftest$ac_exeext |
| 9651 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9652 | +- (eval $ac_link) 2>conftest.er1 |
| 9653 | +- ac_status=$? |
| 9654 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 9655 | +- rm -f conftest.er1 |
| 9656 | +- cat conftest.err >&5 |
| 9657 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9658 | +- (exit $ac_status); } && |
| 9659 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9660 | +- || test ! -s conftest.err' |
| 9661 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9662 | +- (eval $ac_try) 2>&5 |
| 9663 | +- ac_status=$? |
| 9664 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9665 | +- (exit $ac_status); }; } && |
| 9666 | +- { ac_try='test -s conftest$ac_exeext' |
| 9667 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9668 | +- (eval $ac_try) 2>&5 |
| 9669 | +- ac_status=$? |
| 9670 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9671 | +- (exit $ac_status); }; }; then |
| 9672 | +- ac_cv_search_opendir="-l$ac_lib" |
| 9673 | +-break |
| 9674 | +-else |
| 9675 | +- echo "$as_me: failed program was:" >&5 |
| 9676 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 9677 | ++fi |
| 9678 | + |
| 9679 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9680 | ++ conftest$ac_exeext |
| 9681 | ++ if test "${ac_cv_search_opendir+set}" = set; then |
| 9682 | ++ break |
| 9683 | + fi |
| 9684 | +-rm -f conftest.err conftest.$ac_objext \ |
| 9685 | +- conftest$ac_exeext conftest.$ac_ext |
| 9686 | +- done |
| 9687 | ++done |
| 9688 | ++if test "${ac_cv_search_opendir+set}" = set; then |
| 9689 | ++ : |
| 9690 | ++else |
| 9691 | ++ ac_cv_search_opendir=no |
| 9692 | + fi |
| 9693 | ++rm conftest.$ac_ext |
| 9694 | + LIBS=$ac_func_search_save_LIBS |
| 9695 | + fi |
| 9696 | +-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
| 9697 | +-echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
| 9698 | +-if test "$ac_cv_search_opendir" != no; then |
| 9699 | +- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
| 9700 | ++{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
| 9701 | ++echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
| 9702 | ++ac_res=$ac_cv_search_opendir |
| 9703 | ++if test "$ac_res" != no; then |
| 9704 | ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 9705 | + |
| 9706 | + fi |
| 9707 | + |
| 9708 | + else |
| 9709 | +- echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
| 9710 | +-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
| 9711 | ++ { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
| 9712 | ++echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
| 9713 | + if test "${ac_cv_search_opendir+set}" = set; then |
| 9714 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9715 | + else |
| 9716 | + ac_func_search_save_LIBS=$LIBS |
| 9717 | +-ac_cv_search_opendir=no |
| 9718 | + cat >conftest.$ac_ext <<_ACEOF |
| 9719 | + /* confdefs.h. */ |
| 9720 | + _ACEOF |
| 9721 | +@@ -7645,122 +8256,80 @@ |
| 9722 | + cat >>conftest.$ac_ext <<_ACEOF |
| 9723 | + /* end confdefs.h. */ |
| 9724 | + |
| 9725 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 9726 | ++/* Override any GCC internal prototype to avoid an error. |
| 9727 | ++ Use char because int might match the return type of a GCC |
| 9728 | ++ builtin and then its argument prototype would still apply. */ |
| 9729 | + #ifdef __cplusplus |
| 9730 | + extern "C" |
| 9731 | + #endif |
| 9732 | +-/* We use char because int might match the return type of a gcc2 |
| 9733 | +- builtin and then its argument prototype would still apply. */ |
| 9734 | + char opendir (); |
| 9735 | + int |
| 9736 | + main () |
| 9737 | + { |
| 9738 | +-opendir (); |
| 9739 | ++return opendir (); |
| 9740 | + ; |
| 9741 | + return 0; |
| 9742 | + } |
| 9743 | + _ACEOF |
| 9744 | +-rm -f conftest.$ac_objext conftest$ac_exeext |
| 9745 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9746 | +- (eval $ac_link) 2>conftest.er1 |
| 9747 | ++for ac_lib in '' x; do |
| 9748 | ++ if test -z "$ac_lib"; then |
| 9749 | ++ ac_res="none required" |
| 9750 | ++ else |
| 9751 | ++ ac_res=-l$ac_lib |
| 9752 | ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 9753 | ++ fi |
| 9754 | ++ rm -f conftest.$ac_objext conftest$ac_exeext |
| 9755 | ++if { (ac_try="$ac_link" |
| 9756 | ++case "(($ac_try" in |
| 9757 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9758 | ++ *) ac_try_echo=$ac_try;; |
| 9759 | ++esac |
| 9760 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9761 | ++ (eval "$ac_link") 2>conftest.er1 |
| 9762 | + ac_status=$? |
| 9763 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 9764 | + rm -f conftest.er1 |
| 9765 | + cat conftest.err >&5 |
| 9766 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9767 | +- (exit $ac_status); } && |
| 9768 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9769 | +- || test ! -s conftest.err' |
| 9770 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9771 | +- (eval $ac_try) 2>&5 |
| 9772 | +- ac_status=$? |
| 9773 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9774 | +- (exit $ac_status); }; } && |
| 9775 | +- { ac_try='test -s conftest$ac_exeext' |
| 9776 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9777 | +- (eval $ac_try) 2>&5 |
| 9778 | +- ac_status=$? |
| 9779 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9780 | +- (exit $ac_status); }; }; then |
| 9781 | +- ac_cv_search_opendir="none required" |
| 9782 | ++ (exit $ac_status); } && { |
| 9783 | ++ test -z "$ac_c_werror_flag" || |
| 9784 | ++ test ! -s conftest.err |
| 9785 | ++ } && test -s conftest$ac_exeext && |
| 9786 | ++ $as_test_x conftest$ac_exeext; then |
| 9787 | ++ ac_cv_search_opendir=$ac_res |
| 9788 | + else |
| 9789 | + echo "$as_me: failed program was:" >&5 |
| 9790 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9791 | + |
| 9792 | +-fi |
| 9793 | +-rm -f conftest.err conftest.$ac_objext \ |
| 9794 | +- conftest$ac_exeext conftest.$ac_ext |
| 9795 | +-if test "$ac_cv_search_opendir" = no; then |
| 9796 | +- for ac_lib in x; do |
| 9797 | +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 9798 | +- cat >conftest.$ac_ext <<_ACEOF |
| 9799 | +-/* confdefs.h. */ |
| 9800 | +-_ACEOF |
| 9801 | +-cat confdefs.h >>conftest.$ac_ext |
| 9802 | +-cat >>conftest.$ac_ext <<_ACEOF |
| 9803 | +-/* end confdefs.h. */ |
| 9804 | + |
| 9805 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 9806 | +-#ifdef __cplusplus |
| 9807 | +-extern "C" |
| 9808 | +-#endif |
| 9809 | +-/* We use char because int might match the return type of a gcc2 |
| 9810 | +- builtin and then its argument prototype would still apply. */ |
| 9811 | +-char opendir (); |
| 9812 | +-int |
| 9813 | +-main () |
| 9814 | +-{ |
| 9815 | +-opendir (); |
| 9816 | +- ; |
| 9817 | +- return 0; |
| 9818 | +-} |
| 9819 | +-_ACEOF |
| 9820 | +-rm -f conftest.$ac_objext conftest$ac_exeext |
| 9821 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9822 | +- (eval $ac_link) 2>conftest.er1 |
| 9823 | +- ac_status=$? |
| 9824 | +- grep -v '^ *+' conftest.er1 >conftest.err |
| 9825 | +- rm -f conftest.er1 |
| 9826 | +- cat conftest.err >&5 |
| 9827 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9828 | +- (exit $ac_status); } && |
| 9829 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9830 | +- || test ! -s conftest.err' |
| 9831 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9832 | +- (eval $ac_try) 2>&5 |
| 9833 | +- ac_status=$? |
| 9834 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9835 | +- (exit $ac_status); }; } && |
| 9836 | +- { ac_try='test -s conftest$ac_exeext' |
| 9837 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9838 | +- (eval $ac_try) 2>&5 |
| 9839 | +- ac_status=$? |
| 9840 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9841 | +- (exit $ac_status); }; }; then |
| 9842 | +- ac_cv_search_opendir="-l$ac_lib" |
| 9843 | +-break |
| 9844 | +-else |
| 9845 | +- echo "$as_me: failed program was:" >&5 |
| 9846 | +-sed 's/^/| /' conftest.$ac_ext >&5 |
| 9847 | ++fi |
| 9848 | + |
| 9849 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9850 | ++ conftest$ac_exeext |
| 9851 | ++ if test "${ac_cv_search_opendir+set}" = set; then |
| 9852 | ++ break |
| 9853 | + fi |
| 9854 | +-rm -f conftest.err conftest.$ac_objext \ |
| 9855 | +- conftest$ac_exeext conftest.$ac_ext |
| 9856 | +- done |
| 9857 | ++done |
| 9858 | ++if test "${ac_cv_search_opendir+set}" = set; then |
| 9859 | ++ : |
| 9860 | ++else |
| 9861 | ++ ac_cv_search_opendir=no |
| 9862 | + fi |
| 9863 | ++rm conftest.$ac_ext |
| 9864 | + LIBS=$ac_func_search_save_LIBS |
| 9865 | + fi |
| 9866 | +-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
| 9867 | +-echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
| 9868 | +-if test "$ac_cv_search_opendir" != no; then |
| 9869 | +- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
| 9870 | ++{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
| 9871 | ++echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
| 9872 | ++ac_res=$ac_cv_search_opendir |
| 9873 | ++if test "$ac_res" != no; then |
| 9874 | ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 9875 | + |
| 9876 | + fi |
| 9877 | + |
| 9878 | + fi |
| 9879 | + |
| 9880 | +- echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 9881 | +-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
| 9882 | ++ { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 9883 | ++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
| 9884 | + if test "${ac_cv_header_time+set}" = set; then |
| 9885 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9886 | + else |
| 9887 | +@@ -7784,38 +8353,34 @@ |
| 9888 | + } |
| 9889 | + _ACEOF |
| 9890 | + rm -f conftest.$ac_objext |
| 9891 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9892 | +- (eval $ac_compile) 2>conftest.er1 |
| 9893 | ++if { (ac_try="$ac_compile" |
| 9894 | ++case "(($ac_try" in |
| 9895 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9896 | ++ *) ac_try_echo=$ac_try;; |
| 9897 | ++esac |
| 9898 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9899 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 9900 | + ac_status=$? |
| 9901 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 9902 | + rm -f conftest.er1 |
| 9903 | + cat conftest.err >&5 |
| 9904 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9905 | +- (exit $ac_status); } && |
| 9906 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 9907 | +- || test ! -s conftest.err' |
| 9908 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9909 | +- (eval $ac_try) 2>&5 |
| 9910 | +- ac_status=$? |
| 9911 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9912 | +- (exit $ac_status); }; } && |
| 9913 | +- { ac_try='test -s conftest.$ac_objext' |
| 9914 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9915 | +- (eval $ac_try) 2>&5 |
| 9916 | +- ac_status=$? |
| 9917 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9918 | +- (exit $ac_status); }; }; then |
| 9919 | ++ (exit $ac_status); } && { |
| 9920 | ++ test -z "$ac_c_werror_flag" || |
| 9921 | ++ test ! -s conftest.err |
| 9922 | ++ } && test -s conftest.$ac_objext; then |
| 9923 | + ac_cv_header_time=yes |
| 9924 | + else |
| 9925 | + echo "$as_me: failed program was:" >&5 |
| 9926 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 9927 | + |
| 9928 | +-ac_cv_header_time=no |
| 9929 | ++ ac_cv_header_time=no |
| 9930 | + fi |
| 9931 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9932 | ++ |
| 9933 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9934 | + fi |
| 9935 | +-echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 9936 | +-echo "${ECHO_T}$ac_cv_header_time" >&6 |
| 9937 | ++{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 9938 | ++echo "${ECHO_T}$ac_cv_header_time" >&6; } |
| 9939 | + if test $ac_cv_header_time = yes; then |
| 9940 | + |
| 9941 | + cat >>confdefs.h <<\_ACEOF |
| 9942 | +@@ -7824,8 +8389,8 @@ |
| 9943 | + |
| 9944 | + fi |
| 9945 | + |
| 9946 | +- echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5 |
| 9947 | +-echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6 |
| 9948 | ++ { echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5 |
| 9949 | ++echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6; } |
| 9950 | + if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then |
| 9951 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9952 | + else |
| 9953 | +@@ -7851,12 +8416,12 @@ |
| 9954 | + rm -f conftest* |
| 9955 | + |
| 9956 | + fi |
| 9957 | +-echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 |
| 9958 | +-echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_termios_h" >&6 |
| 9959 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 |
| 9960 | ++echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; } |
| 9961 | + |
| 9962 | + if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then |
| 9963 | +- echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 |
| 9964 | +-echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6 |
| 9965 | ++ { echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 |
| 9966 | ++echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6; } |
| 9967 | + if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then |
| 9968 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9969 | + else |
| 9970 | +@@ -7882,8 +8447,8 @@ |
| 9971 | + rm -f conftest* |
| 9972 | + |
| 9973 | + fi |
| 9974 | +-echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 |
| 9975 | +-echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6 |
| 9976 | ++{ echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 |
| 9977 | ++echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; } |
| 9978 | + |
| 9979 | + if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then |
| 9980 | + |
| 9981 | +@@ -7902,18 +8467,19 @@ |
| 9982 | + for ac_header in unistd.h sched.h netdb.h termios.h execinfo.h |
| 9983 | + do |
| 9984 | + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 9985 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9986 | +- echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9987 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 9988 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9989 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9990 | ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9991 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9992 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9993 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9994 | + fi |
| 9995 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 9996 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 9997 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9998 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9999 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10000 | + else |
| 10001 | + # Is the header compilable? |
| 10002 | +-echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10003 | +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 10004 | ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10005 | ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10006 | + cat >conftest.$ac_ext <<_ACEOF |
| 10007 | + /* confdefs.h. */ |
| 10008 | + _ACEOF |
| 10009 | +@@ -7924,41 +8490,187 @@ |
| 10010 | + #include <$ac_header> |
| 10011 | + _ACEOF |
| 10012 | + rm -f conftest.$ac_objext |
| 10013 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10014 | +- (eval $ac_compile) 2>conftest.er1 |
| 10015 | ++if { (ac_try="$ac_compile" |
| 10016 | ++case "(($ac_try" in |
| 10017 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10018 | ++ *) ac_try_echo=$ac_try;; |
| 10019 | ++esac |
| 10020 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10021 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 10022 | + ac_status=$? |
| 10023 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10024 | + rm -f conftest.er1 |
| 10025 | + cat conftest.err >&5 |
| 10026 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10027 | +- (exit $ac_status); } && |
| 10028 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 10029 | +- || test ! -s conftest.err' |
| 10030 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10031 | +- (eval $ac_try) 2>&5 |
| 10032 | ++ (exit $ac_status); } && { |
| 10033 | ++ test -z "$ac_c_werror_flag" || |
| 10034 | ++ test ! -s conftest.err |
| 10035 | ++ } && test -s conftest.$ac_objext; then |
| 10036 | ++ ac_header_compiler=yes |
| 10037 | ++else |
| 10038 | ++ echo "$as_me: failed program was:" >&5 |
| 10039 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 10040 | ++ |
| 10041 | ++ ac_header_compiler=no |
| 10042 | ++fi |
| 10043 | ++ |
| 10044 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10045 | ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10046 | ++echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 10047 | ++ |
| 10048 | ++# Is the header present? |
| 10049 | ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10050 | ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10051 | ++cat >conftest.$ac_ext <<_ACEOF |
| 10052 | ++/* confdefs.h. */ |
| 10053 | ++_ACEOF |
| 10054 | ++cat confdefs.h >>conftest.$ac_ext |
| 10055 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 10056 | ++/* end confdefs.h. */ |
| 10057 | ++#include <$ac_header> |
| 10058 | ++_ACEOF |
| 10059 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10060 | ++case "(($ac_try" in |
| 10061 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10062 | ++ *) ac_try_echo=$ac_try;; |
| 10063 | ++esac |
| 10064 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10065 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10066 | + ac_status=$? |
| 10067 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 10068 | ++ rm -f conftest.er1 |
| 10069 | ++ cat conftest.err >&5 |
| 10070 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10071 | +- (exit $ac_status); }; } && |
| 10072 | +- { ac_try='test -s conftest.$ac_objext' |
| 10073 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10074 | +- (eval $ac_try) 2>&5 |
| 10075 | ++ (exit $ac_status); } >/dev/null && { |
| 10076 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 10077 | ++ test ! -s conftest.err |
| 10078 | ++ }; then |
| 10079 | ++ ac_header_preproc=yes |
| 10080 | ++else |
| 10081 | ++ echo "$as_me: failed program was:" >&5 |
| 10082 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 10083 | ++ |
| 10084 | ++ ac_header_preproc=no |
| 10085 | ++fi |
| 10086 | ++ |
| 10087 | ++rm -f conftest.err conftest.$ac_ext |
| 10088 | ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10089 | ++echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10090 | ++ |
| 10091 | ++# So? What about this header? |
| 10092 | ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 10093 | ++ yes:no: ) |
| 10094 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 10095 | ++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 10096 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 10097 | ++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 10098 | ++ ac_header_preproc=yes |
| 10099 | ++ ;; |
| 10100 | ++ no:yes:* ) |
| 10101 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 10102 | ++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 10103 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 10104 | ++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 10105 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 10106 | ++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 10107 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 10108 | ++echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 10109 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 10110 | ++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10111 | ++ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10112 | ++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10113 | ++ |
| 10114 | ++ ;; |
| 10115 | ++esac |
| 10116 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10117 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10118 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10119 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10120 | ++else |
| 10121 | ++ eval "$as_ac_Header=\$ac_header_preproc" |
| 10122 | ++fi |
| 10123 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10124 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10125 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10126 | ++ |
| 10127 | ++fi |
| 10128 | ++if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 10129 | ++ cat >>confdefs.h <<_ACEOF |
| 10130 | ++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10131 | ++_ACEOF |
| 10132 | ++ |
| 10133 | ++fi |
| 10134 | ++ |
| 10135 | ++done |
| 10136 | ++ |
| 10137 | ++ |
| 10138 | ++ |
| 10139 | ++ |
| 10140 | ++ |
| 10141 | ++ |
| 10142 | ++ |
| 10143 | ++ |
| 10144 | ++ |
| 10145 | ++ |
| 10146 | ++ |
| 10147 | ++ |
| 10148 | ++for ac_header in sys/utsname.h sys/types.h sys/stat.h sys/socket.h sys/select.h sys/ioctl.h sys/time.h sys/mman.h sys/io.h sys/kd.h sys/vt.h |
| 10149 | ++do |
| 10150 | ++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10151 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10152 | ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10153 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10154 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10155 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10156 | ++fi |
| 10157 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10158 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10159 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10160 | ++else |
| 10161 | ++ # Is the header compilable? |
| 10162 | ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10163 | ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10164 | ++cat >conftest.$ac_ext <<_ACEOF |
| 10165 | ++/* confdefs.h. */ |
| 10166 | ++_ACEOF |
| 10167 | ++cat confdefs.h >>conftest.$ac_ext |
| 10168 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 10169 | ++/* end confdefs.h. */ |
| 10170 | ++$ac_includes_default |
| 10171 | ++#include <$ac_header> |
| 10172 | ++_ACEOF |
| 10173 | ++rm -f conftest.$ac_objext |
| 10174 | ++if { (ac_try="$ac_compile" |
| 10175 | ++case "(($ac_try" in |
| 10176 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10177 | ++ *) ac_try_echo=$ac_try;; |
| 10178 | ++esac |
| 10179 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10180 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 10181 | + ac_status=$? |
| 10182 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 10183 | ++ rm -f conftest.er1 |
| 10184 | ++ cat conftest.err >&5 |
| 10185 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10186 | +- (exit $ac_status); }; }; then |
| 10187 | ++ (exit $ac_status); } && { |
| 10188 | ++ test -z "$ac_c_werror_flag" || |
| 10189 | ++ test ! -s conftest.err |
| 10190 | ++ } && test -s conftest.$ac_objext; then |
| 10191 | + ac_header_compiler=yes |
| 10192 | + else |
| 10193 | + echo "$as_me: failed program was:" >&5 |
| 10194 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 10195 | + |
| 10196 | +-ac_header_compiler=no |
| 10197 | ++ ac_header_compiler=no |
| 10198 | + fi |
| 10199 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10200 | +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10201 | +-echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10202 | ++ |
| 10203 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10204 | ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10205 | ++echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 10206 | + |
| 10207 | + # Is the header present? |
| 10208 | +-echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10209 | +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 10210 | ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10211 | ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10212 | + cat >conftest.$ac_ext <<_ACEOF |
| 10213 | + /* confdefs.h. */ |
| 10214 | + _ACEOF |
| 10215 | +@@ -7967,24 +8679,22 @@ |
| 10216 | + /* end confdefs.h. */ |
| 10217 | + #include <$ac_header> |
| 10218 | + _ACEOF |
| 10219 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10220 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10221 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10222 | ++case "(($ac_try" in |
| 10223 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10224 | ++ *) ac_try_echo=$ac_try;; |
| 10225 | ++esac |
| 10226 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10227 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10228 | + ac_status=$? |
| 10229 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10230 | + rm -f conftest.er1 |
| 10231 | + cat conftest.err >&5 |
| 10232 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10233 | +- (exit $ac_status); } >/dev/null; then |
| 10234 | +- if test -s conftest.err; then |
| 10235 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 10236 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 10237 | +- else |
| 10238 | +- ac_cpp_err= |
| 10239 | +- fi |
| 10240 | +-else |
| 10241 | +- ac_cpp_err=yes |
| 10242 | +-fi |
| 10243 | +-if test -z "$ac_cpp_err"; then |
| 10244 | ++ (exit $ac_status); } >/dev/null && { |
| 10245 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 10246 | ++ test ! -s conftest.err |
| 10247 | ++ }; then |
| 10248 | + ac_header_preproc=yes |
| 10249 | + else |
| 10250 | + echo "$as_me: failed program was:" >&5 |
| 10251 | +@@ -7992,9 +8702,10 @@ |
| 10252 | + |
| 10253 | + ac_header_preproc=no |
| 10254 | + fi |
| 10255 | ++ |
| 10256 | + rm -f conftest.err conftest.$ac_ext |
| 10257 | +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10258 | +-echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10259 | ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10260 | ++echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10261 | + |
| 10262 | + # So? What about this header? |
| 10263 | + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 10264 | +@@ -8018,25 +8729,19 @@ |
| 10265 | + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10266 | + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10267 | + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10268 | +- ( |
| 10269 | +- cat <<\_ASBOX |
| 10270 | +-## ---------------------------------- ## |
| 10271 | +-## Report this to the advance lists. ## |
| 10272 | +-## ---------------------------------- ## |
| 10273 | +-_ASBOX |
| 10274 | +- ) | |
| 10275 | +- sed "s/^/$as_me: WARNING: /" >&2 |
| 10276 | ++ |
| 10277 | + ;; |
| 10278 | + esac |
| 10279 | +-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10280 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10281 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10282 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10283 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10284 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10285 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10286 | + else |
| 10287 | + eval "$as_ac_Header=\$ac_header_preproc" |
| 10288 | + fi |
| 10289 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10290 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10291 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10292 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10293 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10294 | + |
| 10295 | + fi |
| 10296 | + if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 10297 | +@@ -8049,31 +8754,22 @@ |
| 10298 | + done |
| 10299 | + |
| 10300 | + |
| 10301 | +- |
| 10302 | +- |
| 10303 | +- |
| 10304 | +- |
| 10305 | +- |
| 10306 | +- |
| 10307 | +- |
| 10308 | +- |
| 10309 | +- |
| 10310 | +- |
| 10311 | +-for ac_header in sys/utsname.h sys/types.h sys/stat.h sys/socket.h sys/select.h sys/ioctl.h sys/time.h sys/mman.h sys/io.h sys/kd.h sys/vt.h |
| 10312 | ++for ac_header in netinet/in.h |
| 10313 | + do |
| 10314 | + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10315 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10316 | +- echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10317 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10318 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10319 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10320 | ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10321 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10322 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10323 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10324 | + fi |
| 10325 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10326 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10327 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10328 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10329 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10330 | + else |
| 10331 | + # Is the header compilable? |
| 10332 | +-echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10333 | +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 10334 | ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10335 | ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10336 | + cat >conftest.$ac_ext <<_ACEOF |
| 10337 | + /* confdefs.h. */ |
| 10338 | + _ACEOF |
| 10339 | +@@ -8084,41 +8780,37 @@ |
| 10340 | + #include <$ac_header> |
| 10341 | + _ACEOF |
| 10342 | + rm -f conftest.$ac_objext |
| 10343 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10344 | +- (eval $ac_compile) 2>conftest.er1 |
| 10345 | ++if { (ac_try="$ac_compile" |
| 10346 | ++case "(($ac_try" in |
| 10347 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10348 | ++ *) ac_try_echo=$ac_try;; |
| 10349 | ++esac |
| 10350 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10351 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 10352 | + ac_status=$? |
| 10353 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10354 | + rm -f conftest.er1 |
| 10355 | + cat conftest.err >&5 |
| 10356 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10357 | +- (exit $ac_status); } && |
| 10358 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 10359 | +- || test ! -s conftest.err' |
| 10360 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10361 | +- (eval $ac_try) 2>&5 |
| 10362 | +- ac_status=$? |
| 10363 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10364 | +- (exit $ac_status); }; } && |
| 10365 | +- { ac_try='test -s conftest.$ac_objext' |
| 10366 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10367 | +- (eval $ac_try) 2>&5 |
| 10368 | +- ac_status=$? |
| 10369 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10370 | +- (exit $ac_status); }; }; then |
| 10371 | ++ (exit $ac_status); } && { |
| 10372 | ++ test -z "$ac_c_werror_flag" || |
| 10373 | ++ test ! -s conftest.err |
| 10374 | ++ } && test -s conftest.$ac_objext; then |
| 10375 | + ac_header_compiler=yes |
| 10376 | + else |
| 10377 | + echo "$as_me: failed program was:" >&5 |
| 10378 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 10379 | + |
| 10380 | +-ac_header_compiler=no |
| 10381 | ++ ac_header_compiler=no |
| 10382 | + fi |
| 10383 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10384 | +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10385 | +-echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10386 | ++ |
| 10387 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10388 | ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10389 | ++echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 10390 | + |
| 10391 | + # Is the header present? |
| 10392 | +-echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10393 | +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 10394 | ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10395 | ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10396 | + cat >conftest.$ac_ext <<_ACEOF |
| 10397 | + /* confdefs.h. */ |
| 10398 | + _ACEOF |
| 10399 | +@@ -8127,24 +8819,22 @@ |
| 10400 | + /* end confdefs.h. */ |
| 10401 | + #include <$ac_header> |
| 10402 | + _ACEOF |
| 10403 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10404 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10405 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10406 | ++case "(($ac_try" in |
| 10407 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10408 | ++ *) ac_try_echo=$ac_try;; |
| 10409 | ++esac |
| 10410 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10411 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10412 | + ac_status=$? |
| 10413 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10414 | + rm -f conftest.er1 |
| 10415 | + cat conftest.err >&5 |
| 10416 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10417 | +- (exit $ac_status); } >/dev/null; then |
| 10418 | +- if test -s conftest.err; then |
| 10419 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 10420 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 10421 | +- else |
| 10422 | +- ac_cpp_err= |
| 10423 | +- fi |
| 10424 | +-else |
| 10425 | +- ac_cpp_err=yes |
| 10426 | +-fi |
| 10427 | +-if test -z "$ac_cpp_err"; then |
| 10428 | ++ (exit $ac_status); } >/dev/null && { |
| 10429 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 10430 | ++ test ! -s conftest.err |
| 10431 | ++ }; then |
| 10432 | + ac_header_preproc=yes |
| 10433 | + else |
| 10434 | + echo "$as_me: failed program was:" >&5 |
| 10435 | +@@ -8152,9 +8842,10 @@ |
| 10436 | + |
| 10437 | + ac_header_preproc=no |
| 10438 | + fi |
| 10439 | ++ |
| 10440 | + rm -f conftest.err conftest.$ac_ext |
| 10441 | +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10442 | +-echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10443 | ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10444 | ++echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10445 | + |
| 10446 | + # So? What about this header? |
| 10447 | + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 10448 | +@@ -8178,25 +8869,19 @@ |
| 10449 | + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10450 | + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10451 | + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10452 | +- ( |
| 10453 | +- cat <<\_ASBOX |
| 10454 | +-## ---------------------------------- ## |
| 10455 | +-## Report this to the advance lists. ## |
| 10456 | +-## ---------------------------------- ## |
| 10457 | +-_ASBOX |
| 10458 | +- ) | |
| 10459 | +- sed "s/^/$as_me: WARNING: /" >&2 |
| 10460 | ++ |
| 10461 | + ;; |
| 10462 | + esac |
| 10463 | +-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10464 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10465 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10466 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10467 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10468 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10469 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10470 | + else |
| 10471 | + eval "$as_ac_Header=\$ac_header_preproc" |
| 10472 | + fi |
| 10473 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10474 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10475 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10476 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10477 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10478 | + |
| 10479 | + fi |
| 10480 | + if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 10481 | +@@ -8208,23 +8893,24 @@ |
| 10482 | + |
| 10483 | + done |
| 10484 | + |
| 10485 | ++ if test $ac_enable_ucontexth = auto; then |
| 10486 | + |
| 10487 | +- |
| 10488 | +-for ac_header in netinet/in.h ucontext.h |
| 10489 | ++for ac_header in ucontext.h |
| 10490 | + do |
| 10491 | + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10492 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10493 | +- echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10494 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10495 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10496 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10497 | ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10498 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10499 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10500 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10501 | + fi |
| 10502 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10503 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10504 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10505 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10506 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10507 | + else |
| 10508 | + # Is the header compilable? |
| 10509 | +-echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10510 | +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 10511 | ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10512 | ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10513 | + cat >conftest.$ac_ext <<_ACEOF |
| 10514 | + /* confdefs.h. */ |
| 10515 | + _ACEOF |
| 10516 | +@@ -8235,41 +8921,37 @@ |
| 10517 | + #include <$ac_header> |
| 10518 | + _ACEOF |
| 10519 | + rm -f conftest.$ac_objext |
| 10520 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10521 | +- (eval $ac_compile) 2>conftest.er1 |
| 10522 | ++if { (ac_try="$ac_compile" |
| 10523 | ++case "(($ac_try" in |
| 10524 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10525 | ++ *) ac_try_echo=$ac_try;; |
| 10526 | ++esac |
| 10527 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10528 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 10529 | + ac_status=$? |
| 10530 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10531 | + rm -f conftest.er1 |
| 10532 | + cat conftest.err >&5 |
| 10533 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10534 | +- (exit $ac_status); } && |
| 10535 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 10536 | +- || test ! -s conftest.err' |
| 10537 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10538 | +- (eval $ac_try) 2>&5 |
| 10539 | +- ac_status=$? |
| 10540 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10541 | +- (exit $ac_status); }; } && |
| 10542 | +- { ac_try='test -s conftest.$ac_objext' |
| 10543 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10544 | +- (eval $ac_try) 2>&5 |
| 10545 | +- ac_status=$? |
| 10546 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10547 | +- (exit $ac_status); }; }; then |
| 10548 | ++ (exit $ac_status); } && { |
| 10549 | ++ test -z "$ac_c_werror_flag" || |
| 10550 | ++ test ! -s conftest.err |
| 10551 | ++ } && test -s conftest.$ac_objext; then |
| 10552 | + ac_header_compiler=yes |
| 10553 | + else |
| 10554 | + echo "$as_me: failed program was:" >&5 |
| 10555 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 10556 | + |
| 10557 | +-ac_header_compiler=no |
| 10558 | ++ ac_header_compiler=no |
| 10559 | + fi |
| 10560 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10561 | +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10562 | +-echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10563 | ++ |
| 10564 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10565 | ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10566 | ++echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 10567 | + |
| 10568 | + # Is the header present? |
| 10569 | +-echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10570 | +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 10571 | ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10572 | ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10573 | + cat >conftest.$ac_ext <<_ACEOF |
| 10574 | + /* confdefs.h. */ |
| 10575 | + _ACEOF |
| 10576 | +@@ -8278,24 +8960,22 @@ |
| 10577 | + /* end confdefs.h. */ |
| 10578 | + #include <$ac_header> |
| 10579 | + _ACEOF |
| 10580 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10581 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10582 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10583 | ++case "(($ac_try" in |
| 10584 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10585 | ++ *) ac_try_echo=$ac_try;; |
| 10586 | ++esac |
| 10587 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10588 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10589 | + ac_status=$? |
| 10590 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10591 | + rm -f conftest.er1 |
| 10592 | + cat conftest.err >&5 |
| 10593 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10594 | +- (exit $ac_status); } >/dev/null; then |
| 10595 | +- if test -s conftest.err; then |
| 10596 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 10597 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 10598 | +- else |
| 10599 | +- ac_cpp_err= |
| 10600 | +- fi |
| 10601 | +-else |
| 10602 | +- ac_cpp_err=yes |
| 10603 | +-fi |
| 10604 | +-if test -z "$ac_cpp_err"; then |
| 10605 | ++ (exit $ac_status); } >/dev/null && { |
| 10606 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 10607 | ++ test ! -s conftest.err |
| 10608 | ++ }; then |
| 10609 | + ac_header_preproc=yes |
| 10610 | + else |
| 10611 | + echo "$as_me: failed program was:" >&5 |
| 10612 | +@@ -8303,9 +8983,10 @@ |
| 10613 | + |
| 10614 | + ac_header_preproc=no |
| 10615 | + fi |
| 10616 | ++ |
| 10617 | + rm -f conftest.err conftest.$ac_ext |
| 10618 | +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10619 | +-echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10620 | ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10621 | ++echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10622 | + |
| 10623 | + # So? What about this header? |
| 10624 | + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 10625 | +@@ -8329,25 +9010,19 @@ |
| 10626 | + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10627 | + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10628 | + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10629 | +- ( |
| 10630 | +- cat <<\_ASBOX |
| 10631 | +-## ---------------------------------- ## |
| 10632 | +-## Report this to the advance lists. ## |
| 10633 | +-## ---------------------------------- ## |
| 10634 | +-_ASBOX |
| 10635 | +- ) | |
| 10636 | +- sed "s/^/$as_me: WARNING: /" >&2 |
| 10637 | ++ |
| 10638 | + ;; |
| 10639 | + esac |
| 10640 | +-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10641 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10642 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10643 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10644 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10645 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10646 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10647 | + else |
| 10648 | + eval "$as_ac_Header=\$ac_header_preproc" |
| 10649 | + fi |
| 10650 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10651 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10652 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10653 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10654 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 10655 | + |
| 10656 | + fi |
| 10657 | + if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 10658 | +@@ -8359,8 +9034,9 @@ |
| 10659 | + |
| 10660 | + done |
| 10661 | + |
| 10662 | +- echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 10663 | +-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 10664 | ++ fi |
| 10665 | ++ { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 10666 | ++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
| 10667 | + if test "${ac_cv_c_const+set}" = set; then |
| 10668 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10669 | + else |
| 10670 | +@@ -8378,10 +9054,10 @@ |
| 10671 | + #ifndef __cplusplus |
| 10672 | + /* Ultrix mips cc rejects this. */ |
| 10673 | + typedef int charset[2]; |
| 10674 | +- const charset x; |
| 10675 | ++ const charset cs; |
| 10676 | + /* SunOS 4.1.1 cc rejects this. */ |
| 10677 | +- char const *const *ccp; |
| 10678 | +- char **p; |
| 10679 | ++ char const *const *pcpcc; |
| 10680 | ++ char **ppc; |
| 10681 | + /* NEC SVR4.0.2 mips cc rejects this. */ |
| 10682 | + struct point {int x, y;}; |
| 10683 | + static struct point const zero = {0,0}; |
| 10684 | +@@ -8390,16 +9066,17 @@ |
| 10685 | + an arm of an if-expression whose if-part is not a constant |
| 10686 | + expression */ |
| 10687 | + const char *g = "string"; |
| 10688 | +- ccp = &g + (g ? g-g : 0); |
| 10689 | ++ pcpcc = &g + (g ? g-g : 0); |
| 10690 | + /* HPUX 7.0 cc rejects these. */ |
| 10691 | +- ++ccp; |
| 10692 | +- p = (char**) ccp; |
| 10693 | +- ccp = (char const *const *) p; |
| 10694 | ++ ++pcpcc; |
| 10695 | ++ ppc = (char**) pcpcc; |
| 10696 | ++ pcpcc = (char const *const *) ppc; |
| 10697 | + { /* SCO 3.2v4 cc rejects this. */ |
| 10698 | + char *t; |
| 10699 | + char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 10700 | + |
| 10701 | + *t++ = 0; |
| 10702 | ++ if (s) return 0; |
| 10703 | + } |
| 10704 | + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 10705 | + int x[] = {25, 17}; |
| 10706 | +@@ -8418,7 +9095,9 @@ |
| 10707 | + } |
| 10708 | + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 10709 | + const int foo = 10; |
| 10710 | ++ if (!foo) return 0; |
| 10711 | + } |
| 10712 | ++ return !cs[0] && !zero.x; |
| 10713 | + #endif |
| 10714 | + |
| 10715 | + ; |
| 10716 | +@@ -8426,38 +9105,34 @@ |
| 10717 | + } |
| 10718 | + _ACEOF |
| 10719 | + rm -f conftest.$ac_objext |
| 10720 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10721 | +- (eval $ac_compile) 2>conftest.er1 |
| 10722 | ++if { (ac_try="$ac_compile" |
| 10723 | ++case "(($ac_try" in |
| 10724 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10725 | ++ *) ac_try_echo=$ac_try;; |
| 10726 | ++esac |
| 10727 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10728 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 10729 | + ac_status=$? |
| 10730 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10731 | + rm -f conftest.er1 |
| 10732 | + cat conftest.err >&5 |
| 10733 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10734 | +- (exit $ac_status); } && |
| 10735 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 10736 | +- || test ! -s conftest.err' |
| 10737 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10738 | +- (eval $ac_try) 2>&5 |
| 10739 | +- ac_status=$? |
| 10740 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10741 | +- (exit $ac_status); }; } && |
| 10742 | +- { ac_try='test -s conftest.$ac_objext' |
| 10743 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10744 | +- (eval $ac_try) 2>&5 |
| 10745 | +- ac_status=$? |
| 10746 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10747 | +- (exit $ac_status); }; }; then |
| 10748 | ++ (exit $ac_status); } && { |
| 10749 | ++ test -z "$ac_c_werror_flag" || |
| 10750 | ++ test ! -s conftest.err |
| 10751 | ++ } && test -s conftest.$ac_objext; then |
| 10752 | + ac_cv_c_const=yes |
| 10753 | + else |
| 10754 | + echo "$as_me: failed program was:" >&5 |
| 10755 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 10756 | + |
| 10757 | +-ac_cv_c_const=no |
| 10758 | ++ ac_cv_c_const=no |
| 10759 | + fi |
| 10760 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10761 | ++ |
| 10762 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10763 | + fi |
| 10764 | +-echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 10765 | +-echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 10766 | ++{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 10767 | ++echo "${ECHO_T}$ac_cv_c_const" >&6; } |
| 10768 | + if test $ac_cv_c_const = no; then |
| 10769 | + |
| 10770 | + cat >>confdefs.h <<\_ACEOF |
| 10771 | +@@ -8466,8 +9141,8 @@ |
| 10772 | + |
| 10773 | + fi |
| 10774 | + |
| 10775 | +- echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 |
| 10776 | +-echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6 |
| 10777 | ++ { echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 |
| 10778 | ++echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; } |
| 10779 | + if test "${ac_cv_c_restrict+set}" = set; then |
| 10780 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10781 | + else |
| 10782 | +@@ -8481,42 +9156,53 @@ |
| 10783 | + cat confdefs.h >>conftest.$ac_ext |
| 10784 | + cat >>conftest.$ac_ext <<_ACEOF |
| 10785 | + /* end confdefs.h. */ |
| 10786 | +-float * $ac_kw x; |
| 10787 | ++typedef int * int_ptr; |
| 10788 | ++ int foo (int_ptr $ac_kw ip) { |
| 10789 | ++ return ip[0]; |
| 10790 | ++ } |
| 10791 | ++int |
| 10792 | ++main () |
| 10793 | ++{ |
| 10794 | ++int s[1]; |
| 10795 | ++ int * $ac_kw t = s; |
| 10796 | ++ t[0] = 0; |
| 10797 | ++ return foo(t) |
| 10798 | ++ ; |
| 10799 | ++ return 0; |
| 10800 | ++} |
| 10801 | + _ACEOF |
| 10802 | + rm -f conftest.$ac_objext |
| 10803 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10804 | +- (eval $ac_compile) 2>conftest.er1 |
| 10805 | ++if { (ac_try="$ac_compile" |
| 10806 | ++case "(($ac_try" in |
| 10807 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10808 | ++ *) ac_try_echo=$ac_try;; |
| 10809 | ++esac |
| 10810 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10811 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 10812 | + ac_status=$? |
| 10813 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10814 | + rm -f conftest.er1 |
| 10815 | + cat conftest.err >&5 |
| 10816 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10817 | +- (exit $ac_status); } && |
| 10818 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 10819 | +- || test ! -s conftest.err' |
| 10820 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10821 | +- (eval $ac_try) 2>&5 |
| 10822 | +- ac_status=$? |
| 10823 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10824 | +- (exit $ac_status); }; } && |
| 10825 | +- { ac_try='test -s conftest.$ac_objext' |
| 10826 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10827 | +- (eval $ac_try) 2>&5 |
| 10828 | +- ac_status=$? |
| 10829 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10830 | +- (exit $ac_status); }; }; then |
| 10831 | +- ac_cv_c_restrict=$ac_kw; break |
| 10832 | ++ (exit $ac_status); } && { |
| 10833 | ++ test -z "$ac_c_werror_flag" || |
| 10834 | ++ test ! -s conftest.err |
| 10835 | ++ } && test -s conftest.$ac_objext; then |
| 10836 | ++ ac_cv_c_restrict=$ac_kw |
| 10837 | + else |
| 10838 | + echo "$as_me: failed program was:" >&5 |
| 10839 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 10840 | + |
| 10841 | ++ |
| 10842 | + fi |
| 10843 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10844 | ++ |
| 10845 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10846 | ++ test "$ac_cv_c_restrict" != no && break |
| 10847 | + done |
| 10848 | + |
| 10849 | + fi |
| 10850 | +-echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 |
| 10851 | +-echo "${ECHO_T}$ac_cv_c_restrict" >&6 |
| 10852 | ++{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 |
| 10853 | ++echo "${ECHO_T}$ac_cv_c_restrict" >&6; } |
| 10854 | + case $ac_cv_c_restrict in |
| 10855 | + restrict) ;; |
| 10856 | + no) |
| 10857 | +@@ -8530,8 +9216,8 @@ |
| 10858 | + ;; |
| 10859 | + esac |
| 10860 | + |
| 10861 | +- echo "$as_me:$LINENO: checking for inline" >&5 |
| 10862 | +-echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 10863 | ++ { echo "$as_me:$LINENO: checking for inline" >&5 |
| 10864 | ++echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
| 10865 | + if test "${ac_cv_c_inline+set}" = set; then |
| 10866 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10867 | + else |
| 10868 | +@@ -8551,39 +9237,37 @@ |
| 10869 | + |
| 10870 | + _ACEOF |
| 10871 | + rm -f conftest.$ac_objext |
| 10872 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10873 | +- (eval $ac_compile) 2>conftest.er1 |
| 10874 | ++if { (ac_try="$ac_compile" |
| 10875 | ++case "(($ac_try" in |
| 10876 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10877 | ++ *) ac_try_echo=$ac_try;; |
| 10878 | ++esac |
| 10879 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10880 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 10881 | + ac_status=$? |
| 10882 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10883 | + rm -f conftest.er1 |
| 10884 | + cat conftest.err >&5 |
| 10885 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10886 | +- (exit $ac_status); } && |
| 10887 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 10888 | +- || test ! -s conftest.err' |
| 10889 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10890 | +- (eval $ac_try) 2>&5 |
| 10891 | +- ac_status=$? |
| 10892 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10893 | +- (exit $ac_status); }; } && |
| 10894 | +- { ac_try='test -s conftest.$ac_objext' |
| 10895 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10896 | +- (eval $ac_try) 2>&5 |
| 10897 | +- ac_status=$? |
| 10898 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10899 | +- (exit $ac_status); }; }; then |
| 10900 | +- ac_cv_c_inline=$ac_kw; break |
| 10901 | ++ (exit $ac_status); } && { |
| 10902 | ++ test -z "$ac_c_werror_flag" || |
| 10903 | ++ test ! -s conftest.err |
| 10904 | ++ } && test -s conftest.$ac_objext; then |
| 10905 | ++ ac_cv_c_inline=$ac_kw |
| 10906 | + else |
| 10907 | + echo "$as_me: failed program was:" >&5 |
| 10908 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 10909 | + |
| 10910 | ++ |
| 10911 | + fi |
| 10912 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10913 | ++ |
| 10914 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10915 | ++ test "$ac_cv_c_inline" != no && break |
| 10916 | + done |
| 10917 | + |
| 10918 | + fi |
| 10919 | +-echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 10920 | +-echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 10921 | ++{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 10922 | ++echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
| 10923 | + |
| 10924 | + |
| 10925 | + case $ac_cv_c_inline in |
| 10926 | +@@ -8603,8 +9287,8 @@ |
| 10927 | + |
| 10928 | + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 10929 | + # for constant arguments. Useless! |
| 10930 | +-echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
| 10931 | +-echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
| 10932 | ++{ echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
| 10933 | ++echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } |
| 10934 | + if test "${ac_cv_working_alloca_h+set}" = set; then |
| 10935 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10936 | + else |
| 10937 | +@@ -8619,44 +9303,42 @@ |
| 10938 | + main () |
| 10939 | + { |
| 10940 | + char *p = (char *) alloca (2 * sizeof (int)); |
| 10941 | ++ if (p) return 0; |
| 10942 | + ; |
| 10943 | + return 0; |
| 10944 | + } |
| 10945 | + _ACEOF |
| 10946 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 10947 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10948 | +- (eval $ac_link) 2>conftest.er1 |
| 10949 | ++if { (ac_try="$ac_link" |
| 10950 | ++case "(($ac_try" in |
| 10951 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10952 | ++ *) ac_try_echo=$ac_try;; |
| 10953 | ++esac |
| 10954 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10955 | ++ (eval "$ac_link") 2>conftest.er1 |
| 10956 | + ac_status=$? |
| 10957 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 10958 | + rm -f conftest.er1 |
| 10959 | + cat conftest.err >&5 |
| 10960 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10961 | +- (exit $ac_status); } && |
| 10962 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 10963 | +- || test ! -s conftest.err' |
| 10964 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10965 | +- (eval $ac_try) 2>&5 |
| 10966 | +- ac_status=$? |
| 10967 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10968 | +- (exit $ac_status); }; } && |
| 10969 | +- { ac_try='test -s conftest$ac_exeext' |
| 10970 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10971 | +- (eval $ac_try) 2>&5 |
| 10972 | +- ac_status=$? |
| 10973 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10974 | +- (exit $ac_status); }; }; then |
| 10975 | ++ (exit $ac_status); } && { |
| 10976 | ++ test -z "$ac_c_werror_flag" || |
| 10977 | ++ test ! -s conftest.err |
| 10978 | ++ } && test -s conftest$ac_exeext && |
| 10979 | ++ $as_test_x conftest$ac_exeext; then |
| 10980 | + ac_cv_working_alloca_h=yes |
| 10981 | + else |
| 10982 | + echo "$as_me: failed program was:" >&5 |
| 10983 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 10984 | + |
| 10985 | +-ac_cv_working_alloca_h=no |
| 10986 | ++ ac_cv_working_alloca_h=no |
| 10987 | + fi |
| 10988 | +-rm -f conftest.err conftest.$ac_objext \ |
| 10989 | ++ |
| 10990 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10991 | + conftest$ac_exeext conftest.$ac_ext |
| 10992 | + fi |
| 10993 | +-echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
| 10994 | +-echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
| 10995 | ++{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
| 10996 | ++echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } |
| 10997 | + if test $ac_cv_working_alloca_h = yes; then |
| 10998 | + |
| 10999 | + cat >>confdefs.h <<\_ACEOF |
| 11000 | +@@ -8665,8 +9347,8 @@ |
| 11001 | + |
| 11002 | + fi |
| 11003 | + |
| 11004 | +-echo "$as_me:$LINENO: checking for alloca" >&5 |
| 11005 | +-echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
| 11006 | ++{ echo "$as_me:$LINENO: checking for alloca" >&5 |
| 11007 | ++echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } |
| 11008 | + if test "${ac_cv_func_alloca_works+set}" = set; then |
| 11009 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11010 | + else |
| 11011 | +@@ -8683,7 +9365,7 @@ |
| 11012 | + # include <malloc.h> |
| 11013 | + # define alloca _alloca |
| 11014 | + # else |
| 11015 | +-# if HAVE_ALLOCA_H |
| 11016 | ++# ifdef HAVE_ALLOCA_H |
| 11017 | + # include <alloca.h> |
| 11018 | + # else |
| 11019 | + # ifdef _AIX |
| 11020 | +@@ -8701,44 +9383,42 @@ |
| 11021 | + main () |
| 11022 | + { |
| 11023 | + char *p = (char *) alloca (1); |
| 11024 | ++ if (p) return 0; |
| 11025 | + ; |
| 11026 | + return 0; |
| 11027 | + } |
| 11028 | + _ACEOF |
| 11029 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 11030 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 11031 | +- (eval $ac_link) 2>conftest.er1 |
| 11032 | ++if { (ac_try="$ac_link" |
| 11033 | ++case "(($ac_try" in |
| 11034 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11035 | ++ *) ac_try_echo=$ac_try;; |
| 11036 | ++esac |
| 11037 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11038 | ++ (eval "$ac_link") 2>conftest.er1 |
| 11039 | + ac_status=$? |
| 11040 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11041 | + rm -f conftest.er1 |
| 11042 | + cat conftest.err >&5 |
| 11043 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11044 | +- (exit $ac_status); } && |
| 11045 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 11046 | +- || test ! -s conftest.err' |
| 11047 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11048 | +- (eval $ac_try) 2>&5 |
| 11049 | +- ac_status=$? |
| 11050 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11051 | +- (exit $ac_status); }; } && |
| 11052 | +- { ac_try='test -s conftest$ac_exeext' |
| 11053 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11054 | +- (eval $ac_try) 2>&5 |
| 11055 | +- ac_status=$? |
| 11056 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11057 | +- (exit $ac_status); }; }; then |
| 11058 | ++ (exit $ac_status); } && { |
| 11059 | ++ test -z "$ac_c_werror_flag" || |
| 11060 | ++ test ! -s conftest.err |
| 11061 | ++ } && test -s conftest$ac_exeext && |
| 11062 | ++ $as_test_x conftest$ac_exeext; then |
| 11063 | + ac_cv_func_alloca_works=yes |
| 11064 | + else |
| 11065 | + echo "$as_me: failed program was:" >&5 |
| 11066 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 11067 | + |
| 11068 | +-ac_cv_func_alloca_works=no |
| 11069 | ++ ac_cv_func_alloca_works=no |
| 11070 | + fi |
| 11071 | +-rm -f conftest.err conftest.$ac_objext \ |
| 11072 | ++ |
| 11073 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11074 | + conftest$ac_exeext conftest.$ac_ext |
| 11075 | + fi |
| 11076 | +-echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
| 11077 | +-echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
| 11078 | ++{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
| 11079 | ++echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } |
| 11080 | + |
| 11081 | + if test $ac_cv_func_alloca_works = yes; then |
| 11082 | + |
| 11083 | +@@ -8752,15 +9432,15 @@ |
| 11084 | + # contain a buggy version. If you still want to use their alloca, |
| 11085 | + # use ar to extract alloca.o from them instead of compiling alloca.c. |
| 11086 | + |
| 11087 | +-ALLOCA=alloca.$ac_objext |
| 11088 | ++ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
| 11089 | + |
| 11090 | + cat >>confdefs.h <<\_ACEOF |
| 11091 | + #define C_ALLOCA 1 |
| 11092 | + _ACEOF |
| 11093 | + |
| 11094 | + |
| 11095 | +-echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 11096 | +-echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
| 11097 | ++{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 11098 | ++echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } |
| 11099 | + if test "${ac_cv_os_cray+set}" = set; then |
| 11100 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11101 | + else |
| 11102 | +@@ -8770,7 +9450,7 @@ |
| 11103 | + cat confdefs.h >>conftest.$ac_ext |
| 11104 | + cat >>conftest.$ac_ext <<_ACEOF |
| 11105 | + /* end confdefs.h. */ |
| 11106 | +-#if defined(CRAY) && ! defined(CRAY2) |
| 11107 | ++#if defined CRAY && ! defined CRAY2 |
| 11108 | + webecray |
| 11109 | + #else |
| 11110 | + wenotbecray |
| 11111 | +@@ -8786,14 +9466,14 @@ |
| 11112 | + rm -f conftest* |
| 11113 | + |
| 11114 | + fi |
| 11115 | +-echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
| 11116 | +-echo "${ECHO_T}$ac_cv_os_cray" >&6 |
| 11117 | ++{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
| 11118 | ++echo "${ECHO_T}$ac_cv_os_cray" >&6; } |
| 11119 | + if test $ac_cv_os_cray = yes; then |
| 11120 | + for ac_func in _getb67 GETB67 getb67; do |
| 11121 | + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11122 | +-echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11123 | +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 11124 | +-if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 11125 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11126 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 11127 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11128 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11129 | + else |
| 11130 | + cat >conftest.$ac_ext <<_ACEOF |
| 11131 | +@@ -8819,68 +9499,60 @@ |
| 11132 | + |
| 11133 | + #undef $ac_func |
| 11134 | + |
| 11135 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 11136 | ++/* Override any GCC internal prototype to avoid an error. |
| 11137 | ++ Use char because int might match the return type of a GCC |
| 11138 | ++ builtin and then its argument prototype would still apply. */ |
| 11139 | + #ifdef __cplusplus |
| 11140 | + extern "C" |
| 11141 | +-{ |
| 11142 | + #endif |
| 11143 | +-/* We use char because int might match the return type of a gcc2 |
| 11144 | +- builtin and then its argument prototype would still apply. */ |
| 11145 | + char $ac_func (); |
| 11146 | + /* The GNU C library defines this for functions which it implements |
| 11147 | + to always fail with ENOSYS. Some functions are actually named |
| 11148 | + something starting with __ and the normal name is an alias. */ |
| 11149 | +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 11150 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 11151 | + choke me |
| 11152 | +-#else |
| 11153 | +-char (*f) () = $ac_func; |
| 11154 | +-#endif |
| 11155 | +-#ifdef __cplusplus |
| 11156 | +-} |
| 11157 | + #endif |
| 11158 | + |
| 11159 | + int |
| 11160 | + main () |
| 11161 | + { |
| 11162 | +-return f != $ac_func; |
| 11163 | ++return $ac_func (); |
| 11164 | + ; |
| 11165 | + return 0; |
| 11166 | + } |
| 11167 | + _ACEOF |
| 11168 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 11169 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 11170 | +- (eval $ac_link) 2>conftest.er1 |
| 11171 | ++if { (ac_try="$ac_link" |
| 11172 | ++case "(($ac_try" in |
| 11173 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11174 | ++ *) ac_try_echo=$ac_try;; |
| 11175 | ++esac |
| 11176 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11177 | ++ (eval "$ac_link") 2>conftest.er1 |
| 11178 | + ac_status=$? |
| 11179 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11180 | + rm -f conftest.er1 |
| 11181 | + cat conftest.err >&5 |
| 11182 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11183 | +- (exit $ac_status); } && |
| 11184 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 11185 | +- || test ! -s conftest.err' |
| 11186 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11187 | +- (eval $ac_try) 2>&5 |
| 11188 | +- ac_status=$? |
| 11189 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11190 | +- (exit $ac_status); }; } && |
| 11191 | +- { ac_try='test -s conftest$ac_exeext' |
| 11192 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11193 | +- (eval $ac_try) 2>&5 |
| 11194 | +- ac_status=$? |
| 11195 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11196 | +- (exit $ac_status); }; }; then |
| 11197 | ++ (exit $ac_status); } && { |
| 11198 | ++ test -z "$ac_c_werror_flag" || |
| 11199 | ++ test ! -s conftest.err |
| 11200 | ++ } && test -s conftest$ac_exeext && |
| 11201 | ++ $as_test_x conftest$ac_exeext; then |
| 11202 | + eval "$as_ac_var=yes" |
| 11203 | + else |
| 11204 | + echo "$as_me: failed program was:" >&5 |
| 11205 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 11206 | + |
| 11207 | +-eval "$as_ac_var=no" |
| 11208 | ++ eval "$as_ac_var=no" |
| 11209 | + fi |
| 11210 | +-rm -f conftest.err conftest.$ac_objext \ |
| 11211 | ++ |
| 11212 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11213 | + conftest$ac_exeext conftest.$ac_ext |
| 11214 | + fi |
| 11215 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 11216 | +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 11217 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 11218 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11219 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 11220 | + if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 11221 | + |
| 11222 | + cat >>confdefs.h <<_ACEOF |
| 11223 | +@@ -8893,8 +9565,8 @@ |
| 11224 | + done |
| 11225 | + fi |
| 11226 | + |
| 11227 | +-echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
| 11228 | +-echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
| 11229 | ++{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
| 11230 | ++echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } |
| 11231 | + if test "${ac_cv_c_stack_direction+set}" = set; then |
| 11232 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11233 | + else |
| 11234 | +@@ -8907,6 +9579,7 @@ |
| 11235 | + cat confdefs.h >>conftest.$ac_ext |
| 11236 | + cat >>conftest.$ac_ext <<_ACEOF |
| 11237 | + /* end confdefs.h. */ |
| 11238 | ++$ac_includes_default |
| 11239 | + int |
| 11240 | + find_stack_direction () |
| 11241 | + { |
| 11242 | +@@ -8924,17 +9597,26 @@ |
| 11243 | + int |
| 11244 | + main () |
| 11245 | + { |
| 11246 | +- exit (find_stack_direction () < 0); |
| 11247 | ++ return find_stack_direction () < 0; |
| 11248 | + } |
| 11249 | + _ACEOF |
| 11250 | + rm -f conftest$ac_exeext |
| 11251 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 11252 | +- (eval $ac_link) 2>&5 |
| 11253 | ++if { (ac_try="$ac_link" |
| 11254 | ++case "(($ac_try" in |
| 11255 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11256 | ++ *) ac_try_echo=$ac_try;; |
| 11257 | ++esac |
| 11258 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11259 | ++ (eval "$ac_link") 2>&5 |
| 11260 | + ac_status=$? |
| 11261 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11262 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 11263 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11264 | +- (eval $ac_try) 2>&5 |
| 11265 | ++ { (case "(($ac_try" in |
| 11266 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11267 | ++ *) ac_try_echo=$ac_try;; |
| 11268 | ++esac |
| 11269 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11270 | ++ (eval "$ac_try") 2>&5 |
| 11271 | + ac_status=$? |
| 11272 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11273 | + (exit $ac_status); }; }; then |
| 11274 | +@@ -8947,11 +9629,13 @@ |
| 11275 | + ( exit $ac_status ) |
| 11276 | + ac_cv_c_stack_direction=-1 |
| 11277 | + fi |
| 11278 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11279 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11280 | + fi |
| 11281 | ++ |
| 11282 | ++ |
| 11283 | + fi |
| 11284 | +-echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
| 11285 | +-echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
| 11286 | ++{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
| 11287 | ++echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } |
| 11288 | + |
| 11289 | + cat >>confdefs.h <<_ACEOF |
| 11290 | + #define STACK_DIRECTION $ac_cv_c_stack_direction |
| 11291 | +@@ -8965,18 +9649,19 @@ |
| 11292 | + for ac_header in stdlib.h unistd.h |
| 11293 | + do |
| 11294 | + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11295 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11296 | +- echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11297 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11298 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11299 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11300 | ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11301 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11302 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11303 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11304 | + fi |
| 11305 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11306 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11307 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11308 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11309 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 11310 | + else |
| 11311 | + # Is the header compilable? |
| 11312 | +-echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11313 | +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 11314 | ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11315 | ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 11316 | + cat >conftest.$ac_ext <<_ACEOF |
| 11317 | + /* confdefs.h. */ |
| 11318 | + _ACEOF |
| 11319 | +@@ -8987,41 +9672,37 @@ |
| 11320 | + #include <$ac_header> |
| 11321 | + _ACEOF |
| 11322 | + rm -f conftest.$ac_objext |
| 11323 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11324 | +- (eval $ac_compile) 2>conftest.er1 |
| 11325 | ++if { (ac_try="$ac_compile" |
| 11326 | ++case "(($ac_try" in |
| 11327 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11328 | ++ *) ac_try_echo=$ac_try;; |
| 11329 | ++esac |
| 11330 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11331 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 11332 | + ac_status=$? |
| 11333 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11334 | + rm -f conftest.er1 |
| 11335 | + cat conftest.err >&5 |
| 11336 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11337 | +- (exit $ac_status); } && |
| 11338 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 11339 | +- || test ! -s conftest.err' |
| 11340 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11341 | +- (eval $ac_try) 2>&5 |
| 11342 | +- ac_status=$? |
| 11343 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11344 | +- (exit $ac_status); }; } && |
| 11345 | +- { ac_try='test -s conftest.$ac_objext' |
| 11346 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11347 | +- (eval $ac_try) 2>&5 |
| 11348 | +- ac_status=$? |
| 11349 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11350 | +- (exit $ac_status); }; }; then |
| 11351 | ++ (exit $ac_status); } && { |
| 11352 | ++ test -z "$ac_c_werror_flag" || |
| 11353 | ++ test ! -s conftest.err |
| 11354 | ++ } && test -s conftest.$ac_objext; then |
| 11355 | + ac_header_compiler=yes |
| 11356 | + else |
| 11357 | + echo "$as_me: failed program was:" >&5 |
| 11358 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 11359 | + |
| 11360 | +-ac_header_compiler=no |
| 11361 | ++ ac_header_compiler=no |
| 11362 | + fi |
| 11363 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11364 | +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11365 | +-echo "${ECHO_T}$ac_header_compiler" >&6 |
| 11366 | ++ |
| 11367 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11368 | ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11369 | ++echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 11370 | + |
| 11371 | + # Is the header present? |
| 11372 | +-echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11373 | +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 11374 | ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11375 | ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 11376 | + cat >conftest.$ac_ext <<_ACEOF |
| 11377 | + /* confdefs.h. */ |
| 11378 | + _ACEOF |
| 11379 | +@@ -9030,24 +9711,22 @@ |
| 11380 | + /* end confdefs.h. */ |
| 11381 | + #include <$ac_header> |
| 11382 | + _ACEOF |
| 11383 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 11384 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 11385 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 11386 | ++case "(($ac_try" in |
| 11387 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11388 | ++ *) ac_try_echo=$ac_try;; |
| 11389 | ++esac |
| 11390 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11391 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 11392 | + ac_status=$? |
| 11393 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11394 | + rm -f conftest.er1 |
| 11395 | + cat conftest.err >&5 |
| 11396 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11397 | +- (exit $ac_status); } >/dev/null; then |
| 11398 | +- if test -s conftest.err; then |
| 11399 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 11400 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 11401 | +- else |
| 11402 | +- ac_cpp_err= |
| 11403 | +- fi |
| 11404 | +-else |
| 11405 | +- ac_cpp_err=yes |
| 11406 | +-fi |
| 11407 | +-if test -z "$ac_cpp_err"; then |
| 11408 | ++ (exit $ac_status); } >/dev/null && { |
| 11409 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 11410 | ++ test ! -s conftest.err |
| 11411 | ++ }; then |
| 11412 | + ac_header_preproc=yes |
| 11413 | + else |
| 11414 | + echo "$as_me: failed program was:" >&5 |
| 11415 | +@@ -9055,9 +9734,10 @@ |
| 11416 | + |
| 11417 | + ac_header_preproc=no |
| 11418 | + fi |
| 11419 | ++ |
| 11420 | + rm -f conftest.err conftest.$ac_ext |
| 11421 | +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11422 | +-echo "${ECHO_T}$ac_header_preproc" >&6 |
| 11423 | ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11424 | ++echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 11425 | + |
| 11426 | + # So? What about this header? |
| 11427 | + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 11428 | +@@ -9081,25 +9761,19 @@ |
| 11429 | + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 11430 | + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 11431 | + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 11432 | +- ( |
| 11433 | +- cat <<\_ASBOX |
| 11434 | +-## ---------------------------------- ## |
| 11435 | +-## Report this to the advance lists. ## |
| 11436 | +-## ---------------------------------- ## |
| 11437 | +-_ASBOX |
| 11438 | +- ) | |
| 11439 | +- sed "s/^/$as_me: WARNING: /" >&2 |
| 11440 | ++ |
| 11441 | + ;; |
| 11442 | + esac |
| 11443 | +-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11444 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11445 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11446 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11447 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11448 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11449 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11450 | + else |
| 11451 | + eval "$as_ac_Header=\$ac_header_preproc" |
| 11452 | + fi |
| 11453 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11454 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11455 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11456 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11457 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 11458 | + |
| 11459 | + fi |
| 11460 | + if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 11461 | +@@ -9115,9 +9789,9 @@ |
| 11462 | + for ac_func in getpagesize |
| 11463 | + do |
| 11464 | + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11465 | +-echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11466 | +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 11467 | +-if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 11468 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11469 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 11470 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11471 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11472 | + else |
| 11473 | + cat >conftest.$ac_ext <<_ACEOF |
| 11474 | +@@ -9143,68 +9817,60 @@ |
| 11475 | + |
| 11476 | + #undef $ac_func |
| 11477 | + |
| 11478 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 11479 | ++/* Override any GCC internal prototype to avoid an error. |
| 11480 | ++ Use char because int might match the return type of a GCC |
| 11481 | ++ builtin and then its argument prototype would still apply. */ |
| 11482 | + #ifdef __cplusplus |
| 11483 | + extern "C" |
| 11484 | +-{ |
| 11485 | + #endif |
| 11486 | +-/* We use char because int might match the return type of a gcc2 |
| 11487 | +- builtin and then its argument prototype would still apply. */ |
| 11488 | + char $ac_func (); |
| 11489 | + /* The GNU C library defines this for functions which it implements |
| 11490 | + to always fail with ENOSYS. Some functions are actually named |
| 11491 | + something starting with __ and the normal name is an alias. */ |
| 11492 | +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 11493 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 11494 | + choke me |
| 11495 | +-#else |
| 11496 | +-char (*f) () = $ac_func; |
| 11497 | +-#endif |
| 11498 | +-#ifdef __cplusplus |
| 11499 | +-} |
| 11500 | + #endif |
| 11501 | + |
| 11502 | + int |
| 11503 | + main () |
| 11504 | + { |
| 11505 | +-return f != $ac_func; |
| 11506 | ++return $ac_func (); |
| 11507 | + ; |
| 11508 | + return 0; |
| 11509 | + } |
| 11510 | + _ACEOF |
| 11511 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 11512 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 11513 | +- (eval $ac_link) 2>conftest.er1 |
| 11514 | ++if { (ac_try="$ac_link" |
| 11515 | ++case "(($ac_try" in |
| 11516 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11517 | ++ *) ac_try_echo=$ac_try;; |
| 11518 | ++esac |
| 11519 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11520 | ++ (eval "$ac_link") 2>conftest.er1 |
| 11521 | + ac_status=$? |
| 11522 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11523 | + rm -f conftest.er1 |
| 11524 | + cat conftest.err >&5 |
| 11525 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11526 | +- (exit $ac_status); } && |
| 11527 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 11528 | +- || test ! -s conftest.err' |
| 11529 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11530 | +- (eval $ac_try) 2>&5 |
| 11531 | +- ac_status=$? |
| 11532 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11533 | +- (exit $ac_status); }; } && |
| 11534 | +- { ac_try='test -s conftest$ac_exeext' |
| 11535 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11536 | +- (eval $ac_try) 2>&5 |
| 11537 | +- ac_status=$? |
| 11538 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11539 | +- (exit $ac_status); }; }; then |
| 11540 | ++ (exit $ac_status); } && { |
| 11541 | ++ test -z "$ac_c_werror_flag" || |
| 11542 | ++ test ! -s conftest.err |
| 11543 | ++ } && test -s conftest$ac_exeext && |
| 11544 | ++ $as_test_x conftest$ac_exeext; then |
| 11545 | + eval "$as_ac_var=yes" |
| 11546 | + else |
| 11547 | + echo "$as_me: failed program was:" >&5 |
| 11548 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 11549 | + |
| 11550 | +-eval "$as_ac_var=no" |
| 11551 | ++ eval "$as_ac_var=no" |
| 11552 | + fi |
| 11553 | +-rm -f conftest.err conftest.$ac_objext \ |
| 11554 | ++ |
| 11555 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11556 | + conftest$ac_exeext conftest.$ac_ext |
| 11557 | + fi |
| 11558 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 11559 | +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 11560 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 11561 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11562 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 11563 | + if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 11564 | + cat >>confdefs.h <<_ACEOF |
| 11565 | + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11566 | +@@ -9213,8 +9879,8 @@ |
| 11567 | + fi |
| 11568 | + done |
| 11569 | + |
| 11570 | +-echo "$as_me:$LINENO: checking for working mmap" >&5 |
| 11571 | +-echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
| 11572 | ++{ echo "$as_me:$LINENO: checking for working mmap" >&5 |
| 11573 | ++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; } |
| 11574 | + if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
| 11575 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11576 | + else |
| 11577 | +@@ -9256,21 +9922,21 @@ |
| 11578 | + #include <fcntl.h> |
| 11579 | + #include <sys/mman.h> |
| 11580 | + |
| 11581 | +-#if !STDC_HEADERS && !HAVE_STDLIB_H |
| 11582 | ++#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H |
| 11583 | + char *malloc (); |
| 11584 | + #endif |
| 11585 | + |
| 11586 | + /* This mess was copied from the GNU getpagesize.h. */ |
| 11587 | +-#if !HAVE_GETPAGESIZE |
| 11588 | ++#ifndef HAVE_GETPAGESIZE |
| 11589 | + /* Assume that all systems that can run configure have sys/param.h. */ |
| 11590 | +-# if !HAVE_SYS_PARAM_H |
| 11591 | ++# ifndef HAVE_SYS_PARAM_H |
| 11592 | + # define HAVE_SYS_PARAM_H 1 |
| 11593 | + # endif |
| 11594 | + |
| 11595 | + # ifdef _SC_PAGESIZE |
| 11596 | + # define getpagesize() sysconf(_SC_PAGESIZE) |
| 11597 | + # else /* no _SC_PAGESIZE */ |
| 11598 | +-# if HAVE_SYS_PARAM_H |
| 11599 | ++# ifdef HAVE_SYS_PARAM_H |
| 11600 | + # include <sys/param.h> |
| 11601 | + # ifdef EXEC_PAGESIZE |
| 11602 | + # define getpagesize() EXEC_PAGESIZE |
| 11603 | +@@ -9309,15 +9975,15 @@ |
| 11604 | + /* First, make a file with some known garbage in it. */ |
| 11605 | + data = (char *) malloc (pagesize); |
| 11606 | + if (!data) |
| 11607 | +- exit (1); |
| 11608 | ++ return 1; |
| 11609 | + for (i = 0; i < pagesize; ++i) |
| 11610 | + *(data + i) = rand (); |
| 11611 | + umask (0); |
| 11612 | + fd = creat ("conftest.mmap", 0600); |
| 11613 | + if (fd < 0) |
| 11614 | +- exit (1); |
| 11615 | ++ return 1; |
| 11616 | + if (write (fd, data, pagesize) != pagesize) |
| 11617 | +- exit (1); |
| 11618 | ++ return 1; |
| 11619 | + close (fd); |
| 11620 | + |
| 11621 | + /* Next, try to mmap the file at a fixed address which already has |
| 11622 | +@@ -9325,17 +9991,17 @@ |
| 11623 | + we see the same garbage. */ |
| 11624 | + fd = open ("conftest.mmap", O_RDWR); |
| 11625 | + if (fd < 0) |
| 11626 | +- exit (1); |
| 11627 | ++ return 1; |
| 11628 | + data2 = (char *) malloc (2 * pagesize); |
| 11629 | + if (!data2) |
| 11630 | +- exit (1); |
| 11631 | +- data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); |
| 11632 | ++ return 1; |
| 11633 | ++ data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); |
| 11634 | + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
| 11635 | + MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
| 11636 | +- exit (1); |
| 11637 | ++ return 1; |
| 11638 | + for (i = 0; i < pagesize; ++i) |
| 11639 | + if (*(data + i) != *(data2 + i)) |
| 11640 | +- exit (1); |
| 11641 | ++ return 1; |
| 11642 | + |
| 11643 | + /* Finally, make sure that changes to the mapped area do not |
| 11644 | + percolate back to the file as seen by read(). (This is a bug on |
| 11645 | +@@ -9344,24 +10010,33 @@ |
| 11646 | + *(data2 + i) = *(data2 + i) + 1; |
| 11647 | + data3 = (char *) malloc (pagesize); |
| 11648 | + if (!data3) |
| 11649 | +- exit (1); |
| 11650 | ++ return 1; |
| 11651 | + if (read (fd, data3, pagesize) != pagesize) |
| 11652 | +- exit (1); |
| 11653 | ++ return 1; |
| 11654 | + for (i = 0; i < pagesize; ++i) |
| 11655 | + if (*(data + i) != *(data3 + i)) |
| 11656 | +- exit (1); |
| 11657 | ++ return 1; |
| 11658 | + close (fd); |
| 11659 | +- exit (0); |
| 11660 | ++ return 0; |
| 11661 | + } |
| 11662 | + _ACEOF |
| 11663 | + rm -f conftest$ac_exeext |
| 11664 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 11665 | +- (eval $ac_link) 2>&5 |
| 11666 | ++if { (ac_try="$ac_link" |
| 11667 | ++case "(($ac_try" in |
| 11668 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11669 | ++ *) ac_try_echo=$ac_try;; |
| 11670 | ++esac |
| 11671 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11672 | ++ (eval "$ac_link") 2>&5 |
| 11673 | + ac_status=$? |
| 11674 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11675 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 11676 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11677 | +- (eval $ac_try) 2>&5 |
| 11678 | ++ { (case "(($ac_try" in |
| 11679 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11680 | ++ *) ac_try_echo=$ac_try;; |
| 11681 | ++esac |
| 11682 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11683 | ++ (eval "$ac_try") 2>&5 |
| 11684 | + ac_status=$? |
| 11685 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11686 | + (exit $ac_status); }; }; then |
| 11687 | +@@ -9374,11 +10049,13 @@ |
| 11688 | + ( exit $ac_status ) |
| 11689 | + ac_cv_func_mmap_fixed_mapped=no |
| 11690 | + fi |
| 11691 | +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11692 | ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11693 | + fi |
| 11694 | ++ |
| 11695 | ++ |
| 11696 | + fi |
| 11697 | +-echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
| 11698 | +-echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
| 11699 | ++{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
| 11700 | ++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; } |
| 11701 | + if test $ac_cv_func_mmap_fixed_mapped = yes; then |
| 11702 | + |
| 11703 | + cat >>confdefs.h <<\_ACEOF |
| 11704 | +@@ -9393,18 +10070,19 @@ |
| 11705 | + for ac_header in sys/select.h sys/socket.h |
| 11706 | + do |
| 11707 | + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11708 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11709 | +- echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11710 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11711 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11712 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11713 | ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11714 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11715 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11716 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11717 | + fi |
| 11718 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11719 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11720 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11721 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11722 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 11723 | + else |
| 11724 | + # Is the header compilable? |
| 11725 | +-echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11726 | +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 11727 | ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11728 | ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 11729 | + cat >conftest.$ac_ext <<_ACEOF |
| 11730 | + /* confdefs.h. */ |
| 11731 | + _ACEOF |
| 11732 | +@@ -9415,41 +10093,37 @@ |
| 11733 | + #include <$ac_header> |
| 11734 | + _ACEOF |
| 11735 | + rm -f conftest.$ac_objext |
| 11736 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11737 | +- (eval $ac_compile) 2>conftest.er1 |
| 11738 | ++if { (ac_try="$ac_compile" |
| 11739 | ++case "(($ac_try" in |
| 11740 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11741 | ++ *) ac_try_echo=$ac_try;; |
| 11742 | ++esac |
| 11743 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11744 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 11745 | + ac_status=$? |
| 11746 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11747 | + rm -f conftest.er1 |
| 11748 | + cat conftest.err >&5 |
| 11749 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11750 | +- (exit $ac_status); } && |
| 11751 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 11752 | +- || test ! -s conftest.err' |
| 11753 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11754 | +- (eval $ac_try) 2>&5 |
| 11755 | +- ac_status=$? |
| 11756 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11757 | +- (exit $ac_status); }; } && |
| 11758 | +- { ac_try='test -s conftest.$ac_objext' |
| 11759 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11760 | +- (eval $ac_try) 2>&5 |
| 11761 | +- ac_status=$? |
| 11762 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11763 | +- (exit $ac_status); }; }; then |
| 11764 | ++ (exit $ac_status); } && { |
| 11765 | ++ test -z "$ac_c_werror_flag" || |
| 11766 | ++ test ! -s conftest.err |
| 11767 | ++ } && test -s conftest.$ac_objext; then |
| 11768 | + ac_header_compiler=yes |
| 11769 | + else |
| 11770 | + echo "$as_me: failed program was:" >&5 |
| 11771 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 11772 | + |
| 11773 | +-ac_header_compiler=no |
| 11774 | ++ ac_header_compiler=no |
| 11775 | + fi |
| 11776 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11777 | +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11778 | +-echo "${ECHO_T}$ac_header_compiler" >&6 |
| 11779 | ++ |
| 11780 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11781 | ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11782 | ++echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 11783 | + |
| 11784 | + # Is the header present? |
| 11785 | +-echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11786 | +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 11787 | ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11788 | ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 11789 | + cat >conftest.$ac_ext <<_ACEOF |
| 11790 | + /* confdefs.h. */ |
| 11791 | + _ACEOF |
| 11792 | +@@ -9458,24 +10132,22 @@ |
| 11793 | + /* end confdefs.h. */ |
| 11794 | + #include <$ac_header> |
| 11795 | + _ACEOF |
| 11796 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 11797 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 11798 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 11799 | ++case "(($ac_try" in |
| 11800 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11801 | ++ *) ac_try_echo=$ac_try;; |
| 11802 | ++esac |
| 11803 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11804 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 11805 | + ac_status=$? |
| 11806 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11807 | + rm -f conftest.er1 |
| 11808 | + cat conftest.err >&5 |
| 11809 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11810 | +- (exit $ac_status); } >/dev/null; then |
| 11811 | +- if test -s conftest.err; then |
| 11812 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 11813 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 11814 | +- else |
| 11815 | +- ac_cpp_err= |
| 11816 | +- fi |
| 11817 | +-else |
| 11818 | +- ac_cpp_err=yes |
| 11819 | +-fi |
| 11820 | +-if test -z "$ac_cpp_err"; then |
| 11821 | ++ (exit $ac_status); } >/dev/null && { |
| 11822 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 11823 | ++ test ! -s conftest.err |
| 11824 | ++ }; then |
| 11825 | + ac_header_preproc=yes |
| 11826 | + else |
| 11827 | + echo "$as_me: failed program was:" >&5 |
| 11828 | +@@ -9483,9 +10155,10 @@ |
| 11829 | + |
| 11830 | + ac_header_preproc=no |
| 11831 | + fi |
| 11832 | ++ |
| 11833 | + rm -f conftest.err conftest.$ac_ext |
| 11834 | +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11835 | +-echo "${ECHO_T}$ac_header_preproc" >&6 |
| 11836 | ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11837 | ++echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 11838 | + |
| 11839 | + # So? What about this header? |
| 11840 | + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 11841 | +@@ -9509,25 +10182,19 @@ |
| 11842 | + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 11843 | + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 11844 | + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 11845 | +- ( |
| 11846 | +- cat <<\_ASBOX |
| 11847 | +-## ---------------------------------- ## |
| 11848 | +-## Report this to the advance lists. ## |
| 11849 | +-## ---------------------------------- ## |
| 11850 | +-_ASBOX |
| 11851 | +- ) | |
| 11852 | +- sed "s/^/$as_me: WARNING: /" >&2 |
| 11853 | ++ |
| 11854 | + ;; |
| 11855 | + esac |
| 11856 | +-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11857 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11858 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11859 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11860 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11861 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11862 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11863 | + else |
| 11864 | + eval "$as_ac_Header=\$ac_header_preproc" |
| 11865 | + fi |
| 11866 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11867 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11868 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11869 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11870 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 11871 | + |
| 11872 | + fi |
| 11873 | + if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 11874 | +@@ -9539,13 +10206,13 @@ |
| 11875 | + |
| 11876 | + done |
| 11877 | + |
| 11878 | +-echo "$as_me:$LINENO: checking types of arguments for select" >&5 |
| 11879 | +-echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6 |
| 11880 | ++{ echo "$as_me:$LINENO: checking types of arguments for select" >&5 |
| 11881 | ++echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; } |
| 11882 | + if test "${ac_cv_func_select_args+set}" = set; then |
| 11883 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11884 | + else |
| 11885 | + for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
| 11886 | +- for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do |
| 11887 | ++ for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do |
| 11888 | + for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do |
| 11889 | + cat >conftest.$ac_ext <<_ACEOF |
| 11890 | + /* confdefs.h. */ |
| 11891 | +@@ -9554,10 +10221,10 @@ |
| 11892 | + cat >>conftest.$ac_ext <<_ACEOF |
| 11893 | + /* end confdefs.h. */ |
| 11894 | + $ac_includes_default |
| 11895 | +-#if HAVE_SYS_SELECT_H |
| 11896 | ++#ifdef HAVE_SYS_SELECT_H |
| 11897 | + # include <sys/select.h> |
| 11898 | + #endif |
| 11899 | +-#if HAVE_SYS_SOCKET_H |
| 11900 | ++#ifdef HAVE_SYS_SOCKET_H |
| 11901 | + # include <sys/socket.h> |
| 11902 | + #endif |
| 11903 | + |
| 11904 | +@@ -9572,34 +10239,31 @@ |
| 11905 | + } |
| 11906 | + _ACEOF |
| 11907 | + rm -f conftest.$ac_objext |
| 11908 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11909 | +- (eval $ac_compile) 2>conftest.er1 |
| 11910 | ++if { (ac_try="$ac_compile" |
| 11911 | ++case "(($ac_try" in |
| 11912 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11913 | ++ *) ac_try_echo=$ac_try;; |
| 11914 | ++esac |
| 11915 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11916 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 11917 | + ac_status=$? |
| 11918 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 11919 | + rm -f conftest.er1 |
| 11920 | + cat conftest.err >&5 |
| 11921 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11922 | +- (exit $ac_status); } && |
| 11923 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 11924 | +- || test ! -s conftest.err' |
| 11925 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11926 | +- (eval $ac_try) 2>&5 |
| 11927 | +- ac_status=$? |
| 11928 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11929 | +- (exit $ac_status); }; } && |
| 11930 | +- { ac_try='test -s conftest.$ac_objext' |
| 11931 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11932 | +- (eval $ac_try) 2>&5 |
| 11933 | +- ac_status=$? |
| 11934 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11935 | +- (exit $ac_status); }; }; then |
| 11936 | ++ (exit $ac_status); } && { |
| 11937 | ++ test -z "$ac_c_werror_flag" || |
| 11938 | ++ test ! -s conftest.err |
| 11939 | ++ } && test -s conftest.$ac_objext; then |
| 11940 | + ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 |
| 11941 | + else |
| 11942 | + echo "$as_me: failed program was:" >&5 |
| 11943 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 11944 | + |
| 11945 | ++ |
| 11946 | + fi |
| 11947 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11948 | ++ |
| 11949 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11950 | + done |
| 11951 | + done |
| 11952 | + done |
| 11953 | +@@ -9607,8 +10271,8 @@ |
| 11954 | + : ${ac_cv_func_select_args='int,int *,struct timeval *'} |
| 11955 | + |
| 11956 | + fi |
| 11957 | +-echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 |
| 11958 | +-echo "${ECHO_T}$ac_cv_func_select_args" >&6 |
| 11959 | ++{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 |
| 11960 | ++echo "${ECHO_T}$ac_cv_func_select_args" >&6; } |
| 11961 | + ac_save_IFS=$IFS; IFS=',' |
| 11962 | + set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` |
| 11963 | + IFS=$ac_save_IFS |
| 11964 | +@@ -9634,9 +10298,9 @@ |
| 11965 | + for ac_func in vprintf |
| 11966 | + do |
| 11967 | + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11968 | +-echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11969 | +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 11970 | +-if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 11971 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11972 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 11973 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11974 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11975 | + else |
| 11976 | + cat >conftest.$ac_ext <<_ACEOF |
| 11977 | +@@ -9662,75 +10326,67 @@ |
| 11978 | + |
| 11979 | + #undef $ac_func |
| 11980 | + |
| 11981 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 11982 | ++/* Override any GCC internal prototype to avoid an error. |
| 11983 | ++ Use char because int might match the return type of a GCC |
| 11984 | ++ builtin and then its argument prototype would still apply. */ |
| 11985 | + #ifdef __cplusplus |
| 11986 | + extern "C" |
| 11987 | +-{ |
| 11988 | + #endif |
| 11989 | +-/* We use char because int might match the return type of a gcc2 |
| 11990 | +- builtin and then its argument prototype would still apply. */ |
| 11991 | + char $ac_func (); |
| 11992 | + /* The GNU C library defines this for functions which it implements |
| 11993 | + to always fail with ENOSYS. Some functions are actually named |
| 11994 | + something starting with __ and the normal name is an alias. */ |
| 11995 | +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 11996 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 11997 | + choke me |
| 11998 | +-#else |
| 11999 | +-char (*f) () = $ac_func; |
| 12000 | +-#endif |
| 12001 | +-#ifdef __cplusplus |
| 12002 | +-} |
| 12003 | + #endif |
| 12004 | + |
| 12005 | + int |
| 12006 | + main () |
| 12007 | + { |
| 12008 | +-return f != $ac_func; |
| 12009 | ++return $ac_func (); |
| 12010 | + ; |
| 12011 | + return 0; |
| 12012 | + } |
| 12013 | + _ACEOF |
| 12014 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12015 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12016 | +- (eval $ac_link) 2>conftest.er1 |
| 12017 | ++if { (ac_try="$ac_link" |
| 12018 | ++case "(($ac_try" in |
| 12019 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12020 | ++ *) ac_try_echo=$ac_try;; |
| 12021 | ++esac |
| 12022 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12023 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12024 | + ac_status=$? |
| 12025 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12026 | + rm -f conftest.er1 |
| 12027 | + cat conftest.err >&5 |
| 12028 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12029 | +- (exit $ac_status); } && |
| 12030 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12031 | +- || test ! -s conftest.err' |
| 12032 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12033 | +- (eval $ac_try) 2>&5 |
| 12034 | +- ac_status=$? |
| 12035 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12036 | +- (exit $ac_status); }; } && |
| 12037 | +- { ac_try='test -s conftest$ac_exeext' |
| 12038 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12039 | +- (eval $ac_try) 2>&5 |
| 12040 | +- ac_status=$? |
| 12041 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12042 | +- (exit $ac_status); }; }; then |
| 12043 | ++ (exit $ac_status); } && { |
| 12044 | ++ test -z "$ac_c_werror_flag" || |
| 12045 | ++ test ! -s conftest.err |
| 12046 | ++ } && test -s conftest$ac_exeext && |
| 12047 | ++ $as_test_x conftest$ac_exeext; then |
| 12048 | + eval "$as_ac_var=yes" |
| 12049 | + else |
| 12050 | + echo "$as_me: failed program was:" >&5 |
| 12051 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12052 | + |
| 12053 | +-eval "$as_ac_var=no" |
| 12054 | ++ eval "$as_ac_var=no" |
| 12055 | + fi |
| 12056 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12057 | ++ |
| 12058 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12059 | + conftest$ac_exeext conftest.$ac_ext |
| 12060 | + fi |
| 12061 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 12062 | +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 12063 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 12064 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12065 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 12066 | + if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 12067 | + cat >>confdefs.h <<_ACEOF |
| 12068 | + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12069 | + _ACEOF |
| 12070 | + |
| 12071 | +-echo "$as_me:$LINENO: checking for _doprnt" >&5 |
| 12072 | +-echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 |
| 12073 | ++{ echo "$as_me:$LINENO: checking for _doprnt" >&5 |
| 12074 | ++echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } |
| 12075 | + if test "${ac_cv_func__doprnt+set}" = set; then |
| 12076 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12077 | + else |
| 12078 | +@@ -9757,88 +10413,175 @@ |
| 12079 | + |
| 12080 | + #undef _doprnt |
| 12081 | + |
| 12082 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 12083 | ++/* Override any GCC internal prototype to avoid an error. |
| 12084 | ++ Use char because int might match the return type of a GCC |
| 12085 | ++ builtin and then its argument prototype would still apply. */ |
| 12086 | + #ifdef __cplusplus |
| 12087 | + extern "C" |
| 12088 | +-{ |
| 12089 | + #endif |
| 12090 | +-/* We use char because int might match the return type of a gcc2 |
| 12091 | +- builtin and then its argument prototype would still apply. */ |
| 12092 | + char _doprnt (); |
| 12093 | + /* The GNU C library defines this for functions which it implements |
| 12094 | + to always fail with ENOSYS. Some functions are actually named |
| 12095 | + something starting with __ and the normal name is an alias. */ |
| 12096 | +-#if defined (__stub__doprnt) || defined (__stub____doprnt) |
| 12097 | ++#if defined __stub__doprnt || defined __stub____doprnt |
| 12098 | + choke me |
| 12099 | ++#endif |
| 12100 | ++ |
| 12101 | ++int |
| 12102 | ++main () |
| 12103 | ++{ |
| 12104 | ++return _doprnt (); |
| 12105 | ++ ; |
| 12106 | ++ return 0; |
| 12107 | ++} |
| 12108 | ++_ACEOF |
| 12109 | ++rm -f conftest.$ac_objext conftest$ac_exeext |
| 12110 | ++if { (ac_try="$ac_link" |
| 12111 | ++case "(($ac_try" in |
| 12112 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12113 | ++ *) ac_try_echo=$ac_try;; |
| 12114 | ++esac |
| 12115 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12116 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12117 | ++ ac_status=$? |
| 12118 | ++ grep -v '^ *+' conftest.er1 >conftest.err |
| 12119 | ++ rm -f conftest.er1 |
| 12120 | ++ cat conftest.err >&5 |
| 12121 | ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12122 | ++ (exit $ac_status); } && { |
| 12123 | ++ test -z "$ac_c_werror_flag" || |
| 12124 | ++ test ! -s conftest.err |
| 12125 | ++ } && test -s conftest$ac_exeext && |
| 12126 | ++ $as_test_x conftest$ac_exeext; then |
| 12127 | ++ ac_cv_func__doprnt=yes |
| 12128 | ++else |
| 12129 | ++ echo "$as_me: failed program was:" >&5 |
| 12130 | ++sed 's/^/| /' conftest.$ac_ext >&5 |
| 12131 | ++ |
| 12132 | ++ ac_cv_func__doprnt=no |
| 12133 | ++fi |
| 12134 | ++ |
| 12135 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12136 | ++ conftest$ac_exeext conftest.$ac_ext |
| 12137 | ++fi |
| 12138 | ++{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 |
| 12139 | ++echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } |
| 12140 | ++if test $ac_cv_func__doprnt = yes; then |
| 12141 | ++ |
| 12142 | ++cat >>confdefs.h <<\_ACEOF |
| 12143 | ++#define HAVE_DOPRNT 1 |
| 12144 | ++_ACEOF |
| 12145 | ++ |
| 12146 | ++fi |
| 12147 | ++ |
| 12148 | ++fi |
| 12149 | ++done |
| 12150 | ++ |
| 12151 | ++ |
| 12152 | ++ |
| 12153 | ++ |
| 12154 | ++for ac_func in strcasecmp strerror |
| 12155 | ++do |
| 12156 | ++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12157 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12158 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 12159 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12160 | ++ echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12161 | ++else |
| 12162 | ++ cat >conftest.$ac_ext <<_ACEOF |
| 12163 | ++/* confdefs.h. */ |
| 12164 | ++_ACEOF |
| 12165 | ++cat confdefs.h >>conftest.$ac_ext |
| 12166 | ++cat >>conftest.$ac_ext <<_ACEOF |
| 12167 | ++/* end confdefs.h. */ |
| 12168 | ++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 12169 | ++ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 12170 | ++#define $ac_func innocuous_$ac_func |
| 12171 | ++ |
| 12172 | ++/* System header to define __stub macros and hopefully few prototypes, |
| 12173 | ++ which can conflict with char $ac_func (); below. |
| 12174 | ++ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 12175 | ++ <limits.h> exists even on freestanding compilers. */ |
| 12176 | ++ |
| 12177 | ++#ifdef __STDC__ |
| 12178 | ++# include <limits.h> |
| 12179 | + #else |
| 12180 | +-char (*f) () = _doprnt; |
| 12181 | ++# include <assert.h> |
| 12182 | + #endif |
| 12183 | ++ |
| 12184 | ++#undef $ac_func |
| 12185 | ++ |
| 12186 | ++/* Override any GCC internal prototype to avoid an error. |
| 12187 | ++ Use char because int might match the return type of a GCC |
| 12188 | ++ builtin and then its argument prototype would still apply. */ |
| 12189 | + #ifdef __cplusplus |
| 12190 | +-} |
| 12191 | ++extern "C" |
| 12192 | ++#endif |
| 12193 | ++char $ac_func (); |
| 12194 | ++/* The GNU C library defines this for functions which it implements |
| 12195 | ++ to always fail with ENOSYS. Some functions are actually named |
| 12196 | ++ something starting with __ and the normal name is an alias. */ |
| 12197 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 12198 | ++choke me |
| 12199 | + #endif |
| 12200 | + |
| 12201 | + int |
| 12202 | + main () |
| 12203 | + { |
| 12204 | +-return f != _doprnt; |
| 12205 | ++return $ac_func (); |
| 12206 | + ; |
| 12207 | + return 0; |
| 12208 | + } |
| 12209 | + _ACEOF |
| 12210 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12211 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12212 | +- (eval $ac_link) 2>conftest.er1 |
| 12213 | ++if { (ac_try="$ac_link" |
| 12214 | ++case "(($ac_try" in |
| 12215 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12216 | ++ *) ac_try_echo=$ac_try;; |
| 12217 | ++esac |
| 12218 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12219 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12220 | + ac_status=$? |
| 12221 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12222 | + rm -f conftest.er1 |
| 12223 | + cat conftest.err >&5 |
| 12224 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12225 | +- (exit $ac_status); } && |
| 12226 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12227 | +- || test ! -s conftest.err' |
| 12228 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12229 | +- (eval $ac_try) 2>&5 |
| 12230 | +- ac_status=$? |
| 12231 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12232 | +- (exit $ac_status); }; } && |
| 12233 | +- { ac_try='test -s conftest$ac_exeext' |
| 12234 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12235 | +- (eval $ac_try) 2>&5 |
| 12236 | +- ac_status=$? |
| 12237 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12238 | +- (exit $ac_status); }; }; then |
| 12239 | +- ac_cv_func__doprnt=yes |
| 12240 | ++ (exit $ac_status); } && { |
| 12241 | ++ test -z "$ac_c_werror_flag" || |
| 12242 | ++ test ! -s conftest.err |
| 12243 | ++ } && test -s conftest$ac_exeext && |
| 12244 | ++ $as_test_x conftest$ac_exeext; then |
| 12245 | ++ eval "$as_ac_var=yes" |
| 12246 | + else |
| 12247 | + echo "$as_me: failed program was:" >&5 |
| 12248 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12249 | + |
| 12250 | +-ac_cv_func__doprnt=no |
| 12251 | ++ eval "$as_ac_var=no" |
| 12252 | + fi |
| 12253 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12254 | ++ |
| 12255 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12256 | + conftest$ac_exeext conftest.$ac_ext |
| 12257 | + fi |
| 12258 | +-echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 |
| 12259 | +-echo "${ECHO_T}$ac_cv_func__doprnt" >&6 |
| 12260 | +-if test $ac_cv_func__doprnt = yes; then |
| 12261 | +- |
| 12262 | +-cat >>confdefs.h <<\_ACEOF |
| 12263 | +-#define HAVE_DOPRNT 1 |
| 12264 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 12265 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12266 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 12267 | ++if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 12268 | ++ cat >>confdefs.h <<_ACEOF |
| 12269 | ++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12270 | + _ACEOF |
| 12271 | + |
| 12272 | + fi |
| 12273 | +- |
| 12274 | +-fi |
| 12275 | + done |
| 12276 | + |
| 12277 | ++ if test $ac_enable_backtrace = auto; then |
| 12278 | + |
| 12279 | + |
| 12280 | +- |
| 12281 | +-for ac_func in strcasecmp strerror |
| 12282 | ++for ac_func in backtrace backtrace_symbols |
| 12283 | + do |
| 12284 | + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12285 | +-echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12286 | +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 12287 | +-if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 12288 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12289 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 12290 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12291 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12292 | + else |
| 12293 | + cat >conftest.$ac_ext <<_ACEOF |
| 12294 | +@@ -9864,68 +10607,60 @@ |
| 12295 | + |
| 12296 | + #undef $ac_func |
| 12297 | + |
| 12298 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 12299 | ++/* Override any GCC internal prototype to avoid an error. |
| 12300 | ++ Use char because int might match the return type of a GCC |
| 12301 | ++ builtin and then its argument prototype would still apply. */ |
| 12302 | + #ifdef __cplusplus |
| 12303 | + extern "C" |
| 12304 | +-{ |
| 12305 | + #endif |
| 12306 | +-/* We use char because int might match the return type of a gcc2 |
| 12307 | +- builtin and then its argument prototype would still apply. */ |
| 12308 | + char $ac_func (); |
| 12309 | + /* The GNU C library defines this for functions which it implements |
| 12310 | + to always fail with ENOSYS. Some functions are actually named |
| 12311 | + something starting with __ and the normal name is an alias. */ |
| 12312 | +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 12313 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 12314 | + choke me |
| 12315 | +-#else |
| 12316 | +-char (*f) () = $ac_func; |
| 12317 | +-#endif |
| 12318 | +-#ifdef __cplusplus |
| 12319 | +-} |
| 12320 | + #endif |
| 12321 | + |
| 12322 | + int |
| 12323 | + main () |
| 12324 | + { |
| 12325 | +-return f != $ac_func; |
| 12326 | ++return $ac_func (); |
| 12327 | + ; |
| 12328 | + return 0; |
| 12329 | + } |
| 12330 | + _ACEOF |
| 12331 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12332 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12333 | +- (eval $ac_link) 2>conftest.er1 |
| 12334 | ++if { (ac_try="$ac_link" |
| 12335 | ++case "(($ac_try" in |
| 12336 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12337 | ++ *) ac_try_echo=$ac_try;; |
| 12338 | ++esac |
| 12339 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12340 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12341 | + ac_status=$? |
| 12342 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12343 | + rm -f conftest.er1 |
| 12344 | + cat conftest.err >&5 |
| 12345 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12346 | +- (exit $ac_status); } && |
| 12347 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12348 | +- || test ! -s conftest.err' |
| 12349 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12350 | +- (eval $ac_try) 2>&5 |
| 12351 | +- ac_status=$? |
| 12352 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12353 | +- (exit $ac_status); }; } && |
| 12354 | +- { ac_try='test -s conftest$ac_exeext' |
| 12355 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12356 | +- (eval $ac_try) 2>&5 |
| 12357 | +- ac_status=$? |
| 12358 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12359 | +- (exit $ac_status); }; }; then |
| 12360 | ++ (exit $ac_status); } && { |
| 12361 | ++ test -z "$ac_c_werror_flag" || |
| 12362 | ++ test ! -s conftest.err |
| 12363 | ++ } && test -s conftest$ac_exeext && |
| 12364 | ++ $as_test_x conftest$ac_exeext; then |
| 12365 | + eval "$as_ac_var=yes" |
| 12366 | + else |
| 12367 | + echo "$as_me: failed program was:" >&5 |
| 12368 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12369 | + |
| 12370 | +-eval "$as_ac_var=no" |
| 12371 | ++ eval "$as_ac_var=no" |
| 12372 | + fi |
| 12373 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12374 | ++ |
| 12375 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12376 | + conftest$ac_exeext conftest.$ac_ext |
| 12377 | + fi |
| 12378 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 12379 | +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 12380 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 12381 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12382 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 12383 | + if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 12384 | + cat >>confdefs.h <<_ACEOF |
| 12385 | + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12386 | +@@ -9934,16 +10669,15 @@ |
| 12387 | + fi |
| 12388 | + done |
| 12389 | + |
| 12390 | ++ fi |
| 12391 | + |
| 12392 | + |
| 12393 | +- |
| 12394 | +- |
| 12395 | +-for ac_func in uname sysconf backtrace backtrace_symbols |
| 12396 | ++for ac_func in uname sysconf |
| 12397 | + do |
| 12398 | + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12399 | +-echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12400 | +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 12401 | +-if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 12402 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12403 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 12404 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12405 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12406 | + else |
| 12407 | + cat >conftest.$ac_ext <<_ACEOF |
| 12408 | +@@ -9969,68 +10703,60 @@ |
| 12409 | + |
| 12410 | + #undef $ac_func |
| 12411 | + |
| 12412 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 12413 | ++/* Override any GCC internal prototype to avoid an error. |
| 12414 | ++ Use char because int might match the return type of a GCC |
| 12415 | ++ builtin and then its argument prototype would still apply. */ |
| 12416 | + #ifdef __cplusplus |
| 12417 | + extern "C" |
| 12418 | +-{ |
| 12419 | + #endif |
| 12420 | +-/* We use char because int might match the return type of a gcc2 |
| 12421 | +- builtin and then its argument prototype would still apply. */ |
| 12422 | + char $ac_func (); |
| 12423 | + /* The GNU C library defines this for functions which it implements |
| 12424 | + to always fail with ENOSYS. Some functions are actually named |
| 12425 | + something starting with __ and the normal name is an alias. */ |
| 12426 | +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 12427 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 12428 | + choke me |
| 12429 | +-#else |
| 12430 | +-char (*f) () = $ac_func; |
| 12431 | +-#endif |
| 12432 | +-#ifdef __cplusplus |
| 12433 | +-} |
| 12434 | + #endif |
| 12435 | + |
| 12436 | + int |
| 12437 | + main () |
| 12438 | + { |
| 12439 | +-return f != $ac_func; |
| 12440 | ++return $ac_func (); |
| 12441 | + ; |
| 12442 | + return 0; |
| 12443 | + } |
| 12444 | + _ACEOF |
| 12445 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12446 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12447 | +- (eval $ac_link) 2>conftest.er1 |
| 12448 | ++if { (ac_try="$ac_link" |
| 12449 | ++case "(($ac_try" in |
| 12450 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12451 | ++ *) ac_try_echo=$ac_try;; |
| 12452 | ++esac |
| 12453 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12454 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12455 | + ac_status=$? |
| 12456 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12457 | + rm -f conftest.er1 |
| 12458 | + cat conftest.err >&5 |
| 12459 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12460 | +- (exit $ac_status); } && |
| 12461 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12462 | +- || test ! -s conftest.err' |
| 12463 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12464 | +- (eval $ac_try) 2>&5 |
| 12465 | +- ac_status=$? |
| 12466 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12467 | +- (exit $ac_status); }; } && |
| 12468 | +- { ac_try='test -s conftest$ac_exeext' |
| 12469 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12470 | +- (eval $ac_try) 2>&5 |
| 12471 | +- ac_status=$? |
| 12472 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12473 | +- (exit $ac_status); }; }; then |
| 12474 | ++ (exit $ac_status); } && { |
| 12475 | ++ test -z "$ac_c_werror_flag" || |
| 12476 | ++ test ! -s conftest.err |
| 12477 | ++ } && test -s conftest$ac_exeext && |
| 12478 | ++ $as_test_x conftest$ac_exeext; then |
| 12479 | + eval "$as_ac_var=yes" |
| 12480 | + else |
| 12481 | + echo "$as_me: failed program was:" >&5 |
| 12482 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12483 | + |
| 12484 | +-eval "$as_ac_var=no" |
| 12485 | ++ eval "$as_ac_var=no" |
| 12486 | + fi |
| 12487 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12488 | ++ |
| 12489 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12490 | + conftest$ac_exeext conftest.$ac_ext |
| 12491 | + fi |
| 12492 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 12493 | +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 12494 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 12495 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12496 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 12497 | + if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 12498 | + cat >>confdefs.h <<_ACEOF |
| 12499 | + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12500 | +@@ -10048,9 +10774,9 @@ |
| 12501 | + for ac_func in flockfile funlockfile fread_unlocked fwrite_unlocked fgetc_unlocked feof_unlocked |
| 12502 | + do |
| 12503 | + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12504 | +-echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12505 | +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 12506 | +-if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 12507 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12508 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 12509 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12510 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12511 | + else |
| 12512 | + cat >conftest.$ac_ext <<_ACEOF |
| 12513 | +@@ -10076,68 +10802,60 @@ |
| 12514 | + |
| 12515 | + #undef $ac_func |
| 12516 | + |
| 12517 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 12518 | ++/* Override any GCC internal prototype to avoid an error. |
| 12519 | ++ Use char because int might match the return type of a GCC |
| 12520 | ++ builtin and then its argument prototype would still apply. */ |
| 12521 | + #ifdef __cplusplus |
| 12522 | + extern "C" |
| 12523 | +-{ |
| 12524 | + #endif |
| 12525 | +-/* We use char because int might match the return type of a gcc2 |
| 12526 | +- builtin and then its argument prototype would still apply. */ |
| 12527 | + char $ac_func (); |
| 12528 | + /* The GNU C library defines this for functions which it implements |
| 12529 | + to always fail with ENOSYS. Some functions are actually named |
| 12530 | + something starting with __ and the normal name is an alias. */ |
| 12531 | +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 12532 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 12533 | + choke me |
| 12534 | +-#else |
| 12535 | +-char (*f) () = $ac_func; |
| 12536 | +-#endif |
| 12537 | +-#ifdef __cplusplus |
| 12538 | +-} |
| 12539 | + #endif |
| 12540 | + |
| 12541 | + int |
| 12542 | + main () |
| 12543 | + { |
| 12544 | +-return f != $ac_func; |
| 12545 | ++return $ac_func (); |
| 12546 | + ; |
| 12547 | + return 0; |
| 12548 | + } |
| 12549 | + _ACEOF |
| 12550 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12551 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12552 | +- (eval $ac_link) 2>conftest.er1 |
| 12553 | ++if { (ac_try="$ac_link" |
| 12554 | ++case "(($ac_try" in |
| 12555 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12556 | ++ *) ac_try_echo=$ac_try;; |
| 12557 | ++esac |
| 12558 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12559 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12560 | + ac_status=$? |
| 12561 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12562 | + rm -f conftest.er1 |
| 12563 | + cat conftest.err >&5 |
| 12564 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12565 | +- (exit $ac_status); } && |
| 12566 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12567 | +- || test ! -s conftest.err' |
| 12568 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12569 | +- (eval $ac_try) 2>&5 |
| 12570 | +- ac_status=$? |
| 12571 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12572 | +- (exit $ac_status); }; } && |
| 12573 | +- { ac_try='test -s conftest$ac_exeext' |
| 12574 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12575 | +- (eval $ac_try) 2>&5 |
| 12576 | +- ac_status=$? |
| 12577 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12578 | +- (exit $ac_status); }; }; then |
| 12579 | ++ (exit $ac_status); } && { |
| 12580 | ++ test -z "$ac_c_werror_flag" || |
| 12581 | ++ test ! -s conftest.err |
| 12582 | ++ } && test -s conftest$ac_exeext && |
| 12583 | ++ $as_test_x conftest$ac_exeext; then |
| 12584 | + eval "$as_ac_var=yes" |
| 12585 | + else |
| 12586 | + echo "$as_me: failed program was:" >&5 |
| 12587 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12588 | + |
| 12589 | +-eval "$as_ac_var=no" |
| 12590 | ++ eval "$as_ac_var=no" |
| 12591 | + fi |
| 12592 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12593 | ++ |
| 12594 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12595 | + conftest$ac_exeext conftest.$ac_ext |
| 12596 | + fi |
| 12597 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 12598 | +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 12599 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 12600 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12601 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 12602 | + if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 12603 | + cat >>confdefs.h <<_ACEOF |
| 12604 | + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12605 | +@@ -10151,9 +10869,9 @@ |
| 12606 | + for ac_func in iopl mprotect |
| 12607 | + do |
| 12608 | + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12609 | +-echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12610 | +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 12611 | +-if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 12612 | ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12613 | ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 12614 | ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12615 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12616 | + else |
| 12617 | + cat >conftest.$ac_ext <<_ACEOF |
| 12618 | +@@ -10179,68 +10897,60 @@ |
| 12619 | + |
| 12620 | + #undef $ac_func |
| 12621 | + |
| 12622 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 12623 | ++/* Override any GCC internal prototype to avoid an error. |
| 12624 | ++ Use char because int might match the return type of a GCC |
| 12625 | ++ builtin and then its argument prototype would still apply. */ |
| 12626 | + #ifdef __cplusplus |
| 12627 | + extern "C" |
| 12628 | +-{ |
| 12629 | + #endif |
| 12630 | +-/* We use char because int might match the return type of a gcc2 |
| 12631 | +- builtin and then its argument prototype would still apply. */ |
| 12632 | + char $ac_func (); |
| 12633 | + /* The GNU C library defines this for functions which it implements |
| 12634 | + to always fail with ENOSYS. Some functions are actually named |
| 12635 | + something starting with __ and the normal name is an alias. */ |
| 12636 | +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 12637 | ++#if defined __stub_$ac_func || defined __stub___$ac_func |
| 12638 | + choke me |
| 12639 | +-#else |
| 12640 | +-char (*f) () = $ac_func; |
| 12641 | +-#endif |
| 12642 | +-#ifdef __cplusplus |
| 12643 | +-} |
| 12644 | + #endif |
| 12645 | + |
| 12646 | + int |
| 12647 | + main () |
| 12648 | + { |
| 12649 | +-return f != $ac_func; |
| 12650 | ++return $ac_func (); |
| 12651 | + ; |
| 12652 | + return 0; |
| 12653 | + } |
| 12654 | + _ACEOF |
| 12655 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12656 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12657 | +- (eval $ac_link) 2>conftest.er1 |
| 12658 | ++if { (ac_try="$ac_link" |
| 12659 | ++case "(($ac_try" in |
| 12660 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12661 | ++ *) ac_try_echo=$ac_try;; |
| 12662 | ++esac |
| 12663 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12664 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12665 | + ac_status=$? |
| 12666 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12667 | + rm -f conftest.er1 |
| 12668 | + cat conftest.err >&5 |
| 12669 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12670 | +- (exit $ac_status); } && |
| 12671 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12672 | +- || test ! -s conftest.err' |
| 12673 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12674 | +- (eval $ac_try) 2>&5 |
| 12675 | +- ac_status=$? |
| 12676 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12677 | +- (exit $ac_status); }; } && |
| 12678 | +- { ac_try='test -s conftest$ac_exeext' |
| 12679 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12680 | +- (eval $ac_try) 2>&5 |
| 12681 | +- ac_status=$? |
| 12682 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12683 | +- (exit $ac_status); }; }; then |
| 12684 | ++ (exit $ac_status); } && { |
| 12685 | ++ test -z "$ac_c_werror_flag" || |
| 12686 | ++ test ! -s conftest.err |
| 12687 | ++ } && test -s conftest$ac_exeext && |
| 12688 | ++ $as_test_x conftest$ac_exeext; then |
| 12689 | + eval "$as_ac_var=yes" |
| 12690 | + else |
| 12691 | + echo "$as_me: failed program was:" >&5 |
| 12692 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12693 | + |
| 12694 | +-eval "$as_ac_var=no" |
| 12695 | ++ eval "$as_ac_var=no" |
| 12696 | + fi |
| 12697 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12698 | ++ |
| 12699 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12700 | + conftest$ac_exeext conftest.$ac_ext |
| 12701 | + fi |
| 12702 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 12703 | +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 12704 | ++ac_res=`eval echo '${'$as_ac_var'}'` |
| 12705 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12706 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 12707 | + if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 12708 | + cat >>confdefs.h <<_ACEOF |
| 12709 | + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12710 | +@@ -10249,8 +10959,8 @@ |
| 12711 | + fi |
| 12712 | + done |
| 12713 | + |
| 12714 | +- echo "$as_me:$LINENO: checking for port in/out" >&5 |
| 12715 | +-echo $ECHO_N "checking for port in/out... $ECHO_C" >&6 |
| 12716 | ++ { echo "$as_me:$LINENO: checking for port in/out" >&5 |
| 12717 | ++echo $ECHO_N "checking for port in/out... $ECHO_C" >&6; } |
| 12718 | + cat >conftest.$ac_ext <<_ACEOF |
| 12719 | + /* confdefs.h. */ |
| 12720 | + _ACEOF |
| 12721 | +@@ -10271,38 +10981,35 @@ |
| 12722 | + } |
| 12723 | + _ACEOF |
| 12724 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12725 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12726 | +- (eval $ac_link) 2>conftest.er1 |
| 12727 | ++if { (ac_try="$ac_link" |
| 12728 | ++case "(($ac_try" in |
| 12729 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12730 | ++ *) ac_try_echo=$ac_try;; |
| 12731 | ++esac |
| 12732 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12733 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12734 | + ac_status=$? |
| 12735 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12736 | + rm -f conftest.er1 |
| 12737 | + cat conftest.err >&5 |
| 12738 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12739 | +- (exit $ac_status); } && |
| 12740 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12741 | +- || test ! -s conftest.err' |
| 12742 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12743 | +- (eval $ac_try) 2>&5 |
| 12744 | +- ac_status=$? |
| 12745 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12746 | +- (exit $ac_status); }; } && |
| 12747 | +- { ac_try='test -s conftest$ac_exeext' |
| 12748 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12749 | +- (eval $ac_try) 2>&5 |
| 12750 | +- ac_status=$? |
| 12751 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12752 | +- (exit $ac_status); }; }; then |
| 12753 | ++ (exit $ac_status); } && { |
| 12754 | ++ test -z "$ac_c_werror_flag" || |
| 12755 | ++ test ! -s conftest.err |
| 12756 | ++ } && test -s conftest$ac_exeext && |
| 12757 | ++ $as_test_x conftest$ac_exeext; then |
| 12758 | + ac_func_inout=yes |
| 12759 | + else |
| 12760 | + echo "$as_me: failed program was:" >&5 |
| 12761 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12762 | + |
| 12763 | +-ac_func_inout=no |
| 12764 | ++ ac_func_inout=no |
| 12765 | + fi |
| 12766 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12767 | ++ |
| 12768 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12769 | + conftest$ac_exeext conftest.$ac_ext |
| 12770 | +- echo "$as_me:$LINENO: result: $ac_func_inout" >&5 |
| 12771 | +-echo "${ECHO_T}$ac_func_inout" >&6 |
| 12772 | ++ { echo "$as_me:$LINENO: result: $ac_func_inout" >&5 |
| 12773 | ++echo "${ECHO_T}$ac_func_inout" >&6; } |
| 12774 | + if test $ac_func_inout = yes; then |
| 12775 | + |
| 12776 | + cat >>confdefs.h <<\_ACEOF |
| 12777 | +@@ -10338,17 +11045,17 @@ |
| 12778 | + fi |
| 12779 | + |
| 12780 | + # Checks for zlib |
| 12781 | +-# Check whether --enable-zlib or --disable-zlib was given. |
| 12782 | ++# Check whether --enable-zlib was given. |
| 12783 | + if test "${enable_zlib+set}" = set; then |
| 12784 | +- enableval="$enable_zlib" |
| 12785 | +- ac_lib_zlib=$enableval |
| 12786 | ++ enableval=$enable_zlib; ac_lib_zlib=$enableval |
| 12787 | + else |
| 12788 | + ac_lib_zlib=auto |
| 12789 | + |
| 12790 | +-fi; |
| 12791 | ++fi |
| 12792 | ++ |
| 12793 | + if test $ac_lib_zlib = auto; then |
| 12794 | +- echo "$as_me:$LINENO: checking for adler32 in -lz" >&5 |
| 12795 | +-echo $ECHO_N "checking for adler32 in -lz... $ECHO_C" >&6 |
| 12796 | ++ { echo "$as_me:$LINENO: checking for adler32 in -lz" >&5 |
| 12797 | ++echo $ECHO_N "checking for adler32 in -lz... $ECHO_C" >&6; } |
| 12798 | + if test "${ac_cv_lib_z_adler32+set}" = set; then |
| 12799 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12800 | + else |
| 12801 | +@@ -10361,56 +11068,53 @@ |
| 12802 | + cat >>conftest.$ac_ext <<_ACEOF |
| 12803 | + /* end confdefs.h. */ |
| 12804 | + |
| 12805 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 12806 | ++/* Override any GCC internal prototype to avoid an error. |
| 12807 | ++ Use char because int might match the return type of a GCC |
| 12808 | ++ builtin and then its argument prototype would still apply. */ |
| 12809 | + #ifdef __cplusplus |
| 12810 | + extern "C" |
| 12811 | + #endif |
| 12812 | +-/* We use char because int might match the return type of a gcc2 |
| 12813 | +- builtin and then its argument prototype would still apply. */ |
| 12814 | + char adler32 (); |
| 12815 | + int |
| 12816 | + main () |
| 12817 | + { |
| 12818 | +-adler32 (); |
| 12819 | ++return adler32 (); |
| 12820 | + ; |
| 12821 | + return 0; |
| 12822 | + } |
| 12823 | + _ACEOF |
| 12824 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12825 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12826 | +- (eval $ac_link) 2>conftest.er1 |
| 12827 | ++if { (ac_try="$ac_link" |
| 12828 | ++case "(($ac_try" in |
| 12829 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12830 | ++ *) ac_try_echo=$ac_try;; |
| 12831 | ++esac |
| 12832 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12833 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12834 | + ac_status=$? |
| 12835 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12836 | + rm -f conftest.er1 |
| 12837 | + cat conftest.err >&5 |
| 12838 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12839 | +- (exit $ac_status); } && |
| 12840 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12841 | +- || test ! -s conftest.err' |
| 12842 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12843 | +- (eval $ac_try) 2>&5 |
| 12844 | +- ac_status=$? |
| 12845 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12846 | +- (exit $ac_status); }; } && |
| 12847 | +- { ac_try='test -s conftest$ac_exeext' |
| 12848 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12849 | +- (eval $ac_try) 2>&5 |
| 12850 | +- ac_status=$? |
| 12851 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12852 | +- (exit $ac_status); }; }; then |
| 12853 | ++ (exit $ac_status); } && { |
| 12854 | ++ test -z "$ac_c_werror_flag" || |
| 12855 | ++ test ! -s conftest.err |
| 12856 | ++ } && test -s conftest$ac_exeext && |
| 12857 | ++ $as_test_x conftest$ac_exeext; then |
| 12858 | + ac_cv_lib_z_adler32=yes |
| 12859 | + else |
| 12860 | + echo "$as_me: failed program was:" >&5 |
| 12861 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12862 | + |
| 12863 | +-ac_cv_lib_z_adler32=no |
| 12864 | ++ ac_cv_lib_z_adler32=no |
| 12865 | + fi |
| 12866 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12867 | ++ |
| 12868 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12869 | + conftest$ac_exeext conftest.$ac_ext |
| 12870 | + LIBS=$ac_check_lib_save_LIBS |
| 12871 | + fi |
| 12872 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_z_adler32" >&5 |
| 12873 | +-echo "${ECHO_T}$ac_cv_lib_z_adler32" >&6 |
| 12874 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_adler32" >&5 |
| 12875 | ++echo "${ECHO_T}$ac_cv_lib_z_adler32" >&6; } |
| 12876 | + if test $ac_cv_lib_z_adler32 = yes; then |
| 12877 | + ac_lib_zlib=yes |
| 12878 | + else |
| 12879 | +@@ -10428,17 +11132,17 @@ |
| 12880 | + |
| 12881 | + |
| 12882 | + # Checks for expat |
| 12883 | +-# Check whether --enable-expat or --disable-expat was given. |
| 12884 | ++# Check whether --enable-expat was given. |
| 12885 | + if test "${enable_expat+set}" = set; then |
| 12886 | +- enableval="$enable_expat" |
| 12887 | +- ac_lib_expat=$enableval |
| 12888 | ++ enableval=$enable_expat; ac_lib_expat=$enableval |
| 12889 | + else |
| 12890 | + ac_lib_expat=auto |
| 12891 | + |
| 12892 | +-fi; |
| 12893 | ++fi |
| 12894 | ++ |
| 12895 | + if test $ac_lib_expat = auto; then |
| 12896 | +- echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5 |
| 12897 | +-echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6 |
| 12898 | ++ { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5 |
| 12899 | ++echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; } |
| 12900 | + if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then |
| 12901 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12902 | + else |
| 12903 | +@@ -10451,56 +11155,53 @@ |
| 12904 | + cat >>conftest.$ac_ext <<_ACEOF |
| 12905 | + /* end confdefs.h. */ |
| 12906 | + |
| 12907 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 12908 | ++/* Override any GCC internal prototype to avoid an error. |
| 12909 | ++ Use char because int might match the return type of a GCC |
| 12910 | ++ builtin and then its argument prototype would still apply. */ |
| 12911 | + #ifdef __cplusplus |
| 12912 | + extern "C" |
| 12913 | + #endif |
| 12914 | +-/* We use char because int might match the return type of a gcc2 |
| 12915 | +- builtin and then its argument prototype would still apply. */ |
| 12916 | + char XML_ParserCreate (); |
| 12917 | + int |
| 12918 | + main () |
| 12919 | + { |
| 12920 | +-XML_ParserCreate (); |
| 12921 | ++return XML_ParserCreate (); |
| 12922 | + ; |
| 12923 | + return 0; |
| 12924 | + } |
| 12925 | + _ACEOF |
| 12926 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 12927 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12928 | +- (eval $ac_link) 2>conftest.er1 |
| 12929 | ++if { (ac_try="$ac_link" |
| 12930 | ++case "(($ac_try" in |
| 12931 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12932 | ++ *) ac_try_echo=$ac_try;; |
| 12933 | ++esac |
| 12934 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12935 | ++ (eval "$ac_link") 2>conftest.er1 |
| 12936 | + ac_status=$? |
| 12937 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 12938 | + rm -f conftest.er1 |
| 12939 | + cat conftest.err >&5 |
| 12940 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12941 | +- (exit $ac_status); } && |
| 12942 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 12943 | +- || test ! -s conftest.err' |
| 12944 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12945 | +- (eval $ac_try) 2>&5 |
| 12946 | +- ac_status=$? |
| 12947 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12948 | +- (exit $ac_status); }; } && |
| 12949 | +- { ac_try='test -s conftest$ac_exeext' |
| 12950 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12951 | +- (eval $ac_try) 2>&5 |
| 12952 | +- ac_status=$? |
| 12953 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12954 | +- (exit $ac_status); }; }; then |
| 12955 | ++ (exit $ac_status); } && { |
| 12956 | ++ test -z "$ac_c_werror_flag" || |
| 12957 | ++ test ! -s conftest.err |
| 12958 | ++ } && test -s conftest$ac_exeext && |
| 12959 | ++ $as_test_x conftest$ac_exeext; then |
| 12960 | + ac_cv_lib_expat_XML_ParserCreate=yes |
| 12961 | + else |
| 12962 | + echo "$as_me: failed program was:" >&5 |
| 12963 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 12964 | + |
| 12965 | +-ac_cv_lib_expat_XML_ParserCreate=no |
| 12966 | ++ ac_cv_lib_expat_XML_ParserCreate=no |
| 12967 | + fi |
| 12968 | +-rm -f conftest.err conftest.$ac_objext \ |
| 12969 | ++ |
| 12970 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12971 | + conftest$ac_exeext conftest.$ac_ext |
| 12972 | + LIBS=$ac_check_lib_save_LIBS |
| 12973 | + fi |
| 12974 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 |
| 12975 | +-echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6 |
| 12976 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 |
| 12977 | ++echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; } |
| 12978 | + if test $ac_cv_lib_expat_XML_ParserCreate = yes; then |
| 12979 | + ac_lib_expat=yes |
| 12980 | + else |
| 12981 | +@@ -10518,17 +11219,17 @@ |
| 12982 | + |
| 12983 | + |
| 12984 | + # Checks for svgalib |
| 12985 | +-# Check whether --enable-svgalib or --disable-svgalib was given. |
| 12986 | ++# Check whether --enable-svgalib was given. |
| 12987 | + if test "${enable_svgalib+set}" = set; then |
| 12988 | +- enableval="$enable_svgalib" |
| 12989 | +- ac_lib_svgalib=$enableval |
| 12990 | ++ enableval=$enable_svgalib; ac_lib_svgalib=$enableval |
| 12991 | + else |
| 12992 | + ac_lib_svgalib=auto |
| 12993 | + |
| 12994 | +-fi; |
| 12995 | ++fi |
| 12996 | ++ |
| 12997 | + if test $ac_lib_svgalib = auto; then |
| 12998 | +- echo "$as_me:$LINENO: checking for vga_init in -lvga" >&5 |
| 12999 | +-echo $ECHO_N "checking for vga_init in -lvga... $ECHO_C" >&6 |
| 13000 | ++ { echo "$as_me:$LINENO: checking for vga_init in -lvga" >&5 |
| 13001 | ++echo $ECHO_N "checking for vga_init in -lvga... $ECHO_C" >&6; } |
| 13002 | + if test "${ac_cv_lib_vga_vga_init+set}" = set; then |
| 13003 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13004 | + else |
| 13005 | +@@ -10542,56 +11243,53 @@ |
| 13006 | + cat >>conftest.$ac_ext <<_ACEOF |
| 13007 | + /* end confdefs.h. */ |
| 13008 | + |
| 13009 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 13010 | ++/* Override any GCC internal prototype to avoid an error. |
| 13011 | ++ Use char because int might match the return type of a GCC |
| 13012 | ++ builtin and then its argument prototype would still apply. */ |
| 13013 | + #ifdef __cplusplus |
| 13014 | + extern "C" |
| 13015 | + #endif |
| 13016 | +-/* We use char because int might match the return type of a gcc2 |
| 13017 | +- builtin and then its argument prototype would still apply. */ |
| 13018 | + char vga_init (); |
| 13019 | + int |
| 13020 | + main () |
| 13021 | + { |
| 13022 | +-vga_init (); |
| 13023 | ++return vga_init (); |
| 13024 | + ; |
| 13025 | + return 0; |
| 13026 | + } |
| 13027 | + _ACEOF |
| 13028 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 13029 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13030 | +- (eval $ac_link) 2>conftest.er1 |
| 13031 | ++if { (ac_try="$ac_link" |
| 13032 | ++case "(($ac_try" in |
| 13033 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13034 | ++ *) ac_try_echo=$ac_try;; |
| 13035 | ++esac |
| 13036 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13037 | ++ (eval "$ac_link") 2>conftest.er1 |
| 13038 | + ac_status=$? |
| 13039 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13040 | + rm -f conftest.er1 |
| 13041 | + cat conftest.err >&5 |
| 13042 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13043 | +- (exit $ac_status); } && |
| 13044 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13045 | +- || test ! -s conftest.err' |
| 13046 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13047 | +- (eval $ac_try) 2>&5 |
| 13048 | +- ac_status=$? |
| 13049 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13050 | +- (exit $ac_status); }; } && |
| 13051 | +- { ac_try='test -s conftest$ac_exeext' |
| 13052 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13053 | +- (eval $ac_try) 2>&5 |
| 13054 | +- ac_status=$? |
| 13055 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13056 | +- (exit $ac_status); }; }; then |
| 13057 | ++ (exit $ac_status); } && { |
| 13058 | ++ test -z "$ac_c_werror_flag" || |
| 13059 | ++ test ! -s conftest.err |
| 13060 | ++ } && test -s conftest$ac_exeext && |
| 13061 | ++ $as_test_x conftest$ac_exeext; then |
| 13062 | + ac_cv_lib_vga_vga_init=yes |
| 13063 | + else |
| 13064 | + echo "$as_me: failed program was:" >&5 |
| 13065 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13066 | + |
| 13067 | +-ac_cv_lib_vga_vga_init=no |
| 13068 | ++ ac_cv_lib_vga_vga_init=no |
| 13069 | + fi |
| 13070 | +-rm -f conftest.err conftest.$ac_objext \ |
| 13071 | ++ |
| 13072 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13073 | + conftest$ac_exeext conftest.$ac_ext |
| 13074 | + LIBS=$ac_check_lib_save_LIBS |
| 13075 | + fi |
| 13076 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_vga_vga_init" >&5 |
| 13077 | +-echo "${ECHO_T}$ac_cv_lib_vga_vga_init" >&6 |
| 13078 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_vga_vga_init" >&5 |
| 13079 | ++echo "${ECHO_T}$ac_cv_lib_vga_vga_init" >&6; } |
| 13080 | + if test $ac_cv_lib_vga_vga_init = yes; then |
| 13081 | + ac_lib_svgalib=yes |
| 13082 | + else |
| 13083 | +@@ -10599,8 +11297,8 @@ |
| 13084 | + fi |
| 13085 | + |
| 13086 | + if test $ac_lib_svgalib = yes; then |
| 13087 | +- echo "$as_me:$LINENO: checking for svgalib version" >&5 |
| 13088 | +-echo $ECHO_N "checking for svgalib version... $ECHO_C" >&6 |
| 13089 | ++ { echo "$as_me:$LINENO: checking for svgalib version" >&5 |
| 13090 | ++echo $ECHO_N "checking for svgalib version... $ECHO_C" >&6; } |
| 13091 | + cat >conftest.$ac_ext <<_ACEOF |
| 13092 | + /* confdefs.h. */ |
| 13093 | + _ACEOF |
| 13094 | +@@ -10623,42 +11321,38 @@ |
| 13095 | + } |
| 13096 | + _ACEOF |
| 13097 | + rm -f conftest.$ac_objext |
| 13098 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13099 | +- (eval $ac_compile) 2>conftest.er1 |
| 13100 | ++if { (ac_try="$ac_compile" |
| 13101 | ++case "(($ac_try" in |
| 13102 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13103 | ++ *) ac_try_echo=$ac_try;; |
| 13104 | ++esac |
| 13105 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13106 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13107 | + ac_status=$? |
| 13108 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13109 | + rm -f conftest.er1 |
| 13110 | + cat conftest.err >&5 |
| 13111 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13112 | +- (exit $ac_status); } && |
| 13113 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13114 | +- || test ! -s conftest.err' |
| 13115 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13116 | +- (eval $ac_try) 2>&5 |
| 13117 | +- ac_status=$? |
| 13118 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13119 | +- (exit $ac_status); }; } && |
| 13120 | +- { ac_try='test -s conftest.$ac_objext' |
| 13121 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13122 | +- (eval $ac_try) 2>&5 |
| 13123 | +- ac_status=$? |
| 13124 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13125 | +- (exit $ac_status); }; }; then |
| 13126 | ++ (exit $ac_status); } && { |
| 13127 | ++ test -z "$ac_c_werror_flag" || |
| 13128 | ++ test ! -s conftest.err |
| 13129 | ++ } && test -s conftest.$ac_objext; then |
| 13130 | + ac_lib_svgalib=yes |
| 13131 | + else |
| 13132 | + echo "$as_me: failed program was:" >&5 |
| 13133 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13134 | + |
| 13135 | +-ac_lib_svgalib=no |
| 13136 | ++ ac_lib_svgalib=no |
| 13137 | + fi |
| 13138 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13139 | +- echo "$as_me:$LINENO: result: $ac_lib_svgalib" >&5 |
| 13140 | +-echo "${ECHO_T}$ac_lib_svgalib" >&6 |
| 13141 | ++ |
| 13142 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13143 | ++ { echo "$as_me:$LINENO: result: $ac_lib_svgalib" >&5 |
| 13144 | ++echo "${ECHO_T}$ac_lib_svgalib" >&6; } |
| 13145 | + fi |
| 13146 | + elif test $ac_lib_svgalib = yes; then |
| 13147 | + |
| 13148 | +-echo "$as_me:$LINENO: checking for vga_init in -lvga" >&5 |
| 13149 | +-echo $ECHO_N "checking for vga_init in -lvga... $ECHO_C" >&6 |
| 13150 | ++{ echo "$as_me:$LINENO: checking for vga_init in -lvga" >&5 |
| 13151 | ++echo $ECHO_N "checking for vga_init in -lvga... $ECHO_C" >&6; } |
| 13152 | + if test "${ac_cv_lib_vga_vga_init+set}" = set; then |
| 13153 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13154 | + else |
| 13155 | +@@ -10672,56 +11366,53 @@ |
| 13156 | + cat >>conftest.$ac_ext <<_ACEOF |
| 13157 | + /* end confdefs.h. */ |
| 13158 | + |
| 13159 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 13160 | ++/* Override any GCC internal prototype to avoid an error. |
| 13161 | ++ Use char because int might match the return type of a GCC |
| 13162 | ++ builtin and then its argument prototype would still apply. */ |
| 13163 | + #ifdef __cplusplus |
| 13164 | + extern "C" |
| 13165 | + #endif |
| 13166 | +-/* We use char because int might match the return type of a gcc2 |
| 13167 | +- builtin and then its argument prototype would still apply. */ |
| 13168 | + char vga_init (); |
| 13169 | + int |
| 13170 | + main () |
| 13171 | + { |
| 13172 | +-vga_init (); |
| 13173 | ++return vga_init (); |
| 13174 | + ; |
| 13175 | + return 0; |
| 13176 | + } |
| 13177 | + _ACEOF |
| 13178 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 13179 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13180 | +- (eval $ac_link) 2>conftest.er1 |
| 13181 | ++if { (ac_try="$ac_link" |
| 13182 | ++case "(($ac_try" in |
| 13183 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13184 | ++ *) ac_try_echo=$ac_try;; |
| 13185 | ++esac |
| 13186 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13187 | ++ (eval "$ac_link") 2>conftest.er1 |
| 13188 | + ac_status=$? |
| 13189 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13190 | + rm -f conftest.er1 |
| 13191 | + cat conftest.err >&5 |
| 13192 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13193 | +- (exit $ac_status); } && |
| 13194 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13195 | +- || test ! -s conftest.err' |
| 13196 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13197 | +- (eval $ac_try) 2>&5 |
| 13198 | +- ac_status=$? |
| 13199 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13200 | +- (exit $ac_status); }; } && |
| 13201 | +- { ac_try='test -s conftest$ac_exeext' |
| 13202 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13203 | +- (eval $ac_try) 2>&5 |
| 13204 | +- ac_status=$? |
| 13205 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13206 | +- (exit $ac_status); }; }; then |
| 13207 | ++ (exit $ac_status); } && { |
| 13208 | ++ test -z "$ac_c_werror_flag" || |
| 13209 | ++ test ! -s conftest.err |
| 13210 | ++ } && test -s conftest$ac_exeext && |
| 13211 | ++ $as_test_x conftest$ac_exeext; then |
| 13212 | + ac_cv_lib_vga_vga_init=yes |
| 13213 | + else |
| 13214 | + echo "$as_me: failed program was:" >&5 |
| 13215 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13216 | + |
| 13217 | +-ac_cv_lib_vga_vga_init=no |
| 13218 | ++ ac_cv_lib_vga_vga_init=no |
| 13219 | + fi |
| 13220 | +-rm -f conftest.err conftest.$ac_objext \ |
| 13221 | ++ |
| 13222 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13223 | + conftest$ac_exeext conftest.$ac_ext |
| 13224 | + LIBS=$ac_check_lib_save_LIBS |
| 13225 | + fi |
| 13226 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_vga_vga_init" >&5 |
| 13227 | +-echo "${ECHO_T}$ac_cv_lib_vga_vga_init" >&6 |
| 13228 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_vga_vga_init" >&5 |
| 13229 | ++echo "${ECHO_T}$ac_cv_lib_vga_vga_init" >&6; } |
| 13230 | + if test $ac_cv_lib_vga_vga_init = yes; then |
| 13231 | + cat >>confdefs.h <<_ACEOF |
| 13232 | + #define HAVE_LIBVGA 1 |
| 13233 | +@@ -10735,8 +11426,8 @@ |
| 13234 | + { (exit 1); exit 1; }; } |
| 13235 | + fi |
| 13236 | + |
| 13237 | +- echo "$as_me:$LINENO: checking for svgalib version" >&5 |
| 13238 | +-echo $ECHO_N "checking for svgalib version... $ECHO_C" >&6 |
| 13239 | ++ { echo "$as_me:$LINENO: checking for svgalib version" >&5 |
| 13240 | ++echo $ECHO_N "checking for svgalib version... $ECHO_C" >&6; } |
| 13241 | + cat >conftest.$ac_ext <<_ACEOF |
| 13242 | + /* confdefs.h. */ |
| 13243 | + _ACEOF |
| 13244 | +@@ -10759,39 +11450,35 @@ |
| 13245 | + } |
| 13246 | + _ACEOF |
| 13247 | + rm -f conftest.$ac_objext |
| 13248 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13249 | +- (eval $ac_compile) 2>conftest.er1 |
| 13250 | ++if { (ac_try="$ac_compile" |
| 13251 | ++case "(($ac_try" in |
| 13252 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13253 | ++ *) ac_try_echo=$ac_try;; |
| 13254 | ++esac |
| 13255 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13256 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13257 | + ac_status=$? |
| 13258 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13259 | + rm -f conftest.er1 |
| 13260 | + cat conftest.err >&5 |
| 13261 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13262 | +- (exit $ac_status); } && |
| 13263 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13264 | +- || test ! -s conftest.err' |
| 13265 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13266 | +- (eval $ac_try) 2>&5 |
| 13267 | +- ac_status=$? |
| 13268 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13269 | +- (exit $ac_status); }; } && |
| 13270 | +- { ac_try='test -s conftest.$ac_objext' |
| 13271 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13272 | +- (eval $ac_try) 2>&5 |
| 13273 | +- ac_status=$? |
| 13274 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13275 | +- (exit $ac_status); }; }; then |
| 13276 | ++ (exit $ac_status); } && { |
| 13277 | ++ test -z "$ac_c_werror_flag" || |
| 13278 | ++ test ! -s conftest.err |
| 13279 | ++ } && test -s conftest.$ac_objext; then |
| 13280 | + : |
| 13281 | + else |
| 13282 | + echo "$as_me: failed program was:" >&5 |
| 13283 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13284 | + |
| 13285 | +-{ { echo "$as_me:$LINENO: error: the SVGALIB library is too old. Please upgrade to the 1.9 or 2.0 version" >&5 |
| 13286 | ++ { { echo "$as_me:$LINENO: error: the SVGALIB library is too old. Please upgrade to the 1.9 or 2.0 version" >&5 |
| 13287 | + echo "$as_me: error: the SVGALIB library is too old. Please upgrade to the 1.9 or 2.0 version" >&2;} |
| 13288 | + { (exit 1); exit 1; }; } |
| 13289 | + fi |
| 13290 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13291 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 13292 | +-echo "${ECHO_T}yes" >&6 |
| 13293 | ++ |
| 13294 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13295 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 13296 | ++echo "${ECHO_T}yes" >&6; } |
| 13297 | + fi |
| 13298 | + if test $ac_lib_svgalib = yes; then |
| 13299 | + ac_lib_video="$ac_lib_video svgalib" |
| 13300 | +@@ -10806,17 +11493,17 @@ |
| 13301 | + |
| 13302 | + |
| 13303 | + # Checks for fb |
| 13304 | +-# Check whether --enable-fb or --disable-fb was given. |
| 13305 | ++# Check whether --enable-fb was given. |
| 13306 | + if test "${enable_fb+set}" = set; then |
| 13307 | +- enableval="$enable_fb" |
| 13308 | +- ac_lib_fb=$enableval |
| 13309 | ++ enableval=$enable_fb; ac_lib_fb=$enableval |
| 13310 | + else |
| 13311 | + ac_lib_fb=auto |
| 13312 | + |
| 13313 | +-fi; |
| 13314 | ++fi |
| 13315 | ++ |
| 13316 | + if test $ac_lib_fb = auto; then |
| 13317 | +- echo "$as_me:$LINENO: checking for FrameBuffer" >&5 |
| 13318 | +-echo $ECHO_N "checking for FrameBuffer... $ECHO_C" >&6 |
| 13319 | ++ { echo "$as_me:$LINENO: checking for FrameBuffer" >&5 |
| 13320 | ++echo $ECHO_N "checking for FrameBuffer... $ECHO_C" >&6; } |
| 13321 | + cat >conftest.$ac_ext <<_ACEOF |
| 13322 | + /* confdefs.h. */ |
| 13323 | + _ACEOF |
| 13324 | +@@ -10837,40 +11524,36 @@ |
| 13325 | + } |
| 13326 | + _ACEOF |
| 13327 | + rm -f conftest.$ac_objext |
| 13328 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13329 | +- (eval $ac_compile) 2>conftest.er1 |
| 13330 | ++if { (ac_try="$ac_compile" |
| 13331 | ++case "(($ac_try" in |
| 13332 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13333 | ++ *) ac_try_echo=$ac_try;; |
| 13334 | ++esac |
| 13335 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13336 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13337 | + ac_status=$? |
| 13338 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13339 | + rm -f conftest.er1 |
| 13340 | + cat conftest.err >&5 |
| 13341 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13342 | +- (exit $ac_status); } && |
| 13343 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13344 | +- || test ! -s conftest.err' |
| 13345 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13346 | +- (eval $ac_try) 2>&5 |
| 13347 | +- ac_status=$? |
| 13348 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13349 | +- (exit $ac_status); }; } && |
| 13350 | +- { ac_try='test -s conftest.$ac_objext' |
| 13351 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13352 | +- (eval $ac_try) 2>&5 |
| 13353 | +- ac_status=$? |
| 13354 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13355 | +- (exit $ac_status); }; }; then |
| 13356 | ++ (exit $ac_status); } && { |
| 13357 | ++ test -z "$ac_c_werror_flag" || |
| 13358 | ++ test ! -s conftest.err |
| 13359 | ++ } && test -s conftest.$ac_objext; then |
| 13360 | + ac_lib_fb=yes |
| 13361 | + else |
| 13362 | + echo "$as_me: failed program was:" >&5 |
| 13363 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13364 | + |
| 13365 | +-ac_lib_fb=no |
| 13366 | ++ ac_lib_fb=no |
| 13367 | + fi |
| 13368 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13369 | +- echo "$as_me:$LINENO: result: $ac_lib_fb" >&5 |
| 13370 | +-echo "${ECHO_T}$ac_lib_fb" >&6 |
| 13371 | ++ |
| 13372 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13373 | ++ { echo "$as_me:$LINENO: result: $ac_lib_fb" >&5 |
| 13374 | ++echo "${ECHO_T}$ac_lib_fb" >&6; } |
| 13375 | + elif test $ac_lib_fb = yes; then |
| 13376 | +- echo "$as_me:$LINENO: checking for FrameBuffer" >&5 |
| 13377 | +-echo $ECHO_N "checking for FrameBuffer... $ECHO_C" >&6 |
| 13378 | ++ { echo "$as_me:$LINENO: checking for FrameBuffer" >&5 |
| 13379 | ++echo $ECHO_N "checking for FrameBuffer... $ECHO_C" >&6; } |
| 13380 | + cat >conftest.$ac_ext <<_ACEOF |
| 13381 | + /* confdefs.h. */ |
| 13382 | + _ACEOF |
| 13383 | +@@ -10891,39 +11574,35 @@ |
| 13384 | + } |
| 13385 | + _ACEOF |
| 13386 | + rm -f conftest.$ac_objext |
| 13387 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13388 | +- (eval $ac_compile) 2>conftest.er1 |
| 13389 | ++if { (ac_try="$ac_compile" |
| 13390 | ++case "(($ac_try" in |
| 13391 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13392 | ++ *) ac_try_echo=$ac_try;; |
| 13393 | ++esac |
| 13394 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13395 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13396 | + ac_status=$? |
| 13397 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13398 | + rm -f conftest.er1 |
| 13399 | + cat conftest.err >&5 |
| 13400 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13401 | +- (exit $ac_status); } && |
| 13402 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13403 | +- || test ! -s conftest.err' |
| 13404 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13405 | +- (eval $ac_try) 2>&5 |
| 13406 | +- ac_status=$? |
| 13407 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13408 | +- (exit $ac_status); }; } && |
| 13409 | +- { ac_try='test -s conftest.$ac_objext' |
| 13410 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13411 | +- (eval $ac_try) 2>&5 |
| 13412 | +- ac_status=$? |
| 13413 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13414 | +- (exit $ac_status); }; }; then |
| 13415 | ++ (exit $ac_status); } && { |
| 13416 | ++ test -z "$ac_c_werror_flag" || |
| 13417 | ++ test ! -s conftest.err |
| 13418 | ++ } && test -s conftest.$ac_objext; then |
| 13419 | + : |
| 13420 | + else |
| 13421 | + echo "$as_me: failed program was:" >&5 |
| 13422 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13423 | + |
| 13424 | +-{ { echo "$as_me:$LINENO: error: the Frame Buffer library is missing" >&5 |
| 13425 | ++ { { echo "$as_me:$LINENO: error: the Frame Buffer library is missing" >&5 |
| 13426 | + echo "$as_me: error: the Frame Buffer library is missing" >&2;} |
| 13427 | + { (exit 1); exit 1; }; } |
| 13428 | + fi |
| 13429 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13430 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 13431 | +-echo "${ECHO_T}yes" >&6 |
| 13432 | ++ |
| 13433 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13434 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 13435 | ++echo "${ECHO_T}yes" >&6; } |
| 13436 | + fi |
| 13437 | + if test $ac_lib_fb = yes; then |
| 13438 | + ac_lib_video="$ac_lib_video fb" |
| 13439 | +@@ -10934,17 +11613,17 @@ |
| 13440 | + |
| 13441 | + |
| 13442 | + # Checks for alsa |
| 13443 | +-# Check whether --enable-alsa or --disable-alsa was given. |
| 13444 | ++# Check whether --enable-alsa was given. |
| 13445 | + if test "${enable_alsa+set}" = set; then |
| 13446 | +- enableval="$enable_alsa" |
| 13447 | +- ac_lib_alsa=$enableval |
| 13448 | ++ enableval=$enable_alsa; ac_lib_alsa=$enableval |
| 13449 | + else |
| 13450 | + ac_lib_alsa=auto |
| 13451 | + |
| 13452 | +-fi; |
| 13453 | ++fi |
| 13454 | ++ |
| 13455 | + if test $ac_lib_alsa = auto; then |
| 13456 | +- echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5 |
| 13457 | +-echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6 |
| 13458 | ++ { echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5 |
| 13459 | ++echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6; } |
| 13460 | + if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then |
| 13461 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13462 | + else |
| 13463 | +@@ -10958,56 +11637,53 @@ |
| 13464 | + cat >>conftest.$ac_ext <<_ACEOF |
| 13465 | + /* end confdefs.h. */ |
| 13466 | + |
| 13467 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 13468 | ++/* Override any GCC internal prototype to avoid an error. |
| 13469 | ++ Use char because int might match the return type of a GCC |
| 13470 | ++ builtin and then its argument prototype would still apply. */ |
| 13471 | + #ifdef __cplusplus |
| 13472 | + extern "C" |
| 13473 | + #endif |
| 13474 | +-/* We use char because int might match the return type of a gcc2 |
| 13475 | +- builtin and then its argument prototype would still apply. */ |
| 13476 | + char snd_pcm_open (); |
| 13477 | + int |
| 13478 | + main () |
| 13479 | + { |
| 13480 | +-snd_pcm_open (); |
| 13481 | ++return snd_pcm_open (); |
| 13482 | + ; |
| 13483 | + return 0; |
| 13484 | + } |
| 13485 | + _ACEOF |
| 13486 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 13487 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13488 | +- (eval $ac_link) 2>conftest.er1 |
| 13489 | ++if { (ac_try="$ac_link" |
| 13490 | ++case "(($ac_try" in |
| 13491 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13492 | ++ *) ac_try_echo=$ac_try;; |
| 13493 | ++esac |
| 13494 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13495 | ++ (eval "$ac_link") 2>conftest.er1 |
| 13496 | + ac_status=$? |
| 13497 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13498 | + rm -f conftest.er1 |
| 13499 | + cat conftest.err >&5 |
| 13500 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13501 | +- (exit $ac_status); } && |
| 13502 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13503 | +- || test ! -s conftest.err' |
| 13504 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13505 | +- (eval $ac_try) 2>&5 |
| 13506 | +- ac_status=$? |
| 13507 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13508 | +- (exit $ac_status); }; } && |
| 13509 | +- { ac_try='test -s conftest$ac_exeext' |
| 13510 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13511 | +- (eval $ac_try) 2>&5 |
| 13512 | +- ac_status=$? |
| 13513 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13514 | +- (exit $ac_status); }; }; then |
| 13515 | ++ (exit $ac_status); } && { |
| 13516 | ++ test -z "$ac_c_werror_flag" || |
| 13517 | ++ test ! -s conftest.err |
| 13518 | ++ } && test -s conftest$ac_exeext && |
| 13519 | ++ $as_test_x conftest$ac_exeext; then |
| 13520 | + ac_cv_lib_asound_snd_pcm_open=yes |
| 13521 | + else |
| 13522 | + echo "$as_me: failed program was:" >&5 |
| 13523 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13524 | + |
| 13525 | +-ac_cv_lib_asound_snd_pcm_open=no |
| 13526 | ++ ac_cv_lib_asound_snd_pcm_open=no |
| 13527 | + fi |
| 13528 | +-rm -f conftest.err conftest.$ac_objext \ |
| 13529 | ++ |
| 13530 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13531 | + conftest$ac_exeext conftest.$ac_ext |
| 13532 | + LIBS=$ac_check_lib_save_LIBS |
| 13533 | + fi |
| 13534 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5 |
| 13535 | +-echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6 |
| 13536 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5 |
| 13537 | ++echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6; } |
| 13538 | + if test $ac_cv_lib_asound_snd_pcm_open = yes; then |
| 13539 | + ac_lib_alsa=yes |
| 13540 | + else |
| 13541 | +@@ -11015,8 +11691,8 @@ |
| 13542 | + fi |
| 13543 | + |
| 13544 | + if test $ac_lib_alsa = yes; then |
| 13545 | +- echo "$as_me:$LINENO: checking for ALSA" >&5 |
| 13546 | +-echo $ECHO_N "checking for ALSA... $ECHO_C" >&6 |
| 13547 | ++ { echo "$as_me:$LINENO: checking for ALSA" >&5 |
| 13548 | ++echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; } |
| 13549 | + cat >conftest.$ac_ext <<_ACEOF |
| 13550 | + /* confdefs.h. */ |
| 13551 | + _ACEOF |
| 13552 | +@@ -11039,42 +11715,38 @@ |
| 13553 | + } |
| 13554 | + _ACEOF |
| 13555 | + rm -f conftest.$ac_objext |
| 13556 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13557 | +- (eval $ac_compile) 2>conftest.er1 |
| 13558 | ++if { (ac_try="$ac_compile" |
| 13559 | ++case "(($ac_try" in |
| 13560 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13561 | ++ *) ac_try_echo=$ac_try;; |
| 13562 | ++esac |
| 13563 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13564 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13565 | + ac_status=$? |
| 13566 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13567 | + rm -f conftest.er1 |
| 13568 | + cat conftest.err >&5 |
| 13569 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13570 | +- (exit $ac_status); } && |
| 13571 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13572 | +- || test ! -s conftest.err' |
| 13573 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13574 | +- (eval $ac_try) 2>&5 |
| 13575 | +- ac_status=$? |
| 13576 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13577 | +- (exit $ac_status); }; } && |
| 13578 | +- { ac_try='test -s conftest.$ac_objext' |
| 13579 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13580 | +- (eval $ac_try) 2>&5 |
| 13581 | +- ac_status=$? |
| 13582 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13583 | +- (exit $ac_status); }; }; then |
| 13584 | ++ (exit $ac_status); } && { |
| 13585 | ++ test -z "$ac_c_werror_flag" || |
| 13586 | ++ test ! -s conftest.err |
| 13587 | ++ } && test -s conftest.$ac_objext; then |
| 13588 | + ac_lib_alsa=yes |
| 13589 | + else |
| 13590 | + echo "$as_me: failed program was:" >&5 |
| 13591 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13592 | + |
| 13593 | +-ac_lib_alsa=no |
| 13594 | ++ ac_lib_alsa=no |
| 13595 | + fi |
| 13596 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13597 | +- echo "$as_me:$LINENO: result: $ac_lib_alsa" >&5 |
| 13598 | +-echo "${ECHO_T}$ac_lib_alsa" >&6 |
| 13599 | ++ |
| 13600 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13601 | ++ { echo "$as_me:$LINENO: result: $ac_lib_alsa" >&5 |
| 13602 | ++echo "${ECHO_T}$ac_lib_alsa" >&6; } |
| 13603 | + fi |
| 13604 | + elif test $ac_lib_alsa = yes; then |
| 13605 | + |
| 13606 | +-echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5 |
| 13607 | +-echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6 |
| 13608 | ++{ echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5 |
| 13609 | ++echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6; } |
| 13610 | + if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then |
| 13611 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13612 | + else |
| 13613 | +@@ -11088,56 +11760,53 @@ |
| 13614 | + cat >>conftest.$ac_ext <<_ACEOF |
| 13615 | + /* end confdefs.h. */ |
| 13616 | + |
| 13617 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 13618 | ++/* Override any GCC internal prototype to avoid an error. |
| 13619 | ++ Use char because int might match the return type of a GCC |
| 13620 | ++ builtin and then its argument prototype would still apply. */ |
| 13621 | + #ifdef __cplusplus |
| 13622 | + extern "C" |
| 13623 | + #endif |
| 13624 | +-/* We use char because int might match the return type of a gcc2 |
| 13625 | +- builtin and then its argument prototype would still apply. */ |
| 13626 | + char snd_pcm_open (); |
| 13627 | + int |
| 13628 | + main () |
| 13629 | + { |
| 13630 | +-snd_pcm_open (); |
| 13631 | ++return snd_pcm_open (); |
| 13632 | + ; |
| 13633 | + return 0; |
| 13634 | + } |
| 13635 | + _ACEOF |
| 13636 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 13637 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13638 | +- (eval $ac_link) 2>conftest.er1 |
| 13639 | ++if { (ac_try="$ac_link" |
| 13640 | ++case "(($ac_try" in |
| 13641 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13642 | ++ *) ac_try_echo=$ac_try;; |
| 13643 | ++esac |
| 13644 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13645 | ++ (eval "$ac_link") 2>conftest.er1 |
| 13646 | + ac_status=$? |
| 13647 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13648 | + rm -f conftest.er1 |
| 13649 | + cat conftest.err >&5 |
| 13650 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13651 | +- (exit $ac_status); } && |
| 13652 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13653 | +- || test ! -s conftest.err' |
| 13654 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13655 | +- (eval $ac_try) 2>&5 |
| 13656 | +- ac_status=$? |
| 13657 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13658 | +- (exit $ac_status); }; } && |
| 13659 | +- { ac_try='test -s conftest$ac_exeext' |
| 13660 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13661 | +- (eval $ac_try) 2>&5 |
| 13662 | +- ac_status=$? |
| 13663 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13664 | +- (exit $ac_status); }; }; then |
| 13665 | ++ (exit $ac_status); } && { |
| 13666 | ++ test -z "$ac_c_werror_flag" || |
| 13667 | ++ test ! -s conftest.err |
| 13668 | ++ } && test -s conftest$ac_exeext && |
| 13669 | ++ $as_test_x conftest$ac_exeext; then |
| 13670 | + ac_cv_lib_asound_snd_pcm_open=yes |
| 13671 | + else |
| 13672 | + echo "$as_me: failed program was:" >&5 |
| 13673 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13674 | + |
| 13675 | +-ac_cv_lib_asound_snd_pcm_open=no |
| 13676 | ++ ac_cv_lib_asound_snd_pcm_open=no |
| 13677 | + fi |
| 13678 | +-rm -f conftest.err conftest.$ac_objext \ |
| 13679 | ++ |
| 13680 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13681 | + conftest$ac_exeext conftest.$ac_ext |
| 13682 | + LIBS=$ac_check_lib_save_LIBS |
| 13683 | + fi |
| 13684 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5 |
| 13685 | +-echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6 |
| 13686 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5 |
| 13687 | ++echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6; } |
| 13688 | + if test $ac_cv_lib_asound_snd_pcm_open = yes; then |
| 13689 | + cat >>confdefs.h <<_ACEOF |
| 13690 | + #define HAVE_LIBASOUND 1 |
| 13691 | +@@ -11151,8 +11820,8 @@ |
| 13692 | + { (exit 1); exit 1; }; } |
| 13693 | + fi |
| 13694 | + |
| 13695 | +- echo "$as_me:$LINENO: checking for ALSA version" >&5 |
| 13696 | +-echo $ECHO_N "checking for ALSA version... $ECHO_C" >&6 |
| 13697 | ++ { echo "$as_me:$LINENO: checking for ALSA version" >&5 |
| 13698 | ++echo $ECHO_N "checking for ALSA version... $ECHO_C" >&6; } |
| 13699 | + cat >conftest.$ac_ext <<_ACEOF |
| 13700 | + /* confdefs.h. */ |
| 13701 | + _ACEOF |
| 13702 | +@@ -11175,39 +11844,35 @@ |
| 13703 | + } |
| 13704 | + _ACEOF |
| 13705 | + rm -f conftest.$ac_objext |
| 13706 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13707 | +- (eval $ac_compile) 2>conftest.er1 |
| 13708 | ++if { (ac_try="$ac_compile" |
| 13709 | ++case "(($ac_try" in |
| 13710 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13711 | ++ *) ac_try_echo=$ac_try;; |
| 13712 | ++esac |
| 13713 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13714 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13715 | + ac_status=$? |
| 13716 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13717 | + rm -f conftest.er1 |
| 13718 | + cat conftest.err >&5 |
| 13719 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13720 | +- (exit $ac_status); } && |
| 13721 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13722 | +- || test ! -s conftest.err' |
| 13723 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13724 | +- (eval $ac_try) 2>&5 |
| 13725 | +- ac_status=$? |
| 13726 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13727 | +- (exit $ac_status); }; } && |
| 13728 | +- { ac_try='test -s conftest.$ac_objext' |
| 13729 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13730 | +- (eval $ac_try) 2>&5 |
| 13731 | +- ac_status=$? |
| 13732 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13733 | +- (exit $ac_status); }; }; then |
| 13734 | ++ (exit $ac_status); } && { |
| 13735 | ++ test -z "$ac_c_werror_flag" || |
| 13736 | ++ test ! -s conftest.err |
| 13737 | ++ } && test -s conftest.$ac_objext; then |
| 13738 | + : |
| 13739 | + else |
| 13740 | + echo "$as_me: failed program was:" >&5 |
| 13741 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13742 | + |
| 13743 | +-{ { echo "$as_me:$LINENO: error: the ALSA library is too old" >&5 |
| 13744 | ++ { { echo "$as_me:$LINENO: error: the ALSA library is too old" >&5 |
| 13745 | + echo "$as_me: error: the ALSA library is too old" >&2;} |
| 13746 | + { (exit 1); exit 1; }; } |
| 13747 | + fi |
| 13748 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13749 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 13750 | +-echo "${ECHO_T}yes" >&6 |
| 13751 | ++ |
| 13752 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13753 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 13754 | ++echo "${ECHO_T}yes" >&6; } |
| 13755 | + fi |
| 13756 | + if test $ac_lib_alsa = yes; then |
| 13757 | + ac_lib_sound="$ac_lib_sound alsa" |
| 13758 | +@@ -11217,17 +11882,17 @@ |
| 13759 | + |
| 13760 | + |
| 13761 | + # Checks for oss |
| 13762 | +-# Check whether --enable-oss or --disable-oss was given. |
| 13763 | ++# Check whether --enable-oss was given. |
| 13764 | + if test "${enable_oss+set}" = set; then |
| 13765 | +- enableval="$enable_oss" |
| 13766 | +- ac_lib_oss=$enableval |
| 13767 | ++ enableval=$enable_oss; ac_lib_oss=$enableval |
| 13768 | + else |
| 13769 | + ac_lib_oss=auto |
| 13770 | + |
| 13771 | +-fi; |
| 13772 | ++fi |
| 13773 | ++ |
| 13774 | + if test $ac_lib_oss = auto; then |
| 13775 | +- echo "$as_me:$LINENO: checking for OSS" >&5 |
| 13776 | +-echo $ECHO_N "checking for OSS... $ECHO_C" >&6 |
| 13777 | ++ { echo "$as_me:$LINENO: checking for OSS" >&5 |
| 13778 | ++echo $ECHO_N "checking for OSS... $ECHO_C" >&6; } |
| 13779 | + cat >conftest.$ac_ext <<_ACEOF |
| 13780 | + /* confdefs.h. */ |
| 13781 | + _ACEOF |
| 13782 | +@@ -11248,40 +11913,36 @@ |
| 13783 | + } |
| 13784 | + _ACEOF |
| 13785 | + rm -f conftest.$ac_objext |
| 13786 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13787 | +- (eval $ac_compile) 2>conftest.er1 |
| 13788 | ++if { (ac_try="$ac_compile" |
| 13789 | ++case "(($ac_try" in |
| 13790 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13791 | ++ *) ac_try_echo=$ac_try;; |
| 13792 | ++esac |
| 13793 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13794 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13795 | + ac_status=$? |
| 13796 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13797 | + rm -f conftest.er1 |
| 13798 | + cat conftest.err >&5 |
| 13799 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13800 | +- (exit $ac_status); } && |
| 13801 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13802 | +- || test ! -s conftest.err' |
| 13803 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13804 | +- (eval $ac_try) 2>&5 |
| 13805 | +- ac_status=$? |
| 13806 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13807 | +- (exit $ac_status); }; } && |
| 13808 | +- { ac_try='test -s conftest.$ac_objext' |
| 13809 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13810 | +- (eval $ac_try) 2>&5 |
| 13811 | +- ac_status=$? |
| 13812 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13813 | +- (exit $ac_status); }; }; then |
| 13814 | ++ (exit $ac_status); } && { |
| 13815 | ++ test -z "$ac_c_werror_flag" || |
| 13816 | ++ test ! -s conftest.err |
| 13817 | ++ } && test -s conftest.$ac_objext; then |
| 13818 | + ac_lib_oss=yes |
| 13819 | + else |
| 13820 | + echo "$as_me: failed program was:" >&5 |
| 13821 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13822 | + |
| 13823 | +-ac_lib_oss=no |
| 13824 | ++ ac_lib_oss=no |
| 13825 | + fi |
| 13826 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13827 | +- echo "$as_me:$LINENO: result: $ac_lib_oss" >&5 |
| 13828 | +-echo "${ECHO_T}$ac_lib_oss" >&6 |
| 13829 | ++ |
| 13830 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13831 | ++ { echo "$as_me:$LINENO: result: $ac_lib_oss" >&5 |
| 13832 | ++echo "${ECHO_T}$ac_lib_oss" >&6; } |
| 13833 | + elif test $ac_lib_oss = yes; then |
| 13834 | +- echo "$as_me:$LINENO: checking for OSS" >&5 |
| 13835 | +-echo $ECHO_N "checking for OSS... $ECHO_C" >&6 |
| 13836 | ++ { echo "$as_me:$LINENO: checking for OSS" >&5 |
| 13837 | ++echo $ECHO_N "checking for OSS... $ECHO_C" >&6; } |
| 13838 | + cat >conftest.$ac_ext <<_ACEOF |
| 13839 | + /* confdefs.h. */ |
| 13840 | + _ACEOF |
| 13841 | +@@ -11302,39 +11963,35 @@ |
| 13842 | + } |
| 13843 | + _ACEOF |
| 13844 | + rm -f conftest.$ac_objext |
| 13845 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13846 | +- (eval $ac_compile) 2>conftest.er1 |
| 13847 | ++if { (ac_try="$ac_compile" |
| 13848 | ++case "(($ac_try" in |
| 13849 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13850 | ++ *) ac_try_echo=$ac_try;; |
| 13851 | ++esac |
| 13852 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13853 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 13854 | + ac_status=$? |
| 13855 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13856 | + rm -f conftest.er1 |
| 13857 | + cat conftest.err >&5 |
| 13858 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13859 | +- (exit $ac_status); } && |
| 13860 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13861 | +- || test ! -s conftest.err' |
| 13862 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13863 | +- (eval $ac_try) 2>&5 |
| 13864 | +- ac_status=$? |
| 13865 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13866 | +- (exit $ac_status); }; } && |
| 13867 | +- { ac_try='test -s conftest.$ac_objext' |
| 13868 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13869 | +- (eval $ac_try) 2>&5 |
| 13870 | +- ac_status=$? |
| 13871 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13872 | +- (exit $ac_status); }; }; then |
| 13873 | ++ (exit $ac_status); } && { |
| 13874 | ++ test -z "$ac_c_werror_flag" || |
| 13875 | ++ test ! -s conftest.err |
| 13876 | ++ } && test -s conftest.$ac_objext; then |
| 13877 | + : |
| 13878 | + else |
| 13879 | + echo "$as_me: failed program was:" >&5 |
| 13880 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13881 | + |
| 13882 | +-{ { echo "$as_me:$LINENO: error: the OSS library is missing" >&5 |
| 13883 | ++ { { echo "$as_me:$LINENO: error: the OSS library is missing" >&5 |
| 13884 | + echo "$as_me: error: the OSS library is missing" >&2;} |
| 13885 | + { (exit 1); exit 1; }; } |
| 13886 | + fi |
| 13887 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13888 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 13889 | +-echo "${ECHO_T}yes" >&6 |
| 13890 | ++ |
| 13891 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13892 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 13893 | ++echo "${ECHO_T}yes" >&6; } |
| 13894 | + fi |
| 13895 | + if test $ac_lib_oss = yes; then |
| 13896 | + ac_lib_sound="$ac_lib_sound oss" |
| 13897 | +@@ -11344,17 +12001,17 @@ |
| 13898 | + |
| 13899 | + |
| 13900 | + # Checks for pthread |
| 13901 | +-# Check whether --enable-pthread or --disable-pthread was given. |
| 13902 | ++# Check whether --enable-pthread was given. |
| 13903 | + if test "${enable_pthread+set}" = set; then |
| 13904 | +- enableval="$enable_pthread" |
| 13905 | +- ac_lib_pthread=$enableval |
| 13906 | ++ enableval=$enable_pthread; ac_lib_pthread=$enableval |
| 13907 | + else |
| 13908 | + ac_lib_pthread=auto |
| 13909 | + |
| 13910 | +-fi; |
| 13911 | ++fi |
| 13912 | ++ |
| 13913 | + if test $ac_lib_pthread = auto; then |
| 13914 | +- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 |
| 13915 | +-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 |
| 13916 | ++ { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 |
| 13917 | ++echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } |
| 13918 | + if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then |
| 13919 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13920 | + else |
| 13921 | +@@ -11368,56 +12025,53 @@ |
| 13922 | + cat >>conftest.$ac_ext <<_ACEOF |
| 13923 | + /* end confdefs.h. */ |
| 13924 | + |
| 13925 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 13926 | ++/* Override any GCC internal prototype to avoid an error. |
| 13927 | ++ Use char because int might match the return type of a GCC |
| 13928 | ++ builtin and then its argument prototype would still apply. */ |
| 13929 | + #ifdef __cplusplus |
| 13930 | + extern "C" |
| 13931 | + #endif |
| 13932 | +-/* We use char because int might match the return type of a gcc2 |
| 13933 | +- builtin and then its argument prototype would still apply. */ |
| 13934 | + char pthread_create (); |
| 13935 | + int |
| 13936 | + main () |
| 13937 | + { |
| 13938 | +-pthread_create (); |
| 13939 | ++return pthread_create (); |
| 13940 | + ; |
| 13941 | + return 0; |
| 13942 | + } |
| 13943 | + _ACEOF |
| 13944 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 13945 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13946 | +- (eval $ac_link) 2>conftest.er1 |
| 13947 | ++if { (ac_try="$ac_link" |
| 13948 | ++case "(($ac_try" in |
| 13949 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13950 | ++ *) ac_try_echo=$ac_try;; |
| 13951 | ++esac |
| 13952 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 13953 | ++ (eval "$ac_link") 2>conftest.er1 |
| 13954 | + ac_status=$? |
| 13955 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 13956 | + rm -f conftest.er1 |
| 13957 | + cat conftest.err >&5 |
| 13958 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13959 | +- (exit $ac_status); } && |
| 13960 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 13961 | +- || test ! -s conftest.err' |
| 13962 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13963 | +- (eval $ac_try) 2>&5 |
| 13964 | +- ac_status=$? |
| 13965 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13966 | +- (exit $ac_status); }; } && |
| 13967 | +- { ac_try='test -s conftest$ac_exeext' |
| 13968 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13969 | +- (eval $ac_try) 2>&5 |
| 13970 | +- ac_status=$? |
| 13971 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13972 | +- (exit $ac_status); }; }; then |
| 13973 | ++ (exit $ac_status); } && { |
| 13974 | ++ test -z "$ac_c_werror_flag" || |
| 13975 | ++ test ! -s conftest.err |
| 13976 | ++ } && test -s conftest$ac_exeext && |
| 13977 | ++ $as_test_x conftest$ac_exeext; then |
| 13978 | + ac_cv_lib_pthread_pthread_create=yes |
| 13979 | + else |
| 13980 | + echo "$as_me: failed program was:" >&5 |
| 13981 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 13982 | + |
| 13983 | +-ac_cv_lib_pthread_pthread_create=no |
| 13984 | ++ ac_cv_lib_pthread_pthread_create=no |
| 13985 | + fi |
| 13986 | +-rm -f conftest.err conftest.$ac_objext \ |
| 13987 | ++ |
| 13988 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13989 | + conftest$ac_exeext conftest.$ac_ext |
| 13990 | + LIBS=$ac_check_lib_save_LIBS |
| 13991 | + fi |
| 13992 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 |
| 13993 | +-echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 |
| 13994 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 |
| 13995 | ++echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } |
| 13996 | + if test $ac_cv_lib_pthread_pthread_create = yes; then |
| 13997 | + ac_lib_pthread=yes |
| 13998 | + else |
| 13999 | +@@ -11426,8 +12080,8 @@ |
| 14000 | + |
| 14001 | + elif test $ac_lib_pthread = yes; then |
| 14002 | + |
| 14003 | +-echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 |
| 14004 | +-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 |
| 14005 | ++{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 |
| 14006 | ++echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } |
| 14007 | + if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then |
| 14008 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14009 | + else |
| 14010 | +@@ -11441,56 +12095,53 @@ |
| 14011 | + cat >>conftest.$ac_ext <<_ACEOF |
| 14012 | + /* end confdefs.h. */ |
| 14013 | + |
| 14014 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 14015 | ++/* Override any GCC internal prototype to avoid an error. |
| 14016 | ++ Use char because int might match the return type of a GCC |
| 14017 | ++ builtin and then its argument prototype would still apply. */ |
| 14018 | + #ifdef __cplusplus |
| 14019 | + extern "C" |
| 14020 | + #endif |
| 14021 | +-/* We use char because int might match the return type of a gcc2 |
| 14022 | +- builtin and then its argument prototype would still apply. */ |
| 14023 | + char pthread_create (); |
| 14024 | + int |
| 14025 | + main () |
| 14026 | + { |
| 14027 | +-pthread_create (); |
| 14028 | ++return pthread_create (); |
| 14029 | + ; |
| 14030 | + return 0; |
| 14031 | + } |
| 14032 | + _ACEOF |
| 14033 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14034 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14035 | +- (eval $ac_link) 2>conftest.er1 |
| 14036 | ++if { (ac_try="$ac_link" |
| 14037 | ++case "(($ac_try" in |
| 14038 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14039 | ++ *) ac_try_echo=$ac_try;; |
| 14040 | ++esac |
| 14041 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14042 | ++ (eval "$ac_link") 2>conftest.er1 |
| 14043 | + ac_status=$? |
| 14044 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14045 | + rm -f conftest.er1 |
| 14046 | + cat conftest.err >&5 |
| 14047 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14048 | +- (exit $ac_status); } && |
| 14049 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14050 | +- || test ! -s conftest.err' |
| 14051 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14052 | +- (eval $ac_try) 2>&5 |
| 14053 | +- ac_status=$? |
| 14054 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14055 | +- (exit $ac_status); }; } && |
| 14056 | +- { ac_try='test -s conftest$ac_exeext' |
| 14057 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14058 | +- (eval $ac_try) 2>&5 |
| 14059 | +- ac_status=$? |
| 14060 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14061 | +- (exit $ac_status); }; }; then |
| 14062 | ++ (exit $ac_status); } && { |
| 14063 | ++ test -z "$ac_c_werror_flag" || |
| 14064 | ++ test ! -s conftest.err |
| 14065 | ++ } && test -s conftest$ac_exeext && |
| 14066 | ++ $as_test_x conftest$ac_exeext; then |
| 14067 | + ac_cv_lib_pthread_pthread_create=yes |
| 14068 | + else |
| 14069 | + echo "$as_me: failed program was:" >&5 |
| 14070 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14071 | + |
| 14072 | +-ac_cv_lib_pthread_pthread_create=no |
| 14073 | ++ ac_cv_lib_pthread_pthread_create=no |
| 14074 | + fi |
| 14075 | +-rm -f conftest.err conftest.$ac_objext \ |
| 14076 | ++ |
| 14077 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 14078 | + conftest$ac_exeext conftest.$ac_ext |
| 14079 | + LIBS=$ac_check_lib_save_LIBS |
| 14080 | + fi |
| 14081 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 |
| 14082 | +-echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 |
| 14083 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 |
| 14084 | ++echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } |
| 14085 | + if test $ac_cv_lib_pthread_pthread_create = yes; then |
| 14086 | + cat >>confdefs.h <<_ACEOF |
| 14087 | + #define HAVE_LIBPTHREAD 1 |
| 14088 | +@@ -11512,17 +12163,17 @@ |
| 14089 | + |
| 14090 | + |
| 14091 | + # Checks for slang |
| 14092 | +-# Check whether --enable-slang or --disable-slang was given. |
| 14093 | ++# Check whether --enable-slang was given. |
| 14094 | + if test "${enable_slang+set}" = set; then |
| 14095 | +- enableval="$enable_slang" |
| 14096 | +- ac_lib_slang=$enableval |
| 14097 | ++ enableval=$enable_slang; ac_lib_slang=$enableval |
| 14098 | + else |
| 14099 | + ac_lib_slang=auto |
| 14100 | + |
| 14101 | +-fi; |
| 14102 | ++fi |
| 14103 | ++ |
| 14104 | + if test $ac_lib_slang = auto; then |
| 14105 | +- echo "$as_me:$LINENO: checking for SLang_init_tty in -lslang" >&5 |
| 14106 | +-echo $ECHO_N "checking for SLang_init_tty in -lslang... $ECHO_C" >&6 |
| 14107 | ++ { echo "$as_me:$LINENO: checking for SLang_init_tty in -lslang" >&5 |
| 14108 | ++echo $ECHO_N "checking for SLang_init_tty in -lslang... $ECHO_C" >&6; } |
| 14109 | + if test "${ac_cv_lib_slang_SLang_init_tty+set}" = set; then |
| 14110 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14111 | + else |
| 14112 | +@@ -11536,56 +12187,53 @@ |
| 14113 | + cat >>conftest.$ac_ext <<_ACEOF |
| 14114 | + /* end confdefs.h. */ |
| 14115 | + |
| 14116 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 14117 | ++/* Override any GCC internal prototype to avoid an error. |
| 14118 | ++ Use char because int might match the return type of a GCC |
| 14119 | ++ builtin and then its argument prototype would still apply. */ |
| 14120 | + #ifdef __cplusplus |
| 14121 | + extern "C" |
| 14122 | + #endif |
| 14123 | +-/* We use char because int might match the return type of a gcc2 |
| 14124 | +- builtin and then its argument prototype would still apply. */ |
| 14125 | + char SLang_init_tty (); |
| 14126 | + int |
| 14127 | + main () |
| 14128 | + { |
| 14129 | +-SLang_init_tty (); |
| 14130 | ++return SLang_init_tty (); |
| 14131 | + ; |
| 14132 | + return 0; |
| 14133 | + } |
| 14134 | + _ACEOF |
| 14135 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14136 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14137 | +- (eval $ac_link) 2>conftest.er1 |
| 14138 | ++if { (ac_try="$ac_link" |
| 14139 | ++case "(($ac_try" in |
| 14140 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14141 | ++ *) ac_try_echo=$ac_try;; |
| 14142 | ++esac |
| 14143 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14144 | ++ (eval "$ac_link") 2>conftest.er1 |
| 14145 | + ac_status=$? |
| 14146 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14147 | + rm -f conftest.er1 |
| 14148 | + cat conftest.err >&5 |
| 14149 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14150 | +- (exit $ac_status); } && |
| 14151 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14152 | +- || test ! -s conftest.err' |
| 14153 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14154 | +- (eval $ac_try) 2>&5 |
| 14155 | +- ac_status=$? |
| 14156 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14157 | +- (exit $ac_status); }; } && |
| 14158 | +- { ac_try='test -s conftest$ac_exeext' |
| 14159 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14160 | +- (eval $ac_try) 2>&5 |
| 14161 | +- ac_status=$? |
| 14162 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14163 | +- (exit $ac_status); }; }; then |
| 14164 | ++ (exit $ac_status); } && { |
| 14165 | ++ test -z "$ac_c_werror_flag" || |
| 14166 | ++ test ! -s conftest.err |
| 14167 | ++ } && test -s conftest$ac_exeext && |
| 14168 | ++ $as_test_x conftest$ac_exeext; then |
| 14169 | + ac_cv_lib_slang_SLang_init_tty=yes |
| 14170 | + else |
| 14171 | + echo "$as_me: failed program was:" >&5 |
| 14172 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14173 | + |
| 14174 | +-ac_cv_lib_slang_SLang_init_tty=no |
| 14175 | ++ ac_cv_lib_slang_SLang_init_tty=no |
| 14176 | + fi |
| 14177 | +-rm -f conftest.err conftest.$ac_objext \ |
| 14178 | ++ |
| 14179 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 14180 | + conftest$ac_exeext conftest.$ac_ext |
| 14181 | + LIBS=$ac_check_lib_save_LIBS |
| 14182 | + fi |
| 14183 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_slang_SLang_init_tty" >&5 |
| 14184 | +-echo "${ECHO_T}$ac_cv_lib_slang_SLang_init_tty" >&6 |
| 14185 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_slang_SLang_init_tty" >&5 |
| 14186 | ++echo "${ECHO_T}$ac_cv_lib_slang_SLang_init_tty" >&6; } |
| 14187 | + if test $ac_cv_lib_slang_SLang_init_tty = yes; then |
| 14188 | + ac_lib_slang=yes |
| 14189 | + else |
| 14190 | +@@ -11594,8 +12242,8 @@ |
| 14191 | + |
| 14192 | + elif test $ac_lib_slang = yes; then |
| 14193 | + |
| 14194 | +-echo "$as_me:$LINENO: checking for SLang_init_tty in -lslang" >&5 |
| 14195 | +-echo $ECHO_N "checking for SLang_init_tty in -lslang... $ECHO_C" >&6 |
| 14196 | ++{ echo "$as_me:$LINENO: checking for SLang_init_tty in -lslang" >&5 |
| 14197 | ++echo $ECHO_N "checking for SLang_init_tty in -lslang... $ECHO_C" >&6; } |
| 14198 | + if test "${ac_cv_lib_slang_SLang_init_tty+set}" = set; then |
| 14199 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14200 | + else |
| 14201 | +@@ -11609,56 +12257,53 @@ |
| 14202 | + cat >>conftest.$ac_ext <<_ACEOF |
| 14203 | + /* end confdefs.h. */ |
| 14204 | + |
| 14205 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 14206 | ++/* Override any GCC internal prototype to avoid an error. |
| 14207 | ++ Use char because int might match the return type of a GCC |
| 14208 | ++ builtin and then its argument prototype would still apply. */ |
| 14209 | + #ifdef __cplusplus |
| 14210 | + extern "C" |
| 14211 | + #endif |
| 14212 | +-/* We use char because int might match the return type of a gcc2 |
| 14213 | +- builtin and then its argument prototype would still apply. */ |
| 14214 | + char SLang_init_tty (); |
| 14215 | + int |
| 14216 | + main () |
| 14217 | + { |
| 14218 | +-SLang_init_tty (); |
| 14219 | ++return SLang_init_tty (); |
| 14220 | + ; |
| 14221 | + return 0; |
| 14222 | + } |
| 14223 | + _ACEOF |
| 14224 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14225 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14226 | +- (eval $ac_link) 2>conftest.er1 |
| 14227 | ++if { (ac_try="$ac_link" |
| 14228 | ++case "(($ac_try" in |
| 14229 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14230 | ++ *) ac_try_echo=$ac_try;; |
| 14231 | ++esac |
| 14232 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14233 | ++ (eval "$ac_link") 2>conftest.er1 |
| 14234 | + ac_status=$? |
| 14235 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14236 | + rm -f conftest.er1 |
| 14237 | + cat conftest.err >&5 |
| 14238 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14239 | +- (exit $ac_status); } && |
| 14240 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14241 | +- || test ! -s conftest.err' |
| 14242 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14243 | +- (eval $ac_try) 2>&5 |
| 14244 | +- ac_status=$? |
| 14245 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14246 | +- (exit $ac_status); }; } && |
| 14247 | +- { ac_try='test -s conftest$ac_exeext' |
| 14248 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14249 | +- (eval $ac_try) 2>&5 |
| 14250 | +- ac_status=$? |
| 14251 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14252 | +- (exit $ac_status); }; }; then |
| 14253 | ++ (exit $ac_status); } && { |
| 14254 | ++ test -z "$ac_c_werror_flag" || |
| 14255 | ++ test ! -s conftest.err |
| 14256 | ++ } && test -s conftest$ac_exeext && |
| 14257 | ++ $as_test_x conftest$ac_exeext; then |
| 14258 | + ac_cv_lib_slang_SLang_init_tty=yes |
| 14259 | + else |
| 14260 | + echo "$as_me: failed program was:" >&5 |
| 14261 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14262 | + |
| 14263 | +-ac_cv_lib_slang_SLang_init_tty=no |
| 14264 | ++ ac_cv_lib_slang_SLang_init_tty=no |
| 14265 | + fi |
| 14266 | +-rm -f conftest.err conftest.$ac_objext \ |
| 14267 | ++ |
| 14268 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 14269 | + conftest$ac_exeext conftest.$ac_ext |
| 14270 | + LIBS=$ac_check_lib_save_LIBS |
| 14271 | + fi |
| 14272 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_slang_SLang_init_tty" >&5 |
| 14273 | +-echo "${ECHO_T}$ac_cv_lib_slang_SLang_init_tty" >&6 |
| 14274 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_slang_SLang_init_tty" >&5 |
| 14275 | ++echo "${ECHO_T}$ac_cv_lib_slang_SLang_init_tty" >&6; } |
| 14276 | + if test $ac_cv_lib_slang_SLang_init_tty = yes; then |
| 14277 | + cat >>confdefs.h <<_ACEOF |
| 14278 | + #define HAVE_LIBSLANG 1 |
| 14279 | +@@ -11679,18 +12324,19 @@ |
| 14280 | + for ac_header in slang.h slang/slang.h |
| 14281 | + do |
| 14282 | + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14283 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 14284 | +- echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14285 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 14286 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 14287 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14288 | ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14289 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14290 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14291 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14292 | + fi |
| 14293 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 14294 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 14295 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14296 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14297 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 14298 | + else |
| 14299 | + # Is the header compilable? |
| 14300 | +-echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 14301 | +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 14302 | ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 14303 | ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 14304 | + cat >conftest.$ac_ext <<_ACEOF |
| 14305 | + /* confdefs.h. */ |
| 14306 | + _ACEOF |
| 14307 | +@@ -11701,41 +12347,37 @@ |
| 14308 | + #include <$ac_header> |
| 14309 | + _ACEOF |
| 14310 | + rm -f conftest.$ac_objext |
| 14311 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 14312 | +- (eval $ac_compile) 2>conftest.er1 |
| 14313 | ++if { (ac_try="$ac_compile" |
| 14314 | ++case "(($ac_try" in |
| 14315 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14316 | ++ *) ac_try_echo=$ac_try;; |
| 14317 | ++esac |
| 14318 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14319 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 14320 | + ac_status=$? |
| 14321 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14322 | + rm -f conftest.er1 |
| 14323 | + cat conftest.err >&5 |
| 14324 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14325 | +- (exit $ac_status); } && |
| 14326 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14327 | +- || test ! -s conftest.err' |
| 14328 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14329 | +- (eval $ac_try) 2>&5 |
| 14330 | +- ac_status=$? |
| 14331 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14332 | +- (exit $ac_status); }; } && |
| 14333 | +- { ac_try='test -s conftest.$ac_objext' |
| 14334 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14335 | +- (eval $ac_try) 2>&5 |
| 14336 | +- ac_status=$? |
| 14337 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14338 | +- (exit $ac_status); }; }; then |
| 14339 | ++ (exit $ac_status); } && { |
| 14340 | ++ test -z "$ac_c_werror_flag" || |
| 14341 | ++ test ! -s conftest.err |
| 14342 | ++ } && test -s conftest.$ac_objext; then |
| 14343 | + ac_header_compiler=yes |
| 14344 | + else |
| 14345 | + echo "$as_me: failed program was:" >&5 |
| 14346 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14347 | + |
| 14348 | +-ac_header_compiler=no |
| 14349 | ++ ac_header_compiler=no |
| 14350 | + fi |
| 14351 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14352 | +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 14353 | +-echo "${ECHO_T}$ac_header_compiler" >&6 |
| 14354 | ++ |
| 14355 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14356 | ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 14357 | ++echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 14358 | + |
| 14359 | + # Is the header present? |
| 14360 | +-echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 14361 | +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 14362 | ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 14363 | ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 14364 | + cat >conftest.$ac_ext <<_ACEOF |
| 14365 | + /* confdefs.h. */ |
| 14366 | + _ACEOF |
| 14367 | +@@ -11744,24 +12386,22 @@ |
| 14368 | + /* end confdefs.h. */ |
| 14369 | + #include <$ac_header> |
| 14370 | + _ACEOF |
| 14371 | +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 14372 | +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 14373 | ++if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 14374 | ++case "(($ac_try" in |
| 14375 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14376 | ++ *) ac_try_echo=$ac_try;; |
| 14377 | ++esac |
| 14378 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14379 | ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 14380 | + ac_status=$? |
| 14381 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14382 | + rm -f conftest.er1 |
| 14383 | + cat conftest.err >&5 |
| 14384 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14385 | +- (exit $ac_status); } >/dev/null; then |
| 14386 | +- if test -s conftest.err; then |
| 14387 | +- ac_cpp_err=$ac_c_preproc_warn_flag |
| 14388 | +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 14389 | +- else |
| 14390 | +- ac_cpp_err= |
| 14391 | +- fi |
| 14392 | +-else |
| 14393 | +- ac_cpp_err=yes |
| 14394 | +-fi |
| 14395 | +-if test -z "$ac_cpp_err"; then |
| 14396 | ++ (exit $ac_status); } >/dev/null && { |
| 14397 | ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 14398 | ++ test ! -s conftest.err |
| 14399 | ++ }; then |
| 14400 | + ac_header_preproc=yes |
| 14401 | + else |
| 14402 | + echo "$as_me: failed program was:" >&5 |
| 14403 | +@@ -11769,9 +12409,10 @@ |
| 14404 | + |
| 14405 | + ac_header_preproc=no |
| 14406 | + fi |
| 14407 | ++ |
| 14408 | + rm -f conftest.err conftest.$ac_ext |
| 14409 | +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 14410 | +-echo "${ECHO_T}$ac_header_preproc" >&6 |
| 14411 | ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 14412 | ++echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 14413 | + |
| 14414 | + # So? What about this header? |
| 14415 | + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 14416 | +@@ -11795,25 +12436,19 @@ |
| 14417 | + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 14418 | + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 14419 | + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 14420 | +- ( |
| 14421 | +- cat <<\_ASBOX |
| 14422 | +-## ---------------------------------- ## |
| 14423 | +-## Report this to the advance lists. ## |
| 14424 | +-## ---------------------------------- ## |
| 14425 | +-_ASBOX |
| 14426 | +- ) | |
| 14427 | +- sed "s/^/$as_me: WARNING: /" >&2 |
| 14428 | ++ |
| 14429 | + ;; |
| 14430 | + esac |
| 14431 | +-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14432 | +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 14433 | +-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 14434 | ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14435 | ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14436 | ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14437 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14438 | + else |
| 14439 | + eval "$as_ac_Header=\$ac_header_preproc" |
| 14440 | + fi |
| 14441 | +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 14442 | +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 14443 | ++ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14444 | ++ { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14445 | ++echo "${ECHO_T}$ac_res" >&6; } |
| 14446 | + |
| 14447 | + fi |
| 14448 | + if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 14449 | +@@ -11832,17 +12467,17 @@ |
| 14450 | + |
| 14451 | + |
| 14452 | + # Checks for ncurses |
| 14453 | +-# Check whether --enable-ncurses or --disable-ncurses was given. |
| 14454 | ++# Check whether --enable-ncurses was given. |
| 14455 | + if test "${enable_ncurses+set}" = set; then |
| 14456 | +- enableval="$enable_ncurses" |
| 14457 | +- ac_lib_ncurses=$enableval |
| 14458 | ++ enableval=$enable_ncurses; ac_lib_ncurses=$enableval |
| 14459 | + else |
| 14460 | + ac_lib_ncurses=auto |
| 14461 | + |
| 14462 | +-fi; |
| 14463 | ++fi |
| 14464 | ++ |
| 14465 | + if test $ac_lib_ncurses = auto; then |
| 14466 | +- echo "$as_me:$LINENO: checking for endwin in -lncurses" >&5 |
| 14467 | +-echo $ECHO_N "checking for endwin in -lncurses... $ECHO_C" >&6 |
| 14468 | ++ { echo "$as_me:$LINENO: checking for endwin in -lncurses" >&5 |
| 14469 | ++echo $ECHO_N "checking for endwin in -lncurses... $ECHO_C" >&6; } |
| 14470 | + if test "${ac_cv_lib_ncurses_endwin+set}" = set; then |
| 14471 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14472 | + else |
| 14473 | +@@ -11856,56 +12491,53 @@ |
| 14474 | + cat >>conftest.$ac_ext <<_ACEOF |
| 14475 | + /* end confdefs.h. */ |
| 14476 | + |
| 14477 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 14478 | ++/* Override any GCC internal prototype to avoid an error. |
| 14479 | ++ Use char because int might match the return type of a GCC |
| 14480 | ++ builtin and then its argument prototype would still apply. */ |
| 14481 | + #ifdef __cplusplus |
| 14482 | + extern "C" |
| 14483 | + #endif |
| 14484 | +-/* We use char because int might match the return type of a gcc2 |
| 14485 | +- builtin and then its argument prototype would still apply. */ |
| 14486 | + char endwin (); |
| 14487 | + int |
| 14488 | + main () |
| 14489 | + { |
| 14490 | +-endwin (); |
| 14491 | ++return endwin (); |
| 14492 | + ; |
| 14493 | + return 0; |
| 14494 | + } |
| 14495 | + _ACEOF |
| 14496 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14497 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14498 | +- (eval $ac_link) 2>conftest.er1 |
| 14499 | ++if { (ac_try="$ac_link" |
| 14500 | ++case "(($ac_try" in |
| 14501 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14502 | ++ *) ac_try_echo=$ac_try;; |
| 14503 | ++esac |
| 14504 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14505 | ++ (eval "$ac_link") 2>conftest.er1 |
| 14506 | + ac_status=$? |
| 14507 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14508 | + rm -f conftest.er1 |
| 14509 | + cat conftest.err >&5 |
| 14510 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14511 | +- (exit $ac_status); } && |
| 14512 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14513 | +- || test ! -s conftest.err' |
| 14514 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14515 | +- (eval $ac_try) 2>&5 |
| 14516 | +- ac_status=$? |
| 14517 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14518 | +- (exit $ac_status); }; } && |
| 14519 | +- { ac_try='test -s conftest$ac_exeext' |
| 14520 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14521 | +- (eval $ac_try) 2>&5 |
| 14522 | +- ac_status=$? |
| 14523 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14524 | +- (exit $ac_status); }; }; then |
| 14525 | ++ (exit $ac_status); } && { |
| 14526 | ++ test -z "$ac_c_werror_flag" || |
| 14527 | ++ test ! -s conftest.err |
| 14528 | ++ } && test -s conftest$ac_exeext && |
| 14529 | ++ $as_test_x conftest$ac_exeext; then |
| 14530 | + ac_cv_lib_ncurses_endwin=yes |
| 14531 | + else |
| 14532 | + echo "$as_me: failed program was:" >&5 |
| 14533 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14534 | + |
| 14535 | +-ac_cv_lib_ncurses_endwin=no |
| 14536 | ++ ac_cv_lib_ncurses_endwin=no |
| 14537 | + fi |
| 14538 | +-rm -f conftest.err conftest.$ac_objext \ |
| 14539 | ++ |
| 14540 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 14541 | + conftest$ac_exeext conftest.$ac_ext |
| 14542 | + LIBS=$ac_check_lib_save_LIBS |
| 14543 | + fi |
| 14544 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_endwin" >&5 |
| 14545 | +-echo "${ECHO_T}$ac_cv_lib_ncurses_endwin" >&6 |
| 14546 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_endwin" >&5 |
| 14547 | ++echo "${ECHO_T}$ac_cv_lib_ncurses_endwin" >&6; } |
| 14548 | + if test $ac_cv_lib_ncurses_endwin = yes; then |
| 14549 | + ac_lib_ncurses=yes |
| 14550 | + else |
| 14551 | +@@ -11914,8 +12546,8 @@ |
| 14552 | + |
| 14553 | + elif test $ac_lib_ncurses = yes; then |
| 14554 | + |
| 14555 | +-echo "$as_me:$LINENO: checking for endwin in -lncurses" >&5 |
| 14556 | +-echo $ECHO_N "checking for endwin in -lncurses... $ECHO_C" >&6 |
| 14557 | ++{ echo "$as_me:$LINENO: checking for endwin in -lncurses" >&5 |
| 14558 | ++echo $ECHO_N "checking for endwin in -lncurses... $ECHO_C" >&6; } |
| 14559 | + if test "${ac_cv_lib_ncurses_endwin+set}" = set; then |
| 14560 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14561 | + else |
| 14562 | +@@ -11929,56 +12561,53 @@ |
| 14563 | + cat >>conftest.$ac_ext <<_ACEOF |
| 14564 | + /* end confdefs.h. */ |
| 14565 | + |
| 14566 | +-/* Override any gcc2 internal prototype to avoid an error. */ |
| 14567 | ++/* Override any GCC internal prototype to avoid an error. |
| 14568 | ++ Use char because int might match the return type of a GCC |
| 14569 | ++ builtin and then its argument prototype would still apply. */ |
| 14570 | + #ifdef __cplusplus |
| 14571 | + extern "C" |
| 14572 | + #endif |
| 14573 | +-/* We use char because int might match the return type of a gcc2 |
| 14574 | +- builtin and then its argument prototype would still apply. */ |
| 14575 | + char endwin (); |
| 14576 | + int |
| 14577 | + main () |
| 14578 | + { |
| 14579 | +-endwin (); |
| 14580 | ++return endwin (); |
| 14581 | + ; |
| 14582 | + return 0; |
| 14583 | + } |
| 14584 | + _ACEOF |
| 14585 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14586 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14587 | +- (eval $ac_link) 2>conftest.er1 |
| 14588 | ++if { (ac_try="$ac_link" |
| 14589 | ++case "(($ac_try" in |
| 14590 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14591 | ++ *) ac_try_echo=$ac_try;; |
| 14592 | ++esac |
| 14593 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14594 | ++ (eval "$ac_link") 2>conftest.er1 |
| 14595 | + ac_status=$? |
| 14596 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14597 | + rm -f conftest.er1 |
| 14598 | + cat conftest.err >&5 |
| 14599 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14600 | +- (exit $ac_status); } && |
| 14601 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14602 | +- || test ! -s conftest.err' |
| 14603 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14604 | +- (eval $ac_try) 2>&5 |
| 14605 | +- ac_status=$? |
| 14606 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14607 | +- (exit $ac_status); }; } && |
| 14608 | +- { ac_try='test -s conftest$ac_exeext' |
| 14609 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14610 | +- (eval $ac_try) 2>&5 |
| 14611 | +- ac_status=$? |
| 14612 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14613 | +- (exit $ac_status); }; }; then |
| 14614 | ++ (exit $ac_status); } && { |
| 14615 | ++ test -z "$ac_c_werror_flag" || |
| 14616 | ++ test ! -s conftest.err |
| 14617 | ++ } && test -s conftest$ac_exeext && |
| 14618 | ++ $as_test_x conftest$ac_exeext; then |
| 14619 | + ac_cv_lib_ncurses_endwin=yes |
| 14620 | + else |
| 14621 | + echo "$as_me: failed program was:" >&5 |
| 14622 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14623 | + |
| 14624 | +-ac_cv_lib_ncurses_endwin=no |
| 14625 | ++ ac_cv_lib_ncurses_endwin=no |
| 14626 | + fi |
| 14627 | +-rm -f conftest.err conftest.$ac_objext \ |
| 14628 | ++ |
| 14629 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 14630 | + conftest$ac_exeext conftest.$ac_ext |
| 14631 | + LIBS=$ac_check_lib_save_LIBS |
| 14632 | + fi |
| 14633 | +-echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_endwin" >&5 |
| 14634 | +-echo "${ECHO_T}$ac_cv_lib_ncurses_endwin" >&6 |
| 14635 | ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_endwin" >&5 |
| 14636 | ++echo "${ECHO_T}$ac_cv_lib_ncurses_endwin" >&6; } |
| 14637 | + if test $ac_cv_lib_ncurses_endwin = yes; then |
| 14638 | + cat >>confdefs.h <<_ACEOF |
| 14639 | + #define HAVE_LIBNCURSES 1 |
| 14640 | +@@ -12004,33 +12633,33 @@ |
| 14641 | + ac_lib_freetype_args= |
| 14642 | + ac_lib_freetype_path="$PATH" |
| 14643 | + |
| 14644 | +-# Check whether --with-freetype-prefix or --without-freetype-prefix was given. |
| 14645 | ++# Check whether --with-freetype-prefix was given. |
| 14646 | + if test "${with_freetype_prefix+set}" = set; then |
| 14647 | +- withval="$with_freetype_prefix" |
| 14648 | +- ac_lib_freetype_prefix="$withval" |
| 14649 | ++ withval=$with_freetype_prefix; ac_lib_freetype_prefix="$withval" |
| 14650 | + else |
| 14651 | + ac_lib_freetype_prefix="" |
| 14652 | + |
| 14653 | +-fi; |
| 14654 | ++fi |
| 14655 | ++ |
| 14656 | + if test ! -z $ac_lib_freetype_prefix; then |
| 14657 | + ac_lib_freetype_args="--prefix=${ac_lib_freetype_prefix}" |
| 14658 | + ac_lib_freetype_path="${ac_lib_freetype_prefix}/bin" |
| 14659 | + fi |
| 14660 | +-# Check whether --enable-freetype or --disable-freetype was given. |
| 14661 | ++# Check whether --enable-freetype was given. |
| 14662 | + if test "${enable_freetype+set}" = set; then |
| 14663 | +- enableval="$enable_freetype" |
| 14664 | +- ac_lib_freetype=$enableval |
| 14665 | ++ enableval=$enable_freetype; ac_lib_freetype=$enableval |
| 14666 | + else |
| 14667 | + ac_lib_freetype=auto |
| 14668 | + |
| 14669 | +-fi; |
| 14670 | ++fi |
| 14671 | ++ |
| 14672 | + if test $ac_lib_freetype = auto; then |
| 14673 | + for ac_prog in ${ac_tool_prefix}freetype-config |
| 14674 | + do |
| 14675 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 14676 | + set dummy $ac_prog; ac_word=$2 |
| 14677 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14678 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 14679 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14680 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 14681 | + if test "${ac_cv_path_ac_lib_freetype_config+set}" = set; then |
| 14682 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14683 | + else |
| 14684 | +@@ -12046,27 +12675,28 @@ |
| 14685 | + IFS=$as_save_IFS |
| 14686 | + test -z "$as_dir" && as_dir=. |
| 14687 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 14688 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14689 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 14690 | + ac_cv_path_ac_lib_freetype_config="$as_dir/$ac_word$ac_exec_ext" |
| 14691 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14692 | + break 2 |
| 14693 | + fi |
| 14694 | + done |
| 14695 | + done |
| 14696 | ++IFS=$as_save_IFS |
| 14697 | + |
| 14698 | + ;; |
| 14699 | + esac |
| 14700 | + fi |
| 14701 | + ac_lib_freetype_config=$ac_cv_path_ac_lib_freetype_config |
| 14702 | +- |
| 14703 | + if test -n "$ac_lib_freetype_config"; then |
| 14704 | +- echo "$as_me:$LINENO: result: $ac_lib_freetype_config" >&5 |
| 14705 | +-echo "${ECHO_T}$ac_lib_freetype_config" >&6 |
| 14706 | ++ { echo "$as_me:$LINENO: result: $ac_lib_freetype_config" >&5 |
| 14707 | ++echo "${ECHO_T}$ac_lib_freetype_config" >&6; } |
| 14708 | + else |
| 14709 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 14710 | +-echo "${ECHO_T}no" >&6 |
| 14711 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 14712 | ++echo "${ECHO_T}no" >&6; } |
| 14713 | + fi |
| 14714 | + |
| 14715 | ++ |
| 14716 | + test -n "$ac_lib_freetype_config" && break |
| 14717 | + done |
| 14718 | + |
| 14719 | +@@ -12079,8 +12709,8 @@ |
| 14720 | + FREETYPELIBS=`$ac_lib_freetype_config $ac_lib_freetype_args --libs` |
| 14721 | + CFLAGS="$FREETYPECFLAGS $CFLAGS" |
| 14722 | + LIBS="$FREETYPELIBS $LIBS" |
| 14723 | +- echo "$as_me:$LINENO: checking for FreeType2" >&5 |
| 14724 | +-echo $ECHO_N "checking for FreeType2... $ECHO_C" >&6 |
| 14725 | ++ { echo "$as_me:$LINENO: checking for FreeType2" >&5 |
| 14726 | ++echo $ECHO_N "checking for FreeType2... $ECHO_C" >&6; } |
| 14727 | + cat >conftest.$ac_ext <<_ACEOF |
| 14728 | + /* confdefs.h. */ |
| 14729 | + _ACEOF |
| 14730 | +@@ -12106,38 +12736,35 @@ |
| 14731 | + } |
| 14732 | + _ACEOF |
| 14733 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14734 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14735 | +- (eval $ac_link) 2>conftest.er1 |
| 14736 | ++if { (ac_try="$ac_link" |
| 14737 | ++case "(($ac_try" in |
| 14738 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14739 | ++ *) ac_try_echo=$ac_try;; |
| 14740 | ++esac |
| 14741 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14742 | ++ (eval "$ac_link") 2>conftest.er1 |
| 14743 | + ac_status=$? |
| 14744 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14745 | + rm -f conftest.er1 |
| 14746 | + cat conftest.err >&5 |
| 14747 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14748 | +- (exit $ac_status); } && |
| 14749 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14750 | +- || test ! -s conftest.err' |
| 14751 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14752 | +- (eval $ac_try) 2>&5 |
| 14753 | +- ac_status=$? |
| 14754 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14755 | +- (exit $ac_status); }; } && |
| 14756 | +- { ac_try='test -s conftest$ac_exeext' |
| 14757 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14758 | +- (eval $ac_try) 2>&5 |
| 14759 | +- ac_status=$? |
| 14760 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14761 | +- (exit $ac_status); }; }; then |
| 14762 | ++ (exit $ac_status); } && { |
| 14763 | ++ test -z "$ac_c_werror_flag" || |
| 14764 | ++ test ! -s conftest.err |
| 14765 | ++ } && test -s conftest$ac_exeext && |
| 14766 | ++ $as_test_x conftest$ac_exeext; then |
| 14767 | + ac_lib_freetype=yes |
| 14768 | + else |
| 14769 | + echo "$as_me: failed program was:" >&5 |
| 14770 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14771 | + |
| 14772 | +-ac_lib_freetype=no |
| 14773 | ++ ac_lib_freetype=no |
| 14774 | + fi |
| 14775 | +-rm -f conftest.err conftest.$ac_objext \ |
| 14776 | ++ |
| 14777 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 14778 | + conftest$ac_exeext conftest.$ac_ext |
| 14779 | +- echo "$as_me:$LINENO: result: $ac_lib_freetype" >&5 |
| 14780 | +-echo "${ECHO_T}$ac_lib_freetype" >&6 |
| 14781 | ++ { echo "$as_me:$LINENO: result: $ac_lib_freetype" >&5 |
| 14782 | ++echo "${ECHO_T}$ac_lib_freetype" >&6; } |
| 14783 | + CFLAGS="$ac_save_CFLAGS" |
| 14784 | + LIBS="$ac_save_LIBS" |
| 14785 | + fi |
| 14786 | +@@ -12146,8 +12773,8 @@ |
| 14787 | + do |
| 14788 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 14789 | + set dummy $ac_prog; ac_word=$2 |
| 14790 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14791 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 14792 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14793 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 14794 | + if test "${ac_cv_path_ac_lib_freetype_config+set}" = set; then |
| 14795 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14796 | + else |
| 14797 | +@@ -12163,27 +12790,28 @@ |
| 14798 | + IFS=$as_save_IFS |
| 14799 | + test -z "$as_dir" && as_dir=. |
| 14800 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 14801 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14802 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 14803 | + ac_cv_path_ac_lib_freetype_config="$as_dir/$ac_word$ac_exec_ext" |
| 14804 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14805 | + break 2 |
| 14806 | + fi |
| 14807 | + done |
| 14808 | + done |
| 14809 | ++IFS=$as_save_IFS |
| 14810 | + |
| 14811 | + ;; |
| 14812 | + esac |
| 14813 | + fi |
| 14814 | + ac_lib_freetype_config=$ac_cv_path_ac_lib_freetype_config |
| 14815 | +- |
| 14816 | + if test -n "$ac_lib_freetype_config"; then |
| 14817 | +- echo "$as_me:$LINENO: result: $ac_lib_freetype_config" >&5 |
| 14818 | +-echo "${ECHO_T}$ac_lib_freetype_config" >&6 |
| 14819 | ++ { echo "$as_me:$LINENO: result: $ac_lib_freetype_config" >&5 |
| 14820 | ++echo "${ECHO_T}$ac_lib_freetype_config" >&6; } |
| 14821 | + else |
| 14822 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 14823 | +-echo "${ECHO_T}no" >&6 |
| 14824 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 14825 | ++echo "${ECHO_T}no" >&6; } |
| 14826 | + fi |
| 14827 | + |
| 14828 | ++ |
| 14829 | + test -n "$ac_lib_freetype_config" && break |
| 14830 | + done |
| 14831 | + |
| 14832 | +@@ -12198,8 +12826,8 @@ |
| 14833 | + FREETYPELIBS=`$ac_lib_freetype_config $ac_lib_freetype_args --libs` |
| 14834 | + CFLAGS="$FREETYPECFLAGS $CFLAGS" |
| 14835 | + LIBS="$FREETYPELIBS $LIBS" |
| 14836 | +- echo "$as_me:$LINENO: checking for FreeType2" >&5 |
| 14837 | +-echo $ECHO_N "checking for FreeType2... $ECHO_C" >&6 |
| 14838 | ++ { echo "$as_me:$LINENO: checking for FreeType2" >&5 |
| 14839 | ++echo $ECHO_N "checking for FreeType2... $ECHO_C" >&6; } |
| 14840 | + cat >conftest.$ac_ext <<_ACEOF |
| 14841 | + /* confdefs.h. */ |
| 14842 | + _ACEOF |
| 14843 | +@@ -12224,40 +12852,37 @@ |
| 14844 | + } |
| 14845 | + _ACEOF |
| 14846 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14847 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14848 | +- (eval $ac_link) 2>conftest.er1 |
| 14849 | ++if { (ac_try="$ac_link" |
| 14850 | ++case "(($ac_try" in |
| 14851 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14852 | ++ *) ac_try_echo=$ac_try;; |
| 14853 | ++esac |
| 14854 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14855 | ++ (eval "$ac_link") 2>conftest.er1 |
| 14856 | + ac_status=$? |
| 14857 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 14858 | + rm -f conftest.er1 |
| 14859 | + cat conftest.err >&5 |
| 14860 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14861 | +- (exit $ac_status); } && |
| 14862 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 14863 | +- || test ! -s conftest.err' |
| 14864 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14865 | +- (eval $ac_try) 2>&5 |
| 14866 | +- ac_status=$? |
| 14867 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14868 | +- (exit $ac_status); }; } && |
| 14869 | +- { ac_try='test -s conftest$ac_exeext' |
| 14870 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14871 | +- (eval $ac_try) 2>&5 |
| 14872 | +- ac_status=$? |
| 14873 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14874 | +- (exit $ac_status); }; }; then |
| 14875 | ++ (exit $ac_status); } && { |
| 14876 | ++ test -z "$ac_c_werror_flag" || |
| 14877 | ++ test ! -s conftest.err |
| 14878 | ++ } && test -s conftest$ac_exeext && |
| 14879 | ++ $as_test_x conftest$ac_exeext; then |
| 14880 | + : |
| 14881 | + else |
| 14882 | + echo "$as_me: failed program was:" >&5 |
| 14883 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 14884 | + |
| 14885 | +-{ { echo "$as_me:$LINENO: error: the FreeType2 library is missing" >&5 |
| 14886 | ++ { { echo "$as_me:$LINENO: error: the FreeType2 library is missing" >&5 |
| 14887 | + echo "$as_me: error: the FreeType2 library is missing" >&2;} |
| 14888 | + { (exit 1); exit 1; }; } |
| 14889 | + fi |
| 14890 | +-rm -f conftest.err conftest.$ac_objext \ |
| 14891 | ++ |
| 14892 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 14893 | + conftest$ac_exeext conftest.$ac_ext |
| 14894 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 14895 | +-echo "${ECHO_T}yes" >&6 |
| 14896 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 14897 | ++echo "${ECHO_T}yes" >&6; } |
| 14898 | + CFLAGS="$ac_save_CFLAGS" |
| 14899 | + LIBS="$ac_save_LIBS" |
| 14900 | + fi |
| 14901 | +@@ -12274,33 +12899,33 @@ |
| 14902 | + ac_lib_sdl_args= |
| 14903 | + ac_lib_sdl_path="$PATH" |
| 14904 | + |
| 14905 | +-# Check whether --with-sdl-prefix or --without-sdl-prefix was given. |
| 14906 | ++# Check whether --with-sdl-prefix was given. |
| 14907 | + if test "${with_sdl_prefix+set}" = set; then |
| 14908 | +- withval="$with_sdl_prefix" |
| 14909 | +- ac_lib_sdl_prefix="$withval" |
| 14910 | ++ withval=$with_sdl_prefix; ac_lib_sdl_prefix="$withval" |
| 14911 | + else |
| 14912 | + ac_lib_sdl_prefix="" |
| 14913 | + |
| 14914 | +-fi; |
| 14915 | ++fi |
| 14916 | ++ |
| 14917 | + if test ! -z $ac_lib_sdl_prefix; then |
| 14918 | + ac_lib_sdl_args="--prefix=${ac_lib_sdl_prefix}" |
| 14919 | + ac_lib_sdl_path="${ac_lib_sdl_prefix}/bin" |
| 14920 | + fi |
| 14921 | +-# Check whether --enable-sdl or --disable-sdl was given. |
| 14922 | ++# Check whether --enable-sdl was given. |
| 14923 | + if test "${enable_sdl+set}" = set; then |
| 14924 | +- enableval="$enable_sdl" |
| 14925 | +- ac_lib_sdl=$enableval |
| 14926 | ++ enableval=$enable_sdl; ac_lib_sdl=$enableval |
| 14927 | + else |
| 14928 | + ac_lib_sdl=auto |
| 14929 | + |
| 14930 | +-fi; |
| 14931 | ++fi |
| 14932 | ++ |
| 14933 | + if test $ac_lib_sdl = auto; then |
| 14934 | + for ac_prog in ${ac_tool_prefix}sdl-config |
| 14935 | + do |
| 14936 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 14937 | + set dummy $ac_prog; ac_word=$2 |
| 14938 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14939 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 14940 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14941 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 14942 | + if test "${ac_cv_path_ac_lib_sdl_config+set}" = set; then |
| 14943 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14944 | + else |
| 14945 | +@@ -12316,27 +12941,28 @@ |
| 14946 | + IFS=$as_save_IFS |
| 14947 | + test -z "$as_dir" && as_dir=. |
| 14948 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 14949 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14950 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 14951 | + ac_cv_path_ac_lib_sdl_config="$as_dir/$ac_word$ac_exec_ext" |
| 14952 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14953 | + break 2 |
| 14954 | + fi |
| 14955 | + done |
| 14956 | + done |
| 14957 | ++IFS=$as_save_IFS |
| 14958 | + |
| 14959 | + ;; |
| 14960 | + esac |
| 14961 | + fi |
| 14962 | + ac_lib_sdl_config=$ac_cv_path_ac_lib_sdl_config |
| 14963 | +- |
| 14964 | + if test -n "$ac_lib_sdl_config"; then |
| 14965 | +- echo "$as_me:$LINENO: result: $ac_lib_sdl_config" >&5 |
| 14966 | +-echo "${ECHO_T}$ac_lib_sdl_config" >&6 |
| 14967 | ++ { echo "$as_me:$LINENO: result: $ac_lib_sdl_config" >&5 |
| 14968 | ++echo "${ECHO_T}$ac_lib_sdl_config" >&6; } |
| 14969 | + else |
| 14970 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 14971 | +-echo "${ECHO_T}no" >&6 |
| 14972 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 14973 | ++echo "${ECHO_T}no" >&6; } |
| 14974 | + fi |
| 14975 | + |
| 14976 | ++ |
| 14977 | + test -n "$ac_lib_sdl_config" && break |
| 14978 | + done |
| 14979 | + |
| 14980 | +@@ -12353,8 +12979,8 @@ |
| 14981 | + fi |
| 14982 | + CFLAGS="$SDLCFLAGS $CFLAGS" |
| 14983 | + LIBS="$SDLLIBS $LIBS" |
| 14984 | +- echo "$as_me:$LINENO: checking for SDL" >&5 |
| 14985 | +-echo $ECHO_N "checking for SDL... $ECHO_C" >&6 |
| 14986 | ++ { echo "$as_me:$LINENO: checking for SDL" >&5 |
| 14987 | ++echo $ECHO_N "checking for SDL... $ECHO_C" >&6; } |
| 14988 | + cat >conftest.$ac_ext <<_ACEOF |
| 14989 | + /* confdefs.h. */ |
| 14990 | + _ACEOF |
| 14991 | +@@ -12376,38 +13002,35 @@ |
| 14992 | + } |
| 14993 | + _ACEOF |
| 14994 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 14995 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14996 | +- (eval $ac_link) 2>conftest.er1 |
| 14997 | ++if { (ac_try="$ac_link" |
| 14998 | ++case "(($ac_try" in |
| 14999 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15000 | ++ *) ac_try_echo=$ac_try;; |
| 15001 | ++esac |
| 15002 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15003 | ++ (eval "$ac_link") 2>conftest.er1 |
| 15004 | + ac_status=$? |
| 15005 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15006 | + rm -f conftest.er1 |
| 15007 | + cat conftest.err >&5 |
| 15008 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15009 | +- (exit $ac_status); } && |
| 15010 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15011 | +- || test ! -s conftest.err' |
| 15012 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15013 | +- (eval $ac_try) 2>&5 |
| 15014 | +- ac_status=$? |
| 15015 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15016 | +- (exit $ac_status); }; } && |
| 15017 | +- { ac_try='test -s conftest$ac_exeext' |
| 15018 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15019 | +- (eval $ac_try) 2>&5 |
| 15020 | +- ac_status=$? |
| 15021 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15022 | +- (exit $ac_status); }; }; then |
| 15023 | ++ (exit $ac_status); } && { |
| 15024 | ++ test -z "$ac_c_werror_flag" || |
| 15025 | ++ test ! -s conftest.err |
| 15026 | ++ } && test -s conftest$ac_exeext && |
| 15027 | ++ $as_test_x conftest$ac_exeext; then |
| 15028 | + ac_lib_sdl=yes |
| 15029 | + else |
| 15030 | + echo "$as_me: failed program was:" >&5 |
| 15031 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15032 | + |
| 15033 | +-ac_lib_sdl=no |
| 15034 | ++ ac_lib_sdl=no |
| 15035 | + fi |
| 15036 | +-rm -f conftest.err conftest.$ac_objext \ |
| 15037 | ++ |
| 15038 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 15039 | + conftest$ac_exeext conftest.$ac_ext |
| 15040 | +- echo "$as_me:$LINENO: result: $ac_lib_sdl" >&5 |
| 15041 | +-echo "${ECHO_T}$ac_lib_sdl" >&6 |
| 15042 | ++ { echo "$as_me:$LINENO: result: $ac_lib_sdl" >&5 |
| 15043 | ++echo "${ECHO_T}$ac_lib_sdl" >&6; } |
| 15044 | + CFLAGS="$ac_save_CFLAGS" |
| 15045 | + LIBS="$ac_save_LIBS" |
| 15046 | + fi |
| 15047 | +@@ -12416,8 +13039,8 @@ |
| 15048 | + do |
| 15049 | + # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 15050 | + set dummy $ac_prog; ac_word=$2 |
| 15051 | +-echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 15052 | +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 15053 | ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 15054 | ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 15055 | + if test "${ac_cv_path_ac_lib_sdl_config+set}" = set; then |
| 15056 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15057 | + else |
| 15058 | +@@ -12433,27 +13056,28 @@ |
| 15059 | + IFS=$as_save_IFS |
| 15060 | + test -z "$as_dir" && as_dir=. |
| 15061 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 15062 | +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 15063 | ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 15064 | + ac_cv_path_ac_lib_sdl_config="$as_dir/$ac_word$ac_exec_ext" |
| 15065 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 15066 | + break 2 |
| 15067 | + fi |
| 15068 | + done |
| 15069 | + done |
| 15070 | ++IFS=$as_save_IFS |
| 15071 | + |
| 15072 | + ;; |
| 15073 | + esac |
| 15074 | + fi |
| 15075 | + ac_lib_sdl_config=$ac_cv_path_ac_lib_sdl_config |
| 15076 | +- |
| 15077 | + if test -n "$ac_lib_sdl_config"; then |
| 15078 | +- echo "$as_me:$LINENO: result: $ac_lib_sdl_config" >&5 |
| 15079 | +-echo "${ECHO_T}$ac_lib_sdl_config" >&6 |
| 15080 | ++ { echo "$as_me:$LINENO: result: $ac_lib_sdl_config" >&5 |
| 15081 | ++echo "${ECHO_T}$ac_lib_sdl_config" >&6; } |
| 15082 | + else |
| 15083 | +- echo "$as_me:$LINENO: result: no" >&5 |
| 15084 | +-echo "${ECHO_T}no" >&6 |
| 15085 | ++ { echo "$as_me:$LINENO: result: no" >&5 |
| 15086 | ++echo "${ECHO_T}no" >&6; } |
| 15087 | + fi |
| 15088 | + |
| 15089 | ++ |
| 15090 | + test -n "$ac_lib_sdl_config" && break |
| 15091 | + done |
| 15092 | + |
| 15093 | +@@ -12472,8 +13096,8 @@ |
| 15094 | + fi |
| 15095 | + CFLAGS="$SDLCFLAGS $CFLAGS" |
| 15096 | + LIBS="$SDLLIBS $LIBS" |
| 15097 | +- echo "$as_me:$LINENO: checking for SDL" >&5 |
| 15098 | +-echo $ECHO_N "checking for SDL... $ECHO_C" >&6 |
| 15099 | ++ { echo "$as_me:$LINENO: checking for SDL" >&5 |
| 15100 | ++echo $ECHO_N "checking for SDL... $ECHO_C" >&6; } |
| 15101 | + cat >conftest.$ac_ext <<_ACEOF |
| 15102 | + /* confdefs.h. */ |
| 15103 | + _ACEOF |
| 15104 | +@@ -12495,40 +13119,37 @@ |
| 15105 | + } |
| 15106 | + _ACEOF |
| 15107 | + rm -f conftest.$ac_objext conftest$ac_exeext |
| 15108 | +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 15109 | +- (eval $ac_link) 2>conftest.er1 |
| 15110 | ++if { (ac_try="$ac_link" |
| 15111 | ++case "(($ac_try" in |
| 15112 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15113 | ++ *) ac_try_echo=$ac_try;; |
| 15114 | ++esac |
| 15115 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15116 | ++ (eval "$ac_link") 2>conftest.er1 |
| 15117 | + ac_status=$? |
| 15118 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15119 | + rm -f conftest.er1 |
| 15120 | + cat conftest.err >&5 |
| 15121 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15122 | +- (exit $ac_status); } && |
| 15123 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15124 | +- || test ! -s conftest.err' |
| 15125 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15126 | +- (eval $ac_try) 2>&5 |
| 15127 | +- ac_status=$? |
| 15128 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15129 | +- (exit $ac_status); }; } && |
| 15130 | +- { ac_try='test -s conftest$ac_exeext' |
| 15131 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15132 | +- (eval $ac_try) 2>&5 |
| 15133 | +- ac_status=$? |
| 15134 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15135 | +- (exit $ac_status); }; }; then |
| 15136 | ++ (exit $ac_status); } && { |
| 15137 | ++ test -z "$ac_c_werror_flag" || |
| 15138 | ++ test ! -s conftest.err |
| 15139 | ++ } && test -s conftest$ac_exeext && |
| 15140 | ++ $as_test_x conftest$ac_exeext; then |
| 15141 | + : |
| 15142 | + else |
| 15143 | + echo "$as_me: failed program was:" >&5 |
| 15144 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15145 | + |
| 15146 | +-{ { echo "$as_me:$LINENO: error: the SDL library is missing" >&5 |
| 15147 | ++ { { echo "$as_me:$LINENO: error: the SDL library is missing" >&5 |
| 15148 | + echo "$as_me: error: the SDL library is missing" >&2;} |
| 15149 | + { (exit 1); exit 1; }; } |
| 15150 | + fi |
| 15151 | +-rm -f conftest.err conftest.$ac_objext \ |
| 15152 | ++ |
| 15153 | ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 15154 | + conftest$ac_exeext conftest.$ac_ext |
| 15155 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 15156 | +-echo "${ECHO_T}yes" >&6 |
| 15157 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 15158 | ++echo "${ECHO_T}yes" >&6; } |
| 15159 | + CFLAGS="$ac_save_CFLAGS" |
| 15160 | + LIBS="$ac_save_LIBS" |
| 15161 | + fi |
| 15162 | +@@ -12549,14 +13170,14 @@ |
| 15163 | + |
| 15164 | + |
| 15165 | + # Checks for svgawin |
| 15166 | +-# Check whether --enable-svgawin or --disable-svgawin was given. |
| 15167 | ++# Check whether --enable-svgawin was given. |
| 15168 | + if test "${enable_svgawin+set}" = set; then |
| 15169 | +- enableval="$enable_svgawin" |
| 15170 | +- ac_lib_svgawin=$enableval |
| 15171 | ++ enableval=$enable_svgawin; ac_lib_svgawin=$enableval |
| 15172 | + else |
| 15173 | + ac_lib_svgawin=auto |
| 15174 | + |
| 15175 | +-fi; |
| 15176 | ++fi |
| 15177 | ++ |
| 15178 | + if test $ac_lib_svgawin = auto; then |
| 15179 | + if test $ac_system = windows; then |
| 15180 | + if test $ac_lib_sdl = yes; then |
| 15181 | +@@ -12589,14 +13210,14 @@ |
| 15182 | + |
| 15183 | + |
| 15184 | + # Checks for mrawinput |
| 15185 | +-# Check whether --enable-mrawinput or --disable-mrawinput was given. |
| 15186 | ++# Check whether --enable-mrawinput was given. |
| 15187 | + if test "${enable_mrawinput+set}" = set; then |
| 15188 | +- enableval="$enable_mrawinput" |
| 15189 | +- ac_lib_mrawinput=$enableval |
| 15190 | ++ enableval=$enable_mrawinput; ac_lib_mrawinput=$enableval |
| 15191 | + else |
| 15192 | + ac_lib_mrawinput=auto |
| 15193 | + |
| 15194 | +-fi; |
| 15195 | ++fi |
| 15196 | ++ |
| 15197 | + if test $ac_lib_mrawinput = auto; then |
| 15198 | + if test $ac_system = windows; then |
| 15199 | + ac_lib_mrawinput=yes |
| 15200 | +@@ -12618,14 +13239,14 @@ |
| 15201 | + |
| 15202 | + |
| 15203 | + # Checks for mcpn |
| 15204 | +-# Check whether --enable-mcpn or --disable-mcpn was given. |
| 15205 | ++# Check whether --enable-mcpn was given. |
| 15206 | + if test "${enable_mcpn+set}" = set; then |
| 15207 | +- enableval="$enable_mcpn" |
| 15208 | +- ac_lib_mcpn=$enableval |
| 15209 | ++ enableval=$enable_mcpn; ac_lib_mcpn=$enableval |
| 15210 | + else |
| 15211 | + ac_lib_mcpn=auto |
| 15212 | + |
| 15213 | +-fi; |
| 15214 | ++fi |
| 15215 | ++ |
| 15216 | + if test $ac_lib_mcpn = auto; then |
| 15217 | + if test $ac_system = windows; then |
| 15218 | + ac_lib_mcpn=yes |
| 15219 | +@@ -12647,17 +13268,17 @@ |
| 15220 | + |
| 15221 | + |
| 15222 | + # Checks for kraw |
| 15223 | +-# Check whether --enable-kraw or --disable-kraw was given. |
| 15224 | ++# Check whether --enable-kraw was given. |
| 15225 | + if test "${enable_kraw+set}" = set; then |
| 15226 | +- enableval="$enable_kraw" |
| 15227 | +- ac_lib_kraw=$enableval |
| 15228 | ++ enableval=$enable_kraw; ac_lib_kraw=$enableval |
| 15229 | + else |
| 15230 | + ac_lib_kraw=auto |
| 15231 | + |
| 15232 | +-fi; |
| 15233 | ++fi |
| 15234 | ++ |
| 15235 | + if test $ac_lib_kraw = auto; then |
| 15236 | +- echo "$as_me:$LINENO: checking for raw keyboard interface" >&5 |
| 15237 | +-echo $ECHO_N "checking for raw keyboard interface... $ECHO_C" >&6 |
| 15238 | ++ { echo "$as_me:$LINENO: checking for raw keyboard interface" >&5 |
| 15239 | ++echo $ECHO_N "checking for raw keyboard interface... $ECHO_C" >&6; } |
| 15240 | + cat >conftest.$ac_ext <<_ACEOF |
| 15241 | + /* confdefs.h. */ |
| 15242 | + _ACEOF |
| 15243 | +@@ -12683,40 +13304,36 @@ |
| 15244 | + } |
| 15245 | + _ACEOF |
| 15246 | + rm -f conftest.$ac_objext |
| 15247 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15248 | +- (eval $ac_compile) 2>conftest.er1 |
| 15249 | ++if { (ac_try="$ac_compile" |
| 15250 | ++case "(($ac_try" in |
| 15251 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15252 | ++ *) ac_try_echo=$ac_try;; |
| 15253 | ++esac |
| 15254 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15255 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15256 | + ac_status=$? |
| 15257 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15258 | + rm -f conftest.er1 |
| 15259 | + cat conftest.err >&5 |
| 15260 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15261 | +- (exit $ac_status); } && |
| 15262 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15263 | +- || test ! -s conftest.err' |
| 15264 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15265 | +- (eval $ac_try) 2>&5 |
| 15266 | +- ac_status=$? |
| 15267 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15268 | +- (exit $ac_status); }; } && |
| 15269 | +- { ac_try='test -s conftest.$ac_objext' |
| 15270 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15271 | +- (eval $ac_try) 2>&5 |
| 15272 | +- ac_status=$? |
| 15273 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15274 | +- (exit $ac_status); }; }; then |
| 15275 | ++ (exit $ac_status); } && { |
| 15276 | ++ test -z "$ac_c_werror_flag" || |
| 15277 | ++ test ! -s conftest.err |
| 15278 | ++ } && test -s conftest.$ac_objext; then |
| 15279 | + ac_lib_kraw=yes |
| 15280 | + else |
| 15281 | + echo "$as_me: failed program was:" >&5 |
| 15282 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15283 | + |
| 15284 | +-ac_lib_kraw=no |
| 15285 | ++ ac_lib_kraw=no |
| 15286 | + fi |
| 15287 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15288 | +- echo "$as_me:$LINENO: result: $ac_lib_kraw" >&5 |
| 15289 | +-echo "${ECHO_T}$ac_lib_kraw" >&6 |
| 15290 | ++ |
| 15291 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15292 | ++ { echo "$as_me:$LINENO: result: $ac_lib_kraw" >&5 |
| 15293 | ++echo "${ECHO_T}$ac_lib_kraw" >&6; } |
| 15294 | + elif test $ac_lib_kraw = yes; then |
| 15295 | +- echo "$as_me:$LINENO: checking for raw keyboard interface" >&5 |
| 15296 | +-echo $ECHO_N "checking for raw keyboard interface... $ECHO_C" >&6 |
| 15297 | ++ { echo "$as_me:$LINENO: checking for raw keyboard interface" >&5 |
| 15298 | ++echo $ECHO_N "checking for raw keyboard interface... $ECHO_C" >&6; } |
| 15299 | + cat >conftest.$ac_ext <<_ACEOF |
| 15300 | + /* confdefs.h. */ |
| 15301 | + _ACEOF |
| 15302 | +@@ -12742,39 +13359,35 @@ |
| 15303 | + } |
| 15304 | + _ACEOF |
| 15305 | + rm -f conftest.$ac_objext |
| 15306 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15307 | +- (eval $ac_compile) 2>conftest.er1 |
| 15308 | ++if { (ac_try="$ac_compile" |
| 15309 | ++case "(($ac_try" in |
| 15310 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15311 | ++ *) ac_try_echo=$ac_try;; |
| 15312 | ++esac |
| 15313 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15314 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15315 | + ac_status=$? |
| 15316 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15317 | + rm -f conftest.er1 |
| 15318 | + cat conftest.err >&5 |
| 15319 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15320 | +- (exit $ac_status); } && |
| 15321 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15322 | +- || test ! -s conftest.err' |
| 15323 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15324 | +- (eval $ac_try) 2>&5 |
| 15325 | +- ac_status=$? |
| 15326 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15327 | +- (exit $ac_status); }; } && |
| 15328 | +- { ac_try='test -s conftest.$ac_objext' |
| 15329 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15330 | +- (eval $ac_try) 2>&5 |
| 15331 | +- ac_status=$? |
| 15332 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15333 | +- (exit $ac_status); }; }; then |
| 15334 | ++ (exit $ac_status); } && { |
| 15335 | ++ test -z "$ac_c_werror_flag" || |
| 15336 | ++ test ! -s conftest.err |
| 15337 | ++ } && test -s conftest.$ac_objext; then |
| 15338 | + : |
| 15339 | + else |
| 15340 | + echo "$as_me: failed program was:" >&5 |
| 15341 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15342 | + |
| 15343 | +-{ { echo "$as_me:$LINENO: error: the KRAW keyboard interface is missing" >&5 |
| 15344 | ++ { { echo "$as_me:$LINENO: error: the KRAW keyboard interface is missing" >&5 |
| 15345 | + echo "$as_me: error: the KRAW keyboard interface is missing" >&2;} |
| 15346 | + { (exit 1); exit 1; }; } |
| 15347 | + fi |
| 15348 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15349 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 15350 | +-echo "${ECHO_T}yes" >&6 |
| 15351 | ++ |
| 15352 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15353 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 15354 | ++echo "${ECHO_T}yes" >&6; } |
| 15355 | + fi |
| 15356 | + if test $ac_lib_kraw = yes; then |
| 15357 | + ac_lib_keyboard="$ac_lib_keyboard raw" |
| 15358 | +@@ -12784,17 +13397,17 @@ |
| 15359 | + |
| 15360 | + |
| 15361 | + # Checks for jraw |
| 15362 | +-# Check whether --enable-jraw or --disable-jraw was given. |
| 15363 | ++# Check whether --enable-jraw was given. |
| 15364 | + if test "${enable_jraw+set}" = set; then |
| 15365 | +- enableval="$enable_jraw" |
| 15366 | +- ac_lib_jraw=$enableval |
| 15367 | ++ enableval=$enable_jraw; ac_lib_jraw=$enableval |
| 15368 | + else |
| 15369 | + ac_lib_jraw=auto |
| 15370 | + |
| 15371 | +-fi; |
| 15372 | ++fi |
| 15373 | ++ |
| 15374 | + if test $ac_lib_jraw = auto; then |
| 15375 | +- echo "$as_me:$LINENO: checking for raw joystick interface" >&5 |
| 15376 | +-echo $ECHO_N "checking for raw joystick interface... $ECHO_C" >&6 |
| 15377 | ++ { echo "$as_me:$LINENO: checking for raw joystick interface" >&5 |
| 15378 | ++echo $ECHO_N "checking for raw joystick interface... $ECHO_C" >&6; } |
| 15379 | + cat >conftest.$ac_ext <<_ACEOF |
| 15380 | + /* confdefs.h. */ |
| 15381 | + _ACEOF |
| 15382 | +@@ -12817,40 +13430,36 @@ |
| 15383 | + } |
| 15384 | + _ACEOF |
| 15385 | + rm -f conftest.$ac_objext |
| 15386 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15387 | +- (eval $ac_compile) 2>conftest.er1 |
| 15388 | ++if { (ac_try="$ac_compile" |
| 15389 | ++case "(($ac_try" in |
| 15390 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15391 | ++ *) ac_try_echo=$ac_try;; |
| 15392 | ++esac |
| 15393 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15394 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15395 | + ac_status=$? |
| 15396 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15397 | + rm -f conftest.er1 |
| 15398 | + cat conftest.err >&5 |
| 15399 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15400 | +- (exit $ac_status); } && |
| 15401 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15402 | +- || test ! -s conftest.err' |
| 15403 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15404 | +- (eval $ac_try) 2>&5 |
| 15405 | +- ac_status=$? |
| 15406 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15407 | +- (exit $ac_status); }; } && |
| 15408 | +- { ac_try='test -s conftest.$ac_objext' |
| 15409 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15410 | +- (eval $ac_try) 2>&5 |
| 15411 | +- ac_status=$? |
| 15412 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15413 | +- (exit $ac_status); }; }; then |
| 15414 | ++ (exit $ac_status); } && { |
| 15415 | ++ test -z "$ac_c_werror_flag" || |
| 15416 | ++ test ! -s conftest.err |
| 15417 | ++ } && test -s conftest.$ac_objext; then |
| 15418 | + ac_lib_jraw=yes |
| 15419 | + else |
| 15420 | + echo "$as_me: failed program was:" >&5 |
| 15421 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15422 | + |
| 15423 | +-ac_lib_jraw=no |
| 15424 | ++ ac_lib_jraw=no |
| 15425 | + fi |
| 15426 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15427 | +- echo "$as_me:$LINENO: result: $ac_lib_jraw" >&5 |
| 15428 | +-echo "${ECHO_T}$ac_lib_jraw" >&6 |
| 15429 | ++ |
| 15430 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15431 | ++ { echo "$as_me:$LINENO: result: $ac_lib_jraw" >&5 |
| 15432 | ++echo "${ECHO_T}$ac_lib_jraw" >&6; } |
| 15433 | + elif test $ac_lib_jraw = yes; then |
| 15434 | +- echo "$as_me:$LINENO: checking for raw joystick interface" >&5 |
| 15435 | +-echo $ECHO_N "checking for raw joystick interface... $ECHO_C" >&6 |
| 15436 | ++ { echo "$as_me:$LINENO: checking for raw joystick interface" >&5 |
| 15437 | ++echo $ECHO_N "checking for raw joystick interface... $ECHO_C" >&6; } |
| 15438 | + cat >conftest.$ac_ext <<_ACEOF |
| 15439 | + /* confdefs.h. */ |
| 15440 | + _ACEOF |
| 15441 | +@@ -12873,39 +13482,35 @@ |
| 15442 | + } |
| 15443 | + _ACEOF |
| 15444 | + rm -f conftest.$ac_objext |
| 15445 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15446 | +- (eval $ac_compile) 2>conftest.er1 |
| 15447 | ++if { (ac_try="$ac_compile" |
| 15448 | ++case "(($ac_try" in |
| 15449 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15450 | ++ *) ac_try_echo=$ac_try;; |
| 15451 | ++esac |
| 15452 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15453 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15454 | + ac_status=$? |
| 15455 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15456 | + rm -f conftest.er1 |
| 15457 | + cat conftest.err >&5 |
| 15458 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15459 | +- (exit $ac_status); } && |
| 15460 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15461 | +- || test ! -s conftest.err' |
| 15462 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15463 | +- (eval $ac_try) 2>&5 |
| 15464 | +- ac_status=$? |
| 15465 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15466 | +- (exit $ac_status); }; } && |
| 15467 | +- { ac_try='test -s conftest.$ac_objext' |
| 15468 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15469 | +- (eval $ac_try) 2>&5 |
| 15470 | +- ac_status=$? |
| 15471 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15472 | +- (exit $ac_status); }; }; then |
| 15473 | ++ (exit $ac_status); } && { |
| 15474 | ++ test -z "$ac_c_werror_flag" || |
| 15475 | ++ test ! -s conftest.err |
| 15476 | ++ } && test -s conftest.$ac_objext; then |
| 15477 | + : |
| 15478 | + else |
| 15479 | + echo "$as_me: failed program was:" >&5 |
| 15480 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15481 | + |
| 15482 | +-{ { echo "$as_me:$LINENO: error: the JRAW joystick interface is missing" >&5 |
| 15483 | ++ { { echo "$as_me:$LINENO: error: the JRAW joystick interface is missing" >&5 |
| 15484 | + echo "$as_me: error: the JRAW joystick interface is missing" >&2;} |
| 15485 | + { (exit 1); exit 1; }; } |
| 15486 | + fi |
| 15487 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15488 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 15489 | +-echo "${ECHO_T}yes" >&6 |
| 15490 | ++ |
| 15491 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15492 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 15493 | ++echo "${ECHO_T}yes" >&6; } |
| 15494 | + fi |
| 15495 | + if test $ac_lib_jraw = yes; then |
| 15496 | + ac_lib_joystick="$ac_lib_joystick raw" |
| 15497 | +@@ -12914,17 +13519,17 @@ |
| 15498 | + |
| 15499 | + |
| 15500 | + # Checks for mraw |
| 15501 | +-# Check whether --enable-mraw or --disable-mraw was given. |
| 15502 | ++# Check whether --enable-mraw was given. |
| 15503 | + if test "${enable_mraw+set}" = set; then |
| 15504 | +- enableval="$enable_mraw" |
| 15505 | +- ac_lib_mraw=$enableval |
| 15506 | ++ enableval=$enable_mraw; ac_lib_mraw=$enableval |
| 15507 | + else |
| 15508 | + ac_lib_mraw=auto |
| 15509 | + |
| 15510 | +-fi; |
| 15511 | ++fi |
| 15512 | ++ |
| 15513 | + if test $ac_lib_mraw = auto; then |
| 15514 | +- echo "$as_me:$LINENO: checking for raw mouse interface" >&5 |
| 15515 | +-echo $ECHO_N "checking for raw mouse interface... $ECHO_C" >&6 |
| 15516 | ++ { echo "$as_me:$LINENO: checking for raw mouse interface" >&5 |
| 15517 | ++echo $ECHO_N "checking for raw mouse interface... $ECHO_C" >&6; } |
| 15518 | + cat >conftest.$ac_ext <<_ACEOF |
| 15519 | + /* confdefs.h. */ |
| 15520 | + _ACEOF |
| 15521 | +@@ -12945,40 +13550,36 @@ |
| 15522 | + } |
| 15523 | + _ACEOF |
| 15524 | + rm -f conftest.$ac_objext |
| 15525 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15526 | +- (eval $ac_compile) 2>conftest.er1 |
| 15527 | ++if { (ac_try="$ac_compile" |
| 15528 | ++case "(($ac_try" in |
| 15529 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15530 | ++ *) ac_try_echo=$ac_try;; |
| 15531 | ++esac |
| 15532 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15533 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15534 | + ac_status=$? |
| 15535 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15536 | + rm -f conftest.er1 |
| 15537 | + cat conftest.err >&5 |
| 15538 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15539 | +- (exit $ac_status); } && |
| 15540 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15541 | +- || test ! -s conftest.err' |
| 15542 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15543 | +- (eval $ac_try) 2>&5 |
| 15544 | +- ac_status=$? |
| 15545 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15546 | +- (exit $ac_status); }; } && |
| 15547 | +- { ac_try='test -s conftest.$ac_objext' |
| 15548 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15549 | +- (eval $ac_try) 2>&5 |
| 15550 | +- ac_status=$? |
| 15551 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15552 | +- (exit $ac_status); }; }; then |
| 15553 | ++ (exit $ac_status); } && { |
| 15554 | ++ test -z "$ac_c_werror_flag" || |
| 15555 | ++ test ! -s conftest.err |
| 15556 | ++ } && test -s conftest.$ac_objext; then |
| 15557 | + ac_lib_mraw=yes |
| 15558 | + else |
| 15559 | + echo "$as_me: failed program was:" >&5 |
| 15560 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15561 | + |
| 15562 | +-ac_lib_mraw=no |
| 15563 | ++ ac_lib_mraw=no |
| 15564 | + fi |
| 15565 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15566 | +- echo "$as_me:$LINENO: result: $ac_lib_mraw" >&5 |
| 15567 | +-echo "${ECHO_T}$ac_lib_mraw" >&6 |
| 15568 | ++ |
| 15569 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15570 | ++ { echo "$as_me:$LINENO: result: $ac_lib_mraw" >&5 |
| 15571 | ++echo "${ECHO_T}$ac_lib_mraw" >&6; } |
| 15572 | + elif test $ac_lib_mraw = yes; then |
| 15573 | +- echo "$as_me:$LINENO: checking for raw mouse interface" >&5 |
| 15574 | +-echo $ECHO_N "checking for raw mouse interface... $ECHO_C" >&6 |
| 15575 | ++ { echo "$as_me:$LINENO: checking for raw mouse interface" >&5 |
| 15576 | ++echo $ECHO_N "checking for raw mouse interface... $ECHO_C" >&6; } |
| 15577 | + cat >conftest.$ac_ext <<_ACEOF |
| 15578 | + /* confdefs.h. */ |
| 15579 | + _ACEOF |
| 15580 | +@@ -12999,39 +13600,35 @@ |
| 15581 | + } |
| 15582 | + _ACEOF |
| 15583 | + rm -f conftest.$ac_objext |
| 15584 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15585 | +- (eval $ac_compile) 2>conftest.er1 |
| 15586 | ++if { (ac_try="$ac_compile" |
| 15587 | ++case "(($ac_try" in |
| 15588 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15589 | ++ *) ac_try_echo=$ac_try;; |
| 15590 | ++esac |
| 15591 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15592 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15593 | + ac_status=$? |
| 15594 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15595 | + rm -f conftest.er1 |
| 15596 | + cat conftest.err >&5 |
| 15597 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15598 | +- (exit $ac_status); } && |
| 15599 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15600 | +- || test ! -s conftest.err' |
| 15601 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15602 | +- (eval $ac_try) 2>&5 |
| 15603 | +- ac_status=$? |
| 15604 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15605 | +- (exit $ac_status); }; } && |
| 15606 | +- { ac_try='test -s conftest.$ac_objext' |
| 15607 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15608 | +- (eval $ac_try) 2>&5 |
| 15609 | +- ac_status=$? |
| 15610 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15611 | +- (exit $ac_status); }; }; then |
| 15612 | ++ (exit $ac_status); } && { |
| 15613 | ++ test -z "$ac_c_werror_flag" || |
| 15614 | ++ test ! -s conftest.err |
| 15615 | ++ } && test -s conftest.$ac_objext; then |
| 15616 | + : |
| 15617 | + else |
| 15618 | + echo "$as_me: failed program was:" >&5 |
| 15619 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15620 | + |
| 15621 | +-{ { echo "$as_me:$LINENO: error: the MRAW mouse interface is missing" >&5 |
| 15622 | ++ { { echo "$as_me:$LINENO: error: the MRAW mouse interface is missing" >&5 |
| 15623 | + echo "$as_me: error: the MRAW mouse interface is missing" >&2;} |
| 15624 | + { (exit 1); exit 1; }; } |
| 15625 | + fi |
| 15626 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15627 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 15628 | +-echo "${ECHO_T}yes" >&6 |
| 15629 | ++ |
| 15630 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15631 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 15632 | ++echo "${ECHO_T}yes" >&6; } |
| 15633 | + fi |
| 15634 | + if test $ac_lib_mraw = yes; then |
| 15635 | + ac_lib_mouse="$ac_lib_mouse raw" |
| 15636 | +@@ -13040,17 +13637,17 @@ |
| 15637 | + |
| 15638 | + |
| 15639 | + # Checks for mevent |
| 15640 | +-# Check whether --enable-mevent or --disable-mevent was given. |
| 15641 | ++# Check whether --enable-mevent was given. |
| 15642 | + if test "${enable_mevent+set}" = set; then |
| 15643 | +- enableval="$enable_mevent" |
| 15644 | +- ac_lib_mevent=$enableval |
| 15645 | ++ enableval=$enable_mevent; ac_lib_mevent=$enableval |
| 15646 | + else |
| 15647 | + ac_lib_mevent=auto |
| 15648 | + |
| 15649 | +-fi; |
| 15650 | ++fi |
| 15651 | ++ |
| 15652 | + if test $ac_lib_mevent = auto; then |
| 15653 | +- echo "$as_me:$LINENO: checking for event mouse interface" >&5 |
| 15654 | +-echo $ECHO_N "checking for event mouse interface... $ECHO_C" >&6 |
| 15655 | ++ { echo "$as_me:$LINENO: checking for event mouse interface" >&5 |
| 15656 | ++echo $ECHO_N "checking for event mouse interface... $ECHO_C" >&6; } |
| 15657 | + cat >conftest.$ac_ext <<_ACEOF |
| 15658 | + /* confdefs.h. */ |
| 15659 | + _ACEOF |
| 15660 | +@@ -13071,40 +13668,36 @@ |
| 15661 | + } |
| 15662 | + _ACEOF |
| 15663 | + rm -f conftest.$ac_objext |
| 15664 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15665 | +- (eval $ac_compile) 2>conftest.er1 |
| 15666 | ++if { (ac_try="$ac_compile" |
| 15667 | ++case "(($ac_try" in |
| 15668 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15669 | ++ *) ac_try_echo=$ac_try;; |
| 15670 | ++esac |
| 15671 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15672 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15673 | + ac_status=$? |
| 15674 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15675 | + rm -f conftest.er1 |
| 15676 | + cat conftest.err >&5 |
| 15677 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15678 | +- (exit $ac_status); } && |
| 15679 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15680 | +- || test ! -s conftest.err' |
| 15681 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15682 | +- (eval $ac_try) 2>&5 |
| 15683 | +- ac_status=$? |
| 15684 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15685 | +- (exit $ac_status); }; } && |
| 15686 | +- { ac_try='test -s conftest.$ac_objext' |
| 15687 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15688 | +- (eval $ac_try) 2>&5 |
| 15689 | +- ac_status=$? |
| 15690 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15691 | +- (exit $ac_status); }; }; then |
| 15692 | ++ (exit $ac_status); } && { |
| 15693 | ++ test -z "$ac_c_werror_flag" || |
| 15694 | ++ test ! -s conftest.err |
| 15695 | ++ } && test -s conftest.$ac_objext; then |
| 15696 | + ac_lib_mevent=yes |
| 15697 | + else |
| 15698 | + echo "$as_me: failed program was:" >&5 |
| 15699 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15700 | + |
| 15701 | +-ac_lib_mevent=no |
| 15702 | ++ ac_lib_mevent=no |
| 15703 | + fi |
| 15704 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15705 | +- echo "$as_me:$LINENO: result: $ac_lib_mevent" >&5 |
| 15706 | +-echo "${ECHO_T}$ac_lib_mevent" >&6 |
| 15707 | ++ |
| 15708 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15709 | ++ { echo "$as_me:$LINENO: result: $ac_lib_mevent" >&5 |
| 15710 | ++echo "${ECHO_T}$ac_lib_mevent" >&6; } |
| 15711 | + elif test $ac_lib_mevent = yes; then |
| 15712 | +- echo "$as_me:$LINENO: checking for event mouse interface" >&5 |
| 15713 | +-echo $ECHO_N "checking for event mouse interface... $ECHO_C" >&6 |
| 15714 | ++ { echo "$as_me:$LINENO: checking for event mouse interface" >&5 |
| 15715 | ++echo $ECHO_N "checking for event mouse interface... $ECHO_C" >&6; } |
| 15716 | + cat >conftest.$ac_ext <<_ACEOF |
| 15717 | + /* confdefs.h. */ |
| 15718 | + _ACEOF |
| 15719 | +@@ -13125,39 +13718,35 @@ |
| 15720 | + } |
| 15721 | + _ACEOF |
| 15722 | + rm -f conftest.$ac_objext |
| 15723 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15724 | +- (eval $ac_compile) 2>conftest.er1 |
| 15725 | ++if { (ac_try="$ac_compile" |
| 15726 | ++case "(($ac_try" in |
| 15727 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15728 | ++ *) ac_try_echo=$ac_try;; |
| 15729 | ++esac |
| 15730 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15731 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15732 | + ac_status=$? |
| 15733 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15734 | + rm -f conftest.er1 |
| 15735 | + cat conftest.err >&5 |
| 15736 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15737 | +- (exit $ac_status); } && |
| 15738 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15739 | +- || test ! -s conftest.err' |
| 15740 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15741 | +- (eval $ac_try) 2>&5 |
| 15742 | +- ac_status=$? |
| 15743 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15744 | +- (exit $ac_status); }; } && |
| 15745 | +- { ac_try='test -s conftest.$ac_objext' |
| 15746 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15747 | +- (eval $ac_try) 2>&5 |
| 15748 | +- ac_status=$? |
| 15749 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15750 | +- (exit $ac_status); }; }; then |
| 15751 | ++ (exit $ac_status); } && { |
| 15752 | ++ test -z "$ac_c_werror_flag" || |
| 15753 | ++ test ! -s conftest.err |
| 15754 | ++ } && test -s conftest.$ac_objext; then |
| 15755 | + : |
| 15756 | + else |
| 15757 | + echo "$as_me: failed program was:" >&5 |
| 15758 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15759 | + |
| 15760 | +-{ { echo "$as_me:$LINENO: error: the event mouse interface is missing" >&5 |
| 15761 | ++ { { echo "$as_me:$LINENO: error: the event mouse interface is missing" >&5 |
| 15762 | + echo "$as_me: error: the event mouse interface is missing" >&2;} |
| 15763 | + { (exit 1); exit 1; }; } |
| 15764 | + fi |
| 15765 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15766 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 15767 | +-echo "${ECHO_T}yes" >&6 |
| 15768 | ++ |
| 15769 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15770 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 15771 | ++echo "${ECHO_T}yes" >&6; } |
| 15772 | + fi |
| 15773 | + if test $ac_lib_mevent = yes; then |
| 15774 | + ac_lib_mouse="$ac_lib_mouse event" |
| 15775 | +@@ -13166,17 +13755,17 @@ |
| 15776 | + |
| 15777 | + |
| 15778 | + # Checks for kevent |
| 15779 | +-# Check whether --enable-kevent or --disable-kevent was given. |
| 15780 | ++# Check whether --enable-kevent was given. |
| 15781 | + if test "${enable_kevent+set}" = set; then |
| 15782 | +- enableval="$enable_kevent" |
| 15783 | +- ac_lib_kevent=$enableval |
| 15784 | ++ enableval=$enable_kevent; ac_lib_kevent=$enableval |
| 15785 | + else |
| 15786 | + ac_lib_kevent=auto |
| 15787 | + |
| 15788 | +-fi; |
| 15789 | ++fi |
| 15790 | ++ |
| 15791 | + if test $ac_lib_kevent = auto; then |
| 15792 | +- echo "$as_me:$LINENO: checking for event keyboard interface" >&5 |
| 15793 | +-echo $ECHO_N "checking for event keyboard interface... $ECHO_C" >&6 |
| 15794 | ++ { echo "$as_me:$LINENO: checking for event keyboard interface" >&5 |
| 15795 | ++echo $ECHO_N "checking for event keyboard interface... $ECHO_C" >&6; } |
| 15796 | + cat >conftest.$ac_ext <<_ACEOF |
| 15797 | + /* confdefs.h. */ |
| 15798 | + _ACEOF |
| 15799 | +@@ -13197,40 +13786,36 @@ |
| 15800 | + } |
| 15801 | + _ACEOF |
| 15802 | + rm -f conftest.$ac_objext |
| 15803 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15804 | +- (eval $ac_compile) 2>conftest.er1 |
| 15805 | ++if { (ac_try="$ac_compile" |
| 15806 | ++case "(($ac_try" in |
| 15807 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15808 | ++ *) ac_try_echo=$ac_try;; |
| 15809 | ++esac |
| 15810 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15811 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15812 | + ac_status=$? |
| 15813 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15814 | + rm -f conftest.er1 |
| 15815 | + cat conftest.err >&5 |
| 15816 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15817 | +- (exit $ac_status); } && |
| 15818 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15819 | +- || test ! -s conftest.err' |
| 15820 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15821 | +- (eval $ac_try) 2>&5 |
| 15822 | +- ac_status=$? |
| 15823 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15824 | +- (exit $ac_status); }; } && |
| 15825 | +- { ac_try='test -s conftest.$ac_objext' |
| 15826 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15827 | +- (eval $ac_try) 2>&5 |
| 15828 | +- ac_status=$? |
| 15829 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15830 | +- (exit $ac_status); }; }; then |
| 15831 | ++ (exit $ac_status); } && { |
| 15832 | ++ test -z "$ac_c_werror_flag" || |
| 15833 | ++ test ! -s conftest.err |
| 15834 | ++ } && test -s conftest.$ac_objext; then |
| 15835 | + ac_lib_kevent=yes |
| 15836 | + else |
| 15837 | + echo "$as_me: failed program was:" >&5 |
| 15838 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15839 | + |
| 15840 | +-ac_lib_kevent=no |
| 15841 | ++ ac_lib_kevent=no |
| 15842 | + fi |
| 15843 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15844 | +- echo "$as_me:$LINENO: result: $ac_lib_kevent" >&5 |
| 15845 | +-echo "${ECHO_T}$ac_lib_kevent" >&6 |
| 15846 | ++ |
| 15847 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15848 | ++ { echo "$as_me:$LINENO: result: $ac_lib_kevent" >&5 |
| 15849 | ++echo "${ECHO_T}$ac_lib_kevent" >&6; } |
| 15850 | + elif test $ac_lib_kevent = yes; then |
| 15851 | +- echo "$as_me:$LINENO: checking for event keyboard interface" >&5 |
| 15852 | +-echo $ECHO_N "checking for event keyboard interface... $ECHO_C" >&6 |
| 15853 | ++ { echo "$as_me:$LINENO: checking for event keyboard interface" >&5 |
| 15854 | ++echo $ECHO_N "checking for event keyboard interface... $ECHO_C" >&6; } |
| 15855 | + cat >conftest.$ac_ext <<_ACEOF |
| 15856 | + /* confdefs.h. */ |
| 15857 | + _ACEOF |
| 15858 | +@@ -13251,39 +13836,35 @@ |
| 15859 | + } |
| 15860 | + _ACEOF |
| 15861 | + rm -f conftest.$ac_objext |
| 15862 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15863 | +- (eval $ac_compile) 2>conftest.er1 |
| 15864 | ++if { (ac_try="$ac_compile" |
| 15865 | ++case "(($ac_try" in |
| 15866 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15867 | ++ *) ac_try_echo=$ac_try;; |
| 15868 | ++esac |
| 15869 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15870 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15871 | + ac_status=$? |
| 15872 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15873 | + rm -f conftest.er1 |
| 15874 | + cat conftest.err >&5 |
| 15875 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15876 | +- (exit $ac_status); } && |
| 15877 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15878 | +- || test ! -s conftest.err' |
| 15879 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15880 | +- (eval $ac_try) 2>&5 |
| 15881 | +- ac_status=$? |
| 15882 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15883 | +- (exit $ac_status); }; } && |
| 15884 | +- { ac_try='test -s conftest.$ac_objext' |
| 15885 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15886 | +- (eval $ac_try) 2>&5 |
| 15887 | +- ac_status=$? |
| 15888 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15889 | +- (exit $ac_status); }; }; then |
| 15890 | ++ (exit $ac_status); } && { |
| 15891 | ++ test -z "$ac_c_werror_flag" || |
| 15892 | ++ test ! -s conftest.err |
| 15893 | ++ } && test -s conftest.$ac_objext; then |
| 15894 | + : |
| 15895 | + else |
| 15896 | + echo "$as_me: failed program was:" >&5 |
| 15897 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15898 | + |
| 15899 | +-{ { echo "$as_me:$LINENO: error: the event keyboard interface is missing" >&5 |
| 15900 | ++ { { echo "$as_me:$LINENO: error: the event keyboard interface is missing" >&5 |
| 15901 | + echo "$as_me: error: the event keyboard interface is missing" >&2;} |
| 15902 | + { (exit 1); exit 1; }; } |
| 15903 | + fi |
| 15904 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15905 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 15906 | +-echo "${ECHO_T}yes" >&6 |
| 15907 | ++ |
| 15908 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15909 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 15910 | ++echo "${ECHO_T}yes" >&6; } |
| 15911 | + fi |
| 15912 | + if test $ac_lib_kevent = yes; then |
| 15913 | + ac_lib_keyboard="$ac_lib_keyboard event" |
| 15914 | +@@ -13293,17 +13874,17 @@ |
| 15915 | + |
| 15916 | + |
| 15917 | + # Checks for jevent |
| 15918 | +-# Check whether --enable-jevent or --disable-jevent was given. |
| 15919 | ++# Check whether --enable-jevent was given. |
| 15920 | + if test "${enable_jevent+set}" = set; then |
| 15921 | +- enableval="$enable_jevent" |
| 15922 | +- ac_lib_jevent=$enableval |
| 15923 | ++ enableval=$enable_jevent; ac_lib_jevent=$enableval |
| 15924 | + else |
| 15925 | + ac_lib_jevent=auto |
| 15926 | + |
| 15927 | +-fi; |
| 15928 | ++fi |
| 15929 | ++ |
| 15930 | + if test $ac_lib_jevent = auto; then |
| 15931 | +- echo "$as_me:$LINENO: checking for event joystick interface" >&5 |
| 15932 | +-echo $ECHO_N "checking for event joystick interface... $ECHO_C" >&6 |
| 15933 | ++ { echo "$as_me:$LINENO: checking for event joystick interface" >&5 |
| 15934 | ++echo $ECHO_N "checking for event joystick interface... $ECHO_C" >&6; } |
| 15935 | + cat >conftest.$ac_ext <<_ACEOF |
| 15936 | + /* confdefs.h. */ |
| 15937 | + _ACEOF |
| 15938 | +@@ -13324,40 +13905,36 @@ |
| 15939 | + } |
| 15940 | + _ACEOF |
| 15941 | + rm -f conftest.$ac_objext |
| 15942 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15943 | +- (eval $ac_compile) 2>conftest.er1 |
| 15944 | ++if { (ac_try="$ac_compile" |
| 15945 | ++case "(($ac_try" in |
| 15946 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15947 | ++ *) ac_try_echo=$ac_try;; |
| 15948 | ++esac |
| 15949 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15950 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 15951 | + ac_status=$? |
| 15952 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 15953 | + rm -f conftest.er1 |
| 15954 | + cat conftest.err >&5 |
| 15955 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15956 | +- (exit $ac_status); } && |
| 15957 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 15958 | +- || test ! -s conftest.err' |
| 15959 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15960 | +- (eval $ac_try) 2>&5 |
| 15961 | +- ac_status=$? |
| 15962 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15963 | +- (exit $ac_status); }; } && |
| 15964 | +- { ac_try='test -s conftest.$ac_objext' |
| 15965 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15966 | +- (eval $ac_try) 2>&5 |
| 15967 | +- ac_status=$? |
| 15968 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15969 | +- (exit $ac_status); }; }; then |
| 15970 | ++ (exit $ac_status); } && { |
| 15971 | ++ test -z "$ac_c_werror_flag" || |
| 15972 | ++ test ! -s conftest.err |
| 15973 | ++ } && test -s conftest.$ac_objext; then |
| 15974 | + ac_lib_jevent=yes |
| 15975 | + else |
| 15976 | + echo "$as_me: failed program was:" >&5 |
| 15977 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 15978 | + |
| 15979 | +-ac_lib_jevent=no |
| 15980 | ++ ac_lib_jevent=no |
| 15981 | + fi |
| 15982 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15983 | +- echo "$as_me:$LINENO: result: $ac_lib_jevent" >&5 |
| 15984 | +-echo "${ECHO_T}$ac_lib_jevent" >&6 |
| 15985 | ++ |
| 15986 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15987 | ++ { echo "$as_me:$LINENO: result: $ac_lib_jevent" >&5 |
| 15988 | ++echo "${ECHO_T}$ac_lib_jevent" >&6; } |
| 15989 | + elif test $ac_lib_jevent = yes; then |
| 15990 | +- echo "$as_me:$LINENO: checking for event joystick interface" >&5 |
| 15991 | +-echo $ECHO_N "checking for event joystick interface... $ECHO_C" >&6 |
| 15992 | ++ { echo "$as_me:$LINENO: checking for event joystick interface" >&5 |
| 15993 | ++echo $ECHO_N "checking for event joystick interface... $ECHO_C" >&6; } |
| 15994 | + cat >conftest.$ac_ext <<_ACEOF |
| 15995 | + /* confdefs.h. */ |
| 15996 | + _ACEOF |
| 15997 | +@@ -13378,39 +13955,35 @@ |
| 15998 | + } |
| 15999 | + _ACEOF |
| 16000 | + rm -f conftest.$ac_objext |
| 16001 | +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 16002 | +- (eval $ac_compile) 2>conftest.er1 |
| 16003 | ++if { (ac_try="$ac_compile" |
| 16004 | ++case "(($ac_try" in |
| 16005 | ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16006 | ++ *) ac_try_echo=$ac_try;; |
| 16007 | ++esac |
| 16008 | ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 16009 | ++ (eval "$ac_compile") 2>conftest.er1 |
| 16010 | + ac_status=$? |
| 16011 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 16012 | + rm -f conftest.er1 |
| 16013 | + cat conftest.err >&5 |
| 16014 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16015 | +- (exit $ac_status); } && |
| 16016 | +- { ac_try='test -z "$ac_c_werror_flag" |
| 16017 | +- || test ! -s conftest.err' |
| 16018 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16019 | +- (eval $ac_try) 2>&5 |
| 16020 | +- ac_status=$? |
| 16021 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16022 | +- (exit $ac_status); }; } && |
| 16023 | +- { ac_try='test -s conftest.$ac_objext' |
| 16024 | +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16025 | +- (eval $ac_try) 2>&5 |
| 16026 | +- ac_status=$? |
| 16027 | +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16028 | +- (exit $ac_status); }; }; then |
| 16029 | ++ (exit $ac_status); } && { |
| 16030 | ++ test -z "$ac_c_werror_flag" || |
| 16031 | ++ test ! -s conftest.err |
| 16032 | ++ } && test -s conftest.$ac_objext; then |
| 16033 | + : |
| 16034 | + else |
| 16035 | + echo "$as_me: failed program was:" >&5 |
| 16036 | + sed 's/^/| /' conftest.$ac_ext >&5 |
| 16037 | + |
| 16038 | +-{ { echo "$as_me:$LINENO: error: the event joystick interface is missing" >&5 |
| 16039 | ++ { { echo "$as_me:$LINENO: error: the event joystick interface is missing" >&5 |
| 16040 | + echo "$as_me: error: the event joystick interface is missing" >&2;} |
| 16041 | + { (exit 1); exit 1; }; } |
| 16042 | + fi |
| 16043 | +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16044 | +- echo "$as_me:$LINENO: result: yes" >&5 |
| 16045 | +-echo "${ECHO_T}yes" >&6 |
| 16046 | ++ |
| 16047 | ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16048 | ++ { echo "$as_me:$LINENO: result: yes" >&5 |
| 16049 | ++echo "${ECHO_T}yes" >&6; } |
| 16050 | + fi |
| 16051 | + if test $ac_lib_jevent = yes; then |
| 16052 | + ac_lib_joystick="$ac_lib_joystick event" |
| 16053 | +@@ -13421,7 +13994,7 @@ |
| 16054 | + # Final |
| 16055 | + CONF_LIB_DIRECT=$ac_lib_direct_flag |
| 16056 | + |
| 16057 | +- ac_config_files="$ac_config_files Makefile" |
| 16058 | ++ac_config_files="$ac_config_files Makefile" |
| 16059 | + |
| 16060 | + cat >confcache <<\_ACEOF |
| 16061 | + # This file is a shell script that caches the results of configure |
| 16062 | +@@ -13441,39 +14014,58 @@ |
| 16063 | + |
| 16064 | + # The following way of writing the cache mishandles newlines in values, |
| 16065 | + # but we know of no workaround that is simple, portable, and efficient. |
| 16066 | +-# So, don't put newlines in cache variables' values. |
| 16067 | ++# So, we kill variables containing newlines. |
| 16068 | + # Ultrix sh set writes to stderr and can't be redirected directly, |
| 16069 | + # and sets the high bit in the cache file unless we assign to the vars. |
| 16070 | +-{ |
| 16071 | ++( |
| 16072 | ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 16073 | ++ eval ac_val=\$$ac_var |
| 16074 | ++ case $ac_val in #( |
| 16075 | ++ *${as_nl}*) |
| 16076 | ++ case $ac_var in #( |
| 16077 | ++ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 16078 | ++echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 16079 | ++ esac |
| 16080 | ++ case $ac_var in #( |
| 16081 | ++ _ | IFS | as_nl) ;; #( |
| 16082 | ++ *) $as_unset $ac_var ;; |
| 16083 | ++ esac ;; |
| 16084 | ++ esac |
| 16085 | ++ done |
| 16086 | ++ |
| 16087 | + (set) 2>&1 | |
| 16088 | +- case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 16089 | +- *ac_space=\ *) |
| 16090 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 16091 | ++ *${as_nl}ac_space=\ *) |
| 16092 | + # `set' does not quote correctly, so add quotes (double-quote |
| 16093 | + # substitution turns \\\\ into \\, and sed turns \\ into \). |
| 16094 | + sed -n \ |
| 16095 | + "s/'/'\\\\''/g; |
| 16096 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 16097 | +- ;; |
| 16098 | ++ ;; #( |
| 16099 | + *) |
| 16100 | + # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 16101 | +- sed -n \ |
| 16102 | +- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 16103 | ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 16104 | + ;; |
| 16105 | +- esac; |
| 16106 | +-} | |
| 16107 | ++ esac | |
| 16108 | ++ sort |
| 16109 | ++) | |
| 16110 | + sed ' |
| 16111 | ++ /^ac_cv_env_/b end |
| 16112 | + t clear |
| 16113 | +- : clear |
| 16114 | ++ :clear |
| 16115 | + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 16116 | + t end |
| 16117 | +- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 16118 | +- : end' >>confcache |
| 16119 | +-if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| 16120 | +- if test -w $cache_file; then |
| 16121 | +- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| 16122 | ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 16123 | ++ :end' >>confcache |
| 16124 | ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 16125 | ++ if test -w "$cache_file"; then |
| 16126 | ++ test "x$cache_file" != "x/dev/null" && |
| 16127 | ++ { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 16128 | ++echo "$as_me: updating cache $cache_file" >&6;} |
| 16129 | + cat confcache >$cache_file |
| 16130 | + else |
| 16131 | +- echo "not updating unwritable cache $cache_file" |
| 16132 | ++ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 16133 | ++echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 16134 | + fi |
| 16135 | + fi |
| 16136 | + rm -f confcache |
| 16137 | +@@ -13482,32 +14074,18 @@ |
| 16138 | + # Let make expand exec_prefix. |
| 16139 | + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 16140 | + |
| 16141 | +-# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 16142 | +-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 16143 | +-# trailing colons and then remove the whole line if VPATH becomes empty |
| 16144 | +-# (actually we leave an empty line to preserve line numbers). |
| 16145 | +-if test "x$srcdir" = x.; then |
| 16146 | +- ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 16147 | +-s/:*\$(srcdir):*/:/; |
| 16148 | +-s/:*\${srcdir}:*/:/; |
| 16149 | +-s/:*@srcdir@:*/:/; |
| 16150 | +-s/^\([^=]*=[ ]*\):*/\1/; |
| 16151 | +-s/:*$//; |
| 16152 | +-s/^[^=]*=[ ]*$//; |
| 16153 | +-}' |
| 16154 | +-fi |
| 16155 | +- |
| 16156 | + DEFS=-DHAVE_CONFIG_H |
| 16157 | + |
| 16158 | + ac_libobjs= |
| 16159 | + ac_ltlibobjs= |
| 16160 | + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 16161 | + # 1. Remove the extension, and $U if already installed. |
| 16162 | +- ac_i=`echo "$ac_i" | |
| 16163 | +- sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 16164 | +- # 2. Add them. |
| 16165 | +- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 16166 | +- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 16167 | ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 16168 | ++ ac_i=`echo "$ac_i" | sed "$ac_script"` |
| 16169 | ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 16170 | ++ # will be set to the directory where LIBOBJS objects are built. |
| 16171 | ++ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 16172 | ++ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 16173 | + done |
| 16174 | + LIBOBJS=$ac_libobjs |
| 16175 | + |
| 16176 | +@@ -13538,17 +14116,45 @@ |
| 16177 | + ## M4sh Initialization. ## |
| 16178 | + ## --------------------- ## |
| 16179 | + |
| 16180 | +-# Be Bourne compatible |
| 16181 | ++# Be more Bourne compatible |
| 16182 | ++DUALCASE=1; export DUALCASE # for MKS sh |
| 16183 | + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 16184 | + emulate sh |
| 16185 | + NULLCMD=: |
| 16186 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 16187 | + # is contrary to our usage. Disable this feature. |
| 16188 | + alias -g '${1+"$@"}'='"$@"' |
| 16189 | +-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 16190 | +- set -o posix |
| 16191 | ++ setopt NO_GLOB_SUBST |
| 16192 | ++else |
| 16193 | ++ case `(set -o) 2>/dev/null` in |
| 16194 | ++ *posix*) set -o posix ;; |
| 16195 | ++esac |
| 16196 | ++ |
| 16197 | ++fi |
| 16198 | ++ |
| 16199 | ++ |
| 16200 | ++ |
| 16201 | ++ |
| 16202 | ++# PATH needs CR |
| 16203 | ++# Avoid depending upon Character Ranges. |
| 16204 | ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 16205 | ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 16206 | ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 16207 | ++as_cr_digits='0123456789' |
| 16208 | ++as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 16209 | ++ |
| 16210 | ++# The user is always right. |
| 16211 | ++if test "${PATH_SEPARATOR+set}" != set; then |
| 16212 | ++ echo "#! /bin/sh" >conf$$.sh |
| 16213 | ++ echo "exit 0" >>conf$$.sh |
| 16214 | ++ chmod +x conf$$.sh |
| 16215 | ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 16216 | ++ PATH_SEPARATOR=';' |
| 16217 | ++ else |
| 16218 | ++ PATH_SEPARATOR=: |
| 16219 | ++ fi |
| 16220 | ++ rm -f conf$$.sh |
| 16221 | + fi |
| 16222 | +-DUALCASE=1; export DUALCASE # for MKS sh |
| 16223 | + |
| 16224 | + # Support unset when possible. |
| 16225 | + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 16226 | +@@ -13558,8 +14164,43 @@ |
| 16227 | + fi |
| 16228 | + |
| 16229 | + |
| 16230 | ++# IFS |
| 16231 | ++# We need space, tab and new line, in precisely that order. Quoting is |
| 16232 | ++# there to prevent editors from complaining about space-tab. |
| 16233 | ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 16234 | ++# splitting by setting IFS to empty value.) |
| 16235 | ++as_nl=' |
| 16236 | ++' |
| 16237 | ++IFS=" "" $as_nl" |
| 16238 | ++ |
| 16239 | ++# Find who we are. Look in the path if we contain no directory separator. |
| 16240 | ++case $0 in |
| 16241 | ++ *[\\/]* ) as_myself=$0 ;; |
| 16242 | ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 16243 | ++for as_dir in $PATH |
| 16244 | ++do |
| 16245 | ++ IFS=$as_save_IFS |
| 16246 | ++ test -z "$as_dir" && as_dir=. |
| 16247 | ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 16248 | ++done |
| 16249 | ++IFS=$as_save_IFS |
| 16250 | ++ |
| 16251 | ++ ;; |
| 16252 | ++esac |
| 16253 | ++# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 16254 | ++# in which case we are not to be found in the path. |
| 16255 | ++if test "x$as_myself" = x; then |
| 16256 | ++ as_myself=$0 |
| 16257 | ++fi |
| 16258 | ++if test ! -f "$as_myself"; then |
| 16259 | ++ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 16260 | ++ { (exit 1); exit 1; } |
| 16261 | ++fi |
| 16262 | ++ |
| 16263 | + # Work around bugs in pre-3.0 UWIN ksh. |
| 16264 | +-$as_unset ENV MAIL MAILPATH |
| 16265 | ++for as_var in ENV MAIL MAILPATH |
| 16266 | ++do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 16267 | ++done |
| 16268 | + PS1='$ ' |
| 16269 | + PS2='> ' |
| 16270 | + PS4='+ ' |
| 16271 | +@@ -13573,18 +14214,19 @@ |
| 16272 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 16273 | + eval $as_var=C; export $as_var |
| 16274 | + else |
| 16275 | +- $as_unset $as_var |
| 16276 | ++ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 16277 | + fi |
| 16278 | + done |
| 16279 | + |
| 16280 | + # Required to use basename. |
| 16281 | +-if expr a : '\(a\)' >/dev/null 2>&1; then |
| 16282 | ++if expr a : '\(a\)' >/dev/null 2>&1 && |
| 16283 | ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 16284 | + as_expr=expr |
| 16285 | + else |
| 16286 | + as_expr=false |
| 16287 | + fi |
| 16288 | + |
| 16289 | +-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 16290 | ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 16291 | + as_basename=basename |
| 16292 | + else |
| 16293 | + as_basename=false |
| 16294 | +@@ -13592,159 +14234,120 @@ |
| 16295 | + |
| 16296 | + |
| 16297 | + # Name of the executable. |
| 16298 | +-as_me=`$as_basename "$0" || |
| 16299 | ++as_me=`$as_basename -- "$0" || |
| 16300 | + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 16301 | + X"$0" : 'X\(//\)$' \| \ |
| 16302 | +- X"$0" : 'X\(/\)$' \| \ |
| 16303 | +- . : '\(.\)' 2>/dev/null || |
| 16304 | ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 16305 | + echo X/"$0" | |
| 16306 | +- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 16307 | +- /^X\/\(\/\/\)$/{ s//\1/; q; } |
| 16308 | +- /^X\/\(\/\).*/{ s//\1/; q; } |
| 16309 | +- s/.*/./; q'` |
| 16310 | +- |
| 16311 | +- |
| 16312 | +-# PATH needs CR, and LINENO needs CR and PATH. |
| 16313 | +-# Avoid depending upon Character Ranges. |
| 16314 | +-as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 16315 | +-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 16316 | +-as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 16317 | +-as_cr_digits='0123456789' |
| 16318 | +-as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 16319 | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 16320 | ++ s//\1/ |
| 16321 | ++ q |
| 16322 | ++ } |
| 16323 | ++ /^X\/\(\/\/\)$/{ |
| 16324 | ++ s//\1/ |
| 16325 | ++ q |
| 16326 | ++ } |
| 16327 | ++ /^X\/\(\/\).*/{ |
| 16328 | ++ s//\1/ |
| 16329 | ++ q |
| 16330 | ++ } |
| 16331 | ++ s/.*/./; q'` |
| 16332 | + |
| 16333 | +-# The user is always right. |
| 16334 | +-if test "${PATH_SEPARATOR+set}" != set; then |
| 16335 | +- echo "#! /bin/sh" >conf$$.sh |
| 16336 | +- echo "exit 0" >>conf$$.sh |
| 16337 | +- chmod +x conf$$.sh |
| 16338 | +- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 16339 | +- PATH_SEPARATOR=';' |
| 16340 | +- else |
| 16341 | +- PATH_SEPARATOR=: |
| 16342 | +- fi |
| 16343 | +- rm -f conf$$.sh |
| 16344 | +-fi |
| 16345 | ++# CDPATH. |
| 16346 | ++$as_unset CDPATH |
| 16347 | + |
| 16348 | + |
| 16349 | +- as_lineno_1=$LINENO |
| 16350 | +- as_lineno_2=$LINENO |
| 16351 | +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 16352 | +- test "x$as_lineno_1" != "x$as_lineno_2" && |
| 16353 | +- test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 16354 | +- # Find who we are. Look in the path if we contain no path at all |
| 16355 | +- # relative or not. |
| 16356 | +- case $0 in |
| 16357 | +- *[\\/]* ) as_myself=$0 ;; |
| 16358 | +- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 16359 | +-for as_dir in $PATH |
| 16360 | +-do |
| 16361 | +- IFS=$as_save_IFS |
| 16362 | +- test -z "$as_dir" && as_dir=. |
| 16363 | +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 16364 | +-done |
| 16365 | + |
| 16366 | +- ;; |
| 16367 | +- esac |
| 16368 | +- # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 16369 | +- # in which case we are not to be found in the path. |
| 16370 | +- if test "x$as_myself" = x; then |
| 16371 | +- as_myself=$0 |
| 16372 | +- fi |
| 16373 | +- if test ! -f "$as_myself"; then |
| 16374 | +- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
| 16375 | +-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
| 16376 | +- { (exit 1); exit 1; }; } |
| 16377 | +- fi |
| 16378 | +- case $CONFIG_SHELL in |
| 16379 | +- '') |
| 16380 | +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 16381 | +-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 16382 | +-do |
| 16383 | +- IFS=$as_save_IFS |
| 16384 | +- test -z "$as_dir" && as_dir=. |
| 16385 | +- for as_base in sh bash ksh sh5; do |
| 16386 | +- case $as_dir in |
| 16387 | +- /*) |
| 16388 | +- if ("$as_dir/$as_base" -c ' |
| 16389 | + as_lineno_1=$LINENO |
| 16390 | + as_lineno_2=$LINENO |
| 16391 | +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 16392 | + test "x$as_lineno_1" != "x$as_lineno_2" && |
| 16393 | +- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 16394 | +- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 16395 | +- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 16396 | +- CONFIG_SHELL=$as_dir/$as_base |
| 16397 | +- export CONFIG_SHELL |
| 16398 | +- exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 16399 | +- fi;; |
| 16400 | +- esac |
| 16401 | +- done |
| 16402 | +-done |
| 16403 | +-;; |
| 16404 | +- esac |
| 16405 | ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 16406 | + |
| 16407 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 16408 | + # uniformly replaced by the line number. The first 'sed' inserts a |
| 16409 | +- # line-number line before each line; the second 'sed' does the real |
| 16410 | +- # work. The second script uses 'N' to pair each line-number line |
| 16411 | +- # with the numbered line, and appends trailing '-' during |
| 16412 | +- # substitution so that $LINENO is not a special case at line end. |
| 16413 | ++ # line-number line after each line using $LINENO; the second 'sed' |
| 16414 | ++ # does the real work. The second script uses 'N' to pair each |
| 16415 | ++ # line-number line with the line containing $LINENO, and appends |
| 16416 | ++ # trailing '-' during substitution so that $LINENO is not a special |
| 16417 | ++ # case at line end. |
| 16418 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 16419 | +- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 16420 | +- sed '=' <$as_myself | |
| 16421 | ++ # scripts with optimization help from Paolo Bonzini. Blame Lee |
| 16422 | ++ # E. McMahon (1931-1989) for sed's syntax. :-) |
| 16423 | ++ sed -n ' |
| 16424 | ++ p |
| 16425 | ++ /[$]LINENO/= |
| 16426 | ++ ' <$as_myself | |
| 16427 | + sed ' |
| 16428 | ++ s/[$]LINENO.*/&-/ |
| 16429 | ++ t lineno |
| 16430 | ++ b |
| 16431 | ++ :lineno |
| 16432 | + N |
| 16433 | +- s,$,-, |
| 16434 | +- : loop |
| 16435 | +- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 16436 | ++ :loop |
| 16437 | ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 16438 | + t loop |
| 16439 | +- s,-$,, |
| 16440 | +- s,^['$as_cr_digits']*\n,, |
| 16441 | ++ s/-\n.*// |
| 16442 | + ' >$as_me.lineno && |
| 16443 | +- chmod +x $as_me.lineno || |
| 16444 | +- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
| 16445 | +-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
| 16446 | ++ chmod +x "$as_me.lineno" || |
| 16447 | ++ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 16448 | + { (exit 1); exit 1; }; } |
| 16449 | + |
| 16450 | + # Don't try to exec as it changes $[0], causing all sort of problems |
| 16451 | + # (the dirname of $[0] is not the place where we might find the |
| 16452 | +- # original and so on. Autoconf is especially sensible to this). |
| 16453 | +- . ./$as_me.lineno |
| 16454 | ++ # original and so on. Autoconf is especially sensitive to this). |
| 16455 | ++ . "./$as_me.lineno" |
| 16456 | + # Exit status is that of the last command. |
| 16457 | + exit |
| 16458 | + } |
| 16459 | + |
| 16460 | + |
| 16461 | +-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 16462 | +- *c*,-n*) ECHO_N= ECHO_C=' |
| 16463 | +-' ECHO_T=' ' ;; |
| 16464 | +- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 16465 | +- *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 16466 | ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 16467 | ++ as_dirname=dirname |
| 16468 | ++else |
| 16469 | ++ as_dirname=false |
| 16470 | ++fi |
| 16471 | ++ |
| 16472 | ++ECHO_C= ECHO_N= ECHO_T= |
| 16473 | ++case `echo -n x` in |
| 16474 | ++-n*) |
| 16475 | ++ case `echo 'x\c'` in |
| 16476 | ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 16477 | ++ *) ECHO_C='\c';; |
| 16478 | ++ esac;; |
| 16479 | ++*) |
| 16480 | ++ ECHO_N='-n';; |
| 16481 | + esac |
| 16482 | + |
| 16483 | +-if expr a : '\(a\)' >/dev/null 2>&1; then |
| 16484 | ++if expr a : '\(a\)' >/dev/null 2>&1 && |
| 16485 | ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 16486 | + as_expr=expr |
| 16487 | + else |
| 16488 | + as_expr=false |
| 16489 | + fi |
| 16490 | + |
| 16491 | + rm -f conf$$ conf$$.exe conf$$.file |
| 16492 | ++if test -d conf$$.dir; then |
| 16493 | ++ rm -f conf$$.dir/conf$$.file |
| 16494 | ++else |
| 16495 | ++ rm -f conf$$.dir |
| 16496 | ++ mkdir conf$$.dir |
| 16497 | ++fi |
| 16498 | + echo >conf$$.file |
| 16499 | + if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 16500 | +- # We could just check for DJGPP; but this test a) works b) is more generic |
| 16501 | +- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 16502 | +- if test -f conf$$.exe; then |
| 16503 | +- # Don't use ln at all; we don't have any links |
| 16504 | ++ as_ln_s='ln -s' |
| 16505 | ++ # ... but there are two gotchas: |
| 16506 | ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 16507 | ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 16508 | ++ # In both cases, we have to default to `cp -p'. |
| 16509 | ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 16510 | + as_ln_s='cp -p' |
| 16511 | +- else |
| 16512 | +- as_ln_s='ln -s' |
| 16513 | +- fi |
| 16514 | + elif ln conf$$.file conf$$ 2>/dev/null; then |
| 16515 | + as_ln_s=ln |
| 16516 | + else |
| 16517 | + as_ln_s='cp -p' |
| 16518 | + fi |
| 16519 | +-rm -f conf$$ conf$$.exe conf$$.file |
| 16520 | ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 16521 | ++rmdir conf$$.dir 2>/dev/null |
| 16522 | + |
| 16523 | + if mkdir -p . 2>/dev/null; then |
| 16524 | + as_mkdir_p=: |
| 16525 | +@@ -13753,7 +14356,28 @@ |
| 16526 | + as_mkdir_p=false |
| 16527 | + fi |
| 16528 | + |
| 16529 | +-as_executable_p="test -f" |
| 16530 | ++if test -x / >/dev/null 2>&1; then |
| 16531 | ++ as_test_x='test -x' |
| 16532 | ++else |
| 16533 | ++ if ls -dL / >/dev/null 2>&1; then |
| 16534 | ++ as_ls_L_option=L |
| 16535 | ++ else |
| 16536 | ++ as_ls_L_option= |
| 16537 | ++ fi |
| 16538 | ++ as_test_x=' |
| 16539 | ++ eval sh -c '\'' |
| 16540 | ++ if test -d "$1"; then |
| 16541 | ++ test -d "$1/."; |
| 16542 | ++ else |
| 16543 | ++ case $1 in |
| 16544 | ++ -*)set "./$1";; |
| 16545 | ++ esac; |
| 16546 | ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 16547 | ++ ???[sx]*):;;*)false;;esac;fi |
| 16548 | ++ '\'' sh |
| 16549 | ++ ' |
| 16550 | ++fi |
| 16551 | ++as_executable_p=$as_test_x |
| 16552 | + |
| 16553 | + # Sed expression to map a string onto a valid CPP name. |
| 16554 | + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 16555 | +@@ -13762,31 +14386,14 @@ |
| 16556 | + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 16557 | + |
| 16558 | + |
| 16559 | +-# IFS |
| 16560 | +-# We need space, tab and new line, in precisely that order. |
| 16561 | +-as_nl=' |
| 16562 | +-' |
| 16563 | +-IFS=" $as_nl" |
| 16564 | +- |
| 16565 | +-# CDPATH. |
| 16566 | +-$as_unset CDPATH |
| 16567 | +- |
| 16568 | + exec 6>&1 |
| 16569 | + |
| 16570 | +-# Open the log real soon, to keep \$[0] and so on meaningful, and to |
| 16571 | ++# Save the log message, to keep $[0] and so on meaningful, and to |
| 16572 | + # report actual input values of CONFIG_FILES etc. instead of their |
| 16573 | +-# values after options handling. Logging --version etc. is OK. |
| 16574 | +-exec 5>>config.log |
| 16575 | +-{ |
| 16576 | +- echo |
| 16577 | +- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 16578 | +-## Running $as_me. ## |
| 16579 | +-_ASBOX |
| 16580 | +-} >&5 |
| 16581 | +-cat >&5 <<_CSEOF |
| 16582 | +- |
| 16583 | ++# values after options handling. |
| 16584 | ++ac_log=" |
| 16585 | + This file was extended by advance $as_me source, which was |
| 16586 | +-generated by GNU Autoconf 2.59. Invocation command line was |
| 16587 | ++generated by GNU Autoconf 2.61. Invocation command line was |
| 16588 | + |
| 16589 | + CONFIG_FILES = $CONFIG_FILES |
| 16590 | + CONFIG_HEADERS = $CONFIG_HEADERS |
| 16591 | +@@ -13794,30 +14401,19 @@ |
| 16592 | + CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 16593 | + $ $0 $@ |
| 16594 | + |
| 16595 | +-_CSEOF |
| 16596 | +-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
| 16597 | +-echo >&5 |
| 16598 | ++on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 16599 | ++" |
| 16600 | ++ |
| 16601 | + _ACEOF |
| 16602 | + |
| 16603 | ++cat >>$CONFIG_STATUS <<_ACEOF |
| 16604 | + # Files that config.status was made for. |
| 16605 | +-if test -n "$ac_config_files"; then |
| 16606 | +- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
| 16607 | +-fi |
| 16608 | +- |
| 16609 | +-if test -n "$ac_config_headers"; then |
| 16610 | +- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
| 16611 | +-fi |
| 16612 | ++config_files="$ac_config_files" |
| 16613 | ++config_headers="$ac_config_headers" |
| 16614 | + |
| 16615 | +-if test -n "$ac_config_links"; then |
| 16616 | +- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
| 16617 | +-fi |
| 16618 | +- |
| 16619 | +-if test -n "$ac_config_commands"; then |
| 16620 | +- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
| 16621 | +-fi |
| 16622 | ++_ACEOF |
| 16623 | + |
| 16624 | + cat >>$CONFIG_STATUS <<\_ACEOF |
| 16625 | +- |
| 16626 | + ac_cs_usage="\ |
| 16627 | + \`$as_me' instantiates files from templates according to the |
| 16628 | + current configuration. |
| 16629 | +@@ -13825,7 +14421,7 @@ |
| 16630 | + Usage: $0 [OPTIONS] [FILE]... |
| 16631 | + |
| 16632 | + -h, --help print this help, then exit |
| 16633 | +- -V, --version print version number, then exit |
| 16634 | ++ -V, --version print version number and configuration settings, then exit |
| 16635 | + -q, --quiet do not print progress messages |
| 16636 | + -d, --debug don't remove temporary files |
| 16637 | + --recheck update $as_me by reconfiguring in the same conditions |
| 16638 | +@@ -13841,19 +14437,21 @@ |
| 16639 | + $config_headers |
| 16640 | + |
| 16641 | + Report bugs to <bug-autoconf@gnu.org>." |
| 16642 | +-_ACEOF |
| 16643 | + |
| 16644 | ++_ACEOF |
| 16645 | + cat >>$CONFIG_STATUS <<_ACEOF |
| 16646 | + ac_cs_version="\\ |
| 16647 | + advance config.status source |
| 16648 | +-configured by $0, generated by GNU Autoconf 2.59, |
| 16649 | +- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 16650 | ++configured by $0, generated by GNU Autoconf 2.61, |
| 16651 | ++ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 16652 | + |
| 16653 | +-Copyright (C) 2003 Free Software Foundation, Inc. |
| 16654 | ++Copyright (C) 2006 Free Software Foundation, Inc. |
| 16655 | + This config.status script is free software; the Free Software Foundation |
| 16656 | + gives unlimited permission to copy, distribute and modify it." |
| 16657 | +-srcdir=$srcdir |
| 16658 | +-INSTALL="$INSTALL" |
| 16659 | ++ |
| 16660 | ++ac_pwd='$ac_pwd' |
| 16661 | ++srcdir='$srcdir' |
| 16662 | ++INSTALL='$INSTALL' |
| 16663 | + _ACEOF |
| 16664 | + |
| 16665 | + cat >>$CONFIG_STATUS <<\_ACEOF |
| 16666 | +@@ -13864,39 +14462,24 @@ |
| 16667 | + do |
| 16668 | + case $1 in |
| 16669 | + --*=*) |
| 16670 | +- ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| 16671 | +- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| 16672 | ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 16673 | ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 16674 | + ac_shift=: |
| 16675 | + ;; |
| 16676 | +- -*) |
| 16677 | ++ *) |
| 16678 | + ac_option=$1 |
| 16679 | + ac_optarg=$2 |
| 16680 | + ac_shift=shift |
| 16681 | + ;; |
| 16682 | +- *) # This is not an option, so the user has probably given explicit |
| 16683 | +- # arguments. |
| 16684 | +- ac_option=$1 |
| 16685 | +- ac_need_defaults=false;; |
| 16686 | + esac |
| 16687 | + |
| 16688 | + case $ac_option in |
| 16689 | + # Handling of the options. |
| 16690 | +-_ACEOF |
| 16691 | +-cat >>$CONFIG_STATUS <<\_ACEOF |
| 16692 | + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 16693 | + ac_cs_recheck=: ;; |
| 16694 | +- --version | --vers* | -V ) |
| 16695 | +- echo "$ac_cs_version"; exit 0 ;; |
| 16696 | +- --he | --h) |
| 16697 | +- # Conflict between --help and --header |
| 16698 | +- { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
| 16699 | +-Try \`$0 --help' for more information." >&5 |
| 16700 | +-echo "$as_me: error: ambiguous option: $1 |
| 16701 | +-Try \`$0 --help' for more information." >&2;} |
| 16702 | +- { (exit 1); exit 1; }; };; |
| 16703 | +- --help | --hel | -h ) |
| 16704 | +- echo "$ac_cs_usage"; exit 0 ;; |
| 16705 | +- --debug | --d* | -d ) |
| 16706 | ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 16707 | ++ echo "$ac_cs_version"; exit ;; |
| 16708 | ++ --debug | --debu | --deb | --de | --d | -d ) |
| 16709 | + debug=: ;; |
| 16710 | + --file | --fil | --fi | --f ) |
| 16711 | + $ac_shift |
| 16712 | +@@ -13906,18 +14489,24 @@ |
| 16713 | + $ac_shift |
| 16714 | + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 16715 | + ac_need_defaults=false;; |
| 16716 | ++ --he | --h) |
| 16717 | ++ # Conflict between --help and --header |
| 16718 | ++ { echo "$as_me: error: ambiguous option: $1 |
| 16719 | ++Try \`$0 --help' for more information." >&2 |
| 16720 | ++ { (exit 1); exit 1; }; };; |
| 16721 | ++ --help | --hel | -h ) |
| 16722 | ++ echo "$ac_cs_usage"; exit ;; |
| 16723 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 16724 | + | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 16725 | + ac_cs_silent=: ;; |
| 16726 | + |
| 16727 | + # This is an error. |
| 16728 | +- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
| 16729 | +-Try \`$0 --help' for more information." >&5 |
| 16730 | +-echo "$as_me: error: unrecognized option: $1 |
| 16731 | +-Try \`$0 --help' for more information." >&2;} |
| 16732 | ++ -*) { echo "$as_me: error: unrecognized option: $1 |
| 16733 | ++Try \`$0 --help' for more information." >&2 |
| 16734 | + { (exit 1); exit 1; }; } ;; |
| 16735 | + |
| 16736 | +- *) ac_config_targets="$ac_config_targets $1" ;; |
| 16737 | ++ *) ac_config_targets="$ac_config_targets $1" |
| 16738 | ++ ac_need_defaults=false ;; |
| 16739 | + |
| 16740 | + esac |
| 16741 | + shift |
| 16742 | +@@ -13933,29 +14522,43 @@ |
| 16743 | + _ACEOF |
| 16744 | + cat >>$CONFIG_STATUS <<_ACEOF |
| 16745 | + if \$ac_cs_recheck; then |
| 16746 | +- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 16747 | +- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 16748 | ++ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 16749 | ++ CONFIG_SHELL=$SHELL |
| 16750 | ++ export CONFIG_SHELL |
| 16751 | ++ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 16752 | + fi |
| 16753 | + |
| 16754 | + _ACEOF |
| 16755 | ++cat >>$CONFIG_STATUS <<\_ACEOF |
| 16756 | ++exec 5>>config.log |
| 16757 | ++{ |
| 16758 | ++ echo |
| 16759 | ++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 16760 | ++## Running $as_me. ## |
| 16761 | ++_ASBOX |
| 16762 | ++ echo "$ac_log" |
| 16763 | ++} >&5 |
| 16764 | + |
| 16765 | +- |
| 16766 | +- |
| 16767 | +- |
| 16768 | ++_ACEOF |
| 16769 | ++cat >>$CONFIG_STATUS <<_ACEOF |
| 16770 | ++_ACEOF |
| 16771 | + |
| 16772 | + cat >>$CONFIG_STATUS <<\_ACEOF |
| 16773 | ++ |
| 16774 | ++# Handling of arguments. |
| 16775 | + for ac_config_target in $ac_config_targets |
| 16776 | + do |
| 16777 | +- case "$ac_config_target" in |
| 16778 | +- # Handling of arguments. |
| 16779 | +- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 16780 | +- "advance/lib/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS advance/lib/config.h:advance/lib/config.hin" ;; |
| 16781 | ++ case $ac_config_target in |
| 16782 | ++ "advance/lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS advance/lib/config.h:advance/lib/config.hin" ;; |
| 16783 | ++ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 16784 | ++ |
| 16785 | + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 16786 | + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 16787 | + { (exit 1); exit 1; }; };; |
| 16788 | + esac |
| 16789 | + done |
| 16790 | + |
| 16791 | ++ |
| 16792 | + # If the user did not use the arguments to specify the items to instantiate, |
| 16793 | + # then the envvar interface is used. Set only those that are not. |
| 16794 | + # We use the long form for the default assignment because of an extremely |
| 16795 | +@@ -13966,365 +14569,474 @@ |
| 16796 | + fi |
| 16797 | + |
| 16798 | + # Have a temporary directory for convenience. Make it in the build tree |
| 16799 | +-# simply because there is no reason to put it here, and in addition, |
| 16800 | ++# simply because there is no reason against having it here, and in addition, |
| 16801 | + # creating and moving files from /tmp can sometimes cause problems. |
| 16802 | +-# Create a temporary directory, and hook for its removal unless debugging. |
| 16803 | ++# Hook for its removal unless debugging. |
| 16804 | ++# Note that there is a small window in which the directory will not be cleaned: |
| 16805 | ++# after its creation but before its name has been assigned to `$tmp'. |
| 16806 | + $debug || |
| 16807 | + { |
| 16808 | +- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
| 16809 | ++ tmp= |
| 16810 | ++ trap 'exit_status=$? |
| 16811 | ++ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 16812 | ++' 0 |
| 16813 | + trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 16814 | + } |
| 16815 | +- |
| 16816 | + # Create a (secure) tmp directory for tmp files. |
| 16817 | + |
| 16818 | + { |
| 16819 | +- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| 16820 | ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 16821 | + test -n "$tmp" && test -d "$tmp" |
| 16822 | + } || |
| 16823 | + { |
| 16824 | +- tmp=./confstat$$-$RANDOM |
| 16825 | +- (umask 077 && mkdir $tmp) |
| 16826 | ++ tmp=./conf$$-$RANDOM |
| 16827 | ++ (umask 077 && mkdir "$tmp") |
| 16828 | + } || |
| 16829 | + { |
| 16830 | + echo "$me: cannot create a temporary directory in ." >&2 |
| 16831 | + { (exit 1); exit 1; } |
| 16832 | + } |
| 16833 | + |
| 16834 | +-_ACEOF |
| 16835 | +- |
| 16836 | +-cat >>$CONFIG_STATUS <<_ACEOF |
| 16837 | +- |
| 16838 | + # |
| 16839 | +-# CONFIG_FILES section. |
| 16840 | ++# Set up the sed scripts for CONFIG_FILES section. |
| 16841 | + # |
| 16842 | + |
| 16843 | + # No need to generate the scripts if there are no CONFIG_FILES. |
| 16844 | + # This happens for instance when ./config.status config.h |
| 16845 | +-if test -n "\$CONFIG_FILES"; then |
| 16846 | +- # Protect against being on the right side of a sed subst in config.status. |
| 16847 | +- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
| 16848 | +- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
| 16849 | +-s,@SHELL@,$SHELL,;t t |
| 16850 | +-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
| 16851 | +-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
| 16852 | +-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
| 16853 | +-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
| 16854 | +-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
| 16855 | +-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
| 16856 | +-s,@exec_prefix@,$exec_prefix,;t t |
| 16857 | +-s,@prefix@,$prefix,;t t |
| 16858 | +-s,@program_transform_name@,$program_transform_name,;t t |
| 16859 | +-s,@bindir@,$bindir,;t t |
| 16860 | +-s,@sbindir@,$sbindir,;t t |
| 16861 | +-s,@libexecdir@,$libexecdir,;t t |
| 16862 | +-s,@datadir@,$datadir,;t t |
| 16863 | +-s,@sysconfdir@,$sysconfdir,;t t |
| 16864 | +-s,@sharedstatedir@,$sharedstatedir,;t t |
| 16865 | +-s,@localstatedir@,$localstatedir,;t t |
| 16866 | +-s,@libdir@,$libdir,;t t |
| 16867 | +-s,@includedir@,$includedir,;t t |
| 16868 | +-s,@oldincludedir@,$oldincludedir,;t t |
| 16869 | +-s,@infodir@,$infodir,;t t |
| 16870 | +-s,@mandir@,$mandir,;t t |
| 16871 | +-s,@build_alias@,$build_alias,;t t |
| 16872 | +-s,@host_alias@,$host_alias,;t t |
| 16873 | +-s,@target_alias@,$target_alias,;t t |
| 16874 | +-s,@DEFS@,$DEFS,;t t |
| 16875 | +-s,@ECHO_C@,$ECHO_C,;t t |
| 16876 | +-s,@ECHO_N@,$ECHO_N,;t t |
| 16877 | +-s,@ECHO_T@,$ECHO_T,;t t |
| 16878 | +-s,@LIBS@,$LIBS,;t t |
| 16879 | +-s,@build@,$build,;t t |
| 16880 | +-s,@build_cpu@,$build_cpu,;t t |
| 16881 | +-s,@build_vendor@,$build_vendor,;t t |
| 16882 | +-s,@build_os@,$build_os,;t t |
| 16883 | +-s,@host@,$host,;t t |
| 16884 | +-s,@host_cpu@,$host_cpu,;t t |
| 16885 | +-s,@host_vendor@,$host_vendor,;t t |
| 16886 | +-s,@host_os@,$host_os,;t t |
| 16887 | +-s,@ASMFLAGS@,$ASMFLAGS,;t t |
| 16888 | +-s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t |
| 16889 | +-s,@EXE@,$EXE,;t t |
| 16890 | +-s,@CONF_SYSTEM@,$CONF_SYSTEM,;t t |
| 16891 | +-s,@CONF_HOST@,$CONF_HOST,;t t |
| 16892 | +-s,@EXE_FOR_BUILD@,$EXE_FOR_BUILD,;t t |
| 16893 | +-s,@CONF_BUILD@,$CONF_BUILD,;t t |
| 16894 | +-s,@CC@,$CC,;t t |
| 16895 | +-s,@CFLAGS@,$CFLAGS,;t t |
| 16896 | +-s,@LDFLAGS@,$LDFLAGS,;t t |
| 16897 | +-s,@CPPFLAGS@,$CPPFLAGS,;t t |
| 16898 | +-s,@ac_ct_CC@,$ac_ct_CC,;t t |
| 16899 | +-s,@EXEEXT@,$EXEEXT,;t t |
| 16900 | +-s,@OBJEXT@,$OBJEXT,;t t |
| 16901 | +-s,@CXX@,$CXX,;t t |
| 16902 | +-s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 16903 | +-s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 16904 | +-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 16905 | +-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 16906 | +-s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 16907 | +-s,@LN_S@,$LN_S,;t t |
| 16908 | +-s,@AR@,$AR,;t t |
| 16909 | +-s,@ac_ct_AR@,$ac_ct_AR,;t t |
| 16910 | +-s,@RC@,$RC,;t t |
| 16911 | +-s,@ac_ct_RC@,$ac_ct_RC,;t t |
| 16912 | +-s,@RM@,$RM,;t t |
| 16913 | +-s,@CP@,$CP,;t t |
| 16914 | +-s,@MKDIR@,$MKDIR,;t t |
| 16915 | +-s,@ECHO@,$ECHO,;t t |
| 16916 | +-s,@TAR@,$TAR,;t t |
| 16917 | +-s,@GZIP@,$GZIP,;t t |
| 16918 | +-s,@ZIP@,$ZIP,;t t |
| 16919 | +-s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t |
| 16920 | +-s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t |
| 16921 | +-s,@CONF_DEBUG@,$CONF_DEBUG,;t t |
| 16922 | +-s,@CONF_CFLAGS_OPT@,$CONF_CFLAGS_OPT,;t t |
| 16923 | +-s,@CONF_LDFLAGS@,$CONF_LDFLAGS,;t t |
| 16924 | +-s,@CPP@,$CPP,;t t |
| 16925 | +-s,@EGREP@,$EGREP,;t t |
| 16926 | +-s,@ASM@,$ASM,;t t |
| 16927 | +-s,@CONF_CFLAGS_ARCH@,$CONF_CFLAGS_ARCH,;t t |
| 16928 | +-s,@CONF_EMU@,$CONF_EMU,;t t |
| 16929 | +-s,@CONF_DEBUGGER@,$CONF_DEBUGGER,;t t |
| 16930 | +-s,@ALLOCA@,$ALLOCA,;t t |
| 16931 | +-s,@CONF_LIB_ZLIB@,$CONF_LIB_ZLIB,;t t |
| 16932 | +-s,@CONF_LIB_EXPAT@,$CONF_LIB_EXPAT,;t t |
| 16933 | +-s,@CONF_LIB_SVGALIB@,$CONF_LIB_SVGALIB,;t t |
| 16934 | +-s,@CONF_LIB_FB@,$CONF_LIB_FB,;t t |
| 16935 | +-s,@CONF_LIB_ALSA@,$CONF_LIB_ALSA,;t t |
| 16936 | +-s,@CONF_LIB_OSS@,$CONF_LIB_OSS,;t t |
| 16937 | +-s,@CONF_LIB_PTHREAD@,$CONF_LIB_PTHREAD,;t t |
| 16938 | +-s,@CONF_LIB_SLANG@,$CONF_LIB_SLANG,;t t |
| 16939 | +-s,@CONF_LIB_NCURSES@,$CONF_LIB_NCURSES,;t t |
| 16940 | +-s,@ac_lib_freetype_config@,$ac_lib_freetype_config,;t t |
| 16941 | +-s,@FREETYPECFLAGS@,$FREETYPECFLAGS,;t t |
| 16942 | +-s,@FREETYPELIBS@,$FREETYPELIBS,;t t |
| 16943 | +-s,@CONF_LIB_FREETYPE@,$CONF_LIB_FREETYPE,;t t |
| 16944 | +-s,@ac_lib_sdl_config@,$ac_lib_sdl_config,;t t |
| 16945 | +-s,@SDLCFLAGS@,$SDLCFLAGS,;t t |
| 16946 | +-s,@SDLLIBS@,$SDLLIBS,;t t |
| 16947 | +-s,@CONF_LIB_SDL@,$CONF_LIB_SDL,;t t |
| 16948 | +-s,@CONF_LIB_SVGAWIN@,$CONF_LIB_SVGAWIN,;t t |
| 16949 | +-s,@CONF_LIB_MRAWINPUT@,$CONF_LIB_MRAWINPUT,;t t |
| 16950 | +-s,@CONF_LIB_MCPN@,$CONF_LIB_MCPN,;t t |
| 16951 | +-s,@CONF_LIB_KRAW@,$CONF_LIB_KRAW,;t t |
| 16952 | +-s,@CONF_LIB_JRAW@,$CONF_LIB_JRAW,;t t |
| 16953 | +-s,@CONF_LIB_MRAW@,$CONF_LIB_MRAW,;t t |
| 16954 | +-s,@CONF_LIB_MEVENT@,$CONF_LIB_MEVENT,;t t |
| 16955 | +-s,@CONF_LIB_KEVENT@,$CONF_LIB_KEVENT,;t t |
| 16956 | +-s,@CONF_LIB_JEVENT@,$CONF_LIB_JEVENT,;t t |
| 16957 | +-s,@CONF_LIB_DIRECT@,$CONF_LIB_DIRECT,;t t |
| 16958 | +-s,@LIBOBJS@,$LIBOBJS,;t t |
| 16959 | +-s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 16960 | +-CEOF |
| 16961 | +- |
| 16962 | +-_ACEOF |
| 16963 | +- |
| 16964 | +- cat >>$CONFIG_STATUS <<\_ACEOF |
| 16965 | +- # Split the substitutions into bite-sized pieces for seds with |
| 16966 | +- # small command number limits, like on Digital OSF/1 and HP-UX. |
| 16967 | +- ac_max_sed_lines=48 |
| 16968 | +- ac_sed_frag=1 # Number of current file. |
| 16969 | +- ac_beg=1 # First line for current file. |
| 16970 | +- ac_end=$ac_max_sed_lines # Line after last line for current file. |
| 16971 | +- ac_more_lines=: |
| 16972 | +- ac_sed_cmds= |
| 16973 | +- while $ac_more_lines; do |
| 16974 | +- if test $ac_beg -gt 1; then |
| 16975 | +- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 16976 | +- else |
| 16977 | +- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 16978 | +- fi |
| 16979 | +- if test ! -s $tmp/subs.frag; then |
| 16980 | +- ac_more_lines=false |
| 16981 | +- else |
| 16982 | +- # The purpose of the label and of the branching condition is to |
| 16983 | +- # speed up the sed processing (if there are no `@' at all, there |
| 16984 | +- # is no need to browse any of the substitutions). |
| 16985 | +- # These are the two extra sed commands mentioned above. |
| 16986 | +- (echo ':t |
| 16987 | +- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| 16988 | +- if test -z "$ac_sed_cmds"; then |
| 16989 | +- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 16990 | +- else |
| 16991 | +- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 16992 | +- fi |
| 16993 | +- ac_sed_frag=`expr $ac_sed_frag + 1` |
| 16994 | +- ac_beg=$ac_end |
| 16995 | +- ac_end=`expr $ac_end + $ac_max_sed_lines` |
| 16996 | +- fi |
| 16997 | +- done |
| 16998 | +- if test -z "$ac_sed_cmds"; then |
| 16999 | +- ac_sed_cmds=cat |
| 17000 | ++if test -n "$CONFIG_FILES"; then |
| 17001 | ++ |
| 17002 | ++_ACEOF |
| 17003 | ++ |
| 17004 | ++ |
| 17005 | ++ |
| 17006 | ++ac_delim='%!_!# ' |
| 17007 | ++for ac_last_try in false false false false false :; do |
| 17008 | ++ cat >conf$$subs.sed <<_ACEOF |
| 17009 | ++SHELL!$SHELL$ac_delim |
| 17010 | ++PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
| 17011 | ++PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
| 17012 | ++PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
| 17013 | ++PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
| 17014 | ++PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
| 17015 | ++PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
| 17016 | ++exec_prefix!$exec_prefix$ac_delim |
| 17017 | ++prefix!$prefix$ac_delim |
| 17018 | ++program_transform_name!$program_transform_name$ac_delim |
| 17019 | ++bindir!$bindir$ac_delim |
| 17020 | ++sbindir!$sbindir$ac_delim |
| 17021 | ++libexecdir!$libexecdir$ac_delim |
| 17022 | ++datarootdir!$datarootdir$ac_delim |
| 17023 | ++datadir!$datadir$ac_delim |
| 17024 | ++sysconfdir!$sysconfdir$ac_delim |
| 17025 | ++sharedstatedir!$sharedstatedir$ac_delim |
| 17026 | ++localstatedir!$localstatedir$ac_delim |
| 17027 | ++includedir!$includedir$ac_delim |
| 17028 | ++oldincludedir!$oldincludedir$ac_delim |
| 17029 | ++docdir!$docdir$ac_delim |
| 17030 | ++infodir!$infodir$ac_delim |
| 17031 | ++htmldir!$htmldir$ac_delim |
| 17032 | ++dvidir!$dvidir$ac_delim |
| 17033 | ++pdfdir!$pdfdir$ac_delim |
| 17034 | ++psdir!$psdir$ac_delim |
| 17035 | ++libdir!$libdir$ac_delim |
| 17036 | ++localedir!$localedir$ac_delim |
| 17037 | ++mandir!$mandir$ac_delim |
| 17038 | ++DEFS!$DEFS$ac_delim |
| 17039 | ++ECHO_C!$ECHO_C$ac_delim |
| 17040 | ++ECHO_N!$ECHO_N$ac_delim |
| 17041 | ++ECHO_T!$ECHO_T$ac_delim |
| 17042 | ++LIBS!$LIBS$ac_delim |
| 17043 | ++build_alias!$build_alias$ac_delim |
| 17044 | ++host_alias!$host_alias$ac_delim |
| 17045 | ++target_alias!$target_alias$ac_delim |
| 17046 | ++build!$build$ac_delim |
| 17047 | ++build_cpu!$build_cpu$ac_delim |
| 17048 | ++build_vendor!$build_vendor$ac_delim |
| 17049 | ++build_os!$build_os$ac_delim |
| 17050 | ++host!$host$ac_delim |
| 17051 | ++host_cpu!$host_cpu$ac_delim |
| 17052 | ++host_vendor!$host_vendor$ac_delim |
| 17053 | ++host_os!$host_os$ac_delim |
| 17054 | ++ASMFLAGS!$ASMFLAGS$ac_delim |
| 17055 | ++CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim |
| 17056 | ++EXE!$EXE$ac_delim |
| 17057 | ++CONF_SYSTEM!$CONF_SYSTEM$ac_delim |
| 17058 | ++CONF_HOST!$CONF_HOST$ac_delim |
| 17059 | ++EXE_FOR_BUILD!$EXE_FOR_BUILD$ac_delim |
| 17060 | ++CONF_BUILD!$CONF_BUILD$ac_delim |
| 17061 | ++CC!$CC$ac_delim |
| 17062 | ++CFLAGS!$CFLAGS$ac_delim |
| 17063 | ++LDFLAGS!$LDFLAGS$ac_delim |
| 17064 | ++CPPFLAGS!$CPPFLAGS$ac_delim |
| 17065 | ++ac_ct_CC!$ac_ct_CC$ac_delim |
| 17066 | ++EXEEXT!$EXEEXT$ac_delim |
| 17067 | ++OBJEXT!$OBJEXT$ac_delim |
| 17068 | ++CXX!$CXX$ac_delim |
| 17069 | ++CXXFLAGS!$CXXFLAGS$ac_delim |
| 17070 | ++ac_ct_CXX!$ac_ct_CXX$ac_delim |
| 17071 | ++INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
| 17072 | ++INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
| 17073 | ++INSTALL_DATA!$INSTALL_DATA$ac_delim |
| 17074 | ++LN_S!$LN_S$ac_delim |
| 17075 | ++AR!$AR$ac_delim |
| 17076 | ++ac_ct_AR!$ac_ct_AR$ac_delim |
| 17077 | ++RC!$RC$ac_delim |
| 17078 | ++ac_ct_RC!$ac_ct_RC$ac_delim |
| 17079 | ++RM!$RM$ac_delim |
| 17080 | ++CP!$CP$ac_delim |
| 17081 | ++MKDIR!$MKDIR$ac_delim |
| 17082 | ++ECHO!$ECHO$ac_delim |
| 17083 | ++TAR!$TAR$ac_delim |
| 17084 | ++GZIP!$GZIP$ac_delim |
| 17085 | ++ZIP!$ZIP$ac_delim |
| 17086 | ++CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim |
| 17087 | ++CXX_FOR_BUILD!$CXX_FOR_BUILD$ac_delim |
| 17088 | ++CONF_DEBUG!$CONF_DEBUG$ac_delim |
| 17089 | ++CONF_CFLAGS_OPT!$CONF_CFLAGS_OPT$ac_delim |
| 17090 | ++CONF_LDFLAGS!$CONF_LDFLAGS$ac_delim |
| 17091 | ++CPP!$CPP$ac_delim |
| 17092 | ++GREP!$GREP$ac_delim |
| 17093 | ++EGREP!$EGREP$ac_delim |
| 17094 | ++ASM!$ASM$ac_delim |
| 17095 | ++CONF_CFLAGS_ARCH!$CONF_CFLAGS_ARCH$ac_delim |
| 17096 | ++CONF_EMU!$CONF_EMU$ac_delim |
| 17097 | ++CONF_DEBUGGER!$CONF_DEBUGGER$ac_delim |
| 17098 | ++ALLOCA!$ALLOCA$ac_delim |
| 17099 | ++CONF_LIB_ZLIB!$CONF_LIB_ZLIB$ac_delim |
| 17100 | ++CONF_LIB_EXPAT!$CONF_LIB_EXPAT$ac_delim |
| 17101 | ++CONF_LIB_SVGALIB!$CONF_LIB_SVGALIB$ac_delim |
| 17102 | ++CONF_LIB_FB!$CONF_LIB_FB$ac_delim |
| 17103 | ++CONF_LIB_ALSA!$CONF_LIB_ALSA$ac_delim |
| 17104 | ++CONF_LIB_OSS!$CONF_LIB_OSS$ac_delim |
| 17105 | ++CONF_LIB_PTHREAD!$CONF_LIB_PTHREAD$ac_delim |
| 17106 | ++_ACEOF |
| 17107 | ++ |
| 17108 | ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
| 17109 | ++ break |
| 17110 | ++ elif $ac_last_try; then |
| 17111 | ++ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 17112 | ++echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 17113 | ++ { (exit 1); exit 1; }; } |
| 17114 | ++ else |
| 17115 | ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 17116 | + fi |
| 17117 | +-fi # test -n "$CONFIG_FILES" |
| 17118 | ++done |
| 17119 | ++ |
| 17120 | ++ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
| 17121 | ++if test -n "$ac_eof"; then |
| 17122 | ++ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
| 17123 | ++ ac_eof=`expr $ac_eof + 1` |
| 17124 | ++fi |
| 17125 | ++ |
| 17126 | ++cat >>$CONFIG_STATUS <<_ACEOF |
| 17127 | ++cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
| 17128 | ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 17129 | ++_ACEOF |
| 17130 | ++sed ' |
| 17131 | ++s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
| 17132 | ++s/^/s,@/; s/!/@,|#_!!_#|/ |
| 17133 | ++:n |
| 17134 | ++t n |
| 17135 | ++s/'"$ac_delim"'$/,g/; t |
| 17136 | ++s/$/\\/; p |
| 17137 | ++N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
| 17138 | ++' >>$CONFIG_STATUS <conf$$subs.sed |
| 17139 | ++rm -f conf$$subs.sed |
| 17140 | ++cat >>$CONFIG_STATUS <<_ACEOF |
| 17141 | ++CEOF$ac_eof |
| 17142 | ++_ACEOF |
| 17143 | ++ |
| 17144 | ++ |
| 17145 | ++ac_delim='%!_!# ' |
| 17146 | ++for ac_last_try in false false false false false :; do |
| 17147 | ++ cat >conf$$subs.sed <<_ACEOF |
| 17148 | ++CONF_LIB_SLANG!$CONF_LIB_SLANG$ac_delim |
| 17149 | ++CONF_LIB_NCURSES!$CONF_LIB_NCURSES$ac_delim |
| 17150 | ++ac_lib_freetype_config!$ac_lib_freetype_config$ac_delim |
| 17151 | ++FREETYPECFLAGS!$FREETYPECFLAGS$ac_delim |
| 17152 | ++FREETYPELIBS!$FREETYPELIBS$ac_delim |
| 17153 | ++CONF_LIB_FREETYPE!$CONF_LIB_FREETYPE$ac_delim |
| 17154 | ++ac_lib_sdl_config!$ac_lib_sdl_config$ac_delim |
| 17155 | ++SDLCFLAGS!$SDLCFLAGS$ac_delim |
| 17156 | ++SDLLIBS!$SDLLIBS$ac_delim |
| 17157 | ++CONF_LIB_SDL!$CONF_LIB_SDL$ac_delim |
| 17158 | ++CONF_LIB_SVGAWIN!$CONF_LIB_SVGAWIN$ac_delim |
| 17159 | ++CONF_LIB_MRAWINPUT!$CONF_LIB_MRAWINPUT$ac_delim |
| 17160 | ++CONF_LIB_MCPN!$CONF_LIB_MCPN$ac_delim |
| 17161 | ++CONF_LIB_KRAW!$CONF_LIB_KRAW$ac_delim |
| 17162 | ++CONF_LIB_JRAW!$CONF_LIB_JRAW$ac_delim |
| 17163 | ++CONF_LIB_MRAW!$CONF_LIB_MRAW$ac_delim |
| 17164 | ++CONF_LIB_MEVENT!$CONF_LIB_MEVENT$ac_delim |
| 17165 | ++CONF_LIB_KEVENT!$CONF_LIB_KEVENT$ac_delim |
| 17166 | ++CONF_LIB_JEVENT!$CONF_LIB_JEVENT$ac_delim |
| 17167 | ++CONF_LIB_DIRECT!$CONF_LIB_DIRECT$ac_delim |
| 17168 | ++LIBOBJS!$LIBOBJS$ac_delim |
| 17169 | ++LTLIBOBJS!$LTLIBOBJS$ac_delim |
| 17170 | ++_ACEOF |
| 17171 | ++ |
| 17172 | ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then |
| 17173 | ++ break |
| 17174 | ++ elif $ac_last_try; then |
| 17175 | ++ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 17176 | ++echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 17177 | ++ { (exit 1); exit 1; }; } |
| 17178 | ++ else |
| 17179 | ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 17180 | ++ fi |
| 17181 | ++done |
| 17182 | ++ |
| 17183 | ++ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
| 17184 | ++if test -n "$ac_eof"; then |
| 17185 | ++ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
| 17186 | ++ ac_eof=`expr $ac_eof + 1` |
| 17187 | ++fi |
| 17188 | + |
| 17189 | ++cat >>$CONFIG_STATUS <<_ACEOF |
| 17190 | ++cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
| 17191 | ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
| 17192 | ++_ACEOF |
| 17193 | ++sed ' |
| 17194 | ++s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
| 17195 | ++s/^/s,@/; s/!/@,|#_!!_#|/ |
| 17196 | ++:n |
| 17197 | ++t n |
| 17198 | ++s/'"$ac_delim"'$/,g/; t |
| 17199 | ++s/$/\\/; p |
| 17200 | ++N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
| 17201 | ++' >>$CONFIG_STATUS <conf$$subs.sed |
| 17202 | ++rm -f conf$$subs.sed |
| 17203 | ++cat >>$CONFIG_STATUS <<_ACEOF |
| 17204 | ++:end |
| 17205 | ++s/|#_!!_#|//g |
| 17206 | ++CEOF$ac_eof |
| 17207 | + _ACEOF |
| 17208 | ++ |
| 17209 | ++ |
| 17210 | ++# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 17211 | ++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 17212 | ++# trailing colons and then remove the whole line if VPATH becomes empty |
| 17213 | ++# (actually we leave an empty line to preserve line numbers). |
| 17214 | ++if test "x$srcdir" = x.; then |
| 17215 | ++ ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 17216 | ++s/:*\$(srcdir):*/:/ |
| 17217 | ++s/:*\${srcdir}:*/:/ |
| 17218 | ++s/:*@srcdir@:*/:/ |
| 17219 | ++s/^\([^=]*=[ ]*\):*/\1/ |
| 17220 | ++s/:*$// |
| 17221 | ++s/^[^=]*=[ ]*$// |
| 17222 | ++}' |
| 17223 | ++fi |
| 17224 | ++ |
| 17225 | + cat >>$CONFIG_STATUS <<\_ACEOF |
| 17226 | +-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
| 17227 | +- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 17228 | +- case $ac_file in |
| 17229 | +- - | *:- | *:-:* ) # input from stdin |
| 17230 | +- cat >$tmp/stdin |
| 17231 | +- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 17232 | +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 17233 | +- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 17234 | +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 17235 | +- * ) ac_file_in=$ac_file.in ;; |
| 17236 | ++fi # test -n "$CONFIG_FILES" |
| 17237 | ++ |
| 17238 | ++ |
| 17239 | ++for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
| 17240 | ++do |
| 17241 | ++ case $ac_tag in |
| 17242 | ++ :[FHLC]) ac_mode=$ac_tag; continue;; |
| 17243 | ++ esac |
| 17244 | ++ case $ac_mode$ac_tag in |
| 17245 | ++ :[FHL]*:*);; |
| 17246 | ++ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
| 17247 | ++echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
| 17248 | ++ { (exit 1); exit 1; }; };; |
| 17249 | ++ :[FH]-) ac_tag=-:-;; |
| 17250 | ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 17251 | ++ esac |
| 17252 | ++ ac_save_IFS=$IFS |
| 17253 | ++ IFS=: |
| 17254 | ++ set x $ac_tag |
| 17255 | ++ IFS=$ac_save_IFS |
| 17256 | ++ shift |
| 17257 | ++ ac_file=$1 |
| 17258 | ++ shift |
| 17259 | ++ |
| 17260 | ++ case $ac_mode in |
| 17261 | ++ :L) ac_source=$1;; |
| 17262 | ++ :[FH]) |
| 17263 | ++ ac_file_inputs= |
| 17264 | ++ for ac_f |
| 17265 | ++ do |
| 17266 | ++ case $ac_f in |
| 17267 | ++ -) ac_f="$tmp/stdin";; |
| 17268 | ++ *) # Look for the file first in the build tree, then in the source tree |
| 17269 | ++ # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 17270 | ++ # because $ac_f cannot contain `:'. |
| 17271 | ++ test -f "$ac_f" || |
| 17272 | ++ case $ac_f in |
| 17273 | ++ [\\/$]*) false;; |
| 17274 | ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 17275 | ++ esac || |
| 17276 | ++ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 17277 | ++echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| 17278 | ++ { (exit 1); exit 1; }; };; |
| 17279 | ++ esac |
| 17280 | ++ ac_file_inputs="$ac_file_inputs $ac_f" |
| 17281 | ++ done |
| 17282 | ++ |
| 17283 | ++ # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 17284 | ++ # use $as_me), people would be surprised to read: |
| 17285 | ++ # /* config.h. Generated by config.status. */ |
| 17286 | ++ configure_input="Generated from "`IFS=: |
| 17287 | ++ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
| 17288 | ++ if test x"$ac_file" != x-; then |
| 17289 | ++ configure_input="$ac_file. $configure_input" |
| 17290 | ++ { echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 17291 | ++echo "$as_me: creating $ac_file" >&6;} |
| 17292 | ++ fi |
| 17293 | ++ |
| 17294 | ++ case $ac_tag in |
| 17295 | ++ *:-:* | *:-) cat >"$tmp/stdin";; |
| 17296 | ++ esac |
| 17297 | ++ ;; |
| 17298 | + esac |
| 17299 | + |
| 17300 | +- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 17301 | +- ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 17302 | ++ ac_dir=`$as_dirname -- "$ac_file" || |
| 17303 | + $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 17304 | + X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 17305 | + X"$ac_file" : 'X\(//\)$' \| \ |
| 17306 | +- X"$ac_file" : 'X\(/\)' \| \ |
| 17307 | +- . : '\(.\)' 2>/dev/null || |
| 17308 | ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 17309 | + echo X"$ac_file" | |
| 17310 | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 17311 | +- /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 17312 | +- /^X\(\/\/\)$/{ s//\1/; q; } |
| 17313 | +- /^X\(\/\).*/{ s//\1/; q; } |
| 17314 | +- s/.*/./; q'` |
| 17315 | +- { if $as_mkdir_p; then |
| 17316 | +- mkdir -p "$ac_dir" |
| 17317 | +- else |
| 17318 | +- as_dir="$ac_dir" |
| 17319 | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 17320 | ++ s//\1/ |
| 17321 | ++ q |
| 17322 | ++ } |
| 17323 | ++ /^X\(\/\/\)[^/].*/{ |
| 17324 | ++ s//\1/ |
| 17325 | ++ q |
| 17326 | ++ } |
| 17327 | ++ /^X\(\/\/\)$/{ |
| 17328 | ++ s//\1/ |
| 17329 | ++ q |
| 17330 | ++ } |
| 17331 | ++ /^X\(\/\).*/{ |
| 17332 | ++ s//\1/ |
| 17333 | ++ q |
| 17334 | ++ } |
| 17335 | ++ s/.*/./; q'` |
| 17336 | ++ { as_dir="$ac_dir" |
| 17337 | ++ case $as_dir in #( |
| 17338 | ++ -*) as_dir=./$as_dir;; |
| 17339 | ++ esac |
| 17340 | ++ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 17341 | + as_dirs= |
| 17342 | +- while test ! -d "$as_dir"; do |
| 17343 | +- as_dirs="$as_dir $as_dirs" |
| 17344 | +- as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 17345 | ++ while :; do |
| 17346 | ++ case $as_dir in #( |
| 17347 | ++ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
| 17348 | ++ *) as_qdir=$as_dir;; |
| 17349 | ++ esac |
| 17350 | ++ as_dirs="'$as_qdir' $as_dirs" |
| 17351 | ++ as_dir=`$as_dirname -- "$as_dir" || |
| 17352 | + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 17353 | + X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 17354 | + X"$as_dir" : 'X\(//\)$' \| \ |
| 17355 | +- X"$as_dir" : 'X\(/\)' \| \ |
| 17356 | +- . : '\(.\)' 2>/dev/null || |
| 17357 | ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 17358 | + echo X"$as_dir" | |
| 17359 | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 17360 | +- /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 17361 | +- /^X\(\/\/\)$/{ s//\1/; q; } |
| 17362 | +- /^X\(\/\).*/{ s//\1/; q; } |
| 17363 | +- s/.*/./; q'` |
| 17364 | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 17365 | ++ s//\1/ |
| 17366 | ++ q |
| 17367 | ++ } |
| 17368 | ++ /^X\(\/\/\)[^/].*/{ |
| 17369 | ++ s//\1/ |
| 17370 | ++ q |
| 17371 | ++ } |
| 17372 | ++ /^X\(\/\/\)$/{ |
| 17373 | ++ s//\1/ |
| 17374 | ++ q |
| 17375 | ++ } |
| 17376 | ++ /^X\(\/\).*/{ |
| 17377 | ++ s//\1/ |
| 17378 | ++ q |
| 17379 | ++ } |
| 17380 | ++ s/.*/./; q'` |
| 17381 | ++ test -d "$as_dir" && break |
| 17382 | + done |
| 17383 | +- test ! -n "$as_dirs" || mkdir $as_dirs |
| 17384 | +- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 17385 | +-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 17386 | ++ test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 17387 | ++ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 17388 | ++echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 17389 | + { (exit 1); exit 1; }; }; } |
| 17390 | +- |
| 17391 | + ac_builddir=. |
| 17392 | + |
| 17393 | +-if test "$ac_dir" != .; then |
| 17394 | ++case "$ac_dir" in |
| 17395 | ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 17396 | ++*) |
| 17397 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 17398 | +- # A "../" for each directory in $ac_dir_suffix. |
| 17399 | +- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 17400 | +-else |
| 17401 | +- ac_dir_suffix= ac_top_builddir= |
| 17402 | +-fi |
| 17403 | ++ # A ".." for each directory in $ac_dir_suffix. |
| 17404 | ++ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 17405 | ++ case $ac_top_builddir_sub in |
| 17406 | ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 17407 | ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 17408 | ++ esac ;; |
| 17409 | ++esac |
| 17410 | ++ac_abs_top_builddir=$ac_pwd |
| 17411 | ++ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 17412 | ++# for backward compatibility: |
| 17413 | ++ac_top_builddir=$ac_top_build_prefix |
| 17414 | + |
| 17415 | + case $srcdir in |
| 17416 | +- .) # No --srcdir option. We are building in place. |
| 17417 | ++ .) # We are building in place. |
| 17418 | + ac_srcdir=. |
| 17419 | +- if test -z "$ac_top_builddir"; then |
| 17420 | +- ac_top_srcdir=. |
| 17421 | +- else |
| 17422 | +- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 17423 | +- fi ;; |
| 17424 | +- [\\/]* | ?:[\\/]* ) # Absolute path. |
| 17425 | ++ ac_top_srcdir=$ac_top_builddir_sub |
| 17426 | ++ ac_abs_top_srcdir=$ac_pwd ;; |
| 17427 | ++ [\\/]* | ?:[\\/]* ) # Absolute name. |
| 17428 | + ac_srcdir=$srcdir$ac_dir_suffix; |
| 17429 | +- ac_top_srcdir=$srcdir ;; |
| 17430 | +- *) # Relative path. |
| 17431 | +- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 17432 | +- ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 17433 | ++ ac_top_srcdir=$srcdir |
| 17434 | ++ ac_abs_top_srcdir=$srcdir ;; |
| 17435 | ++ *) # Relative name. |
| 17436 | ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 17437 | ++ ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 17438 | ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 17439 | + esac |
| 17440 | ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 17441 | + |
| 17442 | +-# Do not use `cd foo && pwd` to compute absolute paths, because |
| 17443 | +-# the directories may not exist. |
| 17444 | +-case `pwd` in |
| 17445 | +-.) ac_abs_builddir="$ac_dir";; |
| 17446 | +-*) |
| 17447 | +- case "$ac_dir" in |
| 17448 | +- .) ac_abs_builddir=`pwd`;; |
| 17449 | +- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 17450 | +- *) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 17451 | +- esac;; |
| 17452 | +-esac |
| 17453 | +-case $ac_abs_builddir in |
| 17454 | +-.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 17455 | +-*) |
| 17456 | +- case ${ac_top_builddir}. in |
| 17457 | +- .) ac_abs_top_builddir=$ac_abs_builddir;; |
| 17458 | +- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 17459 | +- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 17460 | +- esac;; |
| 17461 | +-esac |
| 17462 | +-case $ac_abs_builddir in |
| 17463 | +-.) ac_abs_srcdir=$ac_srcdir;; |
| 17464 | +-*) |
| 17465 | +- case $ac_srcdir in |
| 17466 | +- .) ac_abs_srcdir=$ac_abs_builddir;; |
| 17467 | +- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 17468 | +- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 17469 | +- esac;; |
| 17470 | +-esac |
| 17471 | +-case $ac_abs_builddir in |
| 17472 | +-.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 17473 | +-*) |
| 17474 | +- case $ac_top_srcdir in |
| 17475 | +- .) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 17476 | +- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 17477 | +- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 17478 | +- esac;; |
| 17479 | +-esac |
| 17480 | + |
| 17481 | ++ case $ac_mode in |
| 17482 | ++ :F) |
| 17483 | ++ # |
| 17484 | ++ # CONFIG_FILE |
| 17485 | ++ # |
| 17486 | + |
| 17487 | + case $INSTALL in |
| 17488 | + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 17489 | +- *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 17490 | ++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 17491 | + esac |
| 17492 | ++_ACEOF |
| 17493 | + |
| 17494 | +- if test x"$ac_file" != x-; then |
| 17495 | +- { echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 17496 | +-echo "$as_me: creating $ac_file" >&6;} |
| 17497 | +- rm -f "$ac_file" |
| 17498 | +- fi |
| 17499 | +- # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 17500 | +- # use $as_me), people would be surprised to read: |
| 17501 | +- # /* config.h. Generated by config.status. */ |
| 17502 | +- if test x"$ac_file" = x-; then |
| 17503 | +- configure_input= |
| 17504 | +- else |
| 17505 | +- configure_input="$ac_file. " |
| 17506 | +- fi |
| 17507 | +- configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 17508 | +- sed 's,.*/,,'` by configure." |
| 17509 | +- |
| 17510 | +- # First look for the input files in the build tree, otherwise in the |
| 17511 | +- # src tree. |
| 17512 | +- ac_file_inputs=`IFS=: |
| 17513 | +- for f in $ac_file_in; do |
| 17514 | +- case $f in |
| 17515 | +- -) echo $tmp/stdin ;; |
| 17516 | +- [\\/$]*) |
| 17517 | +- # Absolute (can't be DOS-style, as IFS=:) |
| 17518 | +- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 17519 | +-echo "$as_me: error: cannot find input file: $f" >&2;} |
| 17520 | +- { (exit 1); exit 1; }; } |
| 17521 | +- echo "$f";; |
| 17522 | +- *) # Relative |
| 17523 | +- if test -f "$f"; then |
| 17524 | +- # Build tree |
| 17525 | +- echo "$f" |
| 17526 | +- elif test -f "$srcdir/$f"; then |
| 17527 | +- # Source tree |
| 17528 | +- echo "$srcdir/$f" |
| 17529 | +- else |
| 17530 | +- # /dev/null tree |
| 17531 | +- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 17532 | +-echo "$as_me: error: cannot find input file: $f" >&2;} |
| 17533 | +- { (exit 1); exit 1; }; } |
| 17534 | +- fi;; |
| 17535 | +- esac |
| 17536 | +- done` || { (exit 1); exit 1; } |
| 17537 | ++cat >>$CONFIG_STATUS <<\_ACEOF |
| 17538 | ++# If the template does not know about datarootdir, expand it. |
| 17539 | ++# FIXME: This hack should be removed a few years after 2.60. |
| 17540 | ++ac_datarootdir_hack=; ac_datarootdir_seen= |
| 17541 | ++ |
| 17542 | ++case `sed -n '/datarootdir/ { |
| 17543 | ++ p |
| 17544 | ++ q |
| 17545 | ++} |
| 17546 | ++/@datadir@/p |
| 17547 | ++/@docdir@/p |
| 17548 | ++/@infodir@/p |
| 17549 | ++/@localedir@/p |
| 17550 | ++/@mandir@/p |
| 17551 | ++' $ac_file_inputs` in |
| 17552 | ++*datarootdir*) ac_datarootdir_seen=yes;; |
| 17553 | ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 17554 | ++ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 17555 | ++echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 17556 | ++_ACEOF |
| 17557 | ++cat >>$CONFIG_STATUS <<_ACEOF |
| 17558 | ++ ac_datarootdir_hack=' |
| 17559 | ++ s&@datadir@&$datadir&g |
| 17560 | ++ s&@docdir@&$docdir&g |
| 17561 | ++ s&@infodir@&$infodir&g |
| 17562 | ++ s&@localedir@&$localedir&g |
| 17563 | ++ s&@mandir@&$mandir&g |
| 17564 | ++ s&\\\${datarootdir}&$datarootdir&g' ;; |
| 17565 | ++esac |
| 17566 | + _ACEOF |
| 17567 | ++ |
| 17568 | ++# Neutralize VPATH when `$srcdir' = `.'. |
| 17569 | ++# Shell code in configure.ac might set extrasub. |
| 17570 | ++# FIXME: do we really want to maintain this feature? |
| 17571 | + cat >>$CONFIG_STATUS <<_ACEOF |
| 17572 | + sed "$ac_vpsub |
| 17573 | + $extrasub |
| 17574 | +@@ -14332,252 +15044,137 @@ |
| 17575 | + cat >>$CONFIG_STATUS <<\_ACEOF |
| 17576 | + :t |
| 17577 | + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 17578 | +-s,@configure_input@,$configure_input,;t t |
| 17579 | +-s,@srcdir@,$ac_srcdir,;t t |
| 17580 | +-s,@abs_srcdir@,$ac_abs_srcdir,;t t |
| 17581 | +-s,@top_srcdir@,$ac_top_srcdir,;t t |
| 17582 | +-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
| 17583 | +-s,@builddir@,$ac_builddir,;t t |
| 17584 | +-s,@abs_builddir@,$ac_abs_builddir,;t t |
| 17585 | +-s,@top_builddir@,$ac_top_builddir,;t t |
| 17586 | +-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
| 17587 | +-s,@INSTALL@,$ac_INSTALL,;t t |
| 17588 | +-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
| 17589 | +- rm -f $tmp/stdin |
| 17590 | +- if test x"$ac_file" != x-; then |
| 17591 | +- mv $tmp/out $ac_file |
| 17592 | +- else |
| 17593 | +- cat $tmp/out |
| 17594 | +- rm -f $tmp/out |
| 17595 | +- fi |
| 17596 | +- |
| 17597 | +-done |
| 17598 | +-_ACEOF |
| 17599 | +-cat >>$CONFIG_STATUS <<\_ACEOF |
| 17600 | +- |
| 17601 | +-# |
| 17602 | +-# CONFIG_HEADER section. |
| 17603 | +-# |
| 17604 | +- |
| 17605 | +-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
| 17606 | +-# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 17607 | +-# |
| 17608 | +-# ac_d sets the value in "#define NAME VALUE" lines. |
| 17609 | +-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 17610 | +-ac_dB='[ ].*$,\1#\2' |
| 17611 | +-ac_dC=' ' |
| 17612 | +-ac_dD=',;t' |
| 17613 | +-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 17614 | +-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 17615 | +-ac_uB='$,\1#\2define\3' |
| 17616 | +-ac_uC=' ' |
| 17617 | +-ac_uD=',;t' |
| 17618 | ++s&@configure_input@&$configure_input&;t t |
| 17619 | ++s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 17620 | ++s&@srcdir@&$ac_srcdir&;t t |
| 17621 | ++s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 17622 | ++s&@top_srcdir@&$ac_top_srcdir&;t t |
| 17623 | ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 17624 | ++s&@builddir@&$ac_builddir&;t t |
| 17625 | ++s&@abs_builddir@&$ac_abs_builddir&;t t |
| 17626 | ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 17627 | ++s&@INSTALL@&$ac_INSTALL&;t t |
| 17628 | ++$ac_datarootdir_hack |
| 17629 | ++" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
| 17630 | ++ |
| 17631 | ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 17632 | ++ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 17633 | ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 17634 | ++ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17635 | ++which seems to be undefined. Please make sure it is defined." >&5 |
| 17636 | ++echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17637 | ++which seems to be undefined. Please make sure it is defined." >&2;} |
| 17638 | + |
| 17639 | +-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
| 17640 | +- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 17641 | ++ rm -f "$tmp/stdin" |
| 17642 | + case $ac_file in |
| 17643 | +- - | *:- | *:-:* ) # input from stdin |
| 17644 | +- cat >$tmp/stdin |
| 17645 | +- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 17646 | +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 17647 | +- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 17648 | +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 17649 | +- * ) ac_file_in=$ac_file.in ;; |
| 17650 | ++ -) cat "$tmp/out"; rm -f "$tmp/out";; |
| 17651 | ++ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
| 17652 | + esac |
| 17653 | ++ ;; |
| 17654 | ++ :H) |
| 17655 | ++ # |
| 17656 | ++ # CONFIG_HEADER |
| 17657 | ++ # |
| 17658 | ++_ACEOF |
| 17659 | ++ |
| 17660 | ++# Transform confdefs.h into a sed script `conftest.defines', that |
| 17661 | ++# substitutes the proper values into config.h.in to produce config.h. |
| 17662 | ++rm -f conftest.defines conftest.tail |
| 17663 | ++# First, append a space to every undef/define line, to ease matching. |
| 17664 | ++echo 's/$/ /' >conftest.defines |
| 17665 | ++# Then, protect against being on the right side of a sed subst, or in |
| 17666 | ++# an unquoted here document, in config.status. If some macros were |
| 17667 | ++# called several times there might be several #defines for the same |
| 17668 | ++# symbol, which is useless. But do not sort them, since the last |
| 17669 | ++# AC_DEFINE must be honored. |
| 17670 | ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 17671 | ++# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
| 17672 | ++# NAME is the cpp macro being defined, VALUE is the value it is being given. |
| 17673 | ++# PARAMS is the parameter list in the macro definition--in most cases, it's |
| 17674 | ++# just an empty string. |
| 17675 | ++ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
| 17676 | ++ac_dB='\\)[ (].*,\\1define\\2' |
| 17677 | ++ac_dC=' ' |
| 17678 | ++ac_dD=' ,' |
| 17679 | + |
| 17680 | +- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 17681 | +-echo "$as_me: creating $ac_file" >&6;} |
| 17682 | +- |
| 17683 | +- # First look for the input files in the build tree, otherwise in the |
| 17684 | +- # src tree. |
| 17685 | +- ac_file_inputs=`IFS=: |
| 17686 | +- for f in $ac_file_in; do |
| 17687 | +- case $f in |
| 17688 | +- -) echo $tmp/stdin ;; |
| 17689 | +- [\\/$]*) |
| 17690 | +- # Absolute (can't be DOS-style, as IFS=:) |
| 17691 | +- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 17692 | +-echo "$as_me: error: cannot find input file: $f" >&2;} |
| 17693 | +- { (exit 1); exit 1; }; } |
| 17694 | +- # Do quote $f, to prevent DOS paths from being IFS'd. |
| 17695 | +- echo "$f";; |
| 17696 | +- *) # Relative |
| 17697 | +- if test -f "$f"; then |
| 17698 | +- # Build tree |
| 17699 | +- echo "$f" |
| 17700 | +- elif test -f "$srcdir/$f"; then |
| 17701 | +- # Source tree |
| 17702 | +- echo "$srcdir/$f" |
| 17703 | +- else |
| 17704 | +- # /dev/null tree |
| 17705 | +- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 17706 | +-echo "$as_me: error: cannot find input file: $f" >&2;} |
| 17707 | +- { (exit 1); exit 1; }; } |
| 17708 | +- fi;; |
| 17709 | +- esac |
| 17710 | +- done` || { (exit 1); exit 1; } |
| 17711 | +- # Remove the trailing spaces. |
| 17712 | +- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 17713 | +- |
| 17714 | +-_ACEOF |
| 17715 | +- |
| 17716 | +-# Transform confdefs.h into two sed scripts, `conftest.defines' and |
| 17717 | +-# `conftest.undefs', that substitutes the proper values into |
| 17718 | +-# config.h.in to produce config.h. The first handles `#define' |
| 17719 | +-# templates, and the second `#undef' templates. |
| 17720 | +-# And first: Protect against being on the right side of a sed subst in |
| 17721 | +-# config.status. Protect against being in an unquoted here document |
| 17722 | +-# in config.status. |
| 17723 | +-rm -f conftest.defines conftest.undefs |
| 17724 | +-# Using a here document instead of a string reduces the quoting nightmare. |
| 17725 | +-# Putting comments in sed scripts is not portable. |
| 17726 | +-# |
| 17727 | +-# `end' is used to avoid that the second main sed command (meant for |
| 17728 | +-# 0-ary CPP macros) applies to n-ary macro definitions. |
| 17729 | +-# See the Autoconf documentation for `clear'. |
| 17730 | +-cat >confdef2sed.sed <<\_ACEOF |
| 17731 | +-s/[\\&,]/\\&/g |
| 17732 | +-s,[\\$`],\\&,g |
| 17733 | +-t clear |
| 17734 | +-: clear |
| 17735 | +-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 17736 | +-t end |
| 17737 | +-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 17738 | +-: end |
| 17739 | +-_ACEOF |
| 17740 | +-# If some macros were called several times there might be several times |
| 17741 | +-# the same #defines, which is useless. Nevertheless, we may not want to |
| 17742 | +-# sort them, since we want the *last* AC-DEFINE to be honored. |
| 17743 | +-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
| 17744 | +-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
| 17745 | +-rm -f confdef2sed.sed |
| 17746 | ++uniq confdefs.h | |
| 17747 | ++ sed -n ' |
| 17748 | ++ t rset |
| 17749 | ++ :rset |
| 17750 | ++ s/^[ ]*#[ ]*define[ ][ ]*// |
| 17751 | ++ t ok |
| 17752 | ++ d |
| 17753 | ++ :ok |
| 17754 | ++ s/[\\&,]/\\&/g |
| 17755 | ++ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
| 17756 | ++ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
| 17757 | ++ ' >>conftest.defines |
| 17758 | + |
| 17759 | +-# This sed command replaces #undef with comments. This is necessary, for |
| 17760 | ++# Remove the space that was appended to ease matching. |
| 17761 | ++# Then replace #undef with comments. This is necessary, for |
| 17762 | + # example, in the case of _POSIX_SOURCE, which is predefined and required |
| 17763 | + # on some systems where configure will not decide to define it. |
| 17764 | +-cat >>conftest.undefs <<\_ACEOF |
| 17765 | +-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 17766 | ++# (The regexp can be short, since the line contains either #define or #undef.) |
| 17767 | ++echo 's/ $// |
| 17768 | ++s,^[ #]*u.*,/* & */,' >>conftest.defines |
| 17769 | ++ |
| 17770 | ++# Break up conftest.defines: |
| 17771 | ++ac_max_sed_lines=50 |
| 17772 | ++ |
| 17773 | ++# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
| 17774 | ++# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
| 17775 | ++# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
| 17776 | ++# et cetera. |
| 17777 | ++ac_in='$ac_file_inputs' |
| 17778 | ++ac_out='"$tmp/out1"' |
| 17779 | ++ac_nxt='"$tmp/out2"' |
| 17780 | ++ |
| 17781 | ++while : |
| 17782 | ++do |
| 17783 | ++ # Write a here document: |
| 17784 | ++ cat >>$CONFIG_STATUS <<_ACEOF |
| 17785 | ++ # First, check the format of the line: |
| 17786 | ++ cat >"\$tmp/defines.sed" <<\\CEOF |
| 17787 | ++/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
| 17788 | ++/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
| 17789 | ++b |
| 17790 | ++:def |
| 17791 | + _ACEOF |
| 17792 | +- |
| 17793 | +-# Break up conftest.defines because some shells have a limit on the size |
| 17794 | +-# of here documents, and old seds have small limits too (100 cmds). |
| 17795 | +-echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 17796 | +-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 17797 | +-echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 17798 | +-echo ' :' >>$CONFIG_STATUS |
| 17799 | +-rm -f conftest.tail |
| 17800 | +-while grep . conftest.defines >/dev/null |
| 17801 | +-do |
| 17802 | +- # Write a limited-size here document to $tmp/defines.sed. |
| 17803 | +- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| 17804 | +- # Speed up: don't consider the non `#define' lines. |
| 17805 | +- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 17806 | +- # Work around the forget-to-reset-the-flag bug. |
| 17807 | +- echo 't clr' >>$CONFIG_STATUS |
| 17808 | +- echo ': clr' >>$CONFIG_STATUS |
| 17809 | +- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
| 17810 | ++ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
| 17811 | + echo 'CEOF |
| 17812 | +- sed -f $tmp/defines.sed $tmp/in >$tmp/out |
| 17813 | +- rm -f $tmp/in |
| 17814 | +- mv $tmp/out $tmp/in |
| 17815 | +-' >>$CONFIG_STATUS |
| 17816 | +- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
| 17817 | ++ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
| 17818 | ++ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
| 17819 | ++ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
| 17820 | ++ grep . conftest.tail >/dev/null || break |
| 17821 | + rm -f conftest.defines |
| 17822 | + mv conftest.tail conftest.defines |
| 17823 | + done |
| 17824 | +-rm -f conftest.defines |
| 17825 | +-echo ' fi # grep' >>$CONFIG_STATUS |
| 17826 | +-echo >>$CONFIG_STATUS |
| 17827 | +- |
| 17828 | +-# Break up conftest.undefs because some shells have a limit on the size |
| 17829 | +-# of here documents, and old seds have small limits too (100 cmds). |
| 17830 | +-echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
| 17831 | +-rm -f conftest.tail |
| 17832 | +-while grep . conftest.undefs >/dev/null |
| 17833 | +-do |
| 17834 | +- # Write a limited-size here document to $tmp/undefs.sed. |
| 17835 | +- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| 17836 | +- # Speed up: don't consider the non `#undef' |
| 17837 | +- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 17838 | +- # Work around the forget-to-reset-the-flag bug. |
| 17839 | +- echo 't clr' >>$CONFIG_STATUS |
| 17840 | +- echo ': clr' >>$CONFIG_STATUS |
| 17841 | +- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
| 17842 | +- echo 'CEOF |
| 17843 | +- sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
| 17844 | +- rm -f $tmp/in |
| 17845 | +- mv $tmp/out $tmp/in |
| 17846 | +-' >>$CONFIG_STATUS |
| 17847 | +- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
| 17848 | +- rm -f conftest.undefs |
| 17849 | +- mv conftest.tail conftest.undefs |
| 17850 | +-done |
| 17851 | +-rm -f conftest.undefs |
| 17852 | ++rm -f conftest.defines conftest.tail |
| 17853 | + |
| 17854 | ++echo "ac_result=$ac_in" >>$CONFIG_STATUS |
| 17855 | + cat >>$CONFIG_STATUS <<\_ACEOF |
| 17856 | +- # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 17857 | +- # use $as_me), people would be surprised to read: |
| 17858 | +- # /* config.h. Generated by config.status. */ |
| 17859 | +- if test x"$ac_file" = x-; then |
| 17860 | +- echo "/* Generated by configure. */" >$tmp/config.h |
| 17861 | +- else |
| 17862 | +- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
| 17863 | +- fi |
| 17864 | +- cat $tmp/in >>$tmp/config.h |
| 17865 | +- rm -f $tmp/in |
| 17866 | + if test x"$ac_file" != x-; then |
| 17867 | +- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
| 17868 | ++ echo "/* $configure_input */" >"$tmp/config.h" |
| 17869 | ++ cat "$ac_result" >>"$tmp/config.h" |
| 17870 | ++ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
| 17871 | + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 17872 | + echo "$as_me: $ac_file is unchanged" >&6;} |
| 17873 | + else |
| 17874 | +- ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 17875 | +-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 17876 | +- X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 17877 | +- X"$ac_file" : 'X\(//\)$' \| \ |
| 17878 | +- X"$ac_file" : 'X\(/\)' \| \ |
| 17879 | +- . : '\(.\)' 2>/dev/null || |
| 17880 | +-echo X"$ac_file" | |
| 17881 | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 17882 | +- /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 17883 | +- /^X\(\/\/\)$/{ s//\1/; q; } |
| 17884 | +- /^X\(\/\).*/{ s//\1/; q; } |
| 17885 | +- s/.*/./; q'` |
| 17886 | +- { if $as_mkdir_p; then |
| 17887 | +- mkdir -p "$ac_dir" |
| 17888 | +- else |
| 17889 | +- as_dir="$ac_dir" |
| 17890 | +- as_dirs= |
| 17891 | +- while test ! -d "$as_dir"; do |
| 17892 | +- as_dirs="$as_dir $as_dirs" |
| 17893 | +- as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 17894 | +-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 17895 | +- X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 17896 | +- X"$as_dir" : 'X\(//\)$' \| \ |
| 17897 | +- X"$as_dir" : 'X\(/\)' \| \ |
| 17898 | +- . : '\(.\)' 2>/dev/null || |
| 17899 | +-echo X"$as_dir" | |
| 17900 | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 17901 | +- /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 17902 | +- /^X\(\/\/\)$/{ s//\1/; q; } |
| 17903 | +- /^X\(\/\).*/{ s//\1/; q; } |
| 17904 | +- s/.*/./; q'` |
| 17905 | +- done |
| 17906 | +- test ! -n "$as_dirs" || mkdir $as_dirs |
| 17907 | +- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 17908 | +-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 17909 | +- { (exit 1); exit 1; }; }; } |
| 17910 | +- |
| 17911 | + rm -f $ac_file |
| 17912 | +- mv $tmp/config.h $ac_file |
| 17913 | ++ mv "$tmp/config.h" $ac_file |
| 17914 | + fi |
| 17915 | + else |
| 17916 | +- cat $tmp/config.h |
| 17917 | +- rm -f $tmp/config.h |
| 17918 | ++ echo "/* $configure_input */" |
| 17919 | ++ cat "$ac_result" |
| 17920 | + fi |
| 17921 | +-done |
| 17922 | +-_ACEOF |
| 17923 | ++ rm -f "$tmp/out12" |
| 17924 | ++ ;; |
| 17925 | ++ |
| 17926 | ++ |
| 17927 | ++ esac |
| 17928 | ++ |
| 17929 | ++done # for ac_tag |
| 17930 | + |
| 17931 | +-cat >>$CONFIG_STATUS <<\_ACEOF |
| 17932 | + |
| 17933 | + { (exit 0); exit 0; } |
| 17934 | + _ACEOF |
| 17935 | Index: files/patch-configure.ac.diff |
| 17936 | =================================================================== |
| 17937 | --- files/patch-configure.ac.diff (revision 0) |
| 17938 | +++ files/patch-configure.ac.diff (revision 0) |
| 17939 | @@ -0,0 +1,45 @@ |
| 17940 | +--- configure.ac.orig 2008-09-16 15:11:28.000000000 +0200 |
| 17941 | ++++ configure.ac 2008-09-16 15:10:12.000000000 +0200 |
| 17942 | +@@ -206,6 +206,18 @@ |
| 17943 | + AC_CHECK_SIZEOF(void*) |
| 17944 | + |
| 17945 | + AC_ARG_ENABLE( |
| 17946 | ++ [backtrace], |
| 17947 | ++ AC_HELP_STRING([--enable-backtrace],[enable the usage of backtrace (default auto)]), |
| 17948 | ++ [ac_enable_backtrace=$enableleval], |
| 17949 | ++ [ac_enable_backtrace=auto] |
| 17950 | ++) |
| 17951 | ++AC_ARG_ENABLE( |
| 17952 | ++ [ucontexth], |
| 17953 | ++ AC_HELP_STRING([--enable-ucontexth],[enable the usage of ucontext.h (default auto)]), |
| 17954 | ++ [ac_enable_ucontexth=$enableleval], |
| 17955 | ++ [ac_enable_ucontexth=auto] |
| 17956 | ++) |
| 17957 | ++AC_ARG_ENABLE( |
| 17958 | + [asm], |
| 17959 | + AC_HELP_STRING([--enable-asm],[enable the Pentium assembler optimizations (default auto)]), |
| 17960 | + [ac_enable_asm=$enableval], |
| 17961 | +@@ -320,7 +332,10 @@ |
| 17962 | + AC_HEADER_TIOCGWINSZ |
| 17963 | + AC_CHECK_HEADERS([unistd.h sched.h netdb.h termios.h execinfo.h]) |
| 17964 | + AC_CHECK_HEADERS([sys/utsname.h sys/types.h sys/stat.h sys/socket.h sys/select.h sys/ioctl.h sys/time.h sys/mman.h sys/io.h sys/kd.h sys/vt.h]) |
| 17965 | +- AC_CHECK_HEADERS([netinet/in.h ucontext.h]) |
| 17966 | ++ AC_CHECK_HEADERS([netinet/in.h]) |
| 17967 | ++ if test $ac_enable_ucontexth = auto; then |
| 17968 | ++ AC_CHECK_HEADERS([ucontext.h]) |
| 17969 | ++ fi |
| 17970 | + AC_C_CONST |
| 17971 | + AC_C_RESTRICT |
| 17972 | + AC_C_INLINE |
| 17973 | +@@ -329,7 +344,10 @@ |
| 17974 | + AC_FUNC_SELECT_ARGTYPES |
| 17975 | + AC_FUNC_VPRINTF |
| 17976 | + AC_CHECK_FUNCS([strcasecmp strerror]) |
| 17977 | +- AC_CHECK_FUNCS([uname sysconf backtrace backtrace_symbols]) |
| 17978 | ++ if test $ac_enable_backtrace = auto; then |
| 17979 | ++ AC_CHECK_FUNCS([backtrace backtrace_symbols]) |
| 17980 | ++ fi |
| 17981 | ++ AC_CHECK_FUNCS([uname sysconf]) |
| 17982 | + AC_CHECK_FUNCS([flockfile funlockfile fread_unlocked fwrite_unlocked fgetc_unlocked feof_unlocked]) |
| 17983 | + AC_CHECK_FUNCS([iopl mprotect]) |
| 17984 | + AC_MSG_CHECKING([for port in/out]) |
| 17985 | Index: Portfile |
| 17986 | =================================================================== |
| 17987 | --- Portfile (revision 49090) |
| 17988 | +++ Portfile (working copy) |
| 17989 | @@ -2,8 +2,9 @@ |
| 17990 | |
| 17991 | PortSystem 1.0 |
| 17992 | name advancemenu |
| 17993 | -version 2.4.12 |
| 17994 | +version 2.5.0 |
| 17995 | platforms darwin |
| 17996 | +revision 1 |
| 17997 | maintainers nomaintainer |
| 17998 | categories games |
| 17999 | |
| 18000 | @@ -13,7 +14,7 @@ |
| 18001 | RAINE and any other emulator. |
| 18002 | |
| 18003 | master_sites sourceforge:advancemame |
| 18004 | -checksums md5 82455cf6c5d038e26985ab757e3a0376 |
| 18005 | +checksums md5 3df294eaf76dc404fcb628a2267400e9 |
| 18006 | homepage http://advancemame.sourceforge.net/menu-readme.html |
| 18007 | |
| 18008 | depends_lib bin:sdl-config:libsdl lib:freetype:freetype \ |
| 18009 | @@ -21,3 +22,8 @@ |
| 18010 | |
| 18011 | configure.args --mandir=\\\${prefix}/share/man |
| 18012 | destroot.destdir prefix=${destroot}${prefix} |
| 18013 | + |
| 18014 | +platform darwin i386 { |
| 18015 | + patchfiles patch-configure.ac.diff patch-configure.diff |
| 18016 | + configure.args-append --enable-asm=no --enable-backtrace=no --enable-ucontexth=no |
| 18017 | +} |