Changeset 101 for vis_dev/vis-2.3
- Timestamp:
- Jul 19, 2012, 11:44:48 AM (12 years ago)
- Location:
- vis_dev/vis-2.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vis_dev/vis-2.3/configure
r14 r101 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 57.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 20026 # Free Software Foundation, Inc.5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 7 # This configure script is free software; the Free Software Foundation 8 8 # gives unlimited permission to copy, distribute and modify it. … … 11 11 ## --------------------- ## 12 12 13 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 14 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 16 emulate sh 16 17 NULLCMD=: 17 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18 19 # is contrary to our usage. Disable this feature. 19 20 alias -g '${1+"$@"}'='"$@"' 20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 set -o posix 22 fi 23 24 # Support unset when possible. 25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell bug-autoconf@gnu.org about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then 219 537 as_mkdir_p=: 220 538 else 539 test -d ./-p && rmdir ./-p 221 540 as_mkdir_p=false 222 541 fi 223 542 224 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 225 565 226 566 # Sed expression to map a string onto a valid CPP name. 227 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 228 568 229 569 # Sed expression to map a string onto a valid variable name. 230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231 232 233 # IFS 234 # We need space, tab and new line, in precisely that order. 235 as_nl=' 236 ' 237 IFS=" $as_nl" 238 239 # CDPATH. 240 $as_unset CDPATH 241 570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 571 572 573 574 exec 7<&0 </dev/null 6>&1 242 575 243 576 # Name of the host. … … 246 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 247 580 248 exec 6>&1249 250 581 # 251 582 # Initializations. 252 583 # 253 584 ac_default_prefix=/usr/local 585 ac_clean_files= 254 586 ac_config_libobj_dir=. 587 LIBOBJS= 255 588 cross_compiling=no 256 589 subdirs= … … 258 591 MAKEFLAGS= 259 592 SHELL=${CONFIG_SHELL-/bin/sh} 260 261 # Maximum number of lines to put in a shell here document.262 # This variable seems obsolete. It should probably be removed, and263 # only ac_max_sed_lines should be used.264 : ${ac_max_here_lines=38}265 593 266 594 # Identity of this package. … … 275 603 ac_includes_default="\ 276 604 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H605 #ifdef HAVE_SYS_TYPES_H 278 606 # include <sys/types.h> 279 607 #endif 280 #if HAVE_SYS_STAT_H608 #ifdef HAVE_SYS_STAT_H 281 609 # include <sys/stat.h> 282 610 #endif 283 #if STDC_HEADERS611 #ifdef STDC_HEADERS 284 612 # include <stdlib.h> 285 613 # include <stddef.h> 286 614 #else 287 # if HAVE_STDLIB_H615 # ifdef HAVE_STDLIB_H 288 616 # include <stdlib.h> 289 617 # endif 290 618 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H619 #ifdef HAVE_STRING_H 620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 621 # include <memory.h> 294 622 # endif 295 623 # include <string.h> 296 624 #endif 297 #if HAVE_STRINGS_H625 #ifdef HAVE_STRINGS_H 298 626 # include <strings.h> 299 627 #endif 300 #if HAVE_INTTYPES_H628 #ifdef HAVE_INTTYPES_H 301 629 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 630 #endif 307 #if HAVE_UNISTD_H 631 #ifdef HAVE_STDINT_H 632 # include <stdint.h> 633 #endif 634 #ifdef HAVE_UNISTD_H 308 635 # include <unistd.h> 309 636 #endif" 310 637 311 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 glulibdir gluincdir vislibdir local_srcdir BDDLIB ZCHAFF AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINKER PLINKER LEX LEXLIB LEX_OUTPUT_ROOT YACC CPP EGREP LIBDIRS LIBOBJS AWK LTLIBOBJS' 638 ac_subst_vars='LTLIBOBJS 639 AWK 640 LIBOBJS 641 LIBDIRS 642 EGREP 643 GREP 644 CPP 645 YFLAGS 646 YACC 647 LEXLIB 648 LEX_OUTPUT_ROOT 649 LEX 650 PLINKER 651 LINKER 652 INSTALL_DATA 653 INSTALL_SCRIPT 654 INSTALL_PROGRAM 655 OBJEXT 656 EXEEXT 657 ac_ct_CC 658 CPPFLAGS 659 LDFLAGS 660 CFLAGS 661 CC 662 target_os 663 target_vendor 664 target_cpu 665 target 666 host_os 667 host_vendor 668 host_cpu 669 host 670 build_os 671 build_vendor 672 build_cpu 673 build 674 RANLIB 675 AR 676 ZCHAFF 677 BDDLIB 678 local_srcdir 679 vislibdir 680 gluincdir 681 glulibdir 682 target_alias 683 host_alias 684 build_alias 685 LIBS 686 ECHO_T 687 ECHO_N 688 ECHO_C 689 DEFS 690 mandir 691 localedir 692 libdir 693 psdir 694 pdfdir 695 dvidir 696 htmldir 697 infodir 698 docdir 699 oldincludedir 700 includedir 701 localstatedir 702 sharedstatedir 703 sysconfdir 704 datadir 705 datarootdir 706 libexecdir 707 sbindir 708 bindir 709 program_transform_name 710 prefix 711 exec_prefix 712 PACKAGE_BUGREPORT 713 PACKAGE_STRING 714 PACKAGE_VERSION 715 PACKAGE_TARNAME 716 PACKAGE_NAME 717 PATH_SEPARATOR 718 SHELL' 312 719 ac_subst_files='' 720 ac_user_opts=' 721 enable_option_checking 722 with_glu_libdir 723 with_glu_incdir 724 with_vis_libdir 725 with_local_srcdir 726 with_bdd 727 enable_gcc 728 enable_64 729 with_comp_mode 730 ' 731 ac_precious_vars='build_alias 732 host_alias 733 target_alias 734 CC 735 CFLAGS 736 LDFLAGS 737 LIBS 738 CPPFLAGS 739 YACC 740 YFLAGS 741 CPP' 742 313 743 314 744 # Initialize some variables set by options. 315 745 ac_init_help= 316 746 ac_init_version=false 747 ac_unrecognized_opts= 748 ac_unrecognized_sep= 317 749 # The variables have the same names as the options, with 318 750 # dashes changed to underlines. … … 337 769 # by default will actually change. 338 770 # Use braces instead of parens because sh, perl, etc. also accept them. 771 # (The list follows the same order as the GNU Coding Standards.) 339 772 bindir='${exec_prefix}/bin' 340 773 sbindir='${exec_prefix}/sbin' 341 774 libexecdir='${exec_prefix}/libexec' 342 datadir='${prefix}/share' 775 datarootdir='${prefix}/share' 776 datadir='${datarootdir}' 343 777 sysconfdir='${prefix}/etc' 344 778 sharedstatedir='${prefix}/com' 345 779 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib'347 780 includedir='${prefix}/include' 348 781 oldincludedir='/usr/include' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 782 docdir='${datarootdir}/doc/${PACKAGE}' 783 infodir='${datarootdir}/info' 784 htmldir='${docdir}' 785 dvidir='${docdir}' 786 pdfdir='${docdir}' 787 psdir='${docdir}' 788 libdir='${exec_prefix}/lib' 789 localedir='${datarootdir}/locale' 790 mandir='${datarootdir}/man' 351 791 352 792 ac_prev= 793 ac_dashdash= 353 794 for ac_option 354 795 do 355 796 # If the previous option needs an argument, assign it. 356 797 if test -n "$ac_prev"; then 357 eval "$ac_prev=\$ac_option"798 eval $ac_prev=\$ac_option 358 799 ac_prev= 359 800 continue 360 801 fi 361 802 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 803 case $ac_option in 804 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 805 *) ac_optarg=yes ;; 806 esac 363 807 364 808 # Accept the important Cygnus configure options, so we can diagnose typos. 365 809 366 case $ac_option in 810 case $ac_dashdash$ac_option in 811 --) 812 ac_dashdash=yes ;; 367 813 368 814 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 386 832 cache_file=config.cache ;; 387 833 388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)834 -datadir | --datadir | --datadi | --datad) 389 835 ac_prev=datadir ;; 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 836 -datadir=* | --datadir=* | --datadi=* | --datad=*) 392 837 datadir=$ac_optarg ;; 393 838 839 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 840 | --dataroo | --dataro | --datar) 841 ac_prev=datarootdir ;; 842 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 843 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 844 datarootdir=$ac_optarg ;; 845 394 846 -disable-* | --disable-*) 395 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`847 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 396 848 # Reject names that are not valid shell variable names. 397 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 850 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 399 851 { (exit 1); exit 1; }; } 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 852 ac_useropt_orig=$ac_useropt 853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 854 case $ac_user_opts in 855 *" 856 "enable_$ac_useropt" 857 "*) ;; 858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 859 ac_unrecognized_sep=', ';; 860 esac 861 eval enable_$ac_useropt=no ;; 862 863 -docdir | --docdir | --docdi | --doc | --do) 864 ac_prev=docdir ;; 865 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 866 docdir=$ac_optarg ;; 867 868 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 869 ac_prev=dvidir ;; 870 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 871 dvidir=$ac_optarg ;; 402 872 403 873 -enable-* | --enable-*) 404 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 405 875 # Reject names that are not valid shell variable names. 406 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 877 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 408 878 { (exit 1); exit 1; }; } 409 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 410 case $ac_option in 411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 412 *) ac_optarg=yes ;; 879 ac_useropt_orig=$ac_useropt 880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 881 case $ac_user_opts in 882 *" 883 "enable_$ac_useropt" 884 "*) ;; 885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 886 ac_unrecognized_sep=', ';; 413 887 esac 414 eval "enable_$ac_feature='$ac_optarg'";;888 eval enable_$ac_useropt=\$ac_optarg ;; 415 889 416 890 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 439 913 host_alias=$ac_optarg ;; 440 914 915 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 916 ac_prev=htmldir ;; 917 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 918 | --ht=*) 919 htmldir=$ac_optarg ;; 920 441 921 -includedir | --includedir | --includedi | --included | --include \ 442 922 | --includ | --inclu | --incl | --inc) … … 463 943 libexecdir=$ac_optarg ;; 464 944 945 -localedir | --localedir | --localedi | --localed | --locale) 946 ac_prev=localedir ;; 947 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 948 localedir=$ac_optarg ;; 949 465 950 -localstatedir | --localstatedir | --localstatedi | --localstated \ 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 951 | --localstate | --localstat | --localsta | --localst | --locals) 468 952 ac_prev=localstatedir ;; 469 953 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 954 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 472 955 localstatedir=$ac_optarg ;; 473 956 … … 534 1017 program_transform_name=$ac_optarg ;; 535 1018 1019 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1020 ac_prev=pdfdir ;; 1021 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1022 pdfdir=$ac_optarg ;; 1023 1024 -psdir | --psdir | --psdi | --psd | --ps) 1025 ac_prev=psdir ;; 1026 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1027 psdir=$ac_optarg ;; 1028 536 1029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 537 1030 | -silent | --silent | --silen | --sile | --sil) … … 584 1077 585 1078 -with-* | --with-*) 586 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1079 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 587 1080 # Reject names that are not valid shell variable names. 588 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&589 { echo "$as_me: error: invalid package name: $ac_package" >&21081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1082 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 590 1083 { (exit 1); exit 1; }; } 591 ac_package=`echo $ac_package| sed 's/-/_/g'` 592 case $ac_option in 593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 594 *) ac_optarg=yes ;; 1084 ac_useropt_orig=$ac_useropt 1085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1086 case $ac_user_opts in 1087 *" 1088 "with_$ac_useropt" 1089 "*) ;; 1090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1091 ac_unrecognized_sep=', ';; 595 1092 esac 596 eval "with_$ac_package='$ac_optarg'";;1093 eval with_$ac_useropt=\$ac_optarg ;; 597 1094 598 1095 -without-* | --without-*) 599 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1096 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 600 1097 # Reject names that are not valid shell variable names. 601 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&602 { echo "$as_me: error: invalid package name: $ac_package" >&21098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1099 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 603 1100 { (exit 1); exit 1; }; } 604 ac_package=`echo $ac_package | sed 's/-/_/g'` 605 eval "with_$ac_package=no" ;; 1101 ac_useropt_orig=$ac_useropt 1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1103 case $ac_user_opts in 1104 *" 1105 "with_$ac_useropt" 1106 "*) ;; 1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1108 ac_unrecognized_sep=', ';; 1109 esac 1110 eval with_$ac_useropt=no ;; 606 1111 607 1112 --x) … … 623 1128 x_libraries=$ac_optarg ;; 624 1129 625 -*) { echo "$as_me: error: unrecognized option: $ac_option1130 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 626 1131 Try \`$0 --help' for more information." >&2 627 1132 { (exit 1); exit 1; }; } … … 632 1137 # Reject names that are not valid shell variable names. 633 1138 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21139 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 635 1140 { (exit 1); exit 1; }; } 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1141 eval $ac_envvar=\$ac_optarg 638 1142 export $ac_envvar ;; 639 1143 640 1144 *) 641 1145 # FIXME: should be removed in autoconf 3.0. 642 echo "$as_me: WARNING: you should use --build, --host, --target" >&21146 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 643 1147 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 644 echo "$as_me: WARNING: invalid host type: $ac_option" >&21148 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 645 1149 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 646 1150 ;; … … 651 1155 if test -n "$ac_prev"; then 652 1156 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 653 { echo "$as_me: error: missing argument to $ac_option" >&21157 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 654 1158 { (exit 1); exit 1; }; } 655 1159 fi 656 1160 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 1161 if test -n "$ac_unrecognized_opts"; then 1162 case $enable_option_checking in 1163 no) ;; 1164 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1165 { (exit 1); exit 1; }; } ;; 1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1167 esac 1168 fi 1169 1170 # Check all directory arguments for consistency. 1171 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1172 datadir sysconfdir sharedstatedir localstatedir includedir \ 1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1174 libdir localedir mandir 659 1175 do 660 eval ac_val=$`echo $ac_var` 1176 eval ac_val=\$$ac_var 1177 # Remove trailing slashes. 661 1178 case $ac_val in 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2664 { (exit 1); exit 1; }; };;1179 */ ) 1180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1181 eval $ac_var=\$ac_val;; 665 1182 esac 666 done 667 668 # Be sure to have absolute paths. 669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670 localstatedir libdir includedir oldincludedir infodir mandir 671 do 672 eval ac_val=$`echo $ac_var` 1183 # Be sure to have absolute directory names. 673 1184 case $ac_val in 674 [\\/$]* | ?:[\\/]* ) ;; 675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 { (exit 1); exit 1; }; };; 1185 [\\/$]* | ?:[\\/]* ) continue;; 1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 677 1187 esac 1188 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1189 { (exit 1); exit 1; }; } 678 1190 done 679 1191 … … 689 1201 if test "x$build_alias" = x; then 690 1202 cross_compiling=maybe 691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1203 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 692 1204 If a cross compiler is detected then cross compile mode will be used." >&2 693 1205 elif test "x$build_alias" != "x$host_alias"; then … … 702 1214 703 1215 1216 ac_pwd=`pwd` && test -n "$ac_pwd" && 1217 ac_ls_di=`ls -di .` && 1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1219 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1220 { (exit 1); exit 1; }; } 1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1222 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1223 { (exit 1); exit 1; }; } 1224 1225 704 1226 # Find the source files, if location was not specified. 705 1227 if test -z "$srcdir"; then 706 1228 ac_srcdir_defaulted=yes 707 # Try the directory containing this script, then its parent. 708 ac_confdir=`(dirname "$0") 2>/dev/null || 709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 X"$0" : 'X\(//\)[^/]' \| \ 711 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 714 echo X"$0" | 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 1229 # Try the directory containing this script, then the parent directory. 1230 ac_confdir=`$as_dirname -- "$as_myself" || 1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1232 X"$as_myself" : 'X\(//\)[^/]' \| \ 1233 X"$as_myself" : 'X\(//\)$' \| \ 1234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1235 $as_echo X"$as_myself" | 1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1237 s//\1/ 1238 q 1239 } 1240 /^X\(\/\/\)[^/].*/{ 1241 s//\1/ 1242 q 1243 } 1244 /^X\(\/\/\)$/{ 1245 s//\1/ 1246 q 1247 } 1248 /^X\(\/\).*/{ 1249 s//\1/ 1250 q 1251 } 1252 s/.*/./; q'` 720 1253 srcdir=$ac_confdir 721 if test ! -r $srcdir/$ac_unique_file; then1254 if test ! -r "$srcdir/$ac_unique_file"; then 722 1255 srcdir=.. 723 1256 fi … … 725 1258 ac_srcdir_defaulted=no 726 1259 fi 727 if test ! -r $srcdir/$ac_unique_file; then728 if test "$ac_srcdir_defaulted" = yes; then729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21260 if test ! -r "$srcdir/$ac_unique_file"; then 1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1262 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 730 1263 { (exit 1); exit 1; }; } 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1264 fi 1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1266 ac_abs_confdir=`( 1267 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 733 1268 { (exit 1); exit 1; }; } 734 fi 735 fi 736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 738 { (exit 1); exit 1; }; } 739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 740 ac_env_build_alias_set=${build_alias+set} 741 ac_env_build_alias_value=$build_alias 742 ac_cv_env_build_alias_set=${build_alias+set} 743 ac_cv_env_build_alias_value=$build_alias 744 ac_env_host_alias_set=${host_alias+set} 745 ac_env_host_alias_value=$host_alias 746 ac_cv_env_host_alias_set=${host_alias+set} 747 ac_cv_env_host_alias_value=$host_alias 748 ac_env_target_alias_set=${target_alias+set} 749 ac_env_target_alias_value=$target_alias 750 ac_cv_env_target_alias_set=${target_alias+set} 751 ac_cv_env_target_alias_value=$target_alias 752 ac_env_CC_set=${CC+set} 753 ac_env_CC_value=$CC 754 ac_cv_env_CC_set=${CC+set} 755 ac_cv_env_CC_value=$CC 756 ac_env_CFLAGS_set=${CFLAGS+set} 757 ac_env_CFLAGS_value=$CFLAGS 758 ac_cv_env_CFLAGS_set=${CFLAGS+set} 759 ac_cv_env_CFLAGS_value=$CFLAGS 760 ac_env_LDFLAGS_set=${LDFLAGS+set} 761 ac_env_LDFLAGS_value=$LDFLAGS 762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 763 ac_cv_env_LDFLAGS_value=$LDFLAGS 764 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 765 ac_env_CPPFLAGS_value=$CPPFLAGS 766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 768 ac_env_CPP_set=${CPP+set} 769 ac_env_CPP_value=$CPP 770 ac_cv_env_CPP_set=${CPP+set} 771 ac_cv_env_CPP_value=$CPP 1269 pwd)` 1270 # When building in place, set srcdir=. 1271 if test "$ac_abs_confdir" = "$ac_pwd"; then 1272 srcdir=. 1273 fi 1274 # Remove unnecessary trailing slashes from srcdir. 1275 # Double slashes in file names in object file debugging info 1276 # mess up M-x gdb in Emacs. 1277 case $srcdir in 1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1279 esac 1280 for ac_var in $ac_precious_vars; do 1281 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1282 eval ac_env_${ac_var}_value=\$${ac_var} 1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1284 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1285 done 772 1286 773 1287 # … … 798 1312 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 799 1313 800 _ACEOF801 802 cat <<_ACEOF803 1314 Installation directories: 804 1315 --prefix=PREFIX install architecture-independent files in PREFIX … … 815 1326 816 1327 Fine tuning of the installation directories: 817 --bindir=DIR user executables [EPREFIX/bin] 818 --sbindir=DIR system admin executables [EPREFIX/sbin] 819 --libexecdir=DIR program executables [EPREFIX/libexec] 820 --datadir=DIR read-only architecture-independent data [PREFIX/share] 821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 823 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 824 --libdir=DIR object code libraries [EPREFIX/lib] 825 --includedir=DIR C header files [PREFIX/include] 826 --oldincludedir=DIR C header files for non-gcc [/usr/include] 827 --infodir=DIR info documentation [PREFIX/info] 828 --mandir=DIR man documentation [PREFIX/man] 1328 --bindir=DIR user executables [EPREFIX/bin] 1329 --sbindir=DIR system admin executables [EPREFIX/sbin] 1330 --libexecdir=DIR program executables [EPREFIX/libexec] 1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1334 --libdir=DIR object code libraries [EPREFIX/lib] 1335 --includedir=DIR C header files [PREFIX/include] 1336 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1339 --infodir=DIR info documentation [DATAROOTDIR/info] 1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1341 --mandir=DIR man documentation [DATAROOTDIR/man] 1342 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1343 --htmldir=DIR html documentation [DOCDIR] 1344 --dvidir=DIR dvi documentation [DOCDIR] 1345 --pdfdir=DIR pdf documentation [DOCDIR] 1346 --psdir=DIR ps documentation [DOCDIR] 829 1347 _ACEOF 830 1348 … … 843 1361 844 1362 Optional Features: 1363 --disable-option-checking ignore unrecognized --enable/--with options 845 1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 846 1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 878 1397 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 879 1398 nonstandard directory <lib dir> 880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 881 headers in a nonstandard directory <include dir> 1399 LIBS libraries to pass to the linker, e.g. -l<library> 1400 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1401 you have headers in a nonstandard directory <include dir> 1402 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1403 the first program found out of: `bison -y', `byacc', `yacc'. 1404 YFLAGS The list of arguments that will be passed by default to $YACC. 1405 This script will default YFLAGS to the empty string to avoid a 1406 default value of `-d' given by some make applications. 882 1407 CPP C preprocessor 883 1408 … … 886 1411 887 1412 _ACEOF 1413 ac_status=$? 888 1414 fi 889 1415 890 1416 if test "$ac_init_help" = "recursive"; then 891 1417 # If there are subdirs, report their specific --help. 892 ac_popdir=`pwd`893 1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 894 test -d $ac_dir || continue 1419 test -d "$ac_dir" || 1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1421 continue 895 1422 ac_builddir=. 896 1423 897 if test "$ac_dir" != .; then 898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 899 # A "../" for each directory in $ac_dir_suffix. 900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 901 else 902 ac_dir_suffix= ac_top_builddir= 903 fi 1424 case "$ac_dir" in 1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1426 *) 1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1428 # A ".." for each directory in $ac_dir_suffix. 1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1430 case $ac_top_builddir_sub in 1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1433 esac ;; 1434 esac 1435 ac_abs_top_builddir=$ac_pwd 1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1437 # for backward compatibility: 1438 ac_top_builddir=$ac_top_build_prefix 904 1439 905 1440 case $srcdir in 906 .) # No --srcdir option.We are building in place.1441 .) # We are building in place. 907 1442 ac_srcdir=. 908 if test -z "$ac_top_builddir"; then 909 ac_top_srcdir=. 1443 ac_top_srcdir=$ac_top_builddir_sub 1444 ac_abs_top_srcdir=$ac_pwd ;; 1445 [\\/]* | ?:[\\/]* ) # Absolute name. 1446 ac_srcdir=$srcdir$ac_dir_suffix; 1447 ac_top_srcdir=$srcdir 1448 ac_abs_top_srcdir=$srcdir ;; 1449 *) # Relative name. 1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1451 ac_top_srcdir=$ac_top_build_prefix$srcdir 1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1453 esac 1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1455 1456 cd "$ac_dir" || { ac_status=$?; continue; } 1457 # Check for guested configure. 1458 if test -f "$ac_srcdir/configure.gnu"; then 1459 echo && 1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1461 elif test -f "$ac_srcdir/configure"; then 1462 echo && 1463 $SHELL "$ac_srcdir/configure" --help=recursive 910 1464 else 911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 912 fi ;; 913 [\\/]* | ?:[\\/]* ) # Absolute path. 914 ac_srcdir=$srcdir$ac_dir_suffix; 915 ac_top_srcdir=$srcdir ;; 916 *) # Relative path. 917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 918 ac_top_srcdir=$ac_top_builddir$srcdir ;; 919 esac 920 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 921 # absolute. 922 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 923 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 924 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 925 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 926 927 cd $ac_dir 928 # Check for guested configure; otherwise get Cygnus style configure. 929 if test -f $ac_srcdir/configure.gnu; then 930 echo 931 $SHELL $ac_srcdir/configure.gnu --help=recursive 932 elif test -f $ac_srcdir/configure; then 933 echo 934 $SHELL $ac_srcdir/configure --help=recursive 935 elif test -f $ac_srcdir/configure.ac || 936 test -f $ac_srcdir/configure.in; then 937 echo 938 $ac_configure --help 939 else 940 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 941 fi 942 cd $ac_popdir 1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1466 fi || ac_status=$? 1467 cd "$ac_pwd" || { ac_status=$?; break; } 943 1468 done 944 1469 fi 945 1470 946 test -n "$ac_init_help" && exit 01471 test -n "$ac_init_help" && exit $ac_status 947 1472 if $ac_init_version; then 948 1473 cat <<\_ACEOF 949 950 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 951 Free Software Foundation, Inc. 1474 configure 1475 generated by GNU Autoconf 2.63 1476 1477 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1478 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 952 1479 This configure script is free software; the Free Software Foundation 953 1480 gives unlimited permission to copy, distribute and modify it. 954 1481 _ACEOF 955 exit 0 956 fi 957 exec 5>config.log 958 cat >&5 <<_ACEOF 1482 exit 1483 fi 1484 cat >config.log <<_ACEOF 959 1485 This file contains any messages produced by compilers while 960 1486 running configure, to aid debugging if configure makes a mistake. 961 1487 962 1488 It was created by $as_me, which was 963 generated by GNU Autoconf 2. 57. Invocation command line was1489 generated by GNU Autoconf 2.63. Invocation command line was 964 1490 965 1491 $ $0 $@ 966 1492 967 1493 _ACEOF 1494 exec 5>>config.log 968 1495 { 969 1496 cat <<_ASUNAME … … 984 1511 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 985 1512 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 986 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1513 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 987 1514 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 988 1515 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 996 1523 IFS=$as_save_IFS 997 1524 test -z "$as_dir" && as_dir=. 998 echo "PATH: $as_dir"1525 $as_echo "PATH: $as_dir" 999 1526 done 1527 IFS=$as_save_IFS 1000 1528 1001 1529 } >&5 … … 1019 1547 ac_configure_args0= 1020 1548 ac_configure_args1= 1021 ac_sep=1022 1549 ac_must_keep_next=false 1023 1550 for ac_pass in 1 2 … … 1030 1557 | -silent | --silent | --silen | --sile | --sil) 1031 1558 continue ;; 1032 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1033 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1559 *\'*) 1560 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1034 1561 esac 1035 1562 case $ac_pass in … … 1038 1565 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1039 1566 if test $ac_must_keep_next = true; then 1040 1567 ac_must_keep_next=false # Got value, back to normal. 1041 1568 else 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1569 case $ac_arg in 1570 *=* | --config-cache | -C | -disable-* | --disable-* \ 1571 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1572 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1573 | -with-* | --with-* | -without-* | --without-* | --x) 1574 case "$ac_configure_args0 " in 1575 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1576 esac 1577 ;; 1578 -* ) ac_must_keep_next=true ;; 1579 esac 1053 1580 fi 1054 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1055 # Get rid of the leading space. 1056 ac_sep=" " 1581 ac_configure_args="$ac_configure_args '$ac_arg'" 1057 1582 ;; 1058 1583 esac … … 1065 1590 # config.log. We remove comments because anyway the quotes in there 1066 1591 # would cause problems or look ugly. 1067 # WARNING: Be sure not to use single quotes in there, as some shells,1068 # such as our DU 5.0 friend, will then `close' the trap.1592 # WARNING: Use '\'' to represent an apostrophe within the trap. 1593 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1069 1594 trap 'exit_status=$? 1070 1595 # Save into config.log some information that might help in debugging. … … 1079 1604 echo 1080 1605 # The following way of writing the cache mishandles newlines in values, 1081 { 1606 ( 1607 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1608 eval ac_val=\$$ac_var 1609 case $ac_val in #( 1610 *${as_nl}*) 1611 case $ac_var in #( 1612 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1614 esac 1615 case $ac_var in #( 1616 _ | IFS | as_nl) ;; #( 1617 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1618 *) $as_unset $ac_var ;; 1619 esac ;; 1620 esac 1621 done 1082 1622 (set) 2>&1 | 1083 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1084 * ac_space=\ *)1623 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1624 *${as_nl}ac_space=\ *) 1085 1625 sed -n \ 1086 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1626 "s/'\''/'\''\\\\'\'''\''/g; 1627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1628 ;; #( 1629 *) 1630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1088 1631 ;; 1089 *) 1090 sed -n \ 1091 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1092 ;; 1093 esac; 1094 } 1632 esac | 1633 sort 1634 ) 1095 1635 echo 1096 1636 … … 1103 1643 for ac_var in $ac_subst_vars 1104 1644 do 1105 eval ac_val=$`echo $ac_var` 1106 echo "$ac_var='"'"'$ac_val'"'"'" 1645 eval ac_val=\$$ac_var 1646 case $ac_val in 1647 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1648 esac 1649 $as_echo "$ac_var='\''$ac_val'\''" 1107 1650 done | sort 1108 1651 echo … … 1110 1653 if test -n "$ac_subst_files"; then 1111 1654 cat <<\_ASBOX 1112 ## ------------- ##1113 ## Output files. ##1114 ## ------------- ##1655 ## ------------------- ## 1656 ## File substitutions. ## 1657 ## ------------------- ## 1115 1658 _ASBOX 1116 1659 echo 1117 1660 for ac_var in $ac_subst_files 1118 1661 do 1119 eval ac_val=$`echo $ac_var` 1120 echo "$ac_var='"'"'$ac_val'"'"'" 1662 eval ac_val=\$$ac_var 1663 case $ac_val in 1664 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1665 esac 1666 $as_echo "$ac_var='\''$ac_val'\''" 1121 1667 done | sort 1122 1668 echo … … 1130 1676 _ASBOX 1131 1677 echo 1132 sed "/^$/d" confdefs.h | sort1678 cat confdefs.h 1133 1679 echo 1134 1680 fi 1135 1681 test "$ac_signal" != 0 && 1136 echo "$as_me: caught signal $ac_signal"1137 echo "$as_me: exit $exit_status"1682 $as_echo "$as_me: caught signal $ac_signal" 1683 $as_echo "$as_me: exit $exit_status" 1138 1684 } >&5 1139 rm -f core core.* *.core&&1140 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1685 rm -f core *.core core.conftest.* && 1686 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1141 1687 exit $exit_status 1142 1688 ' 0 1143 1689 for ac_signal in 1 2 13 15; do 1144 1690 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1147 1693 1148 1694 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1149 rm -rf conftest* confdefs.h 1150 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1151 echo >confdefs.h 1695 rm -f -r conftest* confdefs.h 1152 1696 1153 1697 # Predefined preprocessor variables. … … 1179 1723 1180 1724 # Let the site file select an alternate cache file if it wants to. 1181 # Prefer explicitly selected file to automatically selected ones. 1182 if test -z "$CONFIG_SITE"; then 1183 if test "x$prefix" != xNONE; then 1184 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1185 else 1186 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1187 fi 1188 fi 1189 for ac_site_file in $CONFIG_SITE; do 1725 # Prefer an explicitly selected file to automatically selected ones. 1726 ac_site_file1=NONE 1727 ac_site_file2=NONE 1728 if test -n "$CONFIG_SITE"; then 1729 ac_site_file1=$CONFIG_SITE 1730 elif test "x$prefix" != xNONE; then 1731 ac_site_file1=$prefix/share/config.site 1732 ac_site_file2=$prefix/etc/config.site 1733 else 1734 ac_site_file1=$ac_default_prefix/share/config.site 1735 ac_site_file2=$ac_default_prefix/etc/config.site 1736 fi 1737 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1738 do 1739 test "x$ac_site_file" = xNONE && continue 1190 1740 if test -r "$ac_site_file"; then 1191 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51192 echo "$as_me: loading site script $ac_site_file" >&6;}1741 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1742 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1193 1743 sed 's/^/| /' "$ac_site_file" >&5 1194 1744 . "$ac_site_file" … … 1200 1750 # files actually), so we avoid doing that. 1201 1751 if test -f "$cache_file"; then 1202 { echo "$as_me:$LINENO: loading cache $cache_file" >&51203 echo "$as_me: loading cache $cache_file" >&6;}1752 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1753 $as_echo "$as_me: loading cache $cache_file" >&6;} 1204 1754 case $cache_file in 1205 [\\/]* | ?:[\\/]* ) . $cache_file;;1206 *) . ./$cache_file;;1755 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1756 *) . "./$cache_file";; 1207 1757 esac 1208 1758 fi 1209 1759 else 1210 { echo "$as_me:$LINENO: creating cache $cache_file" >&51211 echo "$as_me: creating cache $cache_file" >&6;}1760 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1761 $as_echo "$as_me: creating cache $cache_file" >&6;} 1212 1762 >$cache_file 1213 1763 fi … … 1216 1766 # value. 1217 1767 ac_cache_corrupted=false 1218 for ac_var in `(set) 2>&1 | 1219 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1768 for ac_var in $ac_precious_vars; do 1220 1769 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1221 1770 eval ac_new_set=\$ac_env_${ac_var}_set 1222 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1223 eval ac_new_val= "\$ac_env_${ac_var}_value"1771 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1772 eval ac_new_val=\$ac_env_${ac_var}_value 1224 1773 case $ac_old_set,$ac_new_set in 1225 1774 set,) 1226 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51227 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1775 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1776 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1228 1777 ac_cache_corrupted=: ;; 1229 1778 ,set) 1230 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51231 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1779 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1780 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1232 1781 ac_cache_corrupted=: ;; 1233 1782 ,);; 1234 1783 *) 1235 1784 if test "x$ac_old_val" != "x$ac_new_val"; then 1236 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1237 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1238 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1239 echo "$as_me: former value: $ac_old_val" >&2;} 1240 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1241 echo "$as_me: current value: $ac_new_val" >&2;} 1242 ac_cache_corrupted=: 1785 # differences in whitespace do not lead to failure. 1786 ac_old_val_w=`echo x $ac_old_val` 1787 ac_new_val_w=`echo x $ac_new_val` 1788 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1789 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1790 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1791 ac_cache_corrupted=: 1792 else 1793 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1794 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1795 eval $ac_var=\$ac_old_val 1796 fi 1797 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1798 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1799 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1800 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1243 1801 fi;; 1244 1802 esac … … 1246 1804 if test "$ac_new_set" = set; then 1247 1805 case $ac_new_val in 1248 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1249 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1806 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1250 1807 *) ac_arg=$ac_var=$ac_new_val ;; 1251 1808 esac … … 1257 1814 done 1258 1815 if $ac_cache_corrupted; then 1259 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1260 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1261 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1262 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1816 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1818 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1819 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1820 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1821 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1263 1822 { (exit 1); exit 1; }; } 1264 1823 fi 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1265 1840 1266 1841 ac_ext=c … … 1272 1847 1273 1848 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1849 # Look for install.sh, config.guess, and config.sub in the "helpers" dir 1292 1850 ac_aux_dir= 1293 for ac_dir in helpers $srcdir/helpers; do1294 if test -f $ac_dir/install-sh; then1851 for ac_dir in helpers "$srcdir"/helpers; do 1852 if test -f "$ac_dir/install-sh"; then 1295 1853 ac_aux_dir=$ac_dir 1296 1854 ac_install_sh="$ac_aux_dir/install-sh -c" 1297 1855 break 1298 elif test -f $ac_dir/install.sh; then1856 elif test -f "$ac_dir/install.sh"; then 1299 1857 ac_aux_dir=$ac_dir 1300 1858 ac_install_sh="$ac_aux_dir/install.sh -c" 1301 1859 break 1302 elif test -f $ac_dir/shtool; then1860 elif test -f "$ac_dir/shtool"; then 1303 1861 ac_aux_dir=$ac_dir 1304 1862 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1307 1865 done 1308 1866 if test -z "$ac_aux_dir"; then 1309 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in helpers $srcdir/helpers" >&51310 echo "$as_me: error: cannot find install-sh or install.sh in helpers $srcdir/helpers" >&2;}1867 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in helpers \"$srcdir\"/helpers" >&5 1868 $as_echo "$as_me: error: cannot find install-sh or install.sh in helpers \"$srcdir\"/helpers" >&2;} 1311 1869 { (exit 1); exit 1; }; } 1312 1870 fi 1313 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1314 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1315 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1871 1872 # These three variables are undocumented and unsupported, 1873 # and are intended to be withdrawn in a future Autoconf release. 1874 # They can cause serious problems if a builder's source tree is in a directory 1875 # whose full name contains unusual characters. 1876 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1877 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1878 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1879 1316 1880 1317 1881 … … 1324 1888 1325 1889 1326 # Check whether --with-glu-libdir or --without-glu-libdirwas given.1890 # Check whether --with-glu-libdir was given. 1327 1891 if test "${with_glu_libdir+set}" = set; then 1328 withval="$with_glu_libdir" 1329 glulibdir=$withval 1892 withval=$with_glu_libdir; glulibdir=$withval 1330 1893 else 1331 1894 glulibdir="" 1332 fi; 1333 1334 1335 1336 # Check whether --with-glu-incdir or --without-glu-incdir was given. 1895 fi 1896 1897 1898 1899 1900 # Check whether --with-glu-incdir was given. 1337 1901 if test "${with_glu_incdir+set}" = set; then 1338 withval="$with_glu_incdir" 1339 gluincdir=$withval 1902 withval=$with_glu_incdir; gluincdir=$withval 1340 1903 else 1341 1904 gluincdir="" 1342 fi; 1905 fi 1906 1343 1907 1344 1908 # Give the configurer a chance to set a different location for the VIS … … 1347 1911 1348 1912 1349 # Check whether --with-vis-libdir or --without-vis-libdirwas given.1913 # Check whether --with-vis-libdir was given. 1350 1914 if test "${with_vis_libdir+set}" = set; then 1351 withval="$with_vis_libdir" 1352 vislibdir=$withval 1915 withval=$with_vis_libdir; vislibdir=$withval 1353 1916 else 1354 1917 vislibdir="." 1355 fi; 1918 fi 1919 1356 1920 1357 1921 # Give the configurer a chance to set a different location for the VIS … … 1361 1925 1362 1926 1363 # Check whether --with-local-srcdir or --without-local-srcdirwas given.1927 # Check whether --with-local-srcdir was given. 1364 1928 if test "${with_local_srcdir+set}" = set; then 1365 withval="$with_local_srcdir" 1366 local_srcdir=$withval 1929 withval=$with_local_srcdir; local_srcdir=$withval 1367 1930 else 1368 1931 local_srcdir=$srcdir 1369 fi; 1932 fi 1933 1370 1934 1371 1935 # Give the configurer a chance to set the BDD library … … 1373 1937 1374 1938 1375 # Check whether --with-bdd or --without-bddwas given.1939 # Check whether --with-bdd was given. 1376 1940 if test "${with_bdd+set}" = set; then 1377 withval="$with_bdd" 1378 BDDLIB=$withval 1941 withval=$with_bdd; BDDLIB=$withval 1379 1942 else 1380 1943 BDDLIB=cu 1381 fi; 1944 fi 1945 1382 1946 1383 1947 #---------------------------------------------------------------------- … … 1386 1950 # Extract the first word of "zchaff", so it can be a program name with args. 1387 1951 set dummy zchaff; ac_word=$2 1388 echo "$as_me:$LINENO: checking for $ac_word" >&51389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1952 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1953 $as_echo_n "checking for $ac_word... " >&6; } 1390 1954 if test "${ac_cv_path_ZCHAFF+set}" = set; then 1391 echo $ECHO_N "(cached) $ECHO_C" >&61955 $as_echo_n "(cached) " >&6 1392 1956 else 1393 1957 case $ZCHAFF in … … 1402 1966 test -z "$as_dir" && as_dir=. 1403 1967 for ac_exec_ext in '' $ac_executable_extensions; do 1404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1405 1969 ac_cv_path_ZCHAFF="$as_dir/$ac_word$ac_exec_ext" 1406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51970 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1407 1971 break 2 1408 1972 fi 1409 1973 done 1410 1974 done 1975 IFS=$as_save_IFS 1411 1976 1412 1977 ;; … … 1414 1979 fi 1415 1980 ZCHAFF=$ac_cv_path_ZCHAFF 1416 1417 1981 if test -n "$ZCHAFF"; then 1418 echo "$as_me:$LINENO: result: $ZCHAFF" >&5 1419 echo "${ECHO_T}$ZCHAFF" >&6 1420 else 1421 echo "$as_me:$LINENO: result: no" >&5 1422 echo "${ECHO_T}no" >&6 1423 fi 1982 { $as_echo "$as_me:$LINENO: result: $ZCHAFF" >&5 1983 $as_echo "$ZCHAFF" >&6; } 1984 else 1985 { $as_echo "$as_me:$LINENO: result: no" >&5 1986 $as_echo "no" >&6; } 1987 fi 1988 1424 1989 1425 1990 # Extract the first word of "ar", so it can be a program name with args. 1426 1991 set dummy ar; ac_word=$2 1427 echo "$as_me:$LINENO: checking for $ac_word" >&51428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1993 $as_echo_n "checking for $ac_word... " >&6; } 1429 1994 if test "${ac_cv_path_AR+set}" = set; then 1430 echo $ECHO_N "(cached) $ECHO_C" >&61995 $as_echo_n "(cached) " >&6 1431 1996 else 1432 1997 case $AR in … … 1441 2006 test -z "$as_dir" && as_dir=. 1442 2007 for ac_exec_ext in '' $ac_executable_extensions; do 1443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1444 2009 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" 1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52010 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1446 2011 break 2 1447 2012 fi 1448 2013 done 1449 2014 done 2015 IFS=$as_save_IFS 1450 2016 1451 2017 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar" … … 1454 2020 fi 1455 2021 AR=$ac_cv_path_AR 1456 1457 2022 if test -n "$AR"; then 1458 echo "$as_me:$LINENO: result: $AR" >&5 1459 echo "${ECHO_T}$AR" >&6 1460 else 1461 echo "$as_me:$LINENO: result: no" >&5 1462 echo "${ECHO_T}no" >&6 1463 fi 2023 { $as_echo "$as_me:$LINENO: result: $AR" >&5 2024 $as_echo "$AR" >&6; } 2025 else 2026 { $as_echo "$as_me:$LINENO: result: no" >&5 2027 $as_echo "no" >&6; } 2028 fi 2029 1464 2030 1465 2031 if test -n "$ac_tool_prefix"; then 1466 2032 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1467 2033 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1468 echo "$as_me:$LINENO: checking for $ac_word" >&51469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2034 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2035 $as_echo_n "checking for $ac_word... " >&6; } 1470 2036 if test "${ac_cv_prog_RANLIB+set}" = set; then 1471 echo $ECHO_N "(cached) $ECHO_C" >&62037 $as_echo_n "(cached) " >&6 1472 2038 else 1473 2039 if test -n "$RANLIB"; then … … 1480 2046 test -z "$as_dir" && as_dir=. 1481 2047 for ac_exec_ext in '' $ac_executable_extensions; do 1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1483 2049 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52050 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1485 2051 break 2 1486 2052 fi 1487 2053 done 1488 2054 done 2055 IFS=$as_save_IFS 1489 2056 1490 2057 fi … … 1492 2059 RANLIB=$ac_cv_prog_RANLIB 1493 2060 if test -n "$RANLIB"; then 1494 echo "$as_me:$LINENO: result: $RANLIB" >&5 1495 echo "${ECHO_T}$RANLIB" >&6 1496 else 1497 echo "$as_me:$LINENO: result: no" >&5 1498 echo "${ECHO_T}no" >&6 1499 fi 2061 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 2062 $as_echo "$RANLIB" >&6; } 2063 else 2064 { $as_echo "$as_me:$LINENO: result: no" >&5 2065 $as_echo "no" >&6; } 2066 fi 2067 1500 2068 1501 2069 fi … … 1504 2072 # Extract the first word of "ranlib", so it can be a program name with args. 1505 2073 set dummy ranlib; ac_word=$2 1506 echo "$as_me:$LINENO: checking for $ac_word" >&51507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2075 $as_echo_n "checking for $ac_word... " >&6; } 1508 2076 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 1509 echo $ECHO_N "(cached) $ECHO_C" >&62077 $as_echo_n "(cached) " >&6 1510 2078 else 1511 2079 if test -n "$ac_ct_RANLIB"; then … … 1518 2086 test -z "$as_dir" && as_dir=. 1519 2087 for ac_exec_ext in '' $ac_executable_extensions; do 1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1521 2089 ac_cv_prog_ac_ct_RANLIB="ranlib" 1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52090 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1523 2091 break 2 1524 2092 fi 1525 2093 done 1526 2094 done 1527 1528 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2095 IFS=$as_save_IFS 2096 1529 2097 fi 1530 2098 fi 1531 2099 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 1532 2100 if test -n "$ac_ct_RANLIB"; then 1533 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 1534 echo "${ECHO_T}$ac_ct_RANLIB" >&6 1535 else 1536 echo "$as_me:$LINENO: result: no" >&5 1537 echo "${ECHO_T}no" >&6 1538 fi 1539 1540 RANLIB=$ac_ct_RANLIB 2101 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2102 $as_echo "$ac_ct_RANLIB" >&6; } 2103 else 2104 { $as_echo "$as_me:$LINENO: result: no" >&5 2105 $as_echo "no" >&6; } 2106 fi 2107 2108 if test "x$ac_ct_RANLIB" = x; then 2109 RANLIB=":" 2110 else 2111 case $cross_compiling:$ac_tool_warned in 2112 yes:) 2113 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2115 ac_tool_warned=yes ;; 2116 esac 2117 RANLIB=$ac_ct_RANLIB 2118 fi 1541 2119 else 1542 2120 RANLIB="$ac_cv_prog_RANLIB" … … 1545 2123 1546 2124 # Make sure we can run config.sub. 1547 $ ac_config_subsun4 >/dev/null 2>&1 ||1548 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&51549 echo "$as_me: error: cannot run $ac_config_sub" >&2;}2125 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2126 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2127 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1550 2128 { (exit 1); exit 1; }; } 1551 2129 1552 echo "$as_me:$LINENO: checking build system type" >&51553 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2130 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2131 $as_echo_n "checking build system type... " >&6; } 1554 2132 if test "${ac_cv_build+set}" = set; then 1555 echo $ECHO_N "(cached) $ECHO_C" >&61556 else 1557 ac_ cv_build_alias=$build_alias1558 test -z "$ac_cv_build_alias"&&1559 ac_ cv_build_alias=`$ac_config_guess`1560 test -z "$ac_cv_build_alias"&&1561 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&51562 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}2133 $as_echo_n "(cached) " >&6 2134 else 2135 ac_build_alias=$build_alias 2136 test "x$ac_build_alias" = x && 2137 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2138 test "x$ac_build_alias" = x && 2139 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2140 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1563 2141 { (exit 1); exit 1; }; } 1564 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1565 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&51566 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}2142 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2143 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2144 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1567 2145 { (exit 1); exit 1; }; } 1568 2146 1569 2147 fi 1570 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1571 echo "${ECHO_T}$ac_cv_build" >&6 2148 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2149 $as_echo "$ac_cv_build" >&6; } 2150 case $ac_cv_build in 2151 *-*-*) ;; 2152 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2153 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 2154 { (exit 1); exit 1; }; };; 2155 esac 1572 2156 build=$ac_cv_build 1573 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1574 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1575 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1576 1577 1578 echo "$as_me:$LINENO: checking host system type" >&5 1579 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2157 ac_save_IFS=$IFS; IFS='-' 2158 set x $ac_cv_build 2159 shift 2160 build_cpu=$1 2161 build_vendor=$2 2162 shift; shift 2163 # Remember, the first character of IFS is used to create $*, 2164 # except with old shells: 2165 build_os=$* 2166 IFS=$ac_save_IFS 2167 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2168 2169 2170 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2171 $as_echo_n "checking host system type... " >&6; } 1580 2172 if test "${ac_cv_host+set}" = set; then 1581 echo $ECHO_N "(cached) $ECHO_C" >&61582 else 1583 ac_cv_host_alias=$host_alias1584 test -z "$ac_cv_host_alias" && 1585 ac_cv_host_alias=$ac_cv_build_alias 1586 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1587 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51588 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}2173 $as_echo_n "(cached) " >&6 2174 else 2175 if test "x$host_alias" = x; then 2176 ac_cv_host=$ac_cv_build 2177 else 2178 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2179 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2180 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1589 2181 { (exit 1); exit 1; }; } 1590 1591 fi 1592 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1593 echo "${ECHO_T}$ac_cv_host" >&6 2182 fi 2183 2184 fi 2185 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2186 $as_echo "$ac_cv_host" >&6; } 2187 case $ac_cv_host in 2188 *-*-*) ;; 2189 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2190 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 2191 { (exit 1); exit 1; }; };; 2192 esac 1594 2193 host=$ac_cv_host 1595 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1596 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1597 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1598 1599 1600 echo "$as_me:$LINENO: checking target system type" >&5 1601 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2194 ac_save_IFS=$IFS; IFS='-' 2195 set x $ac_cv_host 2196 shift 2197 host_cpu=$1 2198 host_vendor=$2 2199 shift; shift 2200 # Remember, the first character of IFS is used to create $*, 2201 # except with old shells: 2202 host_os=$* 2203 IFS=$ac_save_IFS 2204 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2205 2206 2207 { $as_echo "$as_me:$LINENO: checking target system type" >&5 2208 $as_echo_n "checking target system type... " >&6; } 1602 2209 if test "${ac_cv_target+set}" = set; then 1603 echo $ECHO_N "(cached) $ECHO_C" >&61604 else 1605 ac_cv_target_alias=$target_alias1606 test "x$ac_cv_target_alias" = "x" && 1607 ac_cv_target_alias=$ac_cv_host_alias 1608 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1609 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51610 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}2210 $as_echo_n "(cached) " >&6 2211 else 2212 if test "x$target_alias" = x; then 2213 ac_cv_target=$ac_cv_host 2214 else 2215 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2216 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 2217 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1611 2218 { (exit 1); exit 1; }; } 1612 1613 fi 1614 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1615 echo "${ECHO_T}$ac_cv_target" >&6 2219 fi 2220 2221 fi 2222 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2223 $as_echo "$ac_cv_target" >&6; } 2224 case $ac_cv_target in 2225 *-*-*) ;; 2226 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 2227 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 2228 { (exit 1); exit 1; }; };; 2229 esac 1616 2230 target=$ac_cv_target 1617 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1618 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1619 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2231 ac_save_IFS=$IFS; IFS='-' 2232 set x $ac_cv_target 2233 shift 2234 target_cpu=$1 2235 target_vendor=$2 2236 shift; shift 2237 # Remember, the first character of IFS is used to create $*, 2238 # except with old shells: 2239 target_os=$* 2240 IFS=$ac_save_IFS 2241 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1620 2242 1621 2243 … … 1630 2252 # Determine the name of the C compiler we're going to use 1631 2253 1632 # Check whether --enable-gcc or --disable-gccwas given.2254 # Check whether --enable-gcc was given. 1633 2255 if test "${enable_gcc+set}" = set; then 1634 enableval="$enable_gcc" 1635 gcc_ok=$enableval 2256 enableval=$enable_gcc; gcc_ok=$enableval 1636 2257 else 1637 2258 gcc_ok=no 1638 fi; 2259 fi 2260 1639 2261 1640 2262 # We cannot set CC=g++ directly because many configuration test programs … … 1671 2293 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1672 2294 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1673 echo "$as_me:$LINENO: checking for $ac_word" >&51674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2296 $as_echo_n "checking for $ac_word... " >&6; } 1675 2297 if test "${ac_cv_prog_CC+set}" = set; then 1676 echo $ECHO_N "(cached) $ECHO_C" >&62298 $as_echo_n "(cached) " >&6 1677 2299 else 1678 2300 if test -n "$CC"; then … … 1685 2307 test -z "$as_dir" && as_dir=. 1686 2308 for ac_exec_ext in '' $ac_executable_extensions; do 1687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1688 2310 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1690 2312 break 2 1691 2313 fi 1692 2314 done 1693 2315 done 2316 IFS=$as_save_IFS 1694 2317 1695 2318 fi … … 1697 2320 CC=$ac_cv_prog_CC 1698 2321 if test -n "$CC"; then 1699 echo "$as_me:$LINENO: result: $CC" >&5 1700 echo "${ECHO_T}$CC" >&6 1701 else 1702 echo "$as_me:$LINENO: result: no" >&5 1703 echo "${ECHO_T}no" >&6 1704 fi 2322 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2323 $as_echo "$CC" >&6; } 2324 else 2325 { $as_echo "$as_me:$LINENO: result: no" >&5 2326 $as_echo "no" >&6; } 2327 fi 2328 1705 2329 1706 2330 fi … … 1709 2333 # Extract the first word of "gcc", so it can be a program name with args. 1710 2334 set dummy gcc; ac_word=$2 1711 echo "$as_me:$LINENO: checking for $ac_word" >&51712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2336 $as_echo_n "checking for $ac_word... " >&6; } 1713 2337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1714 echo $ECHO_N "(cached) $ECHO_C" >&62338 $as_echo_n "(cached) " >&6 1715 2339 else 1716 2340 if test -n "$ac_ct_CC"; then … … 1723 2347 test -z "$as_dir" && as_dir=. 1724 2348 for ac_exec_ext in '' $ac_executable_extensions; do 1725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1726 2350 ac_cv_prog_ac_ct_CC="gcc" 1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52351 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1728 2352 break 2 1729 2353 fi 1730 2354 done 1731 2355 done 2356 IFS=$as_save_IFS 1732 2357 1733 2358 fi … … 1735 2360 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1736 2361 if test -n "$ac_ct_CC"; then 1737 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1738 echo "${ECHO_T}$ac_ct_CC" >&6 1739 else 1740 echo "$as_me:$LINENO: result: no" >&5 1741 echo "${ECHO_T}no" >&6 1742 fi 1743 1744 CC=$ac_ct_CC 2362 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2363 $as_echo "$ac_ct_CC" >&6; } 2364 else 2365 { $as_echo "$as_me:$LINENO: result: no" >&5 2366 $as_echo "no" >&6; } 2367 fi 2368 2369 if test "x$ac_ct_CC" = x; then 2370 CC="" 2371 else 2372 case $cross_compiling:$ac_tool_warned in 2373 yes:) 2374 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2376 ac_tool_warned=yes ;; 2377 esac 2378 CC=$ac_ct_CC 2379 fi 1745 2380 else 1746 2381 CC="$ac_cv_prog_CC" … … 1748 2383 1749 2384 if test -z "$CC"; then 1750 if test -n "$ac_tool_prefix"; then1751 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2385 if test -n "$ac_tool_prefix"; then 2386 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1752 2387 set dummy ${ac_tool_prefix}cc; ac_word=$2 1753 echo "$as_me:$LINENO: checking for $ac_word" >&51754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2388 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2389 $as_echo_n "checking for $ac_word... " >&6; } 1755 2390 if test "${ac_cv_prog_CC+set}" = set; then 1756 echo $ECHO_N "(cached) $ECHO_C" >&62391 $as_echo_n "(cached) " >&6 1757 2392 else 1758 2393 if test -n "$CC"; then … … 1765 2400 test -z "$as_dir" && as_dir=. 1766 2401 for ac_exec_ext in '' $ac_executable_extensions; do 1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1768 2403 ac_cv_prog_CC="${ac_tool_prefix}cc" 1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52404 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1770 2405 break 2 1771 2406 fi 1772 2407 done 1773 2408 done 2409 IFS=$as_save_IFS 1774 2410 1775 2411 fi … … 1777 2413 CC=$ac_cv_prog_CC 1778 2414 if test -n "$CC"; then 1779 echo "$as_me:$LINENO: result: $CC" >&5 1780 echo "${ECHO_T}$CC" >&6 1781 else 1782 echo "$as_me:$LINENO: result: no" >&5 1783 echo "${ECHO_T}no" >&6 1784 fi 1785 1786 fi 1787 if test -z "$ac_cv_prog_CC"; then 1788 ac_ct_CC=$CC 1789 # Extract the first word of "cc", so it can be a program name with args. 1790 set dummy cc; ac_word=$2 1791 echo "$as_me:$LINENO: checking for $ac_word" >&5 1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1794 echo $ECHO_N "(cached) $ECHO_C" >&6 1795 else 1796 if test -n "$ac_ct_CC"; then 1797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1798 else 1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1800 for as_dir in $PATH 1801 do 1802 IFS=$as_save_IFS 1803 test -z "$as_dir" && as_dir=. 1804 for ac_exec_ext in '' $ac_executable_extensions; do 1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1806 ac_cv_prog_ac_ct_CC="cc" 1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1808 break 2 2415 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2416 $as_echo "$CC" >&6; } 2417 else 2418 { $as_echo "$as_me:$LINENO: result: no" >&5 2419 $as_echo "no" >&6; } 2420 fi 2421 2422 1809 2423 fi 1810 done1811 done1812 1813 fi1814 fi1815 ac_ct_CC=$ac_cv_prog_ac_ct_CC1816 if test -n "$ac_ct_CC"; then1817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51818 echo "${ECHO_T}$ac_ct_CC" >&61819 else1820 echo "$as_me:$LINENO: result: no" >&51821 echo "${ECHO_T}no" >&61822 fi1823 1824 CC=$ac_ct_CC1825 else1826 CC="$ac_cv_prog_CC"1827 fi1828 1829 2424 fi 1830 2425 if test -z "$CC"; then 1831 2426 # Extract the first word of "cc", so it can be a program name with args. 1832 2427 set dummy cc; ac_word=$2 1833 echo "$as_me:$LINENO: checking for $ac_word" >&51834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2428 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2429 $as_echo_n "checking for $ac_word... " >&6; } 1835 2430 if test "${ac_cv_prog_CC+set}" = set; then 1836 echo $ECHO_N "(cached) $ECHO_C" >&62431 $as_echo_n "(cached) " >&6 1837 2432 else 1838 2433 if test -n "$CC"; then … … 1846 2441 test -z "$as_dir" && as_dir=. 1847 2442 for ac_exec_ext in '' $ac_executable_extensions; do 1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1849 2444 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1850 2445 ac_prog_rejected=yes … … 1852 2447 fi 1853 2448 ac_cv_prog_CC="cc" 1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52449 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1855 2450 break 2 1856 2451 fi 1857 2452 done 1858 2453 done 2454 IFS=$as_save_IFS 1859 2455 1860 2456 if test $ac_prog_rejected = yes; then … … 1874 2470 CC=$ac_cv_prog_CC 1875 2471 if test -n "$CC"; then 1876 echo "$as_me:$LINENO: result: $CC" >&5 1877 echo "${ECHO_T}$CC" >&6 1878 else 1879 echo "$as_me:$LINENO: result: no" >&5 1880 echo "${ECHO_T}no" >&6 1881 fi 2472 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2473 $as_echo "$CC" >&6; } 2474 else 2475 { $as_echo "$as_me:$LINENO: result: no" >&5 2476 $as_echo "no" >&6; } 2477 fi 2478 1882 2479 1883 2480 fi 1884 2481 if test -z "$CC"; then 1885 2482 if test -n "$ac_tool_prefix"; then 1886 for ac_prog in cl 2483 for ac_prog in cl.exe 1887 2484 do 1888 2485 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1889 2486 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1890 echo "$as_me:$LINENO: checking for $ac_word" >&51891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2488 $as_echo_n "checking for $ac_word... " >&6; } 1892 2489 if test "${ac_cv_prog_CC+set}" = set; then 1893 echo $ECHO_N "(cached) $ECHO_C" >&62490 $as_echo_n "(cached) " >&6 1894 2491 else 1895 2492 if test -n "$CC"; then … … 1902 2499 test -z "$as_dir" && as_dir=. 1903 2500 for ac_exec_ext in '' $ac_executable_extensions; do 1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1905 2502 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52503 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1907 2504 break 2 1908 2505 fi 1909 2506 done 1910 2507 done 2508 IFS=$as_save_IFS 1911 2509 1912 2510 fi … … 1914 2512 CC=$ac_cv_prog_CC 1915 2513 if test -n "$CC"; then 1916 echo "$as_me:$LINENO: result: $CC" >&5 1917 echo "${ECHO_T}$CC" >&6 1918 else 1919 echo "$as_me:$LINENO: result: no" >&5 1920 echo "${ECHO_T}no" >&6 1921 fi 2514 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2515 $as_echo "$CC" >&6; } 2516 else 2517 { $as_echo "$as_me:$LINENO: result: no" >&5 2518 $as_echo "no" >&6; } 2519 fi 2520 1922 2521 1923 2522 test -n "$CC" && break … … 1926 2525 if test -z "$CC"; then 1927 2526 ac_ct_CC=$CC 1928 for ac_prog in cl 2527 for ac_prog in cl.exe 1929 2528 do 1930 2529 # Extract the first word of "$ac_prog", so it can be a program name with args. 1931 2530 set dummy $ac_prog; ac_word=$2 1932 echo "$as_me:$LINENO: checking for $ac_word" >&51933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2531 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2532 $as_echo_n "checking for $ac_word... " >&6; } 1934 2533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1935 echo $ECHO_N "(cached) $ECHO_C" >&62534 $as_echo_n "(cached) " >&6 1936 2535 else 1937 2536 if test -n "$ac_ct_CC"; then … … 1944 2543 test -z "$as_dir" && as_dir=. 1945 2544 for ac_exec_ext in '' $ac_executable_extensions; do 1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1947 2546 ac_cv_prog_ac_ct_CC="$ac_prog" 1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1949 2548 break 2 1950 2549 fi 1951 2550 done 1952 2551 done 2552 IFS=$as_save_IFS 1953 2553 1954 2554 fi … … 1956 2556 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1957 2557 if test -n "$ac_ct_CC"; then 1958 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1959 echo "${ECHO_T}$ac_ct_CC" >&6 1960 else 1961 echo "$as_me:$LINENO: result: no" >&5 1962 echo "${ECHO_T}no" >&6 1963 fi 2558 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2559 $as_echo "$ac_ct_CC" >&6; } 2560 else 2561 { $as_echo "$as_me:$LINENO: result: no" >&5 2562 $as_echo "no" >&6; } 2563 fi 2564 1964 2565 1965 2566 test -n "$ac_ct_CC" && break 1966 2567 done 1967 2568 1968 CC=$ac_ct_CC 1969 fi 1970 1971 fi 1972 1973 1974 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2569 if test "x$ac_ct_CC" = x; then 2570 CC="" 2571 else 2572 case $cross_compiling:$ac_tool_warned in 2573 yes:) 2574 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2576 ac_tool_warned=yes ;; 2577 esac 2578 CC=$ac_ct_CC 2579 fi 2580 fi 2581 2582 fi 2583 2584 2585 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2587 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1975 2588 See \`config.log' for more details." >&5 1976 echo "$as_me: error: no acceptable C compiler found in \$PATH2589 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1977 2590 See \`config.log' for more details." >&2;} 1978 { (exit 1); exit 1; }; } 2591 { (exit 1); exit 1; }; }; } 1979 2592 1980 2593 # Provide some information about the compiler. 1981 echo "$as_me:$LINENO:" \ 1982 "checking for C compiler version" >&5 1983 ac_compiler=`set X $ac_compile; echo $2` 1984 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1985 (eval $ac_compiler --version </dev/null >&5) 2>&5 2594 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2595 set X $ac_compile 2596 ac_compiler=$2 2597 { (ac_try="$ac_compiler --version >&5" 2598 case "(($ac_try" in 2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2600 *) ac_try_echo=$ac_try;; 2601 esac 2602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2603 $as_echo "$ac_try_echo") >&5 2604 (eval "$ac_compiler --version >&5") 2>&5 1986 2605 ac_status=$? 1987 echo "$as_me:$LINENO: \$? = $ac_status" >&52606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1988 2607 (exit $ac_status); } 1989 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1990 (eval $ac_compiler -v </dev/null >&5) 2>&5 2608 { (ac_try="$ac_compiler -v >&5" 2609 case "(($ac_try" in 2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2611 *) ac_try_echo=$ac_try;; 2612 esac 2613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2614 $as_echo "$ac_try_echo") >&5 2615 (eval "$ac_compiler -v >&5") 2>&5 1991 2616 ac_status=$? 1992 echo "$as_me:$LINENO: \$? = $ac_status" >&52617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1993 2618 (exit $ac_status); } 1994 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1995 (eval $ac_compiler -V </dev/null >&5) 2>&5 2619 { (ac_try="$ac_compiler -V >&5" 2620 case "(($ac_try" in 2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2622 *) ac_try_echo=$ac_try;; 2623 esac 2624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2625 $as_echo "$ac_try_echo") >&5 2626 (eval "$ac_compiler -V >&5") 2>&5 1996 2627 ac_status=$? 1997 echo "$as_me:$LINENO: \$? = $ac_status" >&52628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1998 2629 (exit $ac_status); } 1999 2630 2000 2631 cat >conftest.$ac_ext <<_ACEOF 2001 #line $LINENO "configure"2002 2632 /* confdefs.h. */ 2003 2633 _ACEOF … … 2015 2645 _ACEOF 2016 2646 ac_clean_files_save=$ac_clean_files 2017 ac_clean_files="$ac_clean_files a.out a. exe b.out"2647 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2018 2648 # Try to create an executable without -o first, disregard a.out. 2019 2649 # It will help us diagnose broken compilers, and finding out an intuition 2020 2650 # of exeext. 2021 echo "$as_me:$LINENO: checking for C compiler default output" >&5 2022 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2023 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2024 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2025 (eval $ac_link_default) 2>&5 2651 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2652 $as_echo_n "checking for C compiler default output file name... " >&6; } 2653 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2654 2655 # The possible output files: 2656 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2657 2658 ac_rmfiles= 2659 for ac_file in $ac_files 2660 do 2661 case $ac_file in 2662 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2663 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2664 esac 2665 done 2666 rm -f $ac_rmfiles 2667 2668 if { (ac_try="$ac_link_default" 2669 case "(($ac_try" in 2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2671 *) ac_try_echo=$ac_try;; 2672 esac 2673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2674 $as_echo "$ac_try_echo") >&5 2675 (eval "$ac_link_default") 2>&5 2026 2676 ac_status=$? 2027 echo "$as_me:$LINENO: \$? = $ac_status" >&52677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2028 2678 (exit $ac_status); }; then 2029 # Find the output, starting from the most likely. This scheme is 2030 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2031 # resort. 2032 2033 # Be careful to initialize this variable, since it used to be cached. 2034 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2035 ac_cv_exeext= 2036 # b.out is created by i960 compilers. 2037 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2679 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2680 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2681 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2682 # so that the user can short-circuit this test for compilers unknown to 2683 # Autoconf. 2684 for ac_file in $ac_files '' 2038 2685 do 2039 2686 test -f "$ac_file" || continue 2040 2687 case $ac_file in 2041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2042 ;; 2043 conftest.$ac_ext ) 2044 # This is the source file. 2045 ;; 2688 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2689 ;; 2046 2690 [ab].out ) 2047 2048 2049 2691 # We found the default executable, but exeext='' is most 2692 # certainly right. 2693 break;; 2050 2694 *.* ) 2051 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2052 # FIXME: I believe we export ac_cv_exeext for Libtool, 2053 # but it would be cool to find out if it's true. Does anybody 2054 # maintain Libtool? --akim. 2055 export ac_cv_exeext 2056 break;; 2695 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2696 then :; else 2697 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2698 fi 2699 # We set ac_cv_exeext here because the later test for it is not 2700 # safe: cross compilers may not add the suffix if given an `-o' 2701 # argument, so we may need to know it at that point already. 2702 # Even if this section looks crufty: it has the advantage of 2703 # actually working. 2704 break;; 2057 2705 * ) 2058 2706 break;; 2059 2707 esac 2060 2708 done 2061 else 2062 echo "$as_me: failed program was:" >&5 2709 test "$ac_cv_exeext" = no && ac_cv_exeext= 2710 2711 else 2712 ac_file='' 2713 fi 2714 2715 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2716 $as_echo "$ac_file" >&6; } 2717 if test -z "$ac_file"; then 2718 $as_echo "$as_me: failed program was:" >&5 2063 2719 sed 's/^/| /' conftest.$ac_ext >&5 2064 2720 2065 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2721 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2723 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2066 2724 See \`config.log' for more details." >&5 2067 echo "$as_me: error: C compiler cannot create executables2725 $as_echo "$as_me: error: C compiler cannot create executables 2068 2726 See \`config.log' for more details." >&2;} 2069 { (exit 77); exit 77; }; } 2727 { (exit 77); exit 77; }; }; } 2070 2728 fi 2071 2729 2072 2730 ac_exeext=$ac_cv_exeext 2073 echo "$as_me:$LINENO: result: $ac_file" >&5 2074 echo "${ECHO_T}$ac_file" >&6 2075 2076 # Check the compiler produces executables we can run. If not, either 2731 2732 # Check that the compiler produces executables we can run. If not, either 2077 2733 # the compiler is broken, or we cross compile. 2078 echo "$as_me:$LINENO: checking whether the C compiler works" >&52079 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2734 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2735 $as_echo_n "checking whether the C compiler works... " >&6; } 2080 2736 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2081 2737 # If not cross compiling, check that we can run a simple program. 2082 2738 if test "$cross_compiling" != yes; then 2083 2739 if { ac_try='./$ac_file' 2084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2085 (eval $ac_try) 2>&5 2740 { (case "(($ac_try" in 2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2742 *) ac_try_echo=$ac_try;; 2743 esac 2744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2745 $as_echo "$ac_try_echo") >&5 2746 (eval "$ac_try") 2>&5 2086 2747 ac_status=$? 2087 echo "$as_me:$LINENO: \$? = $ac_status" >&52748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2088 2749 (exit $ac_status); }; }; then 2089 2750 cross_compiling=no … … 2092 2753 cross_compiling=yes 2093 2754 else 2094 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2755 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2757 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2095 2758 If you meant to cross compile, use \`--host'. 2096 2759 See \`config.log' for more details." >&5 2097 echo "$as_me: error: cannot run C compiled programs.2760 $as_echo "$as_me: error: cannot run C compiled programs. 2098 2761 If you meant to cross compile, use \`--host'. 2099 2762 See \`config.log' for more details." >&2;} 2100 { (exit 1); exit 1; }; } 2763 { (exit 1); exit 1; }; }; } 2101 2764 fi 2102 2765 fi 2103 2766 fi 2104 echo "$as_me:$LINENO: result: yes" >&52105 echo "${ECHO_T}yes" >&6 2106 2107 rm -f a.outa.exe conftest$ac_cv_exeext b.out2767 { $as_echo "$as_me:$LINENO: result: yes" >&5 2768 $as_echo "yes" >&6; } 2769 2770 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2108 2771 ac_clean_files=$ac_clean_files_save 2109 # Check th e compiler produces executables we can run. If not, either2772 # Check that the compiler produces executables we can run. If not, either 2110 2773 # the compiler is broken, or we cross compile. 2111 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2112 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2113 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2114 echo "${ECHO_T}$cross_compiling" >&6 2115 2116 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2117 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2119 (eval $ac_link) 2>&5 2774 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2775 $as_echo_n "checking whether we are cross compiling... " >&6; } 2776 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2777 $as_echo "$cross_compiling" >&6; } 2778 2779 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2780 $as_echo_n "checking for suffix of executables... " >&6; } 2781 if { (ac_try="$ac_link" 2782 case "(($ac_try" in 2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2784 *) ac_try_echo=$ac_try;; 2785 esac 2786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2787 $as_echo "$ac_try_echo") >&5 2788 (eval "$ac_link") 2>&5 2120 2789 ac_status=$? 2121 echo "$as_me:$LINENO: \$? = $ac_status" >&52790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2122 2791 (exit $ac_status); }; then 2123 2792 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2128 2797 test -f "$ac_file" || continue 2129 2798 case $ac_file in 2130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2131 2800 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2132 export ac_cv_exeext 2133 break;; 2801 break;; 2134 2802 * ) break;; 2135 2803 esac 2136 2804 done 2137 2805 else 2138 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2806 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2808 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2139 2809 See \`config.log' for more details." >&5 2140 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2810 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2141 2811 See \`config.log' for more details." >&2;} 2142 { (exit 1); exit 1; }; } 2812 { (exit 1); exit 1; }; }; } 2143 2813 fi 2144 2814 2145 2815 rm -f conftest$ac_cv_exeext 2146 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52147 echo "${ECHO_T}$ac_cv_exeext" >&6 2816 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2817 $as_echo "$ac_cv_exeext" >&6; } 2148 2818 2149 2819 rm -f conftest.$ac_ext 2150 2820 EXEEXT=$ac_cv_exeext 2151 2821 ac_exeext=$EXEEXT 2152 echo "$as_me:$LINENO: checking for suffix of object files" >&52153 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2822 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2823 $as_echo_n "checking for suffix of object files... " >&6; } 2154 2824 if test "${ac_cv_objext+set}" = set; then 2155 echo $ECHO_N "(cached) $ECHO_C" >&62825 $as_echo_n "(cached) " >&6 2156 2826 else 2157 2827 cat >conftest.$ac_ext <<_ACEOF 2158 #line $LINENO "configure"2159 2828 /* confdefs.h. */ 2160 2829 _ACEOF … … 2172 2841 _ACEOF 2173 2842 rm -f conftest.o conftest.obj 2174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2175 (eval $ac_compile) 2>&5 2843 if { (ac_try="$ac_compile" 2844 case "(($ac_try" in 2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2846 *) ac_try_echo=$ac_try;; 2847 esac 2848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2849 $as_echo "$ac_try_echo") >&5 2850 (eval "$ac_compile") 2>&5 2176 2851 ac_status=$? 2177 echo "$as_me:$LINENO: \$? = $ac_status" >&52852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2178 2853 (exit $ac_status); }; then 2179 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2854 for ac_file in conftest.o conftest.obj conftest.*; do 2855 test -f "$ac_file" || continue; 2180 2856 case $ac_file in 2181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2182 2858 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2183 2859 break;; … … 2185 2861 done 2186 2862 else 2187 echo "$as_me: failed program was:" >&52863 $as_echo "$as_me: failed program was:" >&5 2188 2864 sed 's/^/| /' conftest.$ac_ext >&5 2189 2865 2190 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2866 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2868 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2191 2869 See \`config.log' for more details." >&5 2192 echo "$as_me: error: cannot compute suffix of object files: cannot compile2870 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2193 2871 See \`config.log' for more details." >&2;} 2194 { (exit 1); exit 1; }; } 2872 { (exit 1); exit 1; }; }; } 2195 2873 fi 2196 2874 2197 2875 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2198 2876 fi 2199 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52200 echo "${ECHO_T}$ac_cv_objext" >&6 2877 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2878 $as_echo "$ac_cv_objext" >&6; } 2201 2879 OBJEXT=$ac_cv_objext 2202 2880 ac_objext=$OBJEXT 2203 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52204 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2881 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2882 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2205 2883 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2206 echo $ECHO_N "(cached) $ECHO_C" >&62884 $as_echo_n "(cached) " >&6 2207 2885 else 2208 2886 cat >conftest.$ac_ext <<_ACEOF 2209 #line $LINENO "configure"2210 2887 /* confdefs.h. */ 2211 2888 _ACEOF … … 2226 2903 _ACEOF 2227 2904 rm -f conftest.$ac_objext 2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2229 (eval $ac_compile) 2>&5 2905 if { (ac_try="$ac_compile" 2906 case "(($ac_try" in 2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2908 *) ac_try_echo=$ac_try;; 2909 esac 2910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2911 $as_echo "$ac_try_echo") >&5 2912 (eval "$ac_compile") 2>conftest.er1 2230 2913 ac_status=$? 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&52232 (exit $ac_status); } &&2233 { ac_try='test -s conftest.$ac_objext'2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52235 (e val $ac_try) 2>&52236 ac_status=$? 2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2238 (exit $ac_status); }; }; then2914 grep -v '^ *+' conftest.er1 >conftest.err 2915 rm -f conftest.er1 2916 cat conftest.err >&5 2917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2918 (exit $ac_status); } && { 2919 test -z "$ac_c_werror_flag" || 2920 test ! -s conftest.err 2921 } && test -s conftest.$ac_objext; then 2239 2922 ac_compiler_gnu=yes 2240 2923 else 2241 echo "$as_me: failed program was:" >&52924 $as_echo "$as_me: failed program was:" >&5 2242 2925 sed 's/^/| /' conftest.$ac_ext >&5 2243 2926 2244 ac_compiler_gnu=no 2245 fi 2246 rm -f conftest.$ac_objext conftest.$ac_ext 2927 ac_compiler_gnu=no 2928 fi 2929 2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2247 2931 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2248 2932 2249 2933 fi 2250 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2251 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2252 GCC=`test $ac_compiler_gnu = yes && echo yes` 2934 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2935 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2936 if test $ac_compiler_gnu = yes; then 2937 GCC=yes 2938 else 2939 GCC= 2940 fi 2253 2941 ac_test_CFLAGS=${CFLAGS+set} 2254 2942 ac_save_CFLAGS=$CFLAGS 2255 CFLAGS="-g" 2256 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2257 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2943 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2944 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2258 2945 if test "${ac_cv_prog_cc_g+set}" = set; then 2259 echo $ECHO_N "(cached) $ECHO_C" >&6 2260 else 2261 cat >conftest.$ac_ext <<_ACEOF 2262 #line $LINENO "configure" 2946 $as_echo_n "(cached) " >&6 2947 else 2948 ac_save_c_werror_flag=$ac_c_werror_flag 2949 ac_c_werror_flag=yes 2950 ac_cv_prog_cc_g=no 2951 CFLAGS="-g" 2952 cat >conftest.$ac_ext <<_ACEOF 2263 2953 /* confdefs.h. */ 2264 2954 _ACEOF … … 2276 2966 _ACEOF 2277 2967 rm -f conftest.$ac_objext 2278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2279 (eval $ac_compile) 2>&5 2968 if { (ac_try="$ac_compile" 2969 case "(($ac_try" in 2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2971 *) ac_try_echo=$ac_try;; 2972 esac 2973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2974 $as_echo "$ac_try_echo") >&5 2975 (eval "$ac_compile") 2>conftest.er1 2280 2976 ac_status=$? 2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2282 (exit $ac_status); } && 2283 { ac_try='test -s conftest.$ac_objext' 2284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2285 (eval $ac_try) 2>&5 2977 grep -v '^ *+' conftest.er1 >conftest.err 2978 rm -f conftest.er1 2979 cat conftest.err >&5 2980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2981 (exit $ac_status); } && { 2982 test -z "$ac_c_werror_flag" || 2983 test ! -s conftest.err 2984 } && test -s conftest.$ac_objext; then 2985 ac_cv_prog_cc_g=yes 2986 else 2987 $as_echo "$as_me: failed program was:" >&5 2988 sed 's/^/| /' conftest.$ac_ext >&5 2989 2990 CFLAGS="" 2991 cat >conftest.$ac_ext <<_ACEOF 2992 /* confdefs.h. */ 2993 _ACEOF 2994 cat confdefs.h >>conftest.$ac_ext 2995 cat >>conftest.$ac_ext <<_ACEOF 2996 /* end confdefs.h. */ 2997 2998 int 2999 main () 3000 { 3001 3002 ; 3003 return 0; 3004 } 3005 _ACEOF 3006 rm -f conftest.$ac_objext 3007 if { (ac_try="$ac_compile" 3008 case "(($ac_try" in 3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3010 *) ac_try_echo=$ac_try;; 3011 esac 3012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3013 $as_echo "$ac_try_echo") >&5 3014 (eval "$ac_compile") 2>conftest.er1 2286 3015 ac_status=$? 2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2288 (exit $ac_status); }; }; then 3016 grep -v '^ *+' conftest.er1 >conftest.err 3017 rm -f conftest.er1 3018 cat conftest.err >&5 3019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3020 (exit $ac_status); } && { 3021 test -z "$ac_c_werror_flag" || 3022 test ! -s conftest.err 3023 } && test -s conftest.$ac_objext; then 3024 : 3025 else 3026 $as_echo "$as_me: failed program was:" >&5 3027 sed 's/^/| /' conftest.$ac_ext >&5 3028 3029 ac_c_werror_flag=$ac_save_c_werror_flag 3030 CFLAGS="-g" 3031 cat >conftest.$ac_ext <<_ACEOF 3032 /* confdefs.h. */ 3033 _ACEOF 3034 cat confdefs.h >>conftest.$ac_ext 3035 cat >>conftest.$ac_ext <<_ACEOF 3036 /* end confdefs.h. */ 3037 3038 int 3039 main () 3040 { 3041 3042 ; 3043 return 0; 3044 } 3045 _ACEOF 3046 rm -f conftest.$ac_objext 3047 if { (ac_try="$ac_compile" 3048 case "(($ac_try" in 3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3050 *) ac_try_echo=$ac_try;; 3051 esac 3052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3053 $as_echo "$ac_try_echo") >&5 3054 (eval "$ac_compile") 2>conftest.er1 3055 ac_status=$? 3056 grep -v '^ *+' conftest.er1 >conftest.err 3057 rm -f conftest.er1 3058 cat conftest.err >&5 3059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3060 (exit $ac_status); } && { 3061 test -z "$ac_c_werror_flag" || 3062 test ! -s conftest.err 3063 } && test -s conftest.$ac_objext; then 2289 3064 ac_cv_prog_cc_g=yes 2290 3065 else 2291 echo "$as_me: failed program was:" >&53066 $as_echo "$as_me: failed program was:" >&5 2292 3067 sed 's/^/| /' conftest.$ac_ext >&5 2293 3068 2294 ac_cv_prog_cc_g=no 2295 fi 2296 rm -f conftest.$ac_objext conftest.$ac_ext 2297 fi 2298 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3069 3070 fi 3071 3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3073 fi 3074 3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3076 fi 3077 3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3079 ac_c_werror_flag=$ac_save_c_werror_flag 3080 fi 3081 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3082 $as_echo "$ac_cv_prog_cc_g" >&6; } 2300 3083 if test "$ac_test_CFLAGS" = set; then 2301 3084 CFLAGS=$ac_save_CFLAGS … … 2313 3096 fi 2314 3097 fi 2315 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52316 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2317 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2318 echo $ECHO_N "(cached) $ECHO_C" >&62319 else 2320 ac_cv_prog_cc_ stdc=no3098 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3099 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3100 if test "${ac_cv_prog_cc_c89+set}" = set; then 3101 $as_echo_n "(cached) " >&6 3102 else 3103 ac_cv_prog_cc_c89=no 2321 3104 ac_save_CC=$CC 2322 3105 cat >conftest.$ac_ext <<_ACEOF 2323 #line $LINENO "configure"2324 3106 /* confdefs.h. */ 2325 3107 _ACEOF … … 2349 3131 return s; 2350 3132 } 3133 3134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3135 function prototypes and stuff, but not '\xHH' hex character constants. 3136 These don't provoke an error unfortunately, instead are silently treated 3137 as 'x'. The following induces an error, until -std is added to get 3138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3139 array size at least. It's necessary to write '\x00'==0 to get something 3140 that's true only with -std. */ 3141 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3142 3143 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3144 inside strings and character constants. */ 3145 #define FOO(x) 'x' 3146 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3147 2351 3148 int test (int i, double x); 2352 3149 struct s1 {int (*f) (int a);}; … … 2363 3160 } 2364 3161 _ACEOF 2365 # Don't try gcc -ansi; that turns off useful extensions and 2366 # breaks some systems' header files. 2367 # AIX -qlanglvl=ansi 2368 # Ultrix and OSF/1 -std1 2369 # HP-UX 10.20 and later -Ae 2370 # HP-UX older versions -Aa -D_HPUX_SOURCE 2371 # SVR4 -Xc -D__EXTENSIONS__ 2372 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3162 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3163 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2373 3164 do 2374 3165 CC="$ac_save_CC $ac_arg" 2375 3166 rm -f conftest.$ac_objext 2376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2377 (eval $ac_compile) 2>&5 3167 if { (ac_try="$ac_compile" 3168 case "(($ac_try" in 3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3170 *) ac_try_echo=$ac_try;; 3171 esac 3172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3173 $as_echo "$ac_try_echo") >&5 3174 (eval "$ac_compile") 2>conftest.er1 2378 3175 ac_status=$? 2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2380 (exit $ac_status); } && 2381 { ac_try='test -s conftest.$ac_objext' 2382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2383 (eval $ac_try) 2>&5 2384 ac_status=$? 2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2386 (exit $ac_status); }; }; then 2387 ac_cv_prog_cc_stdc=$ac_arg 2388 break 2389 else 2390 echo "$as_me: failed program was:" >&5 3176 grep -v '^ *+' conftest.er1 >conftest.err 3177 rm -f conftest.er1 3178 cat conftest.err >&5 3179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3180 (exit $ac_status); } && { 3181 test -z "$ac_c_werror_flag" || 3182 test ! -s conftest.err 3183 } && test -s conftest.$ac_objext; then 3184 ac_cv_prog_cc_c89=$ac_arg 3185 else 3186 $as_echo "$as_me: failed program was:" >&5 2391 3187 sed 's/^/| /' conftest.$ac_ext >&5 2392 3188 2393 fi 2394 rm -f conftest.$ac_objext 3189 3190 fi 3191 3192 rm -f core conftest.err conftest.$ac_objext 3193 test "x$ac_cv_prog_cc_c89" != "xno" && break 2395 3194 done 2396 rm -f conftest.$ac_ext conftest.$ac_objext3195 rm -f conftest.$ac_ext 2397 3196 CC=$ac_save_CC 2398 3197 2399 3198 fi 2400 2401 case "x$ac_cv_prog_cc_stdc" in 2402 x|xno) 2403 echo "$as_me:$LINENO: result: none needed" >&5 2404 echo "${ECHO_T}none needed" >&6 ;; 3199 # AC_CACHE_VAL 3200 case "x$ac_cv_prog_cc_c89" in 3201 x) 3202 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3203 $as_echo "none needed" >&6; } ;; 3204 xno) 3205 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3206 $as_echo "unsupported" >&6; } ;; 2405 3207 *) 2406 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2407 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2408 CC="$CC $ac_cv_prog_cc_stdc" ;; 2409 esac 2410 2411 # Some people use a C++ compiler to compile C. Since we use `exit', 2412 # in C++ we need to declare it. In case someone uses the same compiler 2413 # for both compiling C and C++ we need to have the C++ compiler decide 2414 # the declaration of exit, since it's the most demanding environment. 2415 cat >conftest.$ac_ext <<_ACEOF 2416 #ifndef __cplusplus 2417 choke me 2418 #endif 2419 _ACEOF 2420 rm -f conftest.$ac_objext 2421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2422 (eval $ac_compile) 2>&5 2423 ac_status=$? 2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2425 (exit $ac_status); } && 2426 { ac_try='test -s conftest.$ac_objext' 2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2428 (eval $ac_try) 2>&5 2429 ac_status=$? 2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2431 (exit $ac_status); }; }; then 2432 for ac_declaration in \ 2433 ''\ 2434 '#include <stdlib.h>' \ 2435 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2436 'extern "C" void std::exit (int); using std::exit;' \ 2437 'extern "C" void exit (int) throw ();' \ 2438 'extern "C" void exit (int);' \ 2439 'void exit (int);' 2440 do 2441 cat >conftest.$ac_ext <<_ACEOF 2442 #line $LINENO "configure" 2443 /* confdefs.h. */ 2444 _ACEOF 2445 cat confdefs.h >>conftest.$ac_ext 2446 cat >>conftest.$ac_ext <<_ACEOF 2447 /* end confdefs.h. */ 2448 #include <stdlib.h> 2449 $ac_declaration 2450 int 2451 main () 2452 { 2453 exit (42); 2454 ; 2455 return 0; 2456 } 2457 _ACEOF 2458 rm -f conftest.$ac_objext 2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2460 (eval $ac_compile) 2>&5 2461 ac_status=$? 2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); } && 2464 { ac_try='test -s conftest.$ac_objext' 2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2466 (eval $ac_try) 2>&5 2467 ac_status=$? 2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2469 (exit $ac_status); }; }; then 2470 : 2471 else 2472 echo "$as_me: failed program was:" >&5 2473 sed 's/^/| /' conftest.$ac_ext >&5 2474 2475 continue 2476 fi 2477 rm -f conftest.$ac_objext conftest.$ac_ext 2478 cat >conftest.$ac_ext <<_ACEOF 2479 #line $LINENO "configure" 2480 /* confdefs.h. */ 2481 _ACEOF 2482 cat confdefs.h >>conftest.$ac_ext 2483 cat >>conftest.$ac_ext <<_ACEOF 2484 /* end confdefs.h. */ 2485 $ac_declaration 2486 int 2487 main () 2488 { 2489 exit (42); 2490 ; 2491 return 0; 2492 } 2493 _ACEOF 2494 rm -f conftest.$ac_objext 2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2496 (eval $ac_compile) 2>&5 2497 ac_status=$? 2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2499 (exit $ac_status); } && 2500 { ac_try='test -s conftest.$ac_objext' 2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2502 (eval $ac_try) 2>&5 2503 ac_status=$? 2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2505 (exit $ac_status); }; }; then 2506 break 2507 else 2508 echo "$as_me: failed program was:" >&5 2509 sed 's/^/| /' conftest.$ac_ext >&5 2510 2511 fi 2512 rm -f conftest.$ac_objext conftest.$ac_ext 2513 done 2514 rm -f conftest* 2515 if test -n "$ac_declaration"; then 2516 echo '#ifdef __cplusplus' >>confdefs.h 2517 echo $ac_declaration >>confdefs.h 2518 echo '#endif' >>confdefs.h 2519 fi 2520 2521 else 2522 echo "$as_me: failed program was:" >&5 2523 sed 's/^/| /' conftest.$ac_ext >&5 2524 2525 fi 2526 rm -f conftest.$ac_objext conftest.$ac_ext 3208 CC="$CC $ac_cv_prog_cc_c89" 3209 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3210 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3211 esac 3212 3213 2527 3214 ac_ext=c 2528 3215 ac_cpp='$CPP $CPPFLAGS' … … 2532 3219 2533 3220 2534 # Check whether --enable-64 or --disable-64was given.3221 # Check whether --enable-64 was given. 2535 3222 if test "${enable_64+set}" = set; then 2536 enableval="$enable_64" 2537 use_sixty_four=$enableval 3223 enableval=$enable_64; use_sixty_four=$enableval 2538 3224 else 2539 3225 use_sixty_four=no 2540 fi; 3226 fi 3227 2541 3228 2542 3229 # Gcc does not support 32-bit pointers on the Alphas. … … 2566 3253 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2567 3254 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3255 # OS/2's system install, which has a completely different semantic 2568 3256 # ./install, which can be erroneously created by make from ./install.sh. 2569 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2570 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3257 # Reject install programs that cannot install multiple files. 3258 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3259 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2571 3260 if test -z "$INSTALL"; then 2572 3261 if test "${ac_cv_path_install+set}" = set; then 2573 echo $ECHO_N "(cached) $ECHO_C" >&63262 $as_echo_n "(cached) " >&6 2574 3263 else 2575 3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2582 3271 ./ | .// | /cC/* | \ 2583 3272 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3273 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2584 3274 /usr/ucb/* ) ;; 2585 3275 *) … … 2589 3279 for ac_prog in ginstall scoinst install; do 2590 3280 for ac_exec_ext in '' $ac_executable_extensions; do 2591 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2592 if test $ac_prog = install && 2593 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2594 # AIX install. It has an incompatible calling convention. 2595 : 2596 elif test $ac_prog = install && 2597 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2598 # program-specific install script used by HP pwplus--don't use. 2599 : 2600 else 2601 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2602 break 3 2603 fi 2604 fi 3281 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3282 if test $ac_prog = install && 3283 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3284 # AIX install. It has an incompatible calling convention. 3285 : 3286 elif test $ac_prog = install && 3287 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3288 # program-specific install script used by HP pwplus--don't use. 3289 : 3290 else 3291 rm -rf conftest.one conftest.two conftest.dir 3292 echo one > conftest.one 3293 echo two > conftest.two 3294 mkdir conftest.dir 3295 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3296 test -s conftest.one && test -s conftest.two && 3297 test -s conftest.dir/conftest.one && 3298 test -s conftest.dir/conftest.two 3299 then 3300 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3301 break 3 3302 fi 3303 fi 3304 fi 2605 3305 done 2606 3306 done 2607 3307 ;; 2608 3308 esac 3309 2609 3310 done 2610 3311 IFS=$as_save_IFS 3312 3313 rm -rf conftest.one conftest.two conftest.dir 2611 3314 2612 3315 fi … … 2614 3317 INSTALL=$ac_cv_path_install 2615 3318 else 2616 # As a last resort, use the slow shell script. We don't cache a2617 # pathfor INSTALL within a source directory, because that will3319 # As a last resort, use the slow shell script. Don't cache a 3320 # value for INSTALL within a source directory, because that will 2618 3321 # break other packages using the cache if that directory is 2619 # removed, or if the path is relative.3322 # removed, or if the value is a relative name. 2620 3323 INSTALL=$ac_install_sh 2621 3324 fi 2622 3325 fi 2623 echo "$as_me:$LINENO: result: $INSTALL" >&52624 echo "${ECHO_T}$INSTALL" >&6 3326 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3327 $as_echo "$INSTALL" >&6; } 2625 3328 2626 3329 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2664 3367 ALIGN="" ;; 2665 3368 esac 2666 echo "$as_me:$LINENO: checking for -native" >&52667 echo $ECHO_N "checking for -native... $ECHO_C" >&6 3369 { $as_echo "$as_me:$LINENO: checking for -native" >&5 3370 $as_echo_n "checking for -native... " >&6; } 2668 3371 CFLAGS="-xO3 -native$ALIGN" 2669 3372 2670 3373 if test "${ac_cv_have_native+set}" = set; then 2671 echo $ECHO_N "(cached) $ECHO_C" >&63374 $as_echo_n "(cached) " >&6 2672 3375 else 2673 3376 if test "$cross_compiling" = yes; then … … 2675 3378 else 2676 3379 cat >conftest.$ac_ext <<_ACEOF 2677 #line $LINENO "configure"2678 3380 /* confdefs.h. */ 2679 3381 _ACEOF … … 2686 3388 _ACEOF 2687 3389 rm -f conftest$ac_exeext 2688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2689 (eval $ac_link) 2>&5 3390 if { (ac_try="$ac_link" 3391 case "(($ac_try" in 3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3393 *) ac_try_echo=$ac_try;; 3394 esac 3395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3396 $as_echo "$ac_try_echo") >&5 3397 (eval "$ac_link") 2>&5 2690 3398 ac_status=$? 2691 echo "$as_me:$LINENO: \$? = $ac_status" >&53399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 3400 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2694 (eval $ac_try) 2>&5 3401 { (case "(($ac_try" in 3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3403 *) ac_try_echo=$ac_try;; 3404 esac 3405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3406 $as_echo "$ac_try_echo") >&5 3407 (eval "$ac_try") 2>&5 2695 3408 ac_status=$? 2696 echo "$as_me:$LINENO: \$? = $ac_status" >&53409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2697 3410 (exit $ac_status); }; }; then 2698 3411 ac_cv_have_native=yes 2699 3412 else 2700 echo "$as_me: program exited with status $ac_status" >&52701 echo "$as_me: failed program was:" >&53413 $as_echo "$as_me: program exited with status $ac_status" >&5 3414 $as_echo "$as_me: failed program was:" >&5 2702 3415 sed 's/^/| /' conftest.$ac_ext >&5 2703 3416 … … 2705 3418 ac_cv_have_native=no 2706 3419 fi 2707 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2708 fi 3420 rm -rf conftest.dSYM 3421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3422 fi 3423 3424 2709 3425 fi 2710 3426 2711 3427 if test $ac_cv_have_native = yes ; then 2712 echo "$as_me:$LINENO: result: working" >&52713 echo "${ECHO_T}working" >&6 3428 { $as_echo "$as_me:$LINENO: result: working" >&5 3429 $as_echo "working" >&6; } 2714 3430 OPTIMIZE_CFLAGS="-xO3 -native$ALIGN" 2715 3431 else 2716 echo "$as_me:$LINENO: result: broken" >&52717 echo "${ECHO_T}broken" >&6 2718 echo "$as_me:$LINENO: checking for fallback optimization flags" >&52719 echo $ECHO_N "checking for fallback optimization flags... $ECHO_C" >&6 3432 { $as_echo "$as_me:$LINENO: result: broken" >&5 3433 $as_echo "broken" >&6; } 3434 { $as_echo "$as_me:$LINENO: checking for fallback optimization flags" >&5 3435 $as_echo_n "checking for fallback optimization flags... " >&6; } 2720 3436 CFLAGS="-xO3 -fns -fsimple=2$ALIGN -ftrap=%none -xlibmil" 2721 3437 if test "${ac_cv_have_fallback+set}" = set; then 2722 echo $ECHO_N "(cached) $ECHO_C" >&63438 $as_echo_n "(cached) " >&6 2723 3439 else 2724 3440 if test "$cross_compiling" = yes; then … … 2726 3442 else 2727 3443 cat >conftest.$ac_ext <<_ACEOF 2728 #line $LINENO "configure"2729 3444 /* confdefs.h. */ 2730 3445 _ACEOF … … 2737 3452 _ACEOF 2738 3453 rm -f conftest$ac_exeext 2739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2740 (eval $ac_link) 2>&5 3454 if { (ac_try="$ac_link" 3455 case "(($ac_try" in 3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3457 *) ac_try_echo=$ac_try;; 3458 esac 3459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3460 $as_echo "$ac_try_echo") >&5 3461 (eval "$ac_link") 2>&5 2741 3462 ac_status=$? 2742 echo "$as_me:$LINENO: \$? = $ac_status" >&53463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2743 3464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2745 (eval $ac_try) 2>&5 3465 { (case "(($ac_try" in 3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3467 *) ac_try_echo=$ac_try;; 3468 esac 3469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3470 $as_echo "$ac_try_echo") >&5 3471 (eval "$ac_try") 2>&5 2746 3472 ac_status=$? 2747 echo "$as_me:$LINENO: \$? = $ac_status" >&53473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2748 3474 (exit $ac_status); }; }; then 2749 3475 ac_cv_have_fallback=yes 2750 3476 else 2751 echo "$as_me: program exited with status $ac_status" >&52752 echo "$as_me: failed program was:" >&53477 $as_echo "$as_me: program exited with status $ac_status" >&5 3478 $as_echo "$as_me: failed program was:" >&5 2753 3479 sed 's/^/| /' conftest.$ac_ext >&5 2754 3480 … … 2756 3482 ac_cv_have_fallback=no 2757 3483 fi 2758 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2759 fi 3484 rm -rf conftest.dSYM 3485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3486 fi 3487 3488 2760 3489 fi 2761 3490 2762 3491 if test $ac_cv_have_fallback = yes ; then 2763 echo "$as_me:$LINENO: result: working" >&52764 echo "${ECHO_T}working" >&6 3492 { $as_echo "$as_me:$LINENO: result: working" >&5 3493 $as_echo "working" >&6; } 2765 3494 OPTIMIZE_CFLAGS="-xO3 -fns -fsimple=2$ALIGN -ftrap=%none -xlibmil" 2766 3495 else 2767 echo "$as_me:$LINENO: result: broken" >&52768 echo "${ECHO_T}broken" >&6 3496 { $as_echo "$as_me:$LINENO: result: broken" >&5 3497 $as_echo "broken" >&6; } 2769 3498 OPTIMIZE_CFLAGS="-O" 2770 3499 fi … … 2833 3562 case "$target" in 2834 3563 i686-pc-linux-gnu | i386-pc-solaris* | i386-pc-cygwin32 | i386-*-freebsd*) 2835 echo "$as_me:$LINENO: checking for -mcpu and -malign compiler options" >&52836 echo $ECHO_N "checking for -mcpu and -malign compiler options... $ECHO_C" >&6 3564 { $as_echo "$as_me:$LINENO: checking for -mcpu and -malign compiler options" >&5 3565 $as_echo_n "checking for -mcpu and -malign compiler options... " >&6; } 2837 3566 CFLAGS="-g -O6 -mcpu=pentiumpro -malign-double" 2838 3567 cat >conftest.$ac_ext <<_ACEOF 2839 #line $LINENO "configure"2840 3568 /* confdefs.h. */ 2841 3569 _ACEOF … … 2853 3581 _ACEOF 2854 3582 rm -f conftest.$ac_objext 2855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2856 (eval $ac_compile) 2>&5 3583 if { (ac_try="$ac_compile" 3584 case "(($ac_try" in 3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3586 *) ac_try_echo=$ac_try;; 3587 esac 3588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3589 $as_echo "$ac_try_echo") >&5 3590 (eval "$ac_compile") 2>conftest.er1 2857 3591 ac_status=$? 2858 echo "$as_me:$LINENO: \$? = $ac_status" >&52859 (exit $ac_status); } &&2860 { ac_try='test -s conftest.$ac_objext'2861 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52862 (e val $ac_try) 2>&52863 ac_status=$? 2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2865 (exit $ac_status); }; }; then3592 grep -v '^ *+' conftest.er1 >conftest.err 3593 rm -f conftest.er1 3594 cat conftest.err >&5 3595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3596 (exit $ac_status); } && { 3597 test -z "$ac_c_werror_flag" || 3598 test ! -s conftest.err 3599 } && test -s conftest.$ac_objext; then 2866 3600 ac_have_mcpu=yes 2867 3601 else 2868 echo "$as_me: failed program was:" >&53602 $as_echo "$as_me: failed program was:" >&5 2869 3603 sed 's/^/| /' conftest.$ac_ext >&5 2870 3604 2871 ac_have_mcpu=no 2872 fi 2873 rm -f conftest.$ac_objext conftest.$ac_ext 3605 ac_have_mcpu=no 3606 fi 3607 3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2874 3609 if test "$ac_have_mcpu" = yes; then 2875 echo "$as_me:$LINENO: result: working" >&52876 echo "${ECHO_T}working" >&6 3610 { $as_echo "$as_me:$LINENO: result: working" >&5 3611 $as_echo "working" >&6; } 2877 3612 OPTIMIZE_CFLAGS="-g -O6 -mcpu=pentiumpro -malign-double" 2878 3613 else 2879 echo "$as_me:$LINENO: result: broken" >&52880 echo "${ECHO_T}broken" >&6 3614 { $as_echo "$as_me:$LINENO: result: broken" >&5 3615 $as_echo "broken" >&6; } 2881 3616 OPTIMIZE_CFLAGS="-g -O3" 2882 3617 fi 2883 3618 ;; 2884 3619 sparc-sun-solaris*) 2885 echo "$as_me:$LINENO: checking for -mtune compiler option" >&52886 echo $ECHO_N "checking for -mtune compiler option... $ECHO_C" >&6 3620 { $as_echo "$as_me:$LINENO: checking for -mtune compiler option" >&5 3621 $as_echo_n "checking for -mtune compiler option... " >&6; } 2887 3622 CFLAGS="-g -O6 -mtune=ultrasparc" 2888 3623 cat >conftest.$ac_ext <<_ACEOF 2889 #line $LINENO "configure"2890 3624 /* confdefs.h. */ 2891 3625 _ACEOF … … 2903 3637 _ACEOF 2904 3638 rm -f conftest.$ac_objext 2905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2906 (eval $ac_compile) 2>&5 3639 if { (ac_try="$ac_compile" 3640 case "(($ac_try" in 3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3642 *) ac_try_echo=$ac_try;; 3643 esac 3644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3645 $as_echo "$ac_try_echo") >&5 3646 (eval "$ac_compile") 2>conftest.er1 2907 3647 ac_status=$? 2908 echo "$as_me:$LINENO: \$? = $ac_status" >&52909 (exit $ac_status); } &&2910 { ac_try='test -s conftest.$ac_objext'2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52912 (e val $ac_try) 2>&52913 ac_status=$? 2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2915 (exit $ac_status); }; }; then3648 grep -v '^ *+' conftest.er1 >conftest.err 3649 rm -f conftest.er1 3650 cat conftest.err >&5 3651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3652 (exit $ac_status); } && { 3653 test -z "$ac_c_werror_flag" || 3654 test ! -s conftest.err 3655 } && test -s conftest.$ac_objext; then 2916 3656 ac_have_mtune=yes 2917 3657 else 2918 echo "$as_me: failed program was:" >&53658 $as_echo "$as_me: failed program was:" >&5 2919 3659 sed 's/^/| /' conftest.$ac_ext >&5 2920 3660 2921 ac_have_mtune=no 2922 fi 2923 rm -f conftest.$ac_objext conftest.$ac_ext 3661 ac_have_mtune=no 3662 fi 3663 3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2924 3665 if test "$ac_have_mtune" = yes; then 2925 echo "$as_me:$LINENO: result: working" >&52926 echo "${ECHO_T}working" >&6 3666 { $as_echo "$as_me:$LINENO: result: working" >&5 3667 $as_echo "working" >&6; } 2927 3668 OPTIMIZE_CFLAGS="-g -O6 -mtune=ultrasparc" 2928 3669 else 2929 echo "$as_me:$LINENO: result: not working" >&52930 echo "${ECHO_T}not working" >&6 3670 { $as_echo "$as_me:$LINENO: result: not working" >&5 3671 $as_echo "not working" >&6; } 2931 3672 OPTIMIZE_CFLAGS="-g -O3" 2932 3673 fi … … 2942 3683 2943 3684 2944 # Check whether --with-comp-mode or --without-comp-modewas given.3685 # Check whether --with-comp-mode was given. 2945 3686 if test "${with_comp_mode+set}" = set; then 2946 withval="$with_comp_mode" 2947 comp_mode=$withval 3687 withval=$with_comp_mode; comp_mode=$withval 2948 3688 else 2949 3689 comp_mode=optimize 2950 fi; 3690 fi 3691 2951 3692 2952 3693 … … 2992 3733 # Extract the first word of "$ac_prog", so it can be a program name with args. 2993 3734 set dummy $ac_prog; ac_word=$2 2994 echo "$as_me:$LINENO: checking for $ac_word" >&52995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3735 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3736 $as_echo_n "checking for $ac_word... " >&6; } 2996 3737 if test "${ac_cv_prog_LEX+set}" = set; then 2997 echo $ECHO_N "(cached) $ECHO_C" >&63738 $as_echo_n "(cached) " >&6 2998 3739 else 2999 3740 if test -n "$LEX"; then … … 3006 3747 test -z "$as_dir" && as_dir=. 3007 3748 for ac_exec_ext in '' $ac_executable_extensions; do 3008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3009 3750 ac_cv_prog_LEX="$ac_prog" 3010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53751 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3011 3752 break 2 3012 3753 fi 3013 3754 done 3014 3755 done 3756 IFS=$as_save_IFS 3015 3757 3016 3758 fi … … 3018 3760 LEX=$ac_cv_prog_LEX 3019 3761 if test -n "$LEX"; then 3020 echo "$as_me:$LINENO: result: $LEX" >&5 3021 echo "${ECHO_T}$LEX" >&6 3022 else 3023 echo "$as_me:$LINENO: result: no" >&5 3024 echo "${ECHO_T}no" >&6 3025 fi 3762 { $as_echo "$as_me:$LINENO: result: $LEX" >&5 3763 $as_echo "$LEX" >&6; } 3764 else 3765 { $as_echo "$as_me:$LINENO: result: no" >&5 3766 $as_echo "no" >&6; } 3767 fi 3768 3026 3769 3027 3770 test -n "$LEX" && break … … 3029 3772 test -n "$LEX" || LEX=":" 3030 3773 3031 if test -z "$LEXLIB" 3032 then 3033 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 3034 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 3035 if test "${ac_cv_lib_fl_yywrap+set}" = set; then 3036 echo $ECHO_N "(cached) $ECHO_C" >&6 3037 else 3038 ac_check_lib_save_LIBS=$LIBS 3039 LIBS="-lfl $LIBS" 3040 cat >conftest.$ac_ext <<_ACEOF 3041 #line $LINENO "configure" 3042 /* confdefs.h. */ 3043 _ACEOF 3044 cat confdefs.h >>conftest.$ac_ext 3045 cat >>conftest.$ac_ext <<_ACEOF 3046 /* end confdefs.h. */ 3047 3048 /* Override any gcc2 internal prototype to avoid an error. */ 3049 #ifdef __cplusplus 3050 extern "C" 3774 if test "x$LEX" != "x:"; then 3775 cat >conftest.l <<_ACEOF 3776 %% 3777 a { ECHO; } 3778 b { REJECT; } 3779 c { yymore (); } 3780 d { yyless (1); } 3781 e { yyless (input () != 0); } 3782 f { unput (yytext[0]); } 3783 . { BEGIN INITIAL; } 3784 %% 3785 #ifdef YYTEXT_POINTER 3786 extern char *yytext; 3051 3787 #endif 3052 /* We use char because int might match the return type of a gcc23053 builtin and then its argument prototype would still apply. */3054 char yywrap ();3055 3788 int 3056 main ( )3789 main (void) 3057 3790 { 3058 yywrap (); 3059 ; 3060 return 0; 3791 return ! yylex () + ! yywrap (); 3061 3792 } 3062 3793 _ACEOF 3063 rm -f conftest.$ac_objext conftest$ac_exeext 3064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3065 (eval $ac_link) 2>&5 3794 { (ac_try="$LEX conftest.l" 3795 case "(($ac_try" in 3796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3797 *) ac_try_echo=$ac_try;; 3798 esac 3799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3800 $as_echo "$ac_try_echo") >&5 3801 (eval "$LEX conftest.l") 2>&5 3066 3802 ac_status=$? 3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3068 (exit $ac_status); } && 3069 { ac_try='test -s conftest$ac_exeext' 3070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3071 (eval $ac_try) 2>&5 3072 ac_status=$? 3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3074 (exit $ac_status); }; }; then 3075 ac_cv_lib_fl_yywrap=yes 3076 else 3077 echo "$as_me: failed program was:" >&5 3078 sed 's/^/| /' conftest.$ac_ext >&5 3079 3080 ac_cv_lib_fl_yywrap=no 3081 fi 3082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3083 LIBS=$ac_check_lib_save_LIBS 3084 fi 3085 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 3086 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 3087 if test $ac_cv_lib_fl_yywrap = yes; then 3088 LEXLIB="-lfl" 3089 else 3090 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 3091 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 3092 if test "${ac_cv_lib_l_yywrap+set}" = set; then 3093 echo $ECHO_N "(cached) $ECHO_C" >&6 3094 else 3095 ac_check_lib_save_LIBS=$LIBS 3096 LIBS="-ll $LIBS" 3097 cat >conftest.$ac_ext <<_ACEOF 3098 #line $LINENO "configure" 3099 /* confdefs.h. */ 3100 _ACEOF 3101 cat confdefs.h >>conftest.$ac_ext 3102 cat >>conftest.$ac_ext <<_ACEOF 3103 /* end confdefs.h. */ 3104 3105 /* Override any gcc2 internal prototype to avoid an error. */ 3106 #ifdef __cplusplus 3107 extern "C" 3108 #endif 3109 /* We use char because int might match the return type of a gcc2 3110 builtin and then its argument prototype would still apply. */ 3111 char yywrap (); 3112 int 3113 main () 3114 { 3115 yywrap (); 3116 ; 3117 return 0; 3118 } 3119 _ACEOF 3120 rm -f conftest.$ac_objext conftest$ac_exeext 3121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3122 (eval $ac_link) 2>&5 3123 ac_status=$? 3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3125 (exit $ac_status); } && 3126 { ac_try='test -s conftest$ac_exeext' 3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3128 (eval $ac_try) 2>&5 3129 ac_status=$? 3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3131 (exit $ac_status); }; }; then 3132 ac_cv_lib_l_yywrap=yes 3133 else 3134 echo "$as_me: failed program was:" >&5 3135 sed 's/^/| /' conftest.$ac_ext >&5 3136 3137 ac_cv_lib_l_yywrap=no 3138 fi 3139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3140 LIBS=$ac_check_lib_save_LIBS 3141 fi 3142 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 3143 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 3144 if test $ac_cv_lib_l_yywrap = yes; then 3145 LEXLIB="-ll" 3146 fi 3147 3148 fi 3149 3150 fi 3151 3152 if test "x$LEX" != "x:"; then 3153 echo "$as_me:$LINENO: checking lex output file root" >&5 3154 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 3803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3804 (exit $ac_status); } 3805 { $as_echo "$as_me:$LINENO: checking lex output file root" >&5 3806 $as_echo_n "checking lex output file root... " >&6; } 3155 3807 if test "${ac_cv_prog_lex_root+set}" = set; then 3156 echo $ECHO_N "(cached) $ECHO_C" >&6 3157 else 3158 # The minimal lex program is just a single line: %%. But some broken lexes 3159 # (Solaris, I think it was) want two %% lines, so accommodate them. 3160 cat >conftest.l <<_ACEOF 3161 %% 3162 %% 3163 _ACEOF 3164 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 3165 (eval $LEX conftest.l) 2>&5 3166 ac_status=$? 3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3168 (exit $ac_status); } 3808 $as_echo_n "(cached) " >&6 3809 else 3810 3169 3811 if test -f lex.yy.c; then 3170 3812 ac_cv_prog_lex_root=lex.yy … … 3172 3814 ac_cv_prog_lex_root=lexyy 3173 3815 else 3174 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&53175 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}3816 { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 3817 $as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 3176 3818 { (exit 1); exit 1; }; } 3177 3819 fi 3178 3820 fi 3179 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 3180 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 3181 rm -f conftest.l 3821 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 3822 $as_echo "$ac_cv_prog_lex_root" >&6; } 3182 3823 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 3183 3824 3184 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 3185 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 3825 if test -z "${LEXLIB+set}"; then 3826 { $as_echo "$as_me:$LINENO: checking lex library" >&5 3827 $as_echo_n "checking lex library... " >&6; } 3828 if test "${ac_cv_lib_lex+set}" = set; then 3829 $as_echo_n "(cached) " >&6 3830 else 3831 3832 ac_save_LIBS=$LIBS 3833 ac_cv_lib_lex='none needed' 3834 for ac_lib in '' -lfl -ll; do 3835 LIBS="$ac_lib $ac_save_LIBS" 3836 cat >conftest.$ac_ext <<_ACEOF 3837 `cat $LEX_OUTPUT_ROOT.c` 3838 _ACEOF 3839 rm -f conftest.$ac_objext conftest$ac_exeext 3840 if { (ac_try="$ac_link" 3841 case "(($ac_try" in 3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3843 *) ac_try_echo=$ac_try;; 3844 esac 3845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3846 $as_echo "$ac_try_echo") >&5 3847 (eval "$ac_link") 2>conftest.er1 3848 ac_status=$? 3849 grep -v '^ *+' conftest.er1 >conftest.err 3850 rm -f conftest.er1 3851 cat conftest.err >&5 3852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 (exit $ac_status); } && { 3854 test -z "$ac_c_werror_flag" || 3855 test ! -s conftest.err 3856 } && test -s conftest$ac_exeext && { 3857 test "$cross_compiling" = yes || 3858 $as_test_x conftest$ac_exeext 3859 }; then 3860 ac_cv_lib_lex=$ac_lib 3861 else 3862 $as_echo "$as_me: failed program was:" >&5 3863 sed 's/^/| /' conftest.$ac_ext >&5 3864 3865 3866 fi 3867 3868 rm -rf conftest.dSYM 3869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3870 conftest$ac_exeext conftest.$ac_ext 3871 test "$ac_cv_lib_lex" != 'none needed' && break 3872 done 3873 LIBS=$ac_save_LIBS 3874 3875 fi 3876 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 3877 $as_echo "$ac_cv_lib_lex" >&6; } 3878 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 3879 fi 3880 3881 3882 { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 3883 $as_echo_n "checking whether yytext is a pointer... " >&6; } 3186 3884 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 3187 echo $ECHO_N "(cached) $ECHO_C" >&63885 $as_echo_n "(cached) " >&6 3188 3886 else 3189 3887 # POSIX says lex can declare yytext either as a pointer or an array; the 3190 # default is implementation-dependent. Figure out which it is, since3888 # default is implementation-dependent. Figure out which it is, since 3191 3889 # not all implementations provide the %pointer and %array declarations. 3192 3890 ac_cv_prog_lex_yytext_pointer=no 3193 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c3194 3891 ac_save_LIBS=$LIBS 3195 LIBS="$L IBS $LEXLIB"3892 LIBS="$LEXLIB $ac_save_LIBS" 3196 3893 cat >conftest.$ac_ext <<_ACEOF 3894 #define YYTEXT_POINTER 1 3197 3895 `cat $LEX_OUTPUT_ROOT.c` 3198 3896 _ACEOF 3199 3897 rm -f conftest.$ac_objext conftest$ac_exeext 3200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3201 (eval $ac_link) 2>&5 3898 if { (ac_try="$ac_link" 3899 case "(($ac_try" in 3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3901 *) ac_try_echo=$ac_try;; 3902 esac 3903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3904 $as_echo "$ac_try_echo") >&5 3905 (eval "$ac_link") 2>conftest.er1 3202 3906 ac_status=$? 3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3204 (exit $ac_status); } && 3205 { ac_try='test -s conftest$ac_exeext' 3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3207 (eval $ac_try) 2>&5 3208 ac_status=$? 3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3210 (exit $ac_status); }; }; then 3907 grep -v '^ *+' conftest.er1 >conftest.err 3908 rm -f conftest.er1 3909 cat conftest.err >&5 3910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3911 (exit $ac_status); } && { 3912 test -z "$ac_c_werror_flag" || 3913 test ! -s conftest.err 3914 } && test -s conftest$ac_exeext && { 3915 test "$cross_compiling" = yes || 3916 $as_test_x conftest$ac_exeext 3917 }; then 3211 3918 ac_cv_prog_lex_yytext_pointer=yes 3212 3919 else 3213 echo "$as_me: failed program was:" >&53920 $as_echo "$as_me: failed program was:" >&5 3214 3921 sed 's/^/| /' conftest.$ac_ext >&5 3215 3922 3216 fi 3217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3923 3924 fi 3925 3926 rm -rf conftest.dSYM 3927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3928 conftest$ac_exeext conftest.$ac_ext 3218 3929 LIBS=$ac_save_LIBS 3219 rm -f "${LEX_OUTPUT_ROOT}.c" 3220 3221 fi 3222 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 3223 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 3930 3931 fi 3932 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 3933 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 3224 3934 if test $ac_cv_prog_lex_yytext_pointer = yes; then 3225 3935 … … 3229 3939 3230 3940 fi 3231 3232 fi 3233 echo "$as_me:$LINENO: checking if $LEX accepts the -o and -P options" >&5 3234 echo $ECHO_N "checking if $LEX accepts the -o and -P options... $ECHO_C" >&6 3941 rm -f conftest.l $LEX_OUTPUT_ROOT.c 3942 3943 fi 3944 { $as_echo "$as_me:$LINENO: checking if $LEX accepts the -o and -P options" >&5 3945 $as_echo_n "checking if $LEX accepts the -o and -P options... " >&6; } 3235 3946 3236 3947 if test "${ac_cv_flex_accepts_op+set}" = set; then 3237 echo $ECHO_N "(cached) $ECHO_C" >&63948 $as_echo_n "(cached) " >&6 3238 3949 else 3239 3950 ac_cv_flex_accepts_op=yes ; … … 3243 3954 3244 3955 if test $ac_cv_flex_accepts_op = yes ; then 3245 echo "$as_me:$LINENO: result: yes" >&53246 echo "${ECHO_T}yes" >&6 3247 else 3248 echo "$as_me:$LINENO: result: no" >&53249 echo "${ECHO_T}no" >&6 3250 { echo "$as_me:$LINENO: WARNING: You either need a newer version of flex, or need to modify3956 { $as_echo "$as_me:$LINENO: result: yes" >&5 3957 $as_echo "yes" >&6; } 3958 else 3959 { $as_echo "$as_me:$LINENO: result: no" >&5 3960 $as_echo "no" >&6; } 3961 { $as_echo "$as_me:$LINENO: WARNING: You either need a newer version of flex, or need to modify 3251 3962 the defintion of LEX in the Makefile to point to a version that does 3252 3963 accept -p -t and -o." >&5 3253 echo "$as_me: WARNING: You either need a newer version of flex, or need to modify3964 $as_echo "$as_me: WARNING: You either need a newer version of flex, or need to modify 3254 3965 the defintion of LEX in the Makefile to point to a version that does 3255 3966 accept -p -t and -o." >&2;} … … 3260 3971 # Extract the first word of "$ac_prog", so it can be a program name with args. 3261 3972 set dummy $ac_prog; ac_word=$2 3262 echo "$as_me:$LINENO: checking for $ac_word" >&53263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3974 $as_echo_n "checking for $ac_word... " >&6; } 3264 3975 if test "${ac_cv_prog_YACC+set}" = set; then 3265 echo $ECHO_N "(cached) $ECHO_C" >&63976 $as_echo_n "(cached) " >&6 3266 3977 else 3267 3978 if test -n "$YACC"; then … … 3274 3985 test -z "$as_dir" && as_dir=. 3275 3986 for ac_exec_ext in '' $ac_executable_extensions; do 3276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3277 3988 ac_cv_prog_YACC="$ac_prog" 3278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3279 3990 break 2 3280 3991 fi 3281 3992 done 3282 3993 done 3994 IFS=$as_save_IFS 3283 3995 3284 3996 fi … … 3286 3998 YACC=$ac_cv_prog_YACC 3287 3999 if test -n "$YACC"; then 3288 echo "$as_me:$LINENO: result: $YACC" >&5 3289 echo "${ECHO_T}$YACC" >&6 3290 else 3291 echo "$as_me:$LINENO: result: no" >&5 3292 echo "${ECHO_T}no" >&6 3293 fi 4000 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4001 $as_echo "$YACC" >&6; } 4002 else 4003 { $as_echo "$as_me:$LINENO: result: no" >&5 4004 $as_echo "no" >&6; } 4005 fi 4006 3294 4007 3295 4008 test -n "$YACC" && break … … 3297 4010 test -n "$YACC" || YACC="yacc" 3298 4011 3299 echo "$as_me:$LINENO: checking if $YACC accepts the -p, -t, and -o options" >&53300 echo $ECHO_N "checking if $YACC accepts the -p, -t, and -o options... $ECHO_C" >&6 4012 { $as_echo "$as_me:$LINENO: checking if $YACC accepts the -p, -t, and -o options" >&5 4013 $as_echo_n "checking if $YACC accepts the -p, -t, and -o options... " >&6; } 3301 4014 if test "${ac_cv_yacc_accepts_pto+set}" = set; then 3302 echo $ECHO_N "(cached) $ECHO_C" >&64015 $as_echo_n "(cached) " >&6 3303 4016 else 3304 4017 ac_cv_yacc_accepts_pto=yes ; … … 3312 4025 3313 4026 if test $ac_cv_yacc_accepts_pto = yes ; then 3314 echo "$as_me:$LINENO: result: yes" >&53315 echo "${ECHO_T}yes" >&6 3316 else 3317 echo "$as_me:$LINENO: result: no" >&53318 echo "${ECHO_T}no" >&6 3319 { echo "$as_me:$LINENO: WARNING: You either need a newer version of bison, or need to modify4027 { $as_echo "$as_me:$LINENO: result: yes" >&5 4028 $as_echo "yes" >&6; } 4029 else 4030 { $as_echo "$as_me:$LINENO: result: no" >&5 4031 $as_echo "no" >&6; } 4032 { $as_echo "$as_me:$LINENO: WARNING: You either need a newer version of bison, or need to modify 3320 4033 the defintion of YACC in the Makefile to point to a version that does 3321 4034 accept -p -t and -o." >&5 3322 echo "$as_me: WARNING: You either need a newer version of bison, or need to modify4035 $as_echo "$as_me: WARNING: You either need a newer version of bison, or need to modify 3323 4036 the defintion of YACC in the Makefile to point to a version that does 3324 4037 accept -p -t and -o." >&2;} … … 3333 4046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3334 4047 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3335 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53336 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4048 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4049 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3337 4050 # On Suns, sometimes $CPP names a directory. 3338 4051 if test -n "$CPP" && test -d "$CPP"; then … … 3341 4054 if test -z "$CPP"; then 3342 4055 if test "${ac_cv_prog_CPP+set}" = set; then 3343 echo $ECHO_N "(cached) $ECHO_C" >&64056 $as_echo_n "(cached) " >&6 3344 4057 else 3345 4058 # Double quotes because CPP needs to be expanded … … 3356 4069 # not just through cpp. "Syntax error" is here to catch this case. 3357 4070 cat >conftest.$ac_ext <<_ACEOF 3358 #line $LINENO "configure"3359 4071 /* confdefs.h. */ 3360 4072 _ACEOF … … 3367 4079 # include <assert.h> 3368 4080 #endif 3369 Syntax error 3370 _ACEOF 3371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4081 Syntax error 4082 _ACEOF 4083 if { (ac_try="$ac_cpp conftest.$ac_ext" 4084 case "(($ac_try" in 4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4086 *) ac_try_echo=$ac_try;; 4087 esac 4088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4089 $as_echo "$ac_try_echo") >&5 4090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3373 4091 ac_status=$? 3374 4092 grep -v '^ *+' conftest.er1 >conftest.err 3375 4093 rm -f conftest.er1 3376 4094 cat conftest.err >&5 3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3378 (exit $ac_status); } >/dev/null; then 3379 if test -s conftest.err; then 3380 ac_cpp_err=$ac_c_preproc_warn_flag 3381 else 3382 ac_cpp_err= 3383 fi 3384 else 3385 ac_cpp_err=yes 3386 fi 3387 if test -z "$ac_cpp_err"; then 4095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4096 (exit $ac_status); } >/dev/null && { 4097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4098 test ! -s conftest.err 4099 }; then 3388 4100 : 3389 4101 else 3390 echo "$as_me: failed program was:" >&54102 $as_echo "$as_me: failed program was:" >&5 3391 4103 sed 's/^/| /' conftest.$ac_ext >&5 3392 4104 … … 3394 4106 continue 3395 4107 fi 4108 3396 4109 rm -f conftest.err conftest.$ac_ext 3397 4110 3398 # OK, works on sane cases. Now check whether non -existent headers4111 # OK, works on sane cases. Now check whether nonexistent headers 3399 4112 # can be detected and how. 3400 4113 cat >conftest.$ac_ext <<_ACEOF 3401 #line $LINENO "configure"3402 4114 /* confdefs.h. */ 3403 4115 _ACEOF … … 3407 4119 #include <ac_nonexistent.h> 3408 4120 _ACEOF 3409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4121 if { (ac_try="$ac_cpp conftest.$ac_ext" 4122 case "(($ac_try" in 4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4124 *) ac_try_echo=$ac_try;; 4125 esac 4126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4127 $as_echo "$ac_try_echo") >&5 4128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3411 4129 ac_status=$? 3412 4130 grep -v '^ *+' conftest.er1 >conftest.err 3413 4131 rm -f conftest.er1 3414 4132 cat conftest.err >&5 3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3416 (exit $ac_status); } >/dev/null; then 3417 if test -s conftest.err; then 3418 ac_cpp_err=$ac_c_preproc_warn_flag 3419 else 3420 ac_cpp_err= 3421 fi 3422 else 3423 ac_cpp_err=yes 3424 fi 3425 if test -z "$ac_cpp_err"; then 4133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4134 (exit $ac_status); } >/dev/null && { 4135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4136 test ! -s conftest.err 4137 }; then 3426 4138 # Broken: success on invalid input. 3427 4139 continue 3428 4140 else 3429 echo "$as_me: failed program was:" >&54141 $as_echo "$as_me: failed program was:" >&5 3430 4142 sed 's/^/| /' conftest.$ac_ext >&5 3431 4143 … … 3434 4146 break 3435 4147 fi 4148 3436 4149 rm -f conftest.err conftest.$ac_ext 3437 4150 … … 3451 4164 ac_cv_prog_CPP=$CPP 3452 4165 fi 3453 echo "$as_me:$LINENO: result: $CPP" >&53454 echo "${ECHO_T}$CPP" >&6 4166 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4167 $as_echo "$CPP" >&6; } 3455 4168 ac_preproc_ok=false 3456 4169 for ac_c_preproc_warn_flag in '' yes … … 3463 4176 # not just through cpp. "Syntax error" is here to catch this case. 3464 4177 cat >conftest.$ac_ext <<_ACEOF 3465 #line $LINENO "configure"3466 4178 /* confdefs.h. */ 3467 4179 _ACEOF … … 3474 4186 # include <assert.h> 3475 4187 #endif 3476 Syntax error 3477 _ACEOF 3478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4188 Syntax error 4189 _ACEOF 4190 if { (ac_try="$ac_cpp conftest.$ac_ext" 4191 case "(($ac_try" in 4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4193 *) ac_try_echo=$ac_try;; 4194 esac 4195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4196 $as_echo "$ac_try_echo") >&5 4197 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3480 4198 ac_status=$? 3481 4199 grep -v '^ *+' conftest.er1 >conftest.err 3482 4200 rm -f conftest.er1 3483 4201 cat conftest.err >&5 3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3485 (exit $ac_status); } >/dev/null; then 3486 if test -s conftest.err; then 3487 ac_cpp_err=$ac_c_preproc_warn_flag 3488 else 3489 ac_cpp_err= 3490 fi 3491 else 3492 ac_cpp_err=yes 3493 fi 3494 if test -z "$ac_cpp_err"; then 4202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4203 (exit $ac_status); } >/dev/null && { 4204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4205 test ! -s conftest.err 4206 }; then 3495 4207 : 3496 4208 else 3497 echo "$as_me: failed program was:" >&54209 $as_echo "$as_me: failed program was:" >&5 3498 4210 sed 's/^/| /' conftest.$ac_ext >&5 3499 4211 … … 3501 4213 continue 3502 4214 fi 4215 3503 4216 rm -f conftest.err conftest.$ac_ext 3504 4217 3505 # OK, works on sane cases. Now check whether non -existent headers4218 # OK, works on sane cases. Now check whether nonexistent headers 3506 4219 # can be detected and how. 3507 4220 cat >conftest.$ac_ext <<_ACEOF 3508 #line $LINENO "configure"3509 4221 /* confdefs.h. */ 3510 4222 _ACEOF … … 3514 4226 #include <ac_nonexistent.h> 3515 4227 _ACEOF 3516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4228 if { (ac_try="$ac_cpp conftest.$ac_ext" 4229 case "(($ac_try" in 4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4231 *) ac_try_echo=$ac_try;; 4232 esac 4233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4234 $as_echo "$ac_try_echo") >&5 4235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3518 4236 ac_status=$? 3519 4237 grep -v '^ *+' conftest.er1 >conftest.err 3520 4238 rm -f conftest.er1 3521 4239 cat conftest.err >&5 3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3523 (exit $ac_status); } >/dev/null; then 3524 if test -s conftest.err; then 3525 ac_cpp_err=$ac_c_preproc_warn_flag 3526 else 3527 ac_cpp_err= 3528 fi 3529 else 3530 ac_cpp_err=yes 3531 fi 3532 if test -z "$ac_cpp_err"; then 4240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4241 (exit $ac_status); } >/dev/null && { 4242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4243 test ! -s conftest.err 4244 }; then 3533 4245 # Broken: success on invalid input. 3534 4246 continue 3535 4247 else 3536 echo "$as_me: failed program was:" >&54248 $as_echo "$as_me: failed program was:" >&5 3537 4249 sed 's/^/| /' conftest.$ac_ext >&5 3538 4250 … … 3541 4253 break 3542 4254 fi 4255 3543 4256 rm -f conftest.err conftest.$ac_ext 3544 4257 … … 3549 4262 : 3550 4263 else 3551 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4264 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4266 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3552 4267 See \`config.log' for more details." >&5 3553 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4268 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3554 4269 See \`config.log' for more details." >&2;} 3555 { (exit 1); exit 1; }; } 4270 { (exit 1); exit 1; }; }; } 3556 4271 fi 3557 4272 … … 3563 4278 3564 4279 3565 echo "$as_me:$LINENO: checking for egrep" >&5 3566 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3567 if test "${ac_cv_prog_egrep+set}" = set; then 3568 echo $ECHO_N "(cached) $ECHO_C" >&6 3569 else 3570 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3571 then ac_cv_prog_egrep='grep -E' 3572 else ac_cv_prog_egrep='egrep' 4280 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4281 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4282 if test "${ac_cv_path_GREP+set}" = set; then 4283 $as_echo_n "(cached) " >&6 4284 else 4285 if test -z "$GREP"; then 4286 ac_path_GREP_found=false 4287 # Loop through the user's path and test for each of PROGNAME-LIST 4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4289 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4290 do 4291 IFS=$as_save_IFS 4292 test -z "$as_dir" && as_dir=. 4293 for ac_prog in grep ggrep; do 4294 for ac_exec_ext in '' $ac_executable_extensions; do 4295 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4296 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4297 # Check for GNU ac_path_GREP and select it if it is found. 4298 # Check for GNU $ac_path_GREP 4299 case `"$ac_path_GREP" --version 2>&1` in 4300 *GNU*) 4301 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4302 *) 4303 ac_count=0 4304 $as_echo_n 0123456789 >"conftest.in" 4305 while : 4306 do 4307 cat "conftest.in" "conftest.in" >"conftest.tmp" 4308 mv "conftest.tmp" "conftest.in" 4309 cp "conftest.in" "conftest.nl" 4310 $as_echo 'GREP' >> "conftest.nl" 4311 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4312 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4313 ac_count=`expr $ac_count + 1` 4314 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4315 # Best one so far, save it but keep looking for a better one 4316 ac_cv_path_GREP="$ac_path_GREP" 4317 ac_path_GREP_max=$ac_count 3573 4318 fi 3574 fi 3575 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3576 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3577 EGREP=$ac_cv_prog_egrep 3578 3579 3580 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3581 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4319 # 10*(2^10) chars as input seems more than enough 4320 test $ac_count -gt 10 && break 4321 done 4322 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4323 esac 4324 4325 $ac_path_GREP_found && break 3 4326 done 4327 done 4328 done 4329 IFS=$as_save_IFS 4330 if test -z "$ac_cv_path_GREP"; then 4331 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4332 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4333 { (exit 1); exit 1; }; } 4334 fi 4335 else 4336 ac_cv_path_GREP=$GREP 4337 fi 4338 4339 fi 4340 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4341 $as_echo "$ac_cv_path_GREP" >&6; } 4342 GREP="$ac_cv_path_GREP" 4343 4344 4345 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4346 $as_echo_n "checking for egrep... " >&6; } 4347 if test "${ac_cv_path_EGREP+set}" = set; then 4348 $as_echo_n "(cached) " >&6 4349 else 4350 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4351 then ac_cv_path_EGREP="$GREP -E" 4352 else 4353 if test -z "$EGREP"; then 4354 ac_path_EGREP_found=false 4355 # Loop through the user's path and test for each of PROGNAME-LIST 4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4357 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4358 do 4359 IFS=$as_save_IFS 4360 test -z "$as_dir" && as_dir=. 4361 for ac_prog in egrep; do 4362 for ac_exec_ext in '' $ac_executable_extensions; do 4363 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4364 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4365 # Check for GNU ac_path_EGREP and select it if it is found. 4366 # Check for GNU $ac_path_EGREP 4367 case `"$ac_path_EGREP" --version 2>&1` in 4368 *GNU*) 4369 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4370 *) 4371 ac_count=0 4372 $as_echo_n 0123456789 >"conftest.in" 4373 while : 4374 do 4375 cat "conftest.in" "conftest.in" >"conftest.tmp" 4376 mv "conftest.tmp" "conftest.in" 4377 cp "conftest.in" "conftest.nl" 4378 $as_echo 'EGREP' >> "conftest.nl" 4379 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4381 ac_count=`expr $ac_count + 1` 4382 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4383 # Best one so far, save it but keep looking for a better one 4384 ac_cv_path_EGREP="$ac_path_EGREP" 4385 ac_path_EGREP_max=$ac_count 4386 fi 4387 # 10*(2^10) chars as input seems more than enough 4388 test $ac_count -gt 10 && break 4389 done 4390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4391 esac 4392 4393 $ac_path_EGREP_found && break 3 4394 done 4395 done 4396 done 4397 IFS=$as_save_IFS 4398 if test -z "$ac_cv_path_EGREP"; then 4399 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4400 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4401 { (exit 1); exit 1; }; } 4402 fi 4403 else 4404 ac_cv_path_EGREP=$EGREP 4405 fi 4406 4407 fi 4408 fi 4409 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4410 $as_echo "$ac_cv_path_EGREP" >&6; } 4411 EGREP="$ac_cv_path_EGREP" 4412 4413 4414 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4415 $as_echo_n "checking for ANSI C header files... " >&6; } 3582 4416 if test "${ac_cv_header_stdc+set}" = set; then 3583 echo $ECHO_N "(cached) $ECHO_C" >&64417 $as_echo_n "(cached) " >&6 3584 4418 else 3585 4419 cat >conftest.$ac_ext <<_ACEOF 3586 #line $LINENO "configure"3587 4420 /* confdefs.h. */ 3588 4421 _ACEOF … … 3604 4437 _ACEOF 3605 4438 rm -f conftest.$ac_objext 3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3607 (eval $ac_compile) 2>&5 4439 if { (ac_try="$ac_compile" 4440 case "(($ac_try" in 4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4442 *) ac_try_echo=$ac_try;; 4443 esac 4444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4445 $as_echo "$ac_try_echo") >&5 4446 (eval "$ac_compile") 2>conftest.er1 3608 4447 ac_status=$? 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&53610 (exit $ac_status); } &&3611 { ac_try='test -s conftest.$ac_objext'3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&53613 (e val $ac_try) 2>&53614 ac_status=$? 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3616 (exit $ac_status); }; }; then4448 grep -v '^ *+' conftest.er1 >conftest.err 4449 rm -f conftest.er1 4450 cat conftest.err >&5 4451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4452 (exit $ac_status); } && { 4453 test -z "$ac_c_werror_flag" || 4454 test ! -s conftest.err 4455 } && test -s conftest.$ac_objext; then 3617 4456 ac_cv_header_stdc=yes 3618 4457 else 3619 echo "$as_me: failed program was:" >&54458 $as_echo "$as_me: failed program was:" >&5 3620 4459 sed 's/^/| /' conftest.$ac_ext >&5 3621 4460 3622 ac_cv_header_stdc=no 3623 fi 3624 rm -f conftest.$ac_objext conftest.$ac_ext 4461 ac_cv_header_stdc=no 4462 fi 4463 4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3625 4465 3626 4466 if test $ac_cv_header_stdc = yes; then 3627 4467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3628 4468 cat >conftest.$ac_ext <<_ACEOF 3629 #line $LINENO "configure"3630 4469 /* confdefs.h. */ 3631 4470 _ACEOF … … 3649 4488 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3650 4489 cat >conftest.$ac_ext <<_ACEOF 3651 #line $LINENO "configure"3652 4490 /* confdefs.h. */ 3653 4491 _ACEOF … … 3674 4512 else 3675 4513 cat >conftest.$ac_ext <<_ACEOF 3676 #line $LINENO "configure"3677 4514 /* confdefs.h. */ 3678 4515 _ACEOF … … 3681 4518 /* end confdefs.h. */ 3682 4519 #include <ctype.h> 4520 #include <stdlib.h> 3683 4521 #if ((' ' & 0x0FF) == 0x020) 3684 4522 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3686 4524 #else 3687 4525 # define ISLOWER(c) \ 3688 3689 3690 4526 (('a' <= (c) && (c) <= 'i') \ 4527 || ('j' <= (c) && (c) <= 'r') \ 4528 || ('s' <= (c) && (c) <= 'z')) 3691 4529 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3692 4530 #endif … … 3699 4537 for (i = 0; i < 256; i++) 3700 4538 if (XOR (islower (i), ISLOWER (i)) 3701 3702 exit(2);3703 exit (0);4539 || toupper (i) != TOUPPER (i)) 4540 return 2; 4541 return 0; 3704 4542 } 3705 4543 _ACEOF 3706 4544 rm -f conftest$ac_exeext 3707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3708 (eval $ac_link) 2>&5 4545 if { (ac_try="$ac_link" 4546 case "(($ac_try" in 4547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4548 *) ac_try_echo=$ac_try;; 4549 esac 4550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4551 $as_echo "$ac_try_echo") >&5 4552 (eval "$ac_link") 2>&5 3709 4553 ac_status=$? 3710 echo "$as_me:$LINENO: \$? = $ac_status" >&54554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 4555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3713 (eval $ac_try) 2>&5 4556 { (case "(($ac_try" in 4557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4558 *) ac_try_echo=$ac_try;; 4559 esac 4560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4561 $as_echo "$ac_try_echo") >&5 4562 (eval "$ac_try") 2>&5 3714 4563 ac_status=$? 3715 echo "$as_me:$LINENO: \$? = $ac_status" >&54564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3716 4565 (exit $ac_status); }; }; then 3717 4566 : 3718 4567 else 3719 echo "$as_me: program exited with status $ac_status" >&53720 echo "$as_me: failed program was:" >&54568 $as_echo "$as_me: program exited with status $ac_status" >&5 4569 $as_echo "$as_me: failed program was:" >&5 3721 4570 sed 's/^/| /' conftest.$ac_ext >&5 3722 4571 … … 3724 4573 ac_cv_header_stdc=no 3725 4574 fi 3726 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3727 fi 3728 fi 3729 fi 3730 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3731 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4575 rm -rf conftest.dSYM 4576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4577 fi 4578 4579 4580 fi 4581 fi 4582 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4583 $as_echo "$ac_cv_header_stdc" >&6; } 3732 4584 if test $ac_cv_header_stdc = yes; then 3733 4585 … … 3747 4599 ac_save_ldflags="$LDFLAGS" 3748 4600 LDFLAGS=-L/usr/ucblib 3749 echo "$as_me:$LINENO: checking for main in -lucb" >&53750 echo $ECHO_N "checking for main in -lucb... $ECHO_C" >&6 4601 { $as_echo "$as_me:$LINENO: checking for main in -lucb" >&5 4602 $as_echo_n "checking for main in -lucb... " >&6; } 3751 4603 if test "${ac_cv_lib_ucb_main+set}" = set; then 3752 echo $ECHO_N "(cached) $ECHO_C" >&64604 $as_echo_n "(cached) " >&6 3753 4605 else 3754 4606 ac_check_lib_save_LIBS=$LIBS 3755 4607 LIBS="-lucb $LIBS" 3756 4608 cat >conftest.$ac_ext <<_ACEOF 3757 #line $LINENO "configure"3758 4609 /* confdefs.h. */ 3759 4610 _ACEOF … … 3766 4617 main () 3767 4618 { 3768 main ();4619 return main (); 3769 4620 ; 3770 4621 return 0; … … 3772 4623 _ACEOF 3773 4624 rm -f conftest.$ac_objext conftest$ac_exeext 3774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3775 (eval $ac_link) 2>&5 4625 if { (ac_try="$ac_link" 4626 case "(($ac_try" in 4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4628 *) ac_try_echo=$ac_try;; 4629 esac 4630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4631 $as_echo "$ac_try_echo") >&5 4632 (eval "$ac_link") 2>conftest.er1 3776 4633 ac_status=$? 3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 (exit $ac_status); } && 3779 { ac_try='test -s conftest$ac_exeext' 3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3781 (eval $ac_try) 2>&5 3782 ac_status=$? 3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3784 (exit $ac_status); }; }; then 4634 grep -v '^ *+' conftest.er1 >conftest.err 4635 rm -f conftest.er1 4636 cat conftest.err >&5 4637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4638 (exit $ac_status); } && { 4639 test -z "$ac_c_werror_flag" || 4640 test ! -s conftest.err 4641 } && test -s conftest$ac_exeext && { 4642 test "$cross_compiling" = yes || 4643 $as_test_x conftest$ac_exeext 4644 }; then 3785 4645 ac_cv_lib_ucb_main=yes 3786 4646 else 3787 echo "$as_me: failed program was:" >&54647 $as_echo "$as_me: failed program was:" >&5 3788 4648 sed 's/^/| /' conftest.$ac_ext >&5 3789 4649 3790 ac_cv_lib_ucb_main=no 3791 fi 3792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4650 ac_cv_lib_ucb_main=no 4651 fi 4652 4653 rm -rf conftest.dSYM 4654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4655 conftest$ac_exeext conftest.$ac_ext 3793 4656 LIBS=$ac_check_lib_save_LIBS 3794 4657 fi 3795 echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_main" >&53796 echo "${ECHO_T}$ac_cv_lib_ucb_main" >&6 3797 if test $ac_cv_lib_ucb_main =yes; then4658 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_main" >&5 4659 $as_echo "$ac_cv_lib_ucb_main" >&6; } 4660 if test "x$ac_cv_lib_ucb_main" = x""yes; then 3798 4661 LIBDIRS="$LIBDIRS -L/usr/ucblib" 3799 4662 fi … … 3804 4667 # (e.g., Linux needs this for bsd_ioctl) 3805 4668 3806 echo "$as_me:$LINENO: checking for main in -lbsd" >&53807 echo $ECHO_N "checking for main in -lbsd... $ECHO_C" >&6 4669 { $as_echo "$as_me:$LINENO: checking for main in -lbsd" >&5 4670 $as_echo_n "checking for main in -lbsd... " >&6; } 3808 4671 if test "${ac_cv_lib_bsd_main+set}" = set; then 3809 echo $ECHO_N "(cached) $ECHO_C" >&64672 $as_echo_n "(cached) " >&6 3810 4673 else 3811 4674 ac_check_lib_save_LIBS=$LIBS 3812 4675 LIBS="-lbsd $LIBS" 3813 4676 cat >conftest.$ac_ext <<_ACEOF 3814 #line $LINENO "configure"3815 4677 /* confdefs.h. */ 3816 4678 _ACEOF … … 3823 4685 main () 3824 4686 { 3825 main ();4687 return main (); 3826 4688 ; 3827 4689 return 0; … … 3829 4691 _ACEOF 3830 4692 rm -f conftest.$ac_objext conftest$ac_exeext 3831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3832 (eval $ac_link) 2>&5 4693 if { (ac_try="$ac_link" 4694 case "(($ac_try" in 4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4696 *) ac_try_echo=$ac_try;; 4697 esac 4698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4699 $as_echo "$ac_try_echo") >&5 4700 (eval "$ac_link") 2>conftest.er1 3833 4701 ac_status=$? 3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3835 (exit $ac_status); } && 3836 { ac_try='test -s conftest$ac_exeext' 3837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3838 (eval $ac_try) 2>&5 3839 ac_status=$? 3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3841 (exit $ac_status); }; }; then 4702 grep -v '^ *+' conftest.er1 >conftest.err 4703 rm -f conftest.er1 4704 cat conftest.err >&5 4705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); } && { 4707 test -z "$ac_c_werror_flag" || 4708 test ! -s conftest.err 4709 } && test -s conftest$ac_exeext && { 4710 test "$cross_compiling" = yes || 4711 $as_test_x conftest$ac_exeext 4712 }; then 3842 4713 ac_cv_lib_bsd_main=yes 3843 4714 else 3844 echo "$as_me: failed program was:" >&54715 $as_echo "$as_me: failed program was:" >&5 3845 4716 sed 's/^/| /' conftest.$ac_ext >&5 3846 4717 3847 ac_cv_lib_bsd_main=no 3848 fi 3849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4718 ac_cv_lib_bsd_main=no 4719 fi 4720 4721 rm -rf conftest.dSYM 4722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4723 conftest$ac_exeext conftest.$ac_ext 3850 4724 LIBS=$ac_check_lib_save_LIBS 3851 4725 fi 3852 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_main" >&53853 echo "${ECHO_T}$ac_cv_lib_bsd_main" >&6 3854 if test $ac_cv_lib_bsd_main =yes; then4726 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_main" >&5 4727 $as_echo "$ac_cv_lib_bsd_main" >&6; } 4728 if test "x$ac_cv_lib_bsd_main" = x""yes; then 3855 4729 cat >>confdefs.h <<_ACEOF 3856 4730 #define HAVE_LIBBSD 1 … … 3866 4740 # suitable replacement. (We only look for libncurses.) 3867 4741 if test "${vis_cv_termcap_lib+set}" = set; then 3868 echo $ECHO_N "(cached) $ECHO_C" >&63869 else 3870 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&53871 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6 4742 $as_echo_n "(cached) " >&6 4743 else 4744 { $as_echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5 4745 $as_echo_n "checking for tgetent in -ltermcap... " >&6; } 3872 4746 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then 3873 echo $ECHO_N "(cached) $ECHO_C" >&64747 $as_echo_n "(cached) " >&6 3874 4748 else 3875 4749 ac_check_lib_save_LIBS=$LIBS 3876 4750 LIBS="-ltermcap $LIBS" 3877 4751 cat >conftest.$ac_ext <<_ACEOF 3878 #line $LINENO "configure"3879 4752 /* confdefs.h. */ 3880 4753 _ACEOF … … 3883 4756 /* end confdefs.h. */ 3884 4757 3885 /* Override any gcc2 internal prototype to avoid an error. */ 4758 /* Override any GCC internal prototype to avoid an error. 4759 Use char because int might match the return type of a GCC 4760 builtin and then its argument prototype would still apply. */ 3886 4761 #ifdef __cplusplus 3887 4762 extern "C" 3888 4763 #endif 3889 /* We use char because int might match the return type of a gcc23890 builtin and then its argument prototype would still apply. */3891 4764 char tgetent (); 3892 4765 int 3893 4766 main () 3894 4767 { 3895 tgetent ();4768 return tgetent (); 3896 4769 ; 3897 4770 return 0; … … 3899 4772 _ACEOF 3900 4773 rm -f conftest.$ac_objext conftest$ac_exeext 3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3902 (eval $ac_link) 2>&5 4774 if { (ac_try="$ac_link" 4775 case "(($ac_try" in 4776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4777 *) ac_try_echo=$ac_try;; 4778 esac 4779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4780 $as_echo "$ac_try_echo") >&5 4781 (eval "$ac_link") 2>conftest.er1 3903 4782 ac_status=$? 3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3905 (exit $ac_status); } && 3906 { ac_try='test -s conftest$ac_exeext' 3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3908 (eval $ac_try) 2>&5 3909 ac_status=$? 3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3911 (exit $ac_status); }; }; then 4783 grep -v '^ *+' conftest.er1 >conftest.err 4784 rm -f conftest.er1 4785 cat conftest.err >&5 4786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4787 (exit $ac_status); } && { 4788 test -z "$ac_c_werror_flag" || 4789 test ! -s conftest.err 4790 } && test -s conftest$ac_exeext && { 4791 test "$cross_compiling" = yes || 4792 $as_test_x conftest$ac_exeext 4793 }; then 3912 4794 ac_cv_lib_termcap_tgetent=yes 3913 4795 else 3914 echo "$as_me: failed program was:" >&54796 $as_echo "$as_me: failed program was:" >&5 3915 4797 sed 's/^/| /' conftest.$ac_ext >&5 3916 4798 3917 ac_cv_lib_termcap_tgetent=no 3918 fi 3919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4799 ac_cv_lib_termcap_tgetent=no 4800 fi 4801 4802 rm -rf conftest.dSYM 4803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4804 conftest$ac_exeext conftest.$ac_ext 3920 4805 LIBS=$ac_check_lib_save_LIBS 3921 4806 fi 3922 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&53923 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6 3924 if test $ac_cv_lib_termcap_tgetent =yes; then4807 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5 4808 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; } 4809 if test "x$ac_cv_lib_termcap_tgetent" = x""yes; then 3925 4810 vis_cv_termcap_lib=-ltermcap 3926 4811 else 3927 echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&53928 echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6 4812 { $as_echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5 4813 $as_echo_n "checking for tgetent in -lncurses... " >&6; } 3929 4814 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then 3930 echo $ECHO_N "(cached) $ECHO_C" >&64815 $as_echo_n "(cached) " >&6 3931 4816 else 3932 4817 ac_check_lib_save_LIBS=$LIBS 3933 4818 LIBS="-lncurses $LIBS" 3934 4819 cat >conftest.$ac_ext <<_ACEOF 3935 #line $LINENO "configure"3936 4820 /* confdefs.h. */ 3937 4821 _ACEOF … … 3940 4824 /* end confdefs.h. */ 3941 4825 3942 /* Override any gcc2 internal prototype to avoid an error. */ 4826 /* Override any GCC internal prototype to avoid an error. 4827 Use char because int might match the return type of a GCC 4828 builtin and then its argument prototype would still apply. */ 3943 4829 #ifdef __cplusplus 3944 4830 extern "C" 3945 4831 #endif 3946 /* We use char because int might match the return type of a gcc23947 builtin and then its argument prototype would still apply. */3948 4832 char tgetent (); 3949 4833 int 3950 4834 main () 3951 4835 { 3952 tgetent ();4836 return tgetent (); 3953 4837 ; 3954 4838 return 0; … … 3956 4840 _ACEOF 3957 4841 rm -f conftest.$ac_objext conftest$ac_exeext 3958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3959 (eval $ac_link) 2>&5 4842 if { (ac_try="$ac_link" 4843 case "(($ac_try" in 4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4845 *) ac_try_echo=$ac_try;; 4846 esac 4847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4848 $as_echo "$ac_try_echo") >&5 4849 (eval "$ac_link") 2>conftest.er1 3960 4850 ac_status=$? 3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3962 (exit $ac_status); } && 3963 { ac_try='test -s conftest$ac_exeext' 3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3965 (eval $ac_try) 2>&5 3966 ac_status=$? 3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3968 (exit $ac_status); }; }; then 4851 grep -v '^ *+' conftest.er1 >conftest.err 4852 rm -f conftest.er1 4853 cat conftest.err >&5 4854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4855 (exit $ac_status); } && { 4856 test -z "$ac_c_werror_flag" || 4857 test ! -s conftest.err 4858 } && test -s conftest$ac_exeext && { 4859 test "$cross_compiling" = yes || 4860 $as_test_x conftest$ac_exeext 4861 }; then 3969 4862 ac_cv_lib_ncurses_tgetent=yes 3970 4863 else 3971 echo "$as_me: failed program was:" >&54864 $as_echo "$as_me: failed program was:" >&5 3972 4865 sed 's/^/| /' conftest.$ac_ext >&5 3973 4866 3974 ac_cv_lib_ncurses_tgetent=no 3975 fi 3976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4867 ac_cv_lib_ncurses_tgetent=no 4868 fi 4869 4870 rm -rf conftest.dSYM 4871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4872 conftest$ac_exeext conftest.$ac_ext 3977 4873 LIBS=$ac_check_lib_save_LIBS 3978 4874 fi 3979 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&53980 echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6 3981 if test $ac_cv_lib_ncurses_tgetent =yes; then4875 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5 4876 $as_echo "$ac_cv_lib_ncurses_tgetent" >&6; } 4877 if test "x$ac_cv_lib_ncurses_tgetent" = x""yes; then 3982 4878 vis_cv_termcap_lib=-lncurses 3983 4879 else … … 3990 4886 3991 4887 if test "$vis_cv_termcap_lib" != none; then 3992 echo "$as_me:$LINENO: checking for readline in -lreadline" >&53993 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6 4888 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 4889 $as_echo_n "checking for readline in -lreadline... " >&6; } 3994 4890 if test "${ac_cv_lib_readline_readline+set}" = set; then 3995 echo $ECHO_N "(cached) $ECHO_C" >&64891 $as_echo_n "(cached) " >&6 3996 4892 else 3997 4893 ac_check_lib_save_LIBS=$LIBS 3998 4894 LIBS="-lreadline $vis_cv_termcap_lib $LIBS" 3999 4895 cat >conftest.$ac_ext <<_ACEOF 4000 #line $LINENO "configure"4001 4896 /* confdefs.h. */ 4002 4897 _ACEOF … … 4005 4900 /* end confdefs.h. */ 4006 4901 4007 /* Override any gcc2 internal prototype to avoid an error. */ 4902 /* Override any GCC internal prototype to avoid an error. 4903 Use char because int might match the return type of a GCC 4904 builtin and then its argument prototype would still apply. */ 4008 4905 #ifdef __cplusplus 4009 4906 extern "C" 4010 4907 #endif 4011 /* We use char because int might match the return type of a gcc24012 builtin and then its argument prototype would still apply. */4013 4908 char readline (); 4014 4909 int 4015 4910 main () 4016 4911 { 4017 re adline ();4912 return readline (); 4018 4913 ; 4019 4914 return 0; … … 4021 4916 _ACEOF 4022 4917 rm -f conftest.$ac_objext conftest$ac_exeext 4023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4024 (eval $ac_link) 2>&5 4918 if { (ac_try="$ac_link" 4919 case "(($ac_try" in 4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4921 *) ac_try_echo=$ac_try;; 4922 esac 4923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4924 $as_echo "$ac_try_echo") >&5 4925 (eval "$ac_link") 2>conftest.er1 4025 4926 ac_status=$? 4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4027 (exit $ac_status); } && 4028 { ac_try='test -s conftest$ac_exeext' 4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4030 (eval $ac_try) 2>&5 4031 ac_status=$? 4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4033 (exit $ac_status); }; }; then 4927 grep -v '^ *+' conftest.er1 >conftest.err 4928 rm -f conftest.er1 4929 cat conftest.err >&5 4930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4931 (exit $ac_status); } && { 4932 test -z "$ac_c_werror_flag" || 4933 test ! -s conftest.err 4934 } && test -s conftest$ac_exeext && { 4935 test "$cross_compiling" = yes || 4936 $as_test_x conftest$ac_exeext 4937 }; then 4034 4938 ac_cv_lib_readline_readline=yes 4035 4939 else 4036 echo "$as_me: failed program was:" >&54940 $as_echo "$as_me: failed program was:" >&5 4037 4941 sed 's/^/| /' conftest.$ac_ext >&5 4038 4942 4039 ac_cv_lib_readline_readline=no 4040 fi 4041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4943 ac_cv_lib_readline_readline=no 4944 fi 4945 4946 rm -rf conftest.dSYM 4947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4948 conftest$ac_exeext conftest.$ac_ext 4042 4949 LIBS=$ac_check_lib_save_LIBS 4043 4950 fi 4044 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&54045 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6 4046 if test $ac_cv_lib_readline_readline =yes; then4951 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5 4952 $as_echo "$ac_cv_lib_readline_readline" >&6; } 4953 if test "x$ac_cv_lib_readline_readline" = x""yes; then 4047 4954 ac_readline_flag=1 4048 4955 else … … 4066 4973 ac_header_dirent=no 4067 4974 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4068 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`4069 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54070 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4071 if eval "test \"\${$as_ac_Header+set}\" = set"; then4072 echo $ECHO_N "(cached) $ECHO_C" >&64975 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4976 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 4977 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 4978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4979 $as_echo_n "(cached) " >&6 4073 4980 else 4074 4981 cat >conftest.$ac_ext <<_ACEOF 4075 #line $LINENO "configure"4076 4982 /* confdefs.h. */ 4077 4983 _ACEOF … … 4092 4998 _ACEOF 4093 4999 rm -f conftest.$ac_objext 4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4095 (eval $ac_compile) 2>&5 5000 if { (ac_try="$ac_compile" 5001 case "(($ac_try" in 5002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5003 *) ac_try_echo=$ac_try;; 5004 esac 5005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5006 $as_echo "$ac_try_echo") >&5 5007 (eval "$ac_compile") 2>conftest.er1 4096 5008 ac_status=$? 4097 echo "$as_me:$LINENO: \$? = $ac_status" >&54098 (exit $ac_status); } &&4099 { ac_try='test -s conftest.$ac_objext'4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54101 (e val $ac_try) 2>&54102 ac_status=$? 4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4104 (exit $ac_status); }; }; then5009 grep -v '^ *+' conftest.er1 >conftest.err 5010 rm -f conftest.er1 5011 cat conftest.err >&5 5012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5013 (exit $ac_status); } && { 5014 test -z "$ac_c_werror_flag" || 5015 test ! -s conftest.err 5016 } && test -s conftest.$ac_objext; then 4105 5017 eval "$as_ac_Header=yes" 4106 5018 else 4107 echo "$as_me: failed program was:" >&55019 $as_echo "$as_me: failed program was:" >&5 4108 5020 sed 's/^/| /' conftest.$ac_ext >&5 4109 5021 4110 eval "$as_ac_Header=no" 4111 fi 4112 rm -f conftest.$ac_objext conftest.$ac_ext 4113 fi 4114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4116 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5022 eval "$as_ac_Header=no" 5023 fi 5024 5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5026 fi 5027 ac_res=`eval 'as_val=${'$as_ac_Header'} 5028 $as_echo "$as_val"'` 5029 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5030 $as_echo "$ac_res" >&6; } 5031 as_val=`eval 'as_val=${'$as_ac_Header'} 5032 $as_echo "$as_val"'` 5033 if test "x$as_val" = x""yes; then 4117 5034 cat >>confdefs.h <<_ACEOF 4118 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 15035 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4119 5036 _ACEOF 4120 5037 … … 4125 5042 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4126 5043 if test $ac_header_dirent = dirent.h; then 4127 echo "$as_me:$LINENO: checking for library containing opendir" >&54128 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5044 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5045 $as_echo_n "checking for library containing opendir... " >&6; } 4129 5046 if test "${ac_cv_search_opendir+set}" = set; then 4130 echo $ECHO_N "(cached) $ECHO_C" >&65047 $as_echo_n "(cached) " >&6 4131 5048 else 4132 5049 ac_func_search_save_LIBS=$LIBS 4133 ac_cv_search_opendir=no4134 5050 cat >conftest.$ac_ext <<_ACEOF 4135 #line $LINENO "configure"4136 5051 /* confdefs.h. */ 4137 5052 _ACEOF … … 4140 5055 /* end confdefs.h. */ 4141 5056 4142 /* Override any gcc2 internal prototype to avoid an error. */ 5057 /* Override any GCC internal prototype to avoid an error. 5058 Use char because int might match the return type of a GCC 5059 builtin and then its argument prototype would still apply. */ 4143 5060 #ifdef __cplusplus 4144 5061 extern "C" 4145 5062 #endif 4146 /* We use char because int might match the return type of a gcc24147 builtin and then its argument prototype would still apply. */4148 5063 char opendir (); 4149 5064 int 4150 5065 main () 4151 5066 { 4152 opendir ();5067 return opendir (); 4153 5068 ; 4154 5069 return 0; 4155 5070 } 4156 5071 _ACEOF 4157 rm -f conftest.$ac_objext conftest$ac_exeext 4158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4159 (eval $ac_link) 2>&5 5072 for ac_lib in '' dir; do 5073 if test -z "$ac_lib"; then 5074 ac_res="none required" 5075 else 5076 ac_res=-l$ac_lib 5077 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5078 fi 5079 rm -f conftest.$ac_objext conftest$ac_exeext 5080 if { (ac_try="$ac_link" 5081 case "(($ac_try" in 5082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5083 *) ac_try_echo=$ac_try;; 5084 esac 5085 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5086 $as_echo "$ac_try_echo") >&5 5087 (eval "$ac_link") 2>conftest.er1 4160 5088 ac_status=$? 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); } && 4163 { ac_try='test -s conftest$ac_exeext' 4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4165 (eval $ac_try) 2>&5 4166 ac_status=$? 4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 (exit $ac_status); }; }; then 4169 ac_cv_search_opendir="none required" 4170 else 4171 echo "$as_me: failed program was:" >&5 5089 grep -v '^ *+' conftest.er1 >conftest.err 5090 rm -f conftest.er1 5091 cat conftest.err >&5 5092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5093 (exit $ac_status); } && { 5094 test -z "$ac_c_werror_flag" || 5095 test ! -s conftest.err 5096 } && test -s conftest$ac_exeext && { 5097 test "$cross_compiling" = yes || 5098 $as_test_x conftest$ac_exeext 5099 }; then 5100 ac_cv_search_opendir=$ac_res 5101 else 5102 $as_echo "$as_me: failed program was:" >&5 4172 5103 sed 's/^/| /' conftest.$ac_ext >&5 4173 5104 4174 fi 4175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4176 if test "$ac_cv_search_opendir" = no; then 4177 for ac_lib in dir; do 4178 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4179 cat >conftest.$ac_ext <<_ACEOF 4180 #line $LINENO "configure" 5105 5106 fi 5107 5108 rm -rf conftest.dSYM 5109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5110 conftest$ac_exeext 5111 if test "${ac_cv_search_opendir+set}" = set; then 5112 break 5113 fi 5114 done 5115 if test "${ac_cv_search_opendir+set}" = set; then 5116 : 5117 else 5118 ac_cv_search_opendir=no 5119 fi 5120 rm conftest.$ac_ext 5121 LIBS=$ac_func_search_save_LIBS 5122 fi 5123 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5124 $as_echo "$ac_cv_search_opendir" >&6; } 5125 ac_res=$ac_cv_search_opendir 5126 if test "$ac_res" != no; then 5127 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5128 5129 fi 5130 5131 else 5132 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5133 $as_echo_n "checking for library containing opendir... " >&6; } 5134 if test "${ac_cv_search_opendir+set}" = set; then 5135 $as_echo_n "(cached) " >&6 5136 else 5137 ac_func_search_save_LIBS=$LIBS 5138 cat >conftest.$ac_ext <<_ACEOF 4181 5139 /* confdefs.h. */ 4182 5140 _ACEOF … … 4185 5143 /* end confdefs.h. */ 4186 5144 4187 /* Override any gcc2 internal prototype to avoid an error. */ 5145 /* Override any GCC internal prototype to avoid an error. 5146 Use char because int might match the return type of a GCC 5147 builtin and then its argument prototype would still apply. */ 4188 5148 #ifdef __cplusplus 4189 5149 extern "C" 4190 5150 #endif 4191 /* We use char because int might match the return type of a gcc24192 builtin and then its argument prototype would still apply. */4193 5151 char opendir (); 4194 5152 int 4195 5153 main () 4196 5154 { 4197 opendir ();5155 return opendir (); 4198 5156 ; 4199 5157 return 0; 4200 5158 } 4201 5159 _ACEOF 4202 rm -f conftest.$ac_objext conftest$ac_exeext 4203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4204 (eval $ac_link) 2>&5 5160 for ac_lib in '' x; do 5161 if test -z "$ac_lib"; then 5162 ac_res="none required" 5163 else 5164 ac_res=-l$ac_lib 5165 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5166 fi 5167 rm -f conftest.$ac_objext conftest$ac_exeext 5168 if { (ac_try="$ac_link" 5169 case "(($ac_try" in 5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5171 *) ac_try_echo=$ac_try;; 5172 esac 5173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5174 $as_echo "$ac_try_echo") >&5 5175 (eval "$ac_link") 2>conftest.er1 4205 5176 ac_status=$? 4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4207 (exit $ac_status); } && 4208 { ac_try='test -s conftest$ac_exeext' 4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4210 (eval $ac_try) 2>&5 4211 ac_status=$? 4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4213 (exit $ac_status); }; }; then 4214 ac_cv_search_opendir="-l$ac_lib" 4215 break 4216 else 4217 echo "$as_me: failed program was:" >&5 5177 grep -v '^ *+' conftest.er1 >conftest.err 5178 rm -f conftest.er1 5179 cat conftest.err >&5 5180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5181 (exit $ac_status); } && { 5182 test -z "$ac_c_werror_flag" || 5183 test ! -s conftest.err 5184 } && test -s conftest$ac_exeext && { 5185 test "$cross_compiling" = yes || 5186 $as_test_x conftest$ac_exeext 5187 }; then 5188 ac_cv_search_opendir=$ac_res 5189 else 5190 $as_echo "$as_me: failed program was:" >&5 4218 5191 sed 's/^/| /' conftest.$ac_ext >&5 4219 5192 4220 fi 4221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4222 done 4223 fi 5193 5194 fi 5195 5196 rm -rf conftest.dSYM 5197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5198 conftest$ac_exeext 5199 if test "${ac_cv_search_opendir+set}" = set; then 5200 break 5201 fi 5202 done 5203 if test "${ac_cv_search_opendir+set}" = set; then 5204 : 5205 else 5206 ac_cv_search_opendir=no 5207 fi 5208 rm conftest.$ac_ext 4224 5209 LIBS=$ac_func_search_save_LIBS 4225 5210 fi 4226 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4227 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4228 if test "$ac_cv_search_opendir" != no; then 4229 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4230 4231 fi 4232 4233 else 4234 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4235 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4236 if test "${ac_cv_search_opendir+set}" = set; then 4237 echo $ECHO_N "(cached) $ECHO_C" >&6 4238 else 4239 ac_func_search_save_LIBS=$LIBS 4240 ac_cv_search_opendir=no 4241 cat >conftest.$ac_ext <<_ACEOF 4242 #line $LINENO "configure" 4243 /* confdefs.h. */ 4244 _ACEOF 4245 cat confdefs.h >>conftest.$ac_ext 4246 cat >>conftest.$ac_ext <<_ACEOF 4247 /* end confdefs.h. */ 4248 4249 /* Override any gcc2 internal prototype to avoid an error. */ 4250 #ifdef __cplusplus 4251 extern "C" 4252 #endif 4253 /* We use char because int might match the return type of a gcc2 4254 builtin and then its argument prototype would still apply. */ 4255 char opendir (); 4256 int 4257 main () 4258 { 4259 opendir (); 4260 ; 4261 return 0; 4262 } 4263 _ACEOF 4264 rm -f conftest.$ac_objext conftest$ac_exeext 4265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4266 (eval $ac_link) 2>&5 4267 ac_status=$? 4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4269 (exit $ac_status); } && 4270 { ac_try='test -s conftest$ac_exeext' 4271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4272 (eval $ac_try) 2>&5 4273 ac_status=$? 4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4275 (exit $ac_status); }; }; then 4276 ac_cv_search_opendir="none required" 4277 else 4278 echo "$as_me: failed program was:" >&5 4279 sed 's/^/| /' conftest.$ac_ext >&5 4280 4281 fi 4282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4283 if test "$ac_cv_search_opendir" = no; then 4284 for ac_lib in x; do 4285 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4286 cat >conftest.$ac_ext <<_ACEOF 4287 #line $LINENO "configure" 4288 /* confdefs.h. */ 4289 _ACEOF 4290 cat confdefs.h >>conftest.$ac_ext 4291 cat >>conftest.$ac_ext <<_ACEOF 4292 /* end confdefs.h. */ 4293 4294 /* Override any gcc2 internal prototype to avoid an error. */ 4295 #ifdef __cplusplus 4296 extern "C" 4297 #endif 4298 /* We use char because int might match the return type of a gcc2 4299 builtin and then its argument prototype would still apply. */ 4300 char opendir (); 4301 int 4302 main () 4303 { 4304 opendir (); 4305 ; 4306 return 0; 4307 } 4308 _ACEOF 4309 rm -f conftest.$ac_objext conftest$ac_exeext 4310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4311 (eval $ac_link) 2>&5 4312 ac_status=$? 4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4314 (exit $ac_status); } && 4315 { ac_try='test -s conftest$ac_exeext' 4316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4317 (eval $ac_try) 2>&5 4318 ac_status=$? 4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4320 (exit $ac_status); }; }; then 4321 ac_cv_search_opendir="-l$ac_lib" 4322 break 4323 else 4324 echo "$as_me: failed program was:" >&5 4325 sed 's/^/| /' conftest.$ac_ext >&5 4326 4327 fi 4328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4329 done 4330 fi 4331 LIBS=$ac_func_search_save_LIBS 4332 fi 4333 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4334 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4335 if test "$ac_cv_search_opendir" != no; then 4336 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5211 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5212 $as_echo "$ac_cv_search_opendir" >&6; } 5213 ac_res=$ac_cv_search_opendir 5214 if test "$ac_res" != no; then 5215 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4337 5216 4338 5217 fi … … 4353 5232 4354 5233 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4355 5234 inttypes.h stdint.h unistd.h 4356 5235 do 4357 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4358 echo "$as_me:$LINENO: checking for $ac_header" >&54359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4360 if eval "test \"\${$as_ac_Header+set}\" = set"; then4361 echo $ECHO_N "(cached) $ECHO_C" >&65236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5237 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5238 $as_echo_n "checking for $ac_header... " >&6; } 5239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5240 $as_echo_n "(cached) " >&6 4362 5241 else 4363 5242 cat >conftest.$ac_ext <<_ACEOF 4364 #line $LINENO "configure"4365 5243 /* confdefs.h. */ 4366 5244 _ACEOF … … 4373 5251 _ACEOF 4374 5252 rm -f conftest.$ac_objext 4375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4376 (eval $ac_compile) 2>&5 5253 if { (ac_try="$ac_compile" 5254 case "(($ac_try" in 5255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5256 *) ac_try_echo=$ac_try;; 5257 esac 5258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5259 $as_echo "$ac_try_echo") >&5 5260 (eval "$ac_compile") 2>conftest.er1 4377 5261 ac_status=$? 4378 echo "$as_me:$LINENO: \$? = $ac_status" >&54379 (exit $ac_status); } &&4380 { ac_try='test -s conftest.$ac_objext'4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54382 (e val $ac_try) 2>&54383 ac_status=$? 4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4385 (exit $ac_status); }; }; then5262 grep -v '^ *+' conftest.er1 >conftest.err 5263 rm -f conftest.er1 5264 cat conftest.err >&5 5265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 (exit $ac_status); } && { 5267 test -z "$ac_c_werror_flag" || 5268 test ! -s conftest.err 5269 } && test -s conftest.$ac_objext; then 4386 5270 eval "$as_ac_Header=yes" 4387 5271 else 4388 echo "$as_me: failed program was:" >&55272 $as_echo "$as_me: failed program was:" >&5 4389 5273 sed 's/^/| /' conftest.$ac_ext >&5 4390 5274 4391 eval "$as_ac_Header=no" 4392 fi 4393 rm -f conftest.$ac_objext conftest.$ac_ext 4394 fi 4395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4397 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5275 eval "$as_ac_Header=no" 5276 fi 5277 5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5279 fi 5280 ac_res=`eval 'as_val=${'$as_ac_Header'} 5281 $as_echo "$as_val"'` 5282 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5283 $as_echo "$ac_res" >&6; } 5284 as_val=`eval 'as_val=${'$as_ac_Header'} 5285 $as_echo "$as_val"'` 5286 if test "x$as_val" = x""yes; then 4398 5287 cat >>confdefs.h <<_ACEOF 4399 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4400 5289 _ACEOF 4401 5290 … … 4414 5303 for ac_header in sys/termios.h sys/ioctl.h sys/time.h signal.h sys/signal.h readline/readline.h readline/history.h 4415 5304 do 4416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4417 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4418 echo "$as_me:$LINENO: checking for $ac_header" >&5 4419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4420 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4421 echo $ECHO_N "(cached) $ECHO_C" >&6 4422 fi 4423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5305 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5307 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5308 $as_echo_n "checking for $ac_header... " >&6; } 5309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5310 $as_echo_n "(cached) " >&6 5311 fi 5312 ac_res=`eval 'as_val=${'$as_ac_Header'} 5313 $as_echo "$as_val"'` 5314 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5315 $as_echo "$ac_res" >&6; } 4425 5316 else 4426 5317 # Is the header compilable? 4427 echo "$as_me:$LINENO: checking $ac_header usability" >&54428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5318 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5319 $as_echo_n "checking $ac_header usability... " >&6; } 4429 5320 cat >conftest.$ac_ext <<_ACEOF 4430 #line $LINENO "configure"4431 5321 /* confdefs.h. */ 4432 5322 _ACEOF … … 4438 5328 _ACEOF 4439 5329 rm -f conftest.$ac_objext 4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4441 (eval $ac_compile) 2>&5 5330 if { (ac_try="$ac_compile" 5331 case "(($ac_try" in 5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5333 *) ac_try_echo=$ac_try;; 5334 esac 5335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5336 $as_echo "$ac_try_echo") >&5 5337 (eval "$ac_compile") 2>conftest.er1 4442 5338 ac_status=$? 4443 echo "$as_me:$LINENO: \$? = $ac_status" >&54444 (exit $ac_status); } &&4445 { ac_try='test -s conftest.$ac_objext'4446 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54447 (e val $ac_try) 2>&54448 ac_status=$? 4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4450 (exit $ac_status); }; }; then5339 grep -v '^ *+' conftest.er1 >conftest.err 5340 rm -f conftest.er1 5341 cat conftest.err >&5 5342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5343 (exit $ac_status); } && { 5344 test -z "$ac_c_werror_flag" || 5345 test ! -s conftest.err 5346 } && test -s conftest.$ac_objext; then 4451 5347 ac_header_compiler=yes 4452 5348 else 4453 echo "$as_me: failed program was:" >&55349 $as_echo "$as_me: failed program was:" >&5 4454 5350 sed 's/^/| /' conftest.$ac_ext >&5 4455 5351 4456 ac_header_compiler=no 4457 fi 4458 rm -f conftest.$ac_objext conftest.$ac_ext 4459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4460 echo "${ECHO_T}$ac_header_compiler" >&6 5352 ac_header_compiler=no 5353 fi 5354 5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5356 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5357 $as_echo "$ac_header_compiler" >&6; } 4461 5358 4462 5359 # Is the header present? 4463 echo "$as_me:$LINENO: checking $ac_header presence" >&54464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5360 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5361 $as_echo_n "checking $ac_header presence... " >&6; } 4465 5362 cat >conftest.$ac_ext <<_ACEOF 4466 #line $LINENO "configure"4467 5363 /* confdefs.h. */ 4468 5364 _ACEOF … … 4472 5368 #include <$ac_header> 4473 5369 _ACEOF 4474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5370 if { (ac_try="$ac_cpp conftest.$ac_ext" 5371 case "(($ac_try" in 5372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5373 *) ac_try_echo=$ac_try;; 5374 esac 5375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5376 $as_echo "$ac_try_echo") >&5 5377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4476 5378 ac_status=$? 4477 5379 grep -v '^ *+' conftest.er1 >conftest.err 4478 5380 rm -f conftest.er1 4479 5381 cat conftest.err >&5 4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4481 (exit $ac_status); } >/dev/null; then 4482 if test -s conftest.err; then 4483 ac_cpp_err=$ac_c_preproc_warn_flag 4484 else 4485 ac_cpp_err= 4486 fi 4487 else 4488 ac_cpp_err=yes 4489 fi 4490 if test -z "$ac_cpp_err"; then 5382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5383 (exit $ac_status); } >/dev/null && { 5384 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5385 test ! -s conftest.err 5386 }; then 4491 5387 ac_header_preproc=yes 4492 5388 else 4493 echo "$as_me: failed program was:" >&55389 $as_echo "$as_me: failed program was:" >&5 4494 5390 sed 's/^/| /' conftest.$ac_ext >&5 4495 5391 4496 5392 ac_header_preproc=no 4497 5393 fi 5394 4498 5395 rm -f conftest.err conftest.$ac_ext 4499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54500 echo "${ECHO_T}$ac_header_preproc" >&6 5396 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5397 $as_echo "$ac_header_preproc" >&6; } 4501 5398 4502 5399 # So? What about this header? 4503 case $ac_header_compiler:$ac_header_preproc in 4504 yes:no ) 4505 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4509 ( 4510 cat <<\_ASBOX 4511 ## ------------------------------------ ## 4512 ## Report this to bug-autoconf@gnu.org. ## 4513 ## ------------------------------------ ## 4514 _ASBOX 4515 ) | 4516 sed "s/^/$as_me: WARNING: /" >&2 5400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5401 yes:no: ) 5402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5403 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5405 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5406 ac_header_preproc=yes 4517 5407 ;; 4518 no:yes ) 4519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4525 ( 4526 cat <<\_ASBOX 4527 ## ------------------------------------ ## 4528 ## Report this to bug-autoconf@gnu.org. ## 4529 ## ------------------------------------ ## 4530 _ASBOX 4531 ) | 4532 sed "s/^/$as_me: WARNING: /" >&2 5408 no:yes:* ) 5409 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5410 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5412 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5414 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5416 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5417 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5418 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5419 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5420 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5421 4533 5422 ;; 4534 5423 esac 4535 echo "$as_me:$LINENO: checking for $ac_header" >&5 4536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4537 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4538 echo $ECHO_N "(cached) $ECHO_C" >&6 4539 else 4540 eval "$as_ac_Header=$ac_header_preproc" 4541 fi 4542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4544 4545 fi 4546 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5424 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5425 $as_echo_n "checking for $ac_header... " >&6; } 5426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5427 $as_echo_n "(cached) " >&6 5428 else 5429 eval "$as_ac_Header=\$ac_header_preproc" 5430 fi 5431 ac_res=`eval 'as_val=${'$as_ac_Header'} 5432 $as_echo "$as_val"'` 5433 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5434 $as_echo "$ac_res" >&6; } 5435 5436 fi 5437 as_val=`eval 'as_val=${'$as_ac_Header'} 5438 $as_echo "$as_val"'` 5439 if test "x$as_val" = x""yes; then 4547 5440 cat >>confdefs.h <<_ACEOF 4548 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4549 5442 _ACEOF 4550 5443 … … 4558 5451 for ac_header in bsd/sgtty.h 4559 5452 do 4560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4561 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4562 echo "$as_me:$LINENO: checking for $ac_header" >&5 4563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4564 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4565 echo $ECHO_N "(cached) $ECHO_C" >&6 4566 fi 4567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5453 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5456 $as_echo_n "checking for $ac_header... " >&6; } 5457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5458 $as_echo_n "(cached) " >&6 5459 fi 5460 ac_res=`eval 'as_val=${'$as_ac_Header'} 5461 $as_echo "$as_val"'` 5462 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5463 $as_echo "$ac_res" >&6; } 4569 5464 else 4570 5465 # Is the header compilable? 4571 echo "$as_me:$LINENO: checking $ac_header usability" >&54572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5466 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5467 $as_echo_n "checking $ac_header usability... " >&6; } 4573 5468 cat >conftest.$ac_ext <<_ACEOF 4574 #line $LINENO "configure"4575 5469 /* confdefs.h. */ 4576 5470 _ACEOF … … 4582 5476 _ACEOF 4583 5477 rm -f conftest.$ac_objext 4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4585 (eval $ac_compile) 2>&5 5478 if { (ac_try="$ac_compile" 5479 case "(($ac_try" in 5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5481 *) ac_try_echo=$ac_try;; 5482 esac 5483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5484 $as_echo "$ac_try_echo") >&5 5485 (eval "$ac_compile") 2>conftest.er1 4586 5486 ac_status=$? 4587 echo "$as_me:$LINENO: \$? = $ac_status" >&54588 (exit $ac_status); } &&4589 { ac_try='test -s conftest.$ac_objext'4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54591 (e val $ac_try) 2>&54592 ac_status=$? 4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4594 (exit $ac_status); }; }; then5487 grep -v '^ *+' conftest.er1 >conftest.err 5488 rm -f conftest.er1 5489 cat conftest.err >&5 5490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5491 (exit $ac_status); } && { 5492 test -z "$ac_c_werror_flag" || 5493 test ! -s conftest.err 5494 } && test -s conftest.$ac_objext; then 4595 5495 ac_header_compiler=yes 4596 5496 else 4597 echo "$as_me: failed program was:" >&55497 $as_echo "$as_me: failed program was:" >&5 4598 5498 sed 's/^/| /' conftest.$ac_ext >&5 4599 5499 4600 ac_header_compiler=no 4601 fi 4602 rm -f conftest.$ac_objext conftest.$ac_ext 4603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4604 echo "${ECHO_T}$ac_header_compiler" >&6 5500 ac_header_compiler=no 5501 fi 5502 5503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5504 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5505 $as_echo "$ac_header_compiler" >&6; } 4605 5506 4606 5507 # Is the header present? 4607 echo "$as_me:$LINENO: checking $ac_header presence" >&54608 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5508 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5509 $as_echo_n "checking $ac_header presence... " >&6; } 4609 5510 cat >conftest.$ac_ext <<_ACEOF 4610 #line $LINENO "configure"4611 5511 /* confdefs.h. */ 4612 5512 _ACEOF … … 4616 5516 #include <$ac_header> 4617 5517 _ACEOF 4618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5518 if { (ac_try="$ac_cpp conftest.$ac_ext" 5519 case "(($ac_try" in 5520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5521 *) ac_try_echo=$ac_try;; 5522 esac 5523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5524 $as_echo "$ac_try_echo") >&5 5525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4620 5526 ac_status=$? 4621 5527 grep -v '^ *+' conftest.er1 >conftest.err 4622 5528 rm -f conftest.er1 4623 5529 cat conftest.err >&5 4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4625 (exit $ac_status); } >/dev/null; then 4626 if test -s conftest.err; then 4627 ac_cpp_err=$ac_c_preproc_warn_flag 4628 else 4629 ac_cpp_err= 4630 fi 4631 else 4632 ac_cpp_err=yes 4633 fi 4634 if test -z "$ac_cpp_err"; then 5530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5531 (exit $ac_status); } >/dev/null && { 5532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5533 test ! -s conftest.err 5534 }; then 4635 5535 ac_header_preproc=yes 4636 5536 else 4637 echo "$as_me: failed program was:" >&55537 $as_echo "$as_me: failed program was:" >&5 4638 5538 sed 's/^/| /' conftest.$ac_ext >&5 4639 5539 4640 5540 ac_header_preproc=no 4641 5541 fi 5542 4642 5543 rm -f conftest.err conftest.$ac_ext 4643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54644 echo "${ECHO_T}$ac_header_preproc" >&6 5544 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5545 $as_echo "$ac_header_preproc" >&6; } 4645 5546 4646 5547 # So? What about this header? 4647 case $ac_header_compiler:$ac_header_preproc in 4648 yes:no ) 4649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4653 ( 4654 cat <<\_ASBOX 4655 ## ------------------------------------ ## 4656 ## Report this to bug-autoconf@gnu.org. ## 4657 ## ------------------------------------ ## 4658 _ASBOX 4659 ) | 4660 sed "s/^/$as_me: WARNING: /" >&2 5548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5549 yes:no: ) 5550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5551 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5553 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5554 ac_header_preproc=yes 4661 5555 ;; 4662 no:yes ) 4663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4669 ( 4670 cat <<\_ASBOX 4671 ## ------------------------------------ ## 4672 ## Report this to bug-autoconf@gnu.org. ## 4673 ## ------------------------------------ ## 4674 _ASBOX 4675 ) | 4676 sed "s/^/$as_me: WARNING: /" >&2 5556 no:yes:* ) 5557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5558 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5560 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5562 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5564 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5565 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5566 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5567 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5568 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5569 4677 5570 ;; 4678 5571 esac 4679 echo "$as_me:$LINENO: checking for $ac_header" >&5 4680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4681 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4682 echo $ECHO_N "(cached) $ECHO_C" >&6 4683 else 4684 eval "$as_ac_Header=$ac_header_preproc" 4685 fi 4686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4688 4689 fi 4690 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5572 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5573 $as_echo_n "checking for $ac_header... " >&6; } 5574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5575 $as_echo_n "(cached) " >&6 5576 else 5577 eval "$as_ac_Header=\$ac_header_preproc" 5578 fi 5579 ac_res=`eval 'as_val=${'$as_ac_Header'} 5580 $as_echo "$as_val"'` 5581 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5582 $as_echo "$ac_res" >&6; } 5583 5584 fi 5585 as_val=`eval 'as_val=${'$as_ac_Header'} 5586 $as_echo "$as_val"'` 5587 if test "x$as_val" = x""yes; then 4691 5588 cat >>confdefs.h <<_ACEOF 4692 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4693 5590 _ACEOF 4694 5591 … … 4701 5598 # only have one -- check for that 4702 5599 4703 echo "$as_me:$LINENO: checking whether sys/termios.h and sys/ioctl.h should both be included" >&54704 echo $ECHO_N "checking whether sys/termios.h and sys/ioctl.h should both be included... $ECHO_C" >&6 5600 { $as_echo "$as_me:$LINENO: checking whether sys/termios.h and sys/ioctl.h should both be included" >&5 5601 $as_echo_n "checking whether sys/termios.h and sys/ioctl.h should both be included... " >&6; } 4705 5602 4706 5603 if test "${ac_cv_ioctl_with_termios+set}" = set; then 4707 echo $ECHO_N "(cached) $ECHO_C" >&65604 $as_echo_n "(cached) " >&6 4708 5605 else 4709 5606 cat >conftest.$ac_ext <<_ACEOF 4710 #line $LINENO "configure"4711 5607 /* confdefs.h. */ 4712 5608 _ACEOF … … 4719 5615 4720 5616 _ACEOF 4721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5617 if { (ac_try="$ac_cpp conftest.$ac_ext" 5618 case "(($ac_try" in 5619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5620 *) ac_try_echo=$ac_try;; 5621 esac 5622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5623 $as_echo "$ac_try_echo") >&5 5624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4723 5625 ac_status=$? 4724 5626 grep -v '^ *+' conftest.er1 >conftest.err 4725 5627 rm -f conftest.er1 4726 5628 cat conftest.err >&5 4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4728 (exit $ac_status); } >/dev/null; then 4729 if test -s conftest.err; then 4730 ac_cpp_err=$ac_c_preproc_warn_flag 4731 else 4732 ac_cpp_err= 4733 fi 4734 else 4735 ac_cpp_err=yes 4736 fi 4737 if test -z "$ac_cpp_err"; then 5629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5630 (exit $ac_status); } >/dev/null && { 5631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5632 test ! -s conftest.err 5633 }; then 4738 5634 ac_cv_ioctl_with_termios=1 4739 5635 else 4740 echo "$as_me: failed program was:" >&55636 $as_echo "$as_me: failed program was:" >&5 4741 5637 sed 's/^/| /' conftest.$ac_ext >&5 4742 5638 4743 5639 ac_cv_ioctl_with_termios=0 4744 5640 fi 5641 4745 5642 rm -f conftest.err conftest.$ac_ext 4746 5643 fi 4747 5644 4748 5645 if test $ac_cv_ioctl_with_termios = 1 ; then 4749 echo "$as_me:$LINENO: result: yes" >&54750 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF5646 { $as_echo "$as_me:$LINENO: result: yes" >&5 5647 $as_echo "yes" >&6; } ; cat >>confdefs.h <<\_ACEOF 4751 5648 #define IOCTL_WITH_TERMIOS 1 4752 5649 _ACEOF 4753 5650 4754 5651 else 4755 echo "$as_me:$LINENO: result: no" >&54756 echo "${ECHO_T}no" >&6 5652 { $as_echo "$as_me:$LINENO: result: no" >&5 5653 $as_echo "no" >&6; } 4757 5654 fi 4758 5655 … … 4761 5658 # 4762 5659 4763 echo "$as_me:$LINENO: checking for TIOCGETC" >&54764 echo $ECHO_N "checking for TIOCGETC... $ECHO_C" >&6 5660 { $as_echo "$as_me:$LINENO: checking for TIOCGETC" >&5 5661 $as_echo_n "checking for TIOCGETC... " >&6; } 4765 5662 4766 5663 if test "${ac_cv_have_ioctl_with_tiocgetc+set}" = set; then 4767 echo $ECHO_N "(cached) $ECHO_C" >&65664 $as_echo_n "(cached) " >&6 4768 5665 else 4769 5666 if test $ac_cv_ioctl_with_termios = 1 ; then 4770 5667 cat >conftest.$ac_ext <<_ACEOF 4771 #line $LINENO "configure"4772 5668 /* confdefs.h. */ 4773 5669 _ACEOF … … 4791 5687 else 4792 5688 cat >conftest.$ac_ext <<_ACEOF 4793 #line $LINENO "configure"4794 5689 /* confdefs.h. */ 4795 5690 _ACEOF … … 4814 5709 4815 5710 if test $ac_cv_have_ioctl_with_tiocgetc = "yes" ; then 4816 echo "$as_me:$LINENO: result: yes" >&54817 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF5711 { $as_echo "$as_me:$LINENO: result: yes" >&5 5712 $as_echo "yes" >&6; } ; cat >>confdefs.h <<\_ACEOF 4818 5713 #define HAVE_IOCTL_WITH_TIOCGETC 1 4819 5714 _ACEOF 4820 5715 4821 5716 else 4822 echo "$as_me:$LINENO: result: no" >&54823 echo "${ECHO_T}no" >&6 5717 { $as_echo "$as_me:$LINENO: result: no" >&5 5718 $as_echo "no" >&6; } 4824 5719 fi 4825 5720 … … 4861 5756 # Check to see if the compiler understands "const" 4862 5757 # #define it empty otherwise 4863 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54864 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5758 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5759 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4865 5760 if test "${ac_cv_c_const+set}" = set; then 4866 echo $ECHO_N "(cached) $ECHO_C" >&65761 $as_echo_n "(cached) " >&6 4867 5762 else 4868 5763 cat >conftest.$ac_ext <<_ACEOF 4869 #line $LINENO "configure"4870 5764 /* confdefs.h. */ 4871 5765 _ACEOF … … 4881 5775 /* Ultrix mips cc rejects this. */ 4882 5776 typedef int charset[2]; 4883 const charset x;5777 const charset cs; 4884 5778 /* SunOS 4.1.1 cc rejects this. */ 4885 char const *const * ccp;4886 char **p ;5779 char const *const *pcpcc; 5780 char **ppc; 4887 5781 /* NEC SVR4.0.2 mips cc rejects this. */ 4888 5782 struct point {int x, y;}; … … 4893 5787 expression */ 4894 5788 const char *g = "string"; 4895 ccp= &g + (g ? g-g : 0);5789 pcpcc = &g + (g ? g-g : 0); 4896 5790 /* HPUX 7.0 cc rejects these. */ 4897 ++ ccp;4898 p = (char**) ccp;4899 ccp = (char const *const *) p;5791 ++pcpcc; 5792 ppc = (char**) pcpcc; 5793 pcpcc = (char const *const *) ppc; 4900 5794 { /* SCO 3.2v4 cc rejects this. */ 4901 5795 char *t; … … 4903 5797 4904 5798 *t++ = 0; 5799 if (s) return 0; 4905 5800 } 4906 5801 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4921 5816 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4922 5817 const int foo = 10; 5818 if (!foo) return 0; 4923 5819 } 5820 return !cs[0] && !zero.x; 4924 5821 #endif 4925 5822 … … 4929 5826 _ACEOF 4930 5827 rm -f conftest.$ac_objext 4931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4932 (eval $ac_compile) 2>&5 5828 if { (ac_try="$ac_compile" 5829 case "(($ac_try" in 5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5831 *) ac_try_echo=$ac_try;; 5832 esac 5833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5834 $as_echo "$ac_try_echo") >&5 5835 (eval "$ac_compile") 2>conftest.er1 4933 5836 ac_status=$? 4934 echo "$as_me:$LINENO: \$? = $ac_status" >&54935 (exit $ac_status); } &&4936 { ac_try='test -s conftest.$ac_objext'4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54938 (e val $ac_try) 2>&54939 ac_status=$? 4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4941 (exit $ac_status); }; }; then5837 grep -v '^ *+' conftest.er1 >conftest.err 5838 rm -f conftest.er1 5839 cat conftest.err >&5 5840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5841 (exit $ac_status); } && { 5842 test -z "$ac_c_werror_flag" || 5843 test ! -s conftest.err 5844 } && test -s conftest.$ac_objext; then 4942 5845 ac_cv_c_const=yes 4943 5846 else 4944 echo "$as_me: failed program was:" >&55847 $as_echo "$as_me: failed program was:" >&5 4945 5848 sed 's/^/| /' conftest.$ac_ext >&5 4946 5849 4947 ac_cv_c_const=no 4948 fi 4949 rm -f conftest.$ac_objext conftest.$ac_ext 4950 fi 4951 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4952 echo "${ECHO_T}$ac_cv_c_const" >&6 5850 ac_cv_c_const=no 5851 fi 5852 5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5854 fi 5855 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5856 $as_echo "$ac_cv_c_const" >&6; } 4953 5857 if test $ac_cv_c_const = no; then 4954 5858 4955 5859 cat >>confdefs.h <<\_ACEOF 4956 #define const 5860 #define const /**/ 4957 5861 _ACEOF 4958 5862 … … 4961 5865 4962 5866 # Sort out "time.h" nonsense 4963 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54964 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 5867 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5868 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4965 5869 if test "${ac_cv_header_time+set}" = set; then 4966 echo $ECHO_N "(cached) $ECHO_C" >&65870 $as_echo_n "(cached) " >&6 4967 5871 else 4968 5872 cat >conftest.$ac_ext <<_ACEOF 4969 #line $LINENO "configure"4970 5873 /* confdefs.h. */ 4971 5874 _ACEOF … … 4987 5890 _ACEOF 4988 5891 rm -f conftest.$ac_objext 4989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4990 (eval $ac_compile) 2>&5 5892 if { (ac_try="$ac_compile" 5893 case "(($ac_try" in 5894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5895 *) ac_try_echo=$ac_try;; 5896 esac 5897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5898 $as_echo "$ac_try_echo") >&5 5899 (eval "$ac_compile") 2>conftest.er1 4991 5900 ac_status=$? 4992 echo "$as_me:$LINENO: \$? = $ac_status" >&54993 (exit $ac_status); } &&4994 { ac_try='test -s conftest.$ac_objext'4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54996 (e val $ac_try) 2>&54997 ac_status=$? 4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4999 (exit $ac_status); }; }; then5901 grep -v '^ *+' conftest.er1 >conftest.err 5902 rm -f conftest.er1 5903 cat conftest.err >&5 5904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5905 (exit $ac_status); } && { 5906 test -z "$ac_c_werror_flag" || 5907 test ! -s conftest.err 5908 } && test -s conftest.$ac_objext; then 5000 5909 ac_cv_header_time=yes 5001 5910 else 5002 echo "$as_me: failed program was:" >&55911 $as_echo "$as_me: failed program was:" >&5 5003 5912 sed 's/^/| /' conftest.$ac_ext >&5 5004 5913 5005 ac_cv_header_time=no 5006 fi 5007 rm -f conftest.$ac_objext conftest.$ac_ext 5008 fi 5009 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5010 echo "${ECHO_T}$ac_cv_header_time" >&6 5914 ac_cv_header_time=no 5915 fi 5916 5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5918 fi 5919 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5920 $as_echo "$ac_cv_header_time" >&6; } 5011 5921 if test $ac_cv_header_time = yes; then 5012 5922 … … 5018 5928 5019 5929 5020 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&55021 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5930 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5931 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5022 5932 if test "${ac_cv_struct_tm+set}" = set; then 5023 echo $ECHO_N "(cached) $ECHO_C" >&65933 $as_echo_n "(cached) " >&6 5024 5934 else 5025 5935 cat >conftest.$ac_ext <<_ACEOF 5026 #line $LINENO "configure"5027 5936 /* confdefs.h. */ 5028 5937 _ACEOF … … 5036 5945 main () 5037 5946 { 5038 struct tm *tp; tp->tm_sec; 5947 struct tm tm; 5948 int *p = &tm.tm_sec; 5949 return !p; 5039 5950 ; 5040 5951 return 0; … … 5042 5953 _ACEOF 5043 5954 rm -f conftest.$ac_objext 5044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5045 (eval $ac_compile) 2>&5 5955 if { (ac_try="$ac_compile" 5956 case "(($ac_try" in 5957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5958 *) ac_try_echo=$ac_try;; 5959 esac 5960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5961 $as_echo "$ac_try_echo") >&5 5962 (eval "$ac_compile") 2>conftest.er1 5046 5963 ac_status=$? 5047 echo "$as_me:$LINENO: \$? = $ac_status" >&55048 (exit $ac_status); } &&5049 { ac_try='test -s conftest.$ac_objext'5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&55051 (e val $ac_try) 2>&55052 ac_status=$? 5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5054 (exit $ac_status); }; }; then5964 grep -v '^ *+' conftest.er1 >conftest.err 5965 rm -f conftest.er1 5966 cat conftest.err >&5 5967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5968 (exit $ac_status); } && { 5969 test -z "$ac_c_werror_flag" || 5970 test ! -s conftest.err 5971 } && test -s conftest.$ac_objext; then 5055 5972 ac_cv_struct_tm=time.h 5056 5973 else 5057 echo "$as_me: failed program was:" >&55974 $as_echo "$as_me: failed program was:" >&5 5058 5975 sed 's/^/| /' conftest.$ac_ext >&5 5059 5976 5060 ac_cv_struct_tm=sys/time.h 5061 fi 5062 rm -f conftest.$ac_objext conftest.$ac_ext 5063 fi 5064 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5065 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5977 ac_cv_struct_tm=sys/time.h 5978 fi 5979 5980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5981 fi 5982 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5983 $as_echo "$ac_cv_struct_tm" >&6; } 5066 5984 if test $ac_cv_struct_tm = sys/time.h; then 5067 5985 … … 5074 5992 5075 5993 # Set RETSIGTYPE to the proper return type for a signal handler (void or int) 5076 echo "$as_me:$LINENO: checking return type of signal handlers" >&55077 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 5994 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5995 $as_echo_n "checking return type of signal handlers... " >&6; } 5078 5996 if test "${ac_cv_type_signal+set}" = set; then 5079 echo $ECHO_N "(cached) $ECHO_C" >&65997 $as_echo_n "(cached) " >&6 5080 5998 else 5081 5999 cat >conftest.$ac_ext <<_ACEOF 5082 #line $LINENO "configure"5083 6000 /* confdefs.h. */ 5084 6001 _ACEOF … … 5088 6005 #include <sys/types.h> 5089 6006 #include <signal.h> 5090 #ifdef signal5091 # undef signal5092 #endif5093 #ifdef __cplusplus5094 extern "C" void (*signal (int, void (*)(int)))(int);5095 #else5096 void (*signal ()) ();5097 #endif5098 6007 5099 6008 int 5100 6009 main () 5101 6010 { 5102 int i;6011 return *(signal (0, 0)) (0) == 1; 5103 6012 ; 5104 6013 return 0; … … 5106 6015 _ACEOF 5107 6016 rm -f conftest.$ac_objext 5108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5109 (eval $ac_compile) 2>&5 6017 if { (ac_try="$ac_compile" 6018 case "(($ac_try" in 6019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6020 *) ac_try_echo=$ac_try;; 6021 esac 6022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6023 $as_echo "$ac_try_echo") >&5 6024 (eval "$ac_compile") 2>conftest.er1 5110 6025 ac_status=$? 5111 echo "$as_me:$LINENO: \$? = $ac_status" >&55112 (exit $ac_status); } &&5113 { ac_try='test -s conftest.$ac_objext'5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&55115 (e val $ac_try) 2>&55116 ac_status=$? 5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5118 (exit $ac_status); }; }; then5119 ac_cv_type_signal= void5120 else 5121 echo "$as_me: failed program was:" >&56026 grep -v '^ *+' conftest.er1 >conftest.err 6027 rm -f conftest.er1 6028 cat conftest.err >&5 6029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6030 (exit $ac_status); } && { 6031 test -z "$ac_c_werror_flag" || 6032 test ! -s conftest.err 6033 } && test -s conftest.$ac_objext; then 6034 ac_cv_type_signal=int 6035 else 6036 $as_echo "$as_me: failed program was:" >&5 5122 6037 sed 's/^/| /' conftest.$ac_ext >&5 5123 6038 5124 ac_cv_type_signal=int 5125 fi 5126 rm -f conftest.$ac_objext conftest.$ac_ext 5127 fi 5128 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5129 echo "${ECHO_T}$ac_cv_type_signal" >&6 6039 ac_cv_type_signal=void 6040 fi 6041 6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6043 fi 6044 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6045 $as_echo "$ac_cv_type_signal" >&6; } 5130 6046 5131 6047 cat >>confdefs.h <<_ACEOF … … 5149 6065 5150 6066 if test $ac_cv_c_compiler_gnu = yes; then 5151 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55152 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6067 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6068 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5153 6069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5154 echo $ECHO_N "(cached) $ECHO_C" >&66070 $as_echo_n "(cached) " >&6 5155 6071 else 5156 6072 ac_pattern="Autoconf.*'x'" 5157 6073 cat >conftest.$ac_ext <<_ACEOF 5158 #line $LINENO "configure"5159 6074 /* confdefs.h. */ 5160 6075 _ACEOF … … 5176 6091 if test $ac_cv_prog_gcc_traditional = no; then 5177 6092 cat >conftest.$ac_ext <<_ACEOF 5178 #line $LINENO "configure"5179 6093 /* confdefs.h. */ 5180 6094 _ACEOF … … 5193 6107 fi 5194 6108 fi 5195 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&55196 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6109 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6110 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5197 6111 if test $ac_cv_prog_gcc_traditional = yes; then 5198 6112 CC="$CC -traditional" … … 5200 6114 fi 5201 6115 5202 echo "$as_me:$LINENO: checking for working memcmp" >&55203 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 6116 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5 6117 $as_echo_n "checking for working memcmp... " >&6; } 5204 6118 if test "${ac_cv_func_memcmp_working+set}" = set; then 5205 echo $ECHO_N "(cached) $ECHO_C" >&66119 $as_echo_n "(cached) " >&6 5206 6120 else 5207 6121 if test "$cross_compiling" = yes; then … … 5209 6123 else 5210 6124 cat >conftest.$ac_ext <<_ACEOF 5211 #line $LINENO "configure"5212 6125 /* confdefs.h. */ 5213 6126 _ACEOF … … 5215 6128 cat >>conftest.$ac_ext <<_ACEOF 5216 6129 /* end confdefs.h. */ 5217 6130 $ac_includes_default 5218 6131 int 5219 6132 main () … … 5221 6134 5222 6135 /* Some versions of memcmp are not 8-bit clean. */ 5223 char c0 = 0x40, c1 = 0x80, c2 = 0x81;6136 char c0 = '\100', c1 = '\200', c2 = '\201'; 5224 6137 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 5225 exit (1);6138 return 1; 5226 6139 5227 6140 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes … … 5234 6147 for (i = 0; i < 4; i++) 5235 6148 { 5236 5237 5238 5239 5240 5241 exit (1);6149 char *a = foo + i; 6150 char *b = bar + i; 6151 strcpy (a, "--------01111111"); 6152 strcpy (b, "--------10000000"); 6153 if (memcmp (a, b, 16) >= 0) 6154 return 1; 5242 6155 } 5243 exit (0);6156 return 0; 5244 6157 } 5245 6158 … … 5249 6162 _ACEOF 5250 6163 rm -f conftest$ac_exeext 5251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5252 (eval $ac_link) 2>&5 6164 if { (ac_try="$ac_link" 6165 case "(($ac_try" in 6166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6167 *) ac_try_echo=$ac_try;; 6168 esac 6169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6170 $as_echo "$ac_try_echo") >&5 6171 (eval "$ac_link") 2>&5 5253 6172 ac_status=$? 5254 echo "$as_me:$LINENO: \$? = $ac_status" >&56173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5255 6174 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5257 (eval $ac_try) 2>&5 6175 { (case "(($ac_try" in 6176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6177 *) ac_try_echo=$ac_try;; 6178 esac 6179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6180 $as_echo "$ac_try_echo") >&5 6181 (eval "$ac_try") 2>&5 5258 6182 ac_status=$? 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&56183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5260 6184 (exit $ac_status); }; }; then 5261 6185 ac_cv_func_memcmp_working=yes 5262 6186 else 5263 echo "$as_me: program exited with status $ac_status" >&55264 echo "$as_me: failed program was:" >&56187 $as_echo "$as_me: program exited with status $ac_status" >&5 6188 $as_echo "$as_me: failed program was:" >&5 5265 6189 sed 's/^/| /' conftest.$ac_ext >&5 5266 6190 … … 5268 6192 ac_cv_func_memcmp_working=no 5269 6193 fi 5270 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5271 fi 5272 fi 5273 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 5274 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 5275 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" 5276 5277 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5278 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6194 rm -rf conftest.dSYM 6195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6196 fi 6197 6198 6199 fi 6200 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 6201 $as_echo "$ac_cv_func_memcmp_working" >&6; } 6202 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 6203 *" memcmp.$ac_objext "* ) ;; 6204 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 6205 ;; 6206 esac 6207 6208 6209 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6210 $as_echo_n "checking return type of signal handlers... " >&6; } 5279 6211 if test "${ac_cv_type_signal+set}" = set; then 5280 echo $ECHO_N "(cached) $ECHO_C" >&66212 $as_echo_n "(cached) " >&6 5281 6213 else 5282 6214 cat >conftest.$ac_ext <<_ACEOF 5283 #line $LINENO "configure"5284 6215 /* confdefs.h. */ 5285 6216 _ACEOF … … 5289 6220 #include <sys/types.h> 5290 6221 #include <signal.h> 5291 #ifdef signal5292 # undef signal5293 #endif5294 #ifdef __cplusplus5295 extern "C" void (*signal (int, void (*)(int)))(int);5296 #else5297 void (*signal ()) ();5298 #endif5299 6222 5300 6223 int 5301 6224 main () 5302 6225 { 5303 int i;6226 return *(signal (0, 0)) (0) == 1; 5304 6227 ; 5305 6228 return 0; … … 5307 6230 _ACEOF 5308 6231 rm -f conftest.$ac_objext 5309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5310 (eval $ac_compile) 2>&5 6232 if { (ac_try="$ac_compile" 6233 case "(($ac_try" in 6234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6235 *) ac_try_echo=$ac_try;; 6236 esac 6237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6238 $as_echo "$ac_try_echo") >&5 6239 (eval "$ac_compile") 2>conftest.er1 5311 6240 ac_status=$? 5312 echo "$as_me:$LINENO: \$? = $ac_status" >&55313 (exit $ac_status); } &&5314 { ac_try='test -s conftest.$ac_objext'5315 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&55316 (e val $ac_try) 2>&55317 ac_status=$? 5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5319 (exit $ac_status); }; }; then5320 ac_cv_type_signal= void5321 else 5322 echo "$as_me: failed program was:" >&56241 grep -v '^ *+' conftest.er1 >conftest.err 6242 rm -f conftest.er1 6243 cat conftest.err >&5 6244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6245 (exit $ac_status); } && { 6246 test -z "$ac_c_werror_flag" || 6247 test ! -s conftest.err 6248 } && test -s conftest.$ac_objext; then 6249 ac_cv_type_signal=int 6250 else 6251 $as_echo "$as_me: failed program was:" >&5 5323 6252 sed 's/^/| /' conftest.$ac_ext >&5 5324 6253 5325 ac_cv_type_signal=int 5326 fi 5327 rm -f conftest.$ac_objext conftest.$ac_ext 5328 fi 5329 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5330 echo "${ECHO_T}$ac_cv_type_signal" >&6 6254 ac_cv_type_signal=void 6255 fi 6256 6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6258 fi 6259 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6260 $as_echo "$ac_cv_type_signal" >&6; } 5331 6261 5332 6262 cat >>confdefs.h <<_ACEOF … … 5345 6275 for ac_func in gettimeofday strchr strstr setvbuf getenv unlink mkstemp close 5346 6276 do 5347 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`5348 echo "$as_me:$LINENO: checking for $ac_func" >&55349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5350 if eval "test \"\${$as_ac_var+set}\" = set"; then5351 echo $ECHO_N "(cached) $ECHO_C" >&66277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6278 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6279 $as_echo_n "checking for $ac_func... " >&6; } 6280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6281 $as_echo_n "(cached) " >&6 5352 6282 else 5353 6283 cat >conftest.$ac_ext <<_ACEOF 5354 #line $LINENO "configure"5355 6284 /* confdefs.h. */ 5356 6285 _ACEOF … … 5358 6287 cat >>conftest.$ac_ext <<_ACEOF 5359 6288 /* end confdefs.h. */ 6289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6290 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6291 #define $ac_func innocuous_$ac_func 6292 5360 6293 /* System header to define __stub macros and hopefully few prototypes, 5361 6294 which can conflict with char $ac_func (); below. 5362 6295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5363 6296 <limits.h> exists even on freestanding compilers. */ 6297 5364 6298 #ifdef __STDC__ 5365 6299 # include <limits.h> … … 5367 6301 # include <assert.h> 5368 6302 #endif 5369 /* Override any gcc2 internal prototype to avoid an error. */ 6303 6304 #undef $ac_func 6305 6306 /* Override any GCC internal prototype to avoid an error. 6307 Use char because int might match the return type of a GCC 6308 builtin and then its argument prototype would still apply. */ 5370 6309 #ifdef __cplusplus 5371 6310 extern "C" 5372 {5373 6311 #endif 5374 /* We use char because int might match the return type of a gcc25375 builtin and then its argument prototype would still apply. */5376 6312 char $ac_func (); 5377 6313 /* The GNU C library defines this for functions which it implements 5378 6314 to always fail with ENOSYS. Some functions are actually named 5379 6315 something starting with __ and the normal name is an alias. */ 5380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6316 #if defined __stub_$ac_func || defined __stub___$ac_func 5381 6317 choke me 5382 #else5383 char (*f) () = $ac_func;5384 #endif5385 #ifdef __cplusplus5386 }5387 6318 #endif 5388 6319 … … 5390 6321 main () 5391 6322 { 5392 return f != $ac_func;6323 return $ac_func (); 5393 6324 ; 5394 6325 return 0; … … 5396 6327 _ACEOF 5397 6328 rm -f conftest.$ac_objext conftest$ac_exeext 5398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5399 (eval $ac_link) 2>&5 6329 if { (ac_try="$ac_link" 6330 case "(($ac_try" in 6331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6332 *) ac_try_echo=$ac_try;; 6333 esac 6334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6335 $as_echo "$ac_try_echo") >&5 6336 (eval "$ac_link") 2>conftest.er1 5400 6337 ac_status=$? 5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5402 (exit $ac_status); } && 5403 { ac_try='test -s conftest$ac_exeext' 5404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5405 (eval $ac_try) 2>&5 5406 ac_status=$? 5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5408 (exit $ac_status); }; }; then 6338 grep -v '^ *+' conftest.er1 >conftest.err 6339 rm -f conftest.er1 6340 cat conftest.err >&5 6341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6342 (exit $ac_status); } && { 6343 test -z "$ac_c_werror_flag" || 6344 test ! -s conftest.err 6345 } && test -s conftest$ac_exeext && { 6346 test "$cross_compiling" = yes || 6347 $as_test_x conftest$ac_exeext 6348 }; then 5409 6349 eval "$as_ac_var=yes" 5410 6350 else 5411 echo "$as_me: failed program was:" >&56351 $as_echo "$as_me: failed program was:" >&5 5412 6352 sed 's/^/| /' conftest.$ac_ext >&5 5413 6353 5414 eval "$as_ac_var=no" 5415 fi 5416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5417 fi 5418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5420 if test `eval echo '${'$as_ac_var'}'` = yes; then 6354 eval "$as_ac_var=no" 6355 fi 6356 6357 rm -rf conftest.dSYM 6358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6359 conftest$ac_exeext conftest.$ac_ext 6360 fi 6361 ac_res=`eval 'as_val=${'$as_ac_var'} 6362 $as_echo "$as_val"'` 6363 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6364 $as_echo "$ac_res" >&6; } 6365 as_val=`eval 'as_val=${'$as_ac_var'} 6366 $as_echo "$as_val"'` 6367 if test "x$as_val" = x""yes; then 5421 6368 cat >>confdefs.h <<_ACEOF 5422 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5423 6370 _ACEOF 5424 6371 … … 5434 6381 # Extract the first word of "$ac_prog", so it can be a program name with args. 5435 6382 set dummy $ac_prog; ac_word=$2 5436 echo "$as_me:$LINENO: checking for $ac_word" >&55437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6383 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6384 $as_echo_n "checking for $ac_word... " >&6; } 5438 6385 if test "${ac_cv_prog_AWK+set}" = set; then 5439 echo $ECHO_N "(cached) $ECHO_C" >&66386 $as_echo_n "(cached) " >&6 5440 6387 else 5441 6388 if test -n "$AWK"; then … … 5448 6395 test -z "$as_dir" && as_dir=. 5449 6396 for ac_exec_ext in '' $ac_executable_extensions; do 5450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5451 6398 ac_cv_prog_AWK="$ac_prog" 5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56399 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5453 6400 break 2 5454 6401 fi 5455 6402 done 5456 6403 done 6404 IFS=$as_save_IFS 5457 6405 5458 6406 fi … … 5460 6408 AWK=$ac_cv_prog_AWK 5461 6409 if test -n "$AWK"; then 5462 echo "$as_me:$LINENO: result: $AWK" >&5 5463 echo "${ECHO_T}$AWK" >&6 5464 else 5465 echo "$as_me:$LINENO: result: no" >&5 5466 echo "${ECHO_T}no" >&6 5467 fi 6410 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 6411 $as_echo "$AWK" >&6; } 6412 else 6413 { $as_echo "$as_me:$LINENO: result: no" >&5 6414 $as_echo "no" >&6; } 6415 fi 6416 5468 6417 5469 6418 test -n "$AWK" && break … … 5477 6426 CC=$gcc_ok 5478 6427 fi 5479 ac_config_files="$ac_config_files Makefile" 6428 ac_config_files="$ac_config_files Makefile" 6429 5480 6430 cat >confcache <<\_ACEOF 5481 6431 # This file is a shell script that caches the results of configure … … 5496 6446 # The following way of writing the cache mishandles newlines in values, 5497 6447 # but we know of no workaround that is simple, portable, and efficient. 5498 # So, don't put newlines in cache variables' values.6448 # So, we kill variables containing newlines. 5499 6449 # Ultrix sh set writes to stderr and can't be redirected directly, 5500 6450 # and sets the high bit in the cache file unless we assign to the vars. 5501 { 6451 ( 6452 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6453 eval ac_val=\$$ac_var 6454 case $ac_val in #( 6455 *${as_nl}*) 6456 case $ac_var in #( 6457 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 6458 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6459 esac 6460 case $ac_var in #( 6461 _ | IFS | as_nl) ;; #( 6462 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6463 *) $as_unset $ac_var ;; 6464 esac ;; 6465 esac 6466 done 6467 5502 6468 (set) 2>&1 | 5503 case `(ac_space=' '; set | grep ac_space) 2>&1` in5504 * ac_space=\ *)6469 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6470 *${as_nl}ac_space=\ *) 5505 6471 # `set' does not quote correctly, so add quotes (double-quote 5506 6472 # substitution turns \\\\ into \\, and sed turns \\ into \). 5507 6473 sed -n \ 5508 5509 5510 ;; 6474 "s/'/'\\\\''/g; 6475 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6476 ;; #( 5511 6477 *) 5512 6478 # `set' quotes correctly as required by POSIX, so do not add quotes. 5513 sed -n \ 5514 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6479 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5515 6480 ;; 5516 esac; 5517 } | 6481 esac | 6482 sort 6483 ) | 5518 6484 sed ' 6485 /^ac_cv_env_/b end 5519 6486 t clear 5520 : 6487 :clear 5521 6488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5522 6489 t end 5523 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5524 : end' >>confcache 5525 if diff $cache_file confcache >/dev/null 2>&1; then :; else 5526 if test -w $cache_file; then 5527 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6490 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6491 :end' >>confcache 6492 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6493 if test -w "$cache_file"; then 6494 test "x$cache_file" != "x/dev/null" && 6495 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 6496 $as_echo "$as_me: updating cache $cache_file" >&6;} 5528 6497 cat confcache >$cache_file 5529 6498 else 5530 echo "not updating unwritable cache $cache_file" 6499 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6500 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5531 6501 fi 5532 6502 fi … … 5536 6506 # Let make expand exec_prefix. 5537 6507 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5538 5539 # VPATH may cause trouble with some makes, so we remove $(srcdir),5540 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and5541 # trailing colons and then remove the whole line if VPATH becomes empty5542 # (actually we leave an empty line to preserve line numbers).5543 if test "x$srcdir" = x.; then5544 ac_vpsub='/^[ ]*VPATH[ ]*=/{5545 s/:*\$(srcdir):*/:/;5546 s/:*\${srcdir}:*/:/;5547 s/:*@srcdir@:*/:/;5548 s/^\([^=]*=[ ]*\):*/\1/;5549 s/:*$//;5550 s/^[^=]*=[ ]*$//;5551 }'5552 fi5553 6508 5554 6509 # Transform confdefs.h into DEFS. … … 5557 6512 # 5558 6513 # If the first sed substitution is executed (which looks for macros that 5559 # take arguments), then webranch to the quote section. Otherwise,6514 # take arguments), then branch to the quote section. Otherwise, 5560 6515 # look for a macro that doesn't take arguments. 5561 cat >confdef2opt.sed <<\_ACEOF 6516 ac_script=' 6517 :mline 6518 /\\$/{ 6519 N 6520 s,\\\n,, 6521 b mline 6522 } 5562 6523 t clear 5563 : 5564 s ,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g6524 :clear 6525 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 5565 6526 t quote 5566 s ,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g6527 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 5567 6528 t quote 5568 d 5569 : quote 5570 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 5571 s,\[,\\&,g 5572 s,\],\\&,g 5573 s,\$,$$,g 5574 p 5575 _ACEOF 5576 # We use echo to avoid assuming a particular line-breaking character. 5577 # The extra dot is to prevent the shell from consuming trailing 5578 # line-breaks from the sub-command output. A line-break within 5579 # single-quotes doesn't work because, if this script is created in a 5580 # platform that uses two characters for line-breaks (e.g., DOS), tr 5581 # would break. 5582 ac_LF_and_DOT=`echo; echo .` 5583 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 5584 rm -f confdef2opt.sed 6529 b any 6530 :quote 6531 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 6532 s/\[/\\&/g 6533 s/\]/\\&/g 6534 s/\$/$$/g 6535 H 6536 :any 6537 ${ 6538 g 6539 s/^\n// 6540 s/\n/ /g 6541 p 6542 } 6543 ' 6544 DEFS=`sed -n "$ac_script" confdefs.h` 5585 6545 5586 6546 … … 5589 6549 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5590 6550 # 1. Remove the extension, and $U if already installed. 5591 ac_i=`echo "$ac_i" | 5592 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5593 # 2. Add them. 5594 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5595 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6551 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6552 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6553 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6554 # will be set to the directory where LIBOBJS objects are built. 6555 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6556 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5596 6557 done 5597 6558 LIBOBJS=$ac_libobjs … … 5602 6563 5603 6564 : ${CONFIG_STATUS=./config.status} 6565 ac_write_fail=0 5604 6566 ac_clean_files_save=$ac_clean_files 5605 6567 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5606 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&55607 echo "$as_me: creating $CONFIG_STATUS" >&6;}5608 cat >$CONFIG_STATUS <<_ACEOF 6568 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6569 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6570 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5609 6571 #! $SHELL 5610 6572 # Generated by $as_me. … … 5619 6581 _ACEOF 5620 6582 5621 cat >>$CONFIG_STATUS <<\_ACEOF 6583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5622 6584 ## --------------------- ## 5623 6585 ## M4sh Initialization. ## 5624 6586 ## --------------------- ## 5625 6587 5626 # Be Bourne compatible 6588 # Be more Bourne compatible 6589 DUALCASE=1; export DUALCASE # for MKS sh 5627 6590 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5628 6591 emulate sh 5629 6592 NULLCMD=: 5630 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6593 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5631 6594 # is contrary to our usage. Disable this feature. 5632 6595 alias -g '${1+"$@"}'='"$@"' 5633 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5634 set -o posix 5635 fi 5636 5637 # Support unset when possible. 5638 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 5639 as_unset=unset 5640 else 5641 as_unset=false 5642 fi 5643 5644 5645 # Work around bugs in pre-3.0 UWIN ksh. 5646 $as_unset ENV MAIL MAILPATH 5647 PS1='$ ' 5648 PS2='> ' 5649 PS4='+ ' 5650 5651 # NLS nuisances. 5652 for as_var in \ 5653 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5654 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5655 LC_TELEPHONE LC_TIME 5656 do 5657 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 5658 eval $as_var=C; export $as_var 5659 else 5660 $as_unset $as_var 5661 fi 5662 done 5663 5664 # Required to use basename. 5665 if expr a : '\(a\)' >/dev/null 2>&1; then 5666 as_expr=expr 5667 else 5668 as_expr=false 5669 fi 5670 5671 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5672 as_basename=basename 5673 else 5674 as_basename=false 5675 fi 5676 5677 5678 # Name of the executable. 5679 as_me=`$as_basename "$0" || 5680 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5681 X"$0" : 'X\(//\)$' \| \ 5682 X"$0" : 'X\(/\)$' \| \ 5683 . : '\(.\)' 2>/dev/null || 5684 echo X/"$0" | 5685 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5686 /^X\/\(\/\/\)$/{ s//\1/; q; } 5687 /^X\/\(\/\).*/{ s//\1/; q; } 5688 s/.*/./; q'` 5689 5690 5691 # PATH needs CR, and LINENO needs CR and PATH. 6596 setopt NO_GLOB_SUBST 6597 else 6598 case `(set -o) 2>/dev/null` in 6599 *posix*) set -o posix ;; 6600 esac 6601 6602 fi 6603 6604 6605 6606 6607 # PATH needs CR 5692 6608 # Avoid depending upon Character Ranges. 5693 6609 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 5697 6613 as_cr_alnum=$as_cr_Letters$as_cr_digits 5698 6614 6615 as_nl=' 6616 ' 6617 export as_nl 6618 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6619 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6620 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6622 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6623 as_echo='printf %s\n' 6624 as_echo_n='printf %s' 6625 else 6626 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6627 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6628 as_echo_n='/usr/ucb/echo -n' 6629 else 6630 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6631 as_echo_n_body='eval 6632 arg=$1; 6633 case $arg in 6634 *"$as_nl"*) 6635 expr "X$arg" : "X\\(.*\\)$as_nl"; 6636 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6637 esac; 6638 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6639 ' 6640 export as_echo_n_body 6641 as_echo_n='sh -c $as_echo_n_body as_echo' 6642 fi 6643 export as_echo_body 6644 as_echo='sh -c $as_echo_body as_echo' 6645 fi 6646 5699 6647 # The user is always right. 5700 6648 if test "${PATH_SEPARATOR+set}" != set; then 5701 echo "#! /bin/sh" >conf$$.sh 5702 echo "exit 0" >>conf$$.sh 5703 chmod +x conf$$.sh 5704 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5705 PATH_SEPARATOR=';' 5706 else 5707 PATH_SEPARATOR=: 5708 fi 5709 rm -f conf$$.sh 5710 fi 5711 5712 5713 as_lineno_1=$LINENO 5714 as_lineno_2=$LINENO 5715 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5716 test "x$as_lineno_1" != "x$as_lineno_2" && 5717 test "x$as_lineno_3" = "x$as_lineno_2" || { 5718 # Find who we are. Look in the path if we contain no path at all 5719 # relative or not. 5720 case $0 in 5721 *[\\/]* ) as_myself=$0 ;; 5722 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6649 PATH_SEPARATOR=: 6650 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6651 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6652 PATH_SEPARATOR=';' 6653 } 6654 fi 6655 6656 # Support unset when possible. 6657 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6658 as_unset=unset 6659 else 6660 as_unset=false 6661 fi 6662 6663 6664 # IFS 6665 # We need space, tab and new line, in precisely that order. Quoting is 6666 # there to prevent editors from complaining about space-tab. 6667 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6668 # splitting by setting IFS to empty value.) 6669 IFS=" "" $as_nl" 6670 6671 # Find who we are. Look in the path if we contain no directory separator. 6672 case $0 in 6673 *[\\/]* ) as_myself=$0 ;; 6674 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5723 6675 for as_dir in $PATH 5724 6676 do … … 5727 6679 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5728 6680 done 5729 5730 ;; 5731 esac 5732 # We did not find ourselves, most probably we were run as `sh COMMAND' 5733 # in which case we are not to be found in the path. 5734 if test "x$as_myself" = x; then 5735 as_myself=$0 5736 fi 5737 if test ! -f "$as_myself"; then 5738 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5739 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5740 { (exit 1); exit 1; }; } 5741 fi 5742 case $CONFIG_SHELL in 5743 '') 5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5745 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5746 do 5747 IFS=$as_save_IFS 5748 test -z "$as_dir" && as_dir=. 5749 for as_base in sh bash ksh sh5; do 5750 case $as_dir in 5751 /*) 5752 if ("$as_dir/$as_base" -c ' 6681 IFS=$as_save_IFS 6682 6683 ;; 6684 esac 6685 # We did not find ourselves, most probably we were run as `sh COMMAND' 6686 # in which case we are not to be found in the path. 6687 if test "x$as_myself" = x; then 6688 as_myself=$0 6689 fi 6690 if test ! -f "$as_myself"; then 6691 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6692 { (exit 1); exit 1; } 6693 fi 6694 6695 # Work around bugs in pre-3.0 UWIN ksh. 6696 for as_var in ENV MAIL MAILPATH 6697 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6698 done 6699 PS1='$ ' 6700 PS2='> ' 6701 PS4='+ ' 6702 6703 # NLS nuisances. 6704 LC_ALL=C 6705 export LC_ALL 6706 LANGUAGE=C 6707 export LANGUAGE 6708 6709 # Required to use basename. 6710 if expr a : '\(a\)' >/dev/null 2>&1 && 6711 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6712 as_expr=expr 6713 else 6714 as_expr=false 6715 fi 6716 6717 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6718 as_basename=basename 6719 else 6720 as_basename=false 6721 fi 6722 6723 6724 # Name of the executable. 6725 as_me=`$as_basename -- "$0" || 6726 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6727 X"$0" : 'X\(//\)$' \| \ 6728 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6729 $as_echo X/"$0" | 6730 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6731 s//\1/ 6732 q 6733 } 6734 /^X\/\(\/\/\)$/{ 6735 s//\1/ 6736 q 6737 } 6738 /^X\/\(\/\).*/{ 6739 s//\1/ 6740 q 6741 } 6742 s/.*/./; q'` 6743 6744 # CDPATH. 6745 $as_unset CDPATH 6746 6747 6748 5753 6749 as_lineno_1=$LINENO 5754 6750 as_lineno_2=$LINENO 5755 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`5756 6751 test "x$as_lineno_1" != "x$as_lineno_2" && 5757 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5758 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5759 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5760 CONFIG_SHELL=$as_dir/$as_base 5761 export CONFIG_SHELL 5762 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5763 fi;; 5764 esac 5765 done 5766 done 5767 ;; 5768 esac 6752 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5769 6753 5770 6754 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5771 6755 # uniformly replaced by the line number. The first 'sed' inserts a 5772 # line-number line before each line; the second 'sed' does the real 5773 # work. The second script uses 'N' to pair each line-number line 5774 # with the numbered line, and appends trailing '-' during 5775 # substitution so that $LINENO is not a special case at line end. 6756 # line-number line after each line using $LINENO; the second 'sed' 6757 # does the real work. The second script uses 'N' to pair each 6758 # line-number line with the line containing $LINENO, and appends 6759 # trailing '-' during substitution so that $LINENO is not a special 6760 # case at line end. 5776 6761 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5777 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5778 sed '=' <$as_myself | 6762 # scripts with optimization help from Paolo Bonzini. Blame Lee 6763 # E. McMahon (1931-1989) for sed's syntax. :-) 6764 sed -n ' 6765 p 6766 /[$]LINENO/= 6767 ' <$as_myself | 5779 6768 sed ' 6769 s/[$]LINENO.*/&-/ 6770 t lineno 6771 b 6772 :lineno 5780 6773 N 5781 s,$,-, 5782 : loop 5783 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6774 :loop 6775 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5784 6776 t loop 5785 s,-$,, 5786 s,^['$as_cr_digits']*\n,, 6777 s/-\n.*// 5787 6778 ' >$as_me.lineno && 5788 chmod +x $as_me.lineno || 5789 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5790 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6779 chmod +x "$as_me.lineno" || 6780 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5791 6781 { (exit 1); exit 1; }; } 5792 6782 5793 6783 # Don't try to exec as it changes $[0], causing all sort of problems 5794 6784 # (the dirname of $[0] is not the place where we might find the 5795 # original and so on. Autoconf is especially sensi ble to this).5796 . ./$as_me.lineno6785 # original and so on. Autoconf is especially sensitive to this). 6786 . "./$as_me.lineno" 5797 6787 # Exit status is that of the last command. 5798 6788 exit … … 5800 6790 5801 6791 5802 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5803 *c*,-n*) ECHO_N= ECHO_C=' 5804 ' ECHO_T=' ' ;; 5805 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5806 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5807 esac 5808 5809 if expr a : '\(a\)' >/dev/null 2>&1; then 6792 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6793 as_dirname=dirname 6794 else 6795 as_dirname=false 6796 fi 6797 6798 ECHO_C= ECHO_N= ECHO_T= 6799 case `echo -n x` in 6800 -n*) 6801 case `echo 'x\c'` in 6802 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6803 *) ECHO_C='\c';; 6804 esac;; 6805 *) 6806 ECHO_N='-n';; 6807 esac 6808 if expr a : '\(a\)' >/dev/null 2>&1 && 6809 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5810 6810 as_expr=expr 5811 6811 else … … 5814 6814 5815 6815 rm -f conf$$ conf$$.exe conf$$.file 5816 echo >conf$$.file 5817 if ln -s conf$$.file conf$$ 2>/dev/null; then 5818 # We could just check for DJGPP; but this test a) works b) is more generic 5819 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5820 if test -f conf$$.exe; then 5821 # Don't use ln at all; we don't have any links 6816 if test -d conf$$.dir; then 6817 rm -f conf$$.dir/conf$$.file 6818 else 6819 rm -f conf$$.dir 6820 mkdir conf$$.dir 2>/dev/null 6821 fi 6822 if (echo >conf$$.file) 2>/dev/null; then 6823 if ln -s conf$$.file conf$$ 2>/dev/null; then 6824 as_ln_s='ln -s' 6825 # ... but there are two gotchas: 6826 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6827 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6828 # In both cases, we have to default to `cp -p'. 6829 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6830 as_ln_s='cp -p' 6831 elif ln conf$$.file conf$$ 2>/dev/null; then 6832 as_ln_s=ln 6833 else 5822 6834 as_ln_s='cp -p' 5823 else5824 as_ln_s='ln -s'5825 6835 fi 5826 elif ln conf$$.file conf$$ 2>/dev/null; then5827 as_ln_s=ln5828 6836 else 5829 6837 as_ln_s='cp -p' 5830 6838 fi 5831 rm -f conf$$ conf$$.exe conf$$.file 6839 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6840 rmdir conf$$.dir 2>/dev/null 5832 6841 5833 6842 if mkdir -p . 2>/dev/null; then 5834 6843 as_mkdir_p=: 5835 6844 else 6845 test -d ./-p && rmdir ./-p 5836 6846 as_mkdir_p=false 5837 6847 fi 5838 6848 5839 as_executable_p="test -f" 6849 if test -x / >/dev/null 2>&1; then 6850 as_test_x='test -x' 6851 else 6852 if ls -dL / >/dev/null 2>&1; then 6853 as_ls_L_option=L 6854 else 6855 as_ls_L_option= 6856 fi 6857 as_test_x=' 6858 eval sh -c '\'' 6859 if test -d "$1"; then 6860 test -d "$1/."; 6861 else 6862 case $1 in 6863 -*)set "./$1";; 6864 esac; 6865 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6866 ???[sx]*):;;*)false;;esac;fi 6867 '\'' sh 6868 ' 6869 fi 6870 as_executable_p=$as_test_x 5840 6871 5841 6872 # Sed expression to map a string onto a valid CPP name. 5842 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"6873 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5843 6874 5844 6875 # Sed expression to map a string onto a valid variable name. 5845 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 5846 5847 5848 # IFS 5849 # We need space, tab and new line, in precisely that order. 5850 as_nl=' 5851 ' 5852 IFS=" $as_nl" 5853 5854 # CDPATH. 5855 $as_unset CDPATH 6876 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6877 5856 6878 5857 6879 exec 6>&1 5858 6880 5859 # Open the log real soon, to keep \$[0] and so on meaningful, and to6881 # Save the log message, to keep $[0] and so on meaningful, and to 5860 6882 # report actual input values of CONFIG_FILES etc. instead of their 5861 # values after options handling. Logging --version etc. is OK. 6883 # values after options handling. 6884 ac_log=" 6885 This file was extended by $as_me, which was 6886 generated by GNU Autoconf 2.63. Invocation command line was 6887 6888 CONFIG_FILES = $CONFIG_FILES 6889 CONFIG_HEADERS = $CONFIG_HEADERS 6890 CONFIG_LINKS = $CONFIG_LINKS 6891 CONFIG_COMMANDS = $CONFIG_COMMANDS 6892 $ $0 $@ 6893 6894 on `(hostname || uname -n) 2>/dev/null | sed 1q` 6895 " 6896 6897 _ACEOF 6898 6899 case $ac_config_files in *" 6900 "*) set x $ac_config_files; shift; ac_config_files=$*;; 6901 esac 6902 6903 6904 6905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6906 # Files that config.status was made for. 6907 config_files="$ac_config_files" 6908 6909 _ACEOF 6910 6911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6912 ac_cs_usage="\ 6913 \`$as_me' instantiates files from templates according to the 6914 current configuration. 6915 6916 Usage: $0 [OPTION]... [FILE]... 6917 6918 -h, --help print this help, then exit 6919 -V, --version print version number and configuration settings, then exit 6920 -q, --quiet, --silent 6921 do not print progress messages 6922 -d, --debug don't remove temporary files 6923 --recheck update $as_me by reconfiguring in the same conditions 6924 --file=FILE[:TEMPLATE] 6925 instantiate the configuration file FILE 6926 6927 Configuration files: 6928 $config_files 6929 6930 Report bugs to <bug-autoconf@gnu.org>." 6931 6932 _ACEOF 6933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6934 ac_cs_version="\\ 6935 config.status 6936 configured by $0, generated by GNU Autoconf 2.63, 6937 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6938 6939 Copyright (C) 2008 Free Software Foundation, Inc. 6940 This config.status script is free software; the Free Software Foundation 6941 gives unlimited permission to copy, distribute and modify it." 6942 6943 ac_pwd='$ac_pwd' 6944 srcdir='$srcdir' 6945 INSTALL='$INSTALL' 6946 AWK='$AWK' 6947 test -n "\$AWK" || AWK=awk 6948 _ACEOF 6949 6950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6951 # The default lists apply if the user does not specify any file. 6952 ac_need_defaults=: 6953 while test $# != 0 6954 do 6955 case $1 in 6956 --*=*) 6957 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6958 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6959 ac_shift=: 6960 ;; 6961 *) 6962 ac_option=$1 6963 ac_optarg=$2 6964 ac_shift=shift 6965 ;; 6966 esac 6967 6968 case $ac_option in 6969 # Handling of the options. 6970 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6971 ac_cs_recheck=: ;; 6972 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6973 $as_echo "$ac_cs_version"; exit ;; 6974 --debug | --debu | --deb | --de | --d | -d ) 6975 debug=: ;; 6976 --file | --fil | --fi | --f ) 6977 $ac_shift 6978 case $ac_optarg in 6979 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6980 esac 6981 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 6982 ac_need_defaults=false;; 6983 --he | --h | --help | --hel | -h ) 6984 $as_echo "$ac_cs_usage"; exit ;; 6985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6986 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6987 ac_cs_silent=: ;; 6988 6989 # This is an error. 6990 -*) { $as_echo "$as_me: error: unrecognized option: $1 6991 Try \`$0 --help' for more information." >&2 6992 { (exit 1); exit 1; }; } ;; 6993 6994 *) ac_config_targets="$ac_config_targets $1" 6995 ac_need_defaults=false ;; 6996 6997 esac 6998 shift 6999 done 7000 7001 ac_configure_extra_args= 7002 7003 if $ac_cs_silent; then 7004 exec 6>/dev/null 7005 ac_configure_extra_args="$ac_configure_extra_args --silent" 7006 fi 7007 7008 _ACEOF 7009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7010 if \$ac_cs_recheck; then 7011 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7012 shift 7013 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7014 CONFIG_SHELL='$SHELL' 7015 export CONFIG_SHELL 7016 exec "\$@" 7017 fi 7018 7019 _ACEOF 7020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5862 7021 exec 5>>config.log 5863 7022 { … … 5866 7025 ## Running $as_me. ## 5867 7026 _ASBOX 7027 $as_echo "$ac_log" 5868 7028 } >&5 5869 cat >&5 <<_CSEOF 5870 5871 This file was extended by $as_me, which was 5872 generated by GNU Autoconf 2.57. Invocation command line was 5873 5874 CONFIG_FILES = $CONFIG_FILES 5875 CONFIG_HEADERS = $CONFIG_HEADERS 5876 CONFIG_LINKS = $CONFIG_LINKS 5877 CONFIG_COMMANDS = $CONFIG_COMMANDS 5878 $ $0 $@ 5879 5880 _CSEOF 5881 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5882 echo >&5 5883 _ACEOF 5884 5885 # Files that config.status was made for. 5886 if test -n "$ac_config_files"; then 5887 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5888 fi 5889 5890 if test -n "$ac_config_headers"; then 5891 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5892 fi 5893 5894 if test -n "$ac_config_links"; then 5895 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5896 fi 5897 5898 if test -n "$ac_config_commands"; then 5899 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5900 fi 5901 5902 cat >>$CONFIG_STATUS <<\_ACEOF 5903 5904 ac_cs_usage="\ 5905 \`$as_me' instantiates files from templates according to the 5906 current configuration. 5907 5908 Usage: $0 [OPTIONS] [FILE]... 5909 5910 -h, --help print this help, then exit 5911 -V, --version print version number, then exit 5912 -q, --quiet do not print progress messages 5913 -d, --debug don't remove temporary files 5914 --recheck update $as_me by reconfiguring in the same conditions 5915 --file=FILE[:TEMPLATE] 5916 instantiate the configuration file FILE 5917 5918 Configuration files: 5919 $config_files 5920 5921 Report bugs to <bug-autoconf@gnu.org>." 5922 _ACEOF 5923 5924 cat >>$CONFIG_STATUS <<_ACEOF 5925 ac_cs_version="\\ 5926 config.status 5927 configured by $0, generated by GNU Autoconf 2.57, 5928 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5929 5930 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5931 Free Software Foundation, Inc. 5932 This config.status script is free software; the Free Software Foundation 5933 gives unlimited permission to copy, distribute and modify it." 5934 srcdir=$srcdir 5935 INSTALL="$INSTALL" 5936 _ACEOF 5937 5938 cat >>$CONFIG_STATUS <<\_ACEOF 5939 # If no file are specified by the user, then we need to provide default 5940 # value. By we need to know if files were specified by the user. 5941 ac_need_defaults=: 5942 while test $# != 0 5943 do 5944 case $1 in 5945 --*=*) 5946 ac_option=`expr "x$1" : 'x\([^=]*\)='` 5947 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 5948 ac_shift=: 5949 ;; 5950 -*) 5951 ac_option=$1 5952 ac_optarg=$2 5953 ac_shift=shift 5954 ;; 5955 *) # This is not an option, so the user has probably given explicit 5956 # arguments. 5957 ac_option=$1 5958 ac_need_defaults=false;; 5959 esac 5960 5961 case $ac_option in 5962 # Handling of the options. 5963 _ACEOF 5964 cat >>$CONFIG_STATUS <<\_ACEOF 5965 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5966 ac_cs_recheck=: ;; 5967 --version | --vers* | -V ) 5968 echo "$ac_cs_version"; exit 0 ;; 5969 --he | --h) 5970 # Conflict between --help and --header 5971 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5972 Try \`$0 --help' for more information." >&5 5973 echo "$as_me: error: ambiguous option: $1 5974 Try \`$0 --help' for more information." >&2;} 5975 { (exit 1); exit 1; }; };; 5976 --help | --hel | -h ) 5977 echo "$ac_cs_usage"; exit 0 ;; 5978 --debug | --d* | -d ) 5979 debug=: ;; 5980 --file | --fil | --fi | --f ) 5981 $ac_shift 5982 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5983 ac_need_defaults=false;; 5984 --header | --heade | --head | --hea ) 5985 $ac_shift 5986 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5987 ac_need_defaults=false;; 5988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5989 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5990 ac_cs_silent=: ;; 5991 5992 # This is an error. 5993 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5994 Try \`$0 --help' for more information." >&5 5995 echo "$as_me: error: unrecognized option: $1 5996 Try \`$0 --help' for more information." >&2;} 5997 { (exit 1); exit 1; }; } ;; 5998 5999 *) ac_config_targets="$ac_config_targets $1" ;; 6000 6001 esac 6002 shift 6003 done 6004 6005 ac_configure_extra_args= 6006 6007 if $ac_cs_silent; then 6008 exec 6>/dev/null 6009 ac_configure_extra_args="$ac_configure_extra_args --silent" 6010 fi 6011 6012 _ACEOF 6013 cat >>$CONFIG_STATUS <<_ACEOF 6014 if \$ac_cs_recheck; then 6015 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6016 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6017 fi 6018 6019 _ACEOF 6020 6021 6022 6023 6024 6025 cat >>$CONFIG_STATUS <<\_ACEOF 7029 7030 _ACEOF 7031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7032 _ACEOF 7033 7034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7035 7036 # Handling of arguments. 6026 7037 for ac_config_target in $ac_config_targets 6027 7038 do 6028 case "$ac_config_target"in6029 # Handling of arguments.6030 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6031 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&56032 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}7039 case $ac_config_target in 7040 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7041 7042 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7043 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6033 7044 { (exit 1); exit 1; }; };; 6034 7045 esac 6035 7046 done 7047 6036 7048 6037 7049 # If the user did not use the arguments to specify the items to instantiate, … … 6044 7056 6045 7057 # Have a temporary directory for convenience. Make it in the build tree 6046 # simply because there is no reason to putit here, and in addition,7058 # simply because there is no reason against having it here, and in addition, 6047 7059 # creating and moving files from /tmp can sometimes cause problems. 6048 # Create a temporary directory, and hook for its removal unless debugging. 7060 # Hook for its removal unless debugging. 7061 # Note that there is a small window in which the directory will not be cleaned: 7062 # after its creation but before its name has been assigned to `$tmp'. 6049 7063 $debug || 6050 7064 { 6051 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 7065 tmp= 7066 trap 'exit_status=$? 7067 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7068 ' 0 6052 7069 trap '{ (exit 1); exit 1; }' 1 2 13 15 6053 7070 } 6054 6055 7071 # Create a (secure) tmp directory for tmp files. 6056 7072 6057 7073 { 6058 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&7074 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6059 7075 test -n "$tmp" && test -d "$tmp" 6060 7076 } || 6061 7077 { 6062 tmp=./conf stat$$-$RANDOM6063 (umask 077 && mkdir $tmp)7078 tmp=./conf$$-$RANDOM 7079 (umask 077 && mkdir "$tmp") 6064 7080 } || 6065 7081 { 6066 echo "$me: cannot create a temporary directory in ." >&27082 $as_echo "$as_me: cannot create a temporary directory in ." >&2 6067 7083 { (exit 1); exit 1; } 6068 7084 } 6069 7085 6070 _ACEOF 6071 6072 cat >>$CONFIG_STATUS <<_ACEOF 6073 6074 # 6075 # CONFIG_FILES section. 6076 # 6077 6078 # No need to generate the scripts if there are no CONFIG_FILES. 6079 # This happens for instance when ./config.status config.h 6080 if test -n "\$CONFIG_FILES"; then 6081 # Protect against being on the right side of a sed subst in config.status. 6082 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 6083 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 6084 s,@SHELL@,$SHELL,;t t 6085 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 6086 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 6087 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 6088 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 6089 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 6090 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 6091 s,@exec_prefix@,$exec_prefix,;t t 6092 s,@prefix@,$prefix,;t t 6093 s,@program_transform_name@,$program_transform_name,;t t 6094 s,@bindir@,$bindir,;t t 6095 s,@sbindir@,$sbindir,;t t 6096 s,@libexecdir@,$libexecdir,;t t 6097 s,@datadir@,$datadir,;t t 6098 s,@sysconfdir@,$sysconfdir,;t t 6099 s,@sharedstatedir@,$sharedstatedir,;t t 6100 s,@localstatedir@,$localstatedir,;t t 6101 s,@libdir@,$libdir,;t t 6102 s,@includedir@,$includedir,;t t 6103 s,@oldincludedir@,$oldincludedir,;t t 6104 s,@infodir@,$infodir,;t t 6105 s,@mandir@,$mandir,;t t 6106 s,@build_alias@,$build_alias,;t t 6107 s,@host_alias@,$host_alias,;t t 6108 s,@target_alias@,$target_alias,;t t 6109 s,@DEFS@,$DEFS,;t t 6110 s,@ECHO_C@,$ECHO_C,;t t 6111 s,@ECHO_N@,$ECHO_N,;t t 6112 s,@ECHO_T@,$ECHO_T,;t t 6113 s,@LIBS@,$LIBS,;t t 6114 s,@glulibdir@,$glulibdir,;t t 6115 s,@gluincdir@,$gluincdir,;t t 6116 s,@vislibdir@,$vislibdir,;t t 6117 s,@local_srcdir@,$local_srcdir,;t t 6118 s,@BDDLIB@,$BDDLIB,;t t 6119 s,@ZCHAFF@,$ZCHAFF,;t t 6120 s,@AR@,$AR,;t t 6121 s,@RANLIB@,$RANLIB,;t t 6122 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 6123 s,@build@,$build,;t t 6124 s,@build_cpu@,$build_cpu,;t t 6125 s,@build_vendor@,$build_vendor,;t t 6126 s,@build_os@,$build_os,;t t 6127 s,@host@,$host,;t t 6128 s,@host_cpu@,$host_cpu,;t t 6129 s,@host_vendor@,$host_vendor,;t t 6130 s,@host_os@,$host_os,;t t 6131 s,@target@,$target,;t t 6132 s,@target_cpu@,$target_cpu,;t t 6133 s,@target_vendor@,$target_vendor,;t t 6134 s,@target_os@,$target_os,;t t 6135 s,@CC@,$CC,;t t 6136 s,@CFLAGS@,$CFLAGS,;t t 6137 s,@LDFLAGS@,$LDFLAGS,;t t 6138 s,@CPPFLAGS@,$CPPFLAGS,;t t 6139 s,@ac_ct_CC@,$ac_ct_CC,;t t 6140 s,@EXEEXT@,$EXEEXT,;t t 6141 s,@OBJEXT@,$OBJEXT,;t t 6142 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 6143 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 6144 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 6145 s,@LINKER@,$LINKER,;t t 6146 s,@PLINKER@,$PLINKER,;t t 6147 s,@LEX@,$LEX,;t t 6148 s,@LEXLIB@,$LEXLIB,;t t 6149 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 6150 s,@YACC@,$YACC,;t t 6151 s,@CPP@,$CPP,;t t 6152 s,@EGREP@,$EGREP,;t t 6153 s,@LIBDIRS@,$LIBDIRS,;t t 6154 s,@LIBOBJS@,$LIBOBJS,;t t 6155 s,@AWK@,$AWK,;t t 6156 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 6157 CEOF 6158 6159 _ACEOF 6160 6161 cat >>$CONFIG_STATUS <<\_ACEOF 6162 # Split the substitutions into bite-sized pieces for seds with 6163 # small command number limits, like on Digital OSF/1 and HP-UX. 6164 ac_max_sed_lines=48 6165 ac_sed_frag=1 # Number of current file. 6166 ac_beg=1 # First line for current file. 6167 ac_end=$ac_max_sed_lines # Line after last line for current file. 6168 ac_more_lines=: 6169 ac_sed_cmds= 6170 while $ac_more_lines; do 6171 if test $ac_beg -gt 1; then 6172 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6173 else 6174 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7086 # Set up the scripts for CONFIG_FILES section. 7087 # No need to generate them if there are no CONFIG_FILES. 7088 # This happens for instance with `./config.status config.h'. 7089 if test -n "$CONFIG_FILES"; then 7090 7091 7092 ac_cr=' 7093 ' 7094 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7095 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7096 ac_cs_awk_cr='\\r' 7097 else 7098 ac_cs_awk_cr=$ac_cr 7099 fi 7100 7101 echo 'BEGIN {' >"$tmp/subs1.awk" && 7102 _ACEOF 7103 7104 7105 { 7106 echo "cat >conf$$subs.awk <<_ACEOF" && 7107 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7108 echo "_ACEOF" 7109 } >conf$$subs.sh || 7110 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 7111 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 7112 { (exit 1); exit 1; }; } 7113 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7114 ac_delim='%!_!# ' 7115 for ac_last_try in false false false false false :; do 7116 . ./conf$$subs.sh || 7117 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 7118 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 7119 { (exit 1); exit 1; }; } 7120 7121 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7122 if test $ac_delim_n = $ac_delim_num; then 7123 break 7124 elif $ac_last_try; then 7125 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 7126 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 7127 { (exit 1); exit 1; }; } 7128 else 7129 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7130 fi 7131 done 7132 rm -f conf$$subs.sh 7133 7134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7135 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7136 _ACEOF 7137 sed -n ' 7138 h 7139 s/^/S["/; s/!.*/"]=/ 7140 p 7141 g 7142 s/^[^!]*!// 7143 :repl 7144 t repl 7145 s/'"$ac_delim"'$// 7146 t delim 7147 :nl 7148 h 7149 s/\(.\{148\}\).*/\1/ 7150 t more1 7151 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7152 p 7153 n 7154 b repl 7155 :more1 7156 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7157 p 7158 g 7159 s/.\{148\}// 7160 t nl 7161 :delim 7162 h 7163 s/\(.\{148\}\).*/\1/ 7164 t more2 7165 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7166 p 7167 b 7168 :more2 7169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7170 p 7171 g 7172 s/.\{148\}// 7173 t delim 7174 ' <conf$$subs.awk | sed ' 7175 /^[^""]/{ 7176 N 7177 s/\n// 7178 } 7179 ' >>$CONFIG_STATUS || ac_write_fail=1 7180 rm -f conf$$subs.awk 7181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7182 _ACAWK 7183 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7184 for (key in S) S_is_set[key] = 1 7185 FS = "" 7186 7187 } 7188 { 7189 line = $ 0 7190 nfields = split(line, field, "@") 7191 substed = 0 7192 len = length(field[1]) 7193 for (i = 2; i < nfields; i++) { 7194 key = field[i] 7195 keylen = length(key) 7196 if (S_is_set[key]) { 7197 value = S[key] 7198 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7199 len += length(value) + length(field[++i]) 7200 substed = 1 7201 } else 7202 len += 1 + keylen 7203 } 7204 7205 print line 7206 } 7207 7208 _ACAWK 7209 _ACEOF 7210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7211 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7212 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7213 else 7214 cat 7215 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7216 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 7217 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 7218 { (exit 1); exit 1; }; } 7219 _ACEOF 7220 7221 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7222 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7223 # trailing colons and then remove the whole line if VPATH becomes empty 7224 # (actually we leave an empty line to preserve line numbers). 7225 if test "x$srcdir" = x.; then 7226 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7227 s/:*\$(srcdir):*/:/ 7228 s/:*\${srcdir}:*/:/ 7229 s/:*@srcdir@:*/:/ 7230 s/^\([^=]*=[ ]*\):*/\1/ 7231 s/:*$// 7232 s/^[^=]*=[ ]*$// 7233 }' 7234 fi 7235 7236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7237 fi # test -n "$CONFIG_FILES" 7238 7239 7240 eval set X " :F $CONFIG_FILES " 7241 shift 7242 for ac_tag 7243 do 7244 case $ac_tag in 7245 :[FHLC]) ac_mode=$ac_tag; continue;; 7246 esac 7247 case $ac_mode$ac_tag in 7248 :[FHL]*:*);; 7249 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 7250 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 7251 { (exit 1); exit 1; }; };; 7252 :[FH]-) ac_tag=-:-;; 7253 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7254 esac 7255 ac_save_IFS=$IFS 7256 IFS=: 7257 set x $ac_tag 7258 IFS=$ac_save_IFS 7259 shift 7260 ac_file=$1 7261 shift 7262 7263 case $ac_mode in 7264 :L) ac_source=$1;; 7265 :[FH]) 7266 ac_file_inputs= 7267 for ac_f 7268 do 7269 case $ac_f in 7270 -) ac_f="$tmp/stdin";; 7271 *) # Look for the file first in the build tree, then in the source tree 7272 # (if the path is not absolute). The absolute path cannot be DOS-style, 7273 # because $ac_f cannot contain `:'. 7274 test -f "$ac_f" || 7275 case $ac_f in 7276 [\\/$]*) false;; 7277 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7278 esac || 7279 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 7280 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 7281 { (exit 1); exit 1; }; };; 7282 esac 7283 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7284 ac_file_inputs="$ac_file_inputs '$ac_f'" 7285 done 7286 7287 # Let's still pretend it is `configure' which instantiates (i.e., don't 7288 # use $as_me), people would be surprised to read: 7289 # /* config.h. Generated by config.status. */ 7290 configure_input='Generated from '` 7291 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7292 `' by configure.' 7293 if test x"$ac_file" != x-; then 7294 configure_input="$ac_file. $configure_input" 7295 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 7296 $as_echo "$as_me: creating $ac_file" >&6;} 6175 7297 fi 6176 if test ! -s $tmp/subs.frag; then 6177 ac_more_lines=false 6178 else 6179 # The purpose of the label and of the branching condition is to 6180 # speed up the sed processing (if there are no `@' at all, there 6181 # is no need to browse any of the substitutions). 6182 # These are the two extra sed commands mentioned above. 6183 (echo ':t 6184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 6185 if test -z "$ac_sed_cmds"; then 6186 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 6187 else 6188 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 6189 fi 6190 ac_sed_frag=`expr $ac_sed_frag + 1` 6191 ac_beg=$ac_end 6192 ac_end=`expr $ac_end + $ac_max_sed_lines` 6193 fi 6194 done 6195 if test -z "$ac_sed_cmds"; then 6196 ac_sed_cmds=cat 6197 fi 6198 fi # test -n "$CONFIG_FILES" 6199 6200 _ACEOF 6201 cat >>$CONFIG_STATUS <<\_ACEOF 6202 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 6203 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6204 case $ac_file in 6205 - | *:- | *:-:* ) # input from stdin 6206 cat >$tmp/stdin 6207 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6208 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6209 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6210 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6211 * ) ac_file_in=$ac_file.in ;; 7298 # Neutralize special characters interpreted by sed in replacement strings. 7299 case $configure_input in #( 7300 *\&* | *\|* | *\\* ) 7301 ac_sed_conf_input=`$as_echo "$configure_input" | 7302 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7303 *) ac_sed_conf_input=$configure_input;; 7304 esac 7305 7306 case $ac_tag in 7307 *:-:* | *:-) cat >"$tmp/stdin" \ 7308 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7309 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7310 { (exit 1); exit 1; }; } ;; 7311 esac 7312 ;; 6212 7313 esac 6213 7314 6214 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 6215 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7315 ac_dir=`$as_dirname -- "$ac_file" || 6216 7316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6217 X"$ac_file" : 'X\(//\)[^/]' \| \ 6218 X"$ac_file" : 'X\(//\)$' \| \ 6219 X"$ac_file" : 'X\(/\)' \| \ 6220 . : '\(.\)' 2>/dev/null || 6221 echo X"$ac_file" | 6222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6223 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6224 /^X\(\/\/\)$/{ s//\1/; q; } 6225 /^X\(\/\).*/{ s//\1/; q; } 6226 s/.*/./; q'` 6227 { if $as_mkdir_p; then 6228 mkdir -p "$ac_dir" 6229 else 6230 as_dir="$ac_dir" 7317 X"$ac_file" : 'X\(//\)[^/]' \| \ 7318 X"$ac_file" : 'X\(//\)$' \| \ 7319 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7320 $as_echo X"$ac_file" | 7321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7322 s//\1/ 7323 q 7324 } 7325 /^X\(\/\/\)[^/].*/{ 7326 s//\1/ 7327 q 7328 } 7329 /^X\(\/\/\)$/{ 7330 s//\1/ 7331 q 7332 } 7333 /^X\(\/\).*/{ 7334 s//\1/ 7335 q 7336 } 7337 s/.*/./; q'` 7338 { as_dir="$ac_dir" 7339 case $as_dir in #( 7340 -*) as_dir=./$as_dir;; 7341 esac 7342 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6231 7343 as_dirs= 6232 while test ! -d "$as_dir"; do 6233 as_dirs="$as_dir $as_dirs" 6234 as_dir=`(dirname "$as_dir") 2>/dev/null || 7344 while :; do 7345 case $as_dir in #( 7346 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7347 *) as_qdir=$as_dir;; 7348 esac 7349 as_dirs="'$as_qdir' $as_dirs" 7350 as_dir=`$as_dirname -- "$as_dir" || 6235 7351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6236 X"$as_dir" : 'X\(//\)[^/]' \| \ 6237 X"$as_dir" : 'X\(//\)$' \| \ 6238 X"$as_dir" : 'X\(/\)' \| \ 6239 . : '\(.\)' 2>/dev/null || 6240 echo X"$as_dir" | 6241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6242 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6243 /^X\(\/\/\)$/{ s//\1/; q; } 6244 /^X\(\/\).*/{ s//\1/; q; } 6245 s/.*/./; q'` 7352 X"$as_dir" : 'X\(//\)[^/]' \| \ 7353 X"$as_dir" : 'X\(//\)$' \| \ 7354 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7355 $as_echo X"$as_dir" | 7356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7357 s//\1/ 7358 q 7359 } 7360 /^X\(\/\/\)[^/].*/{ 7361 s//\1/ 7362 q 7363 } 7364 /^X\(\/\/\)$/{ 7365 s//\1/ 7366 q 7367 } 7368 /^X\(\/\).*/{ 7369 s//\1/ 7370 q 7371 } 7372 s/.*/./; q'` 7373 test -d "$as_dir" && break 6246 7374 done 6247 test ! -n "$as_dirs" || mkdir $as_dirs6248 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&56249 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}7375 test -z "$as_dirs" || eval "mkdir $as_dirs" 7376 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7377 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6250 7378 { (exit 1); exit 1; }; }; } 6251 6252 7379 ac_builddir=. 6253 7380 6254 if test "$ac_dir" != .; then 6255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6256 # A "../" for each directory in $ac_dir_suffix. 6257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6258 else 6259 ac_dir_suffix= ac_top_builddir= 6260 fi 7381 case "$ac_dir" in 7382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7383 *) 7384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7385 # A ".." for each directory in $ac_dir_suffix. 7386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7387 case $ac_top_builddir_sub in 7388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7390 esac ;; 7391 esac 7392 ac_abs_top_builddir=$ac_pwd 7393 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7394 # for backward compatibility: 7395 ac_top_builddir=$ac_top_build_prefix 6261 7396 6262 7397 case $srcdir in 6263 .) # No --srcdir option.We are building in place.7398 .) # We are building in place. 6264 7399 ac_srcdir=. 6265 if test -z "$ac_top_builddir"; then 6266 ac_top_srcdir=. 6267 else 6268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6269 fi ;; 6270 [\\/]* | ?:[\\/]* ) # Absolute path. 7400 ac_top_srcdir=$ac_top_builddir_sub 7401 ac_abs_top_srcdir=$ac_pwd ;; 7402 [\\/]* | ?:[\\/]* ) # Absolute name. 6271 7403 ac_srcdir=$srcdir$ac_dir_suffix; 6272 ac_top_srcdir=$srcdir ;; 6273 *) # Relative path. 6274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6275 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6276 esac 6277 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 6278 # absolute. 6279 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 6280 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 6281 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 6282 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 6283 7404 ac_top_srcdir=$srcdir 7405 ac_abs_top_srcdir=$srcdir ;; 7406 *) # Relative name. 7407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7408 ac_top_srcdir=$ac_top_build_prefix$srcdir 7409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7410 esac 7411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7412 7413 7414 case $ac_mode in 7415 :F) 7416 # 7417 # CONFIG_FILE 7418 # 6284 7419 6285 7420 case $INSTALL in 6286 7421 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6287 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;7422 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6288 7423 esac 6289 6290 if test x"$ac_file" != x-; then 6291 { echo "$as_me:$LINENO: creating $ac_file" >&5 6292 echo "$as_me: creating $ac_file" >&6;} 6293 rm -f "$ac_file" 6294 fi 6295 # Let's still pretend it is `configure' which instantiates (i.e., don't 6296 # use $as_me), people would be surprised to read: 6297 # /* config.h. Generated by config.status. */ 6298 if test x"$ac_file" = x-; then 6299 configure_input= 6300 else 6301 configure_input="$ac_file. " 6302 fi 6303 configure_input=$configure_input"Generated from `echo $ac_file_in | 6304 sed 's,.*/,,'` by configure." 6305 6306 # First look for the input files in the build tree, otherwise in the 6307 # src tree. 6308 ac_file_inputs=`IFS=: 6309 for f in $ac_file_in; do 6310 case $f in 6311 -) echo $tmp/stdin ;; 6312 [\\/$]*) 6313 # Absolute (can't be DOS-style, as IFS=:) 6314 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6315 echo "$as_me: error: cannot find input file: $f" >&2;} 6316 { (exit 1); exit 1; }; } 6317 echo $f;; 6318 *) # Relative 6319 if test -f "$f"; then 6320 # Build tree 6321 echo $f 6322 elif test -f "$srcdir/$f"; then 6323 # Source tree 6324 echo $srcdir/$f 6325 else 6326 # /dev/null tree 6327 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6328 echo "$as_me: error: cannot find input file: $f" >&2;} 6329 { (exit 1); exit 1; }; } 6330 fi;; 6331 esac 6332 done` || { (exit 1); exit 1; } 6333 _ACEOF 6334 cat >>$CONFIG_STATUS <<_ACEOF 6335 sed "$ac_vpsub 7424 _ACEOF 7425 7426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7427 # If the template does not know about datarootdir, expand it. 7428 # FIXME: This hack should be removed a few years after 2.60. 7429 ac_datarootdir_hack=; ac_datarootdir_seen= 7430 7431 ac_sed_dataroot=' 7432 /datarootdir/ { 7433 p 7434 q 7435 } 7436 /@datadir@/p 7437 /@docdir@/p 7438 /@infodir@/p 7439 /@localedir@/p 7440 /@mandir@/p 7441 ' 7442 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7443 *datarootdir*) ac_datarootdir_seen=yes;; 7444 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7445 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7446 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7447 _ACEOF 7448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7449 ac_datarootdir_hack=' 7450 s&@datadir@&$datadir&g 7451 s&@docdir@&$docdir&g 7452 s&@infodir@&$infodir&g 7453 s&@localedir@&$localedir&g 7454 s&@mandir@&$mandir&g 7455 s&\\\${datarootdir}&$datarootdir&g' ;; 7456 esac 7457 _ACEOF 7458 7459 # Neutralize VPATH when `$srcdir' = `.'. 7460 # Shell code in configure.ac might set extrasub. 7461 # FIXME: do we really want to maintain this feature? 7462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7463 ac_sed_extra="$ac_vpsub 6336 7464 $extrasub 6337 7465 _ACEOF 6338 cat >>$CONFIG_STATUS <<\_ACEOF 7466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6339 7467 :t 6340 7468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6341 s,@configure_input@,$configure_input,;t t 6342 s,@srcdir@,$ac_srcdir,;t t 6343 s,@abs_srcdir@,$ac_abs_srcdir,;t t 6344 s,@top_srcdir@,$ac_top_srcdir,;t t 6345 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 6346 s,@builddir@,$ac_builddir,;t t 6347 s,@abs_builddir@,$ac_abs_builddir,;t t 6348 s,@top_builddir@,$ac_top_builddir,;t t 6349 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 6350 s,@INSTALL@,$ac_INSTALL,;t t 6351 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 6352 rm -f $tmp/stdin 6353 if test x"$ac_file" != x-; then 6354 mv $tmp/out $ac_file 6355 else 6356 cat $tmp/out 6357 rm -f $tmp/out 6358 fi 6359 6360 done 6361 _ACEOF 6362 6363 cat >>$CONFIG_STATUS <<\_ACEOF 7469 s|@configure_input@|$ac_sed_conf_input|;t t 7470 s&@top_builddir@&$ac_top_builddir_sub&;t t 7471 s&@top_build_prefix@&$ac_top_build_prefix&;t t 7472 s&@srcdir@&$ac_srcdir&;t t 7473 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7474 s&@top_srcdir@&$ac_top_srcdir&;t t 7475 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7476 s&@builddir@&$ac_builddir&;t t 7477 s&@abs_builddir@&$ac_abs_builddir&;t t 7478 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7479 s&@INSTALL@&$ac_INSTALL&;t t 7480 $ac_datarootdir_hack 7481 " 7482 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7483 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7484 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7485 { (exit 1); exit 1; }; } 7486 7487 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7488 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7489 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7490 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7491 which seems to be undefined. Please make sure it is defined." >&5 7492 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7493 which seems to be undefined. Please make sure it is defined." >&2;} 7494 7495 rm -f "$tmp/stdin" 7496 case $ac_file in 7497 -) cat "$tmp/out" && rm -f "$tmp/out";; 7498 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7499 esac \ 7500 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7501 $as_echo "$as_me: error: could not create $ac_file" >&2;} 7502 { (exit 1); exit 1; }; } 7503 ;; 7504 7505 7506 7507 esac 7508 7509 done # for ac_tag 7510 6364 7511 6365 7512 { (exit 0); exit 0; } … … 6367 7514 chmod +x $CONFIG_STATUS 6368 7515 ac_clean_files=$ac_clean_files_save 7516 7517 test $ac_write_fail = 0 || 7518 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 7519 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 7520 { (exit 1); exit 1; }; } 6369 7521 6370 7522 … … 6389 7541 $ac_cs_success || { (exit 1); exit 1; } 6390 7542 fi 6391 7543 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7544 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7545 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7546 fi 7547 -
vis_dev/vis-2.3/src/debug/debug.c
r100 r101 864 864 865 865 Mvf_FunctionForEachComponent( mvf, x, comp){ 866 printf("% d mdd %d ",x,mddId);866 printf("%s,%d mdd %d ",nodeName,x,mddId); 867 867 mdd_FunctionPrintMain (mddManager ,comp,"MVF",vis_stdout); 868 868 }
Note: See TracChangeset
for help on using the changeset viewer.