1 #! /bin/sh 2 # From configure.in Revision: 1.188.2.8 . 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated by GNU Autoconf 2.61. 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 8 # This configure script is free software; the Free Software Foundation 9 # gives unlimited permission to copy, distribute and modify it. 10 ## --------------------- ## 11 ## M4sh Initialization. ## 12 ## --------------------- ## 13 14 # Be more Bourne compatible 15 DUALCASE=1; export DUALCASE # for MKS sh 16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 emulate sh 18 NULLCMD=: 19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # is contrary to our usage. Disable this feature. 21 alias -g '${1+"$@"}'='"$@"' 22 setopt NO_GLOB_SUBST 23 else 24 case `(set -o) 2>/dev/null` in 25 *posix*) set -o posix ;; 26 esac 27 28 fi 29 30 31 32 33 # PATH needs CR 34 # Avoid depending upon Character Ranges. 35 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 38 as_cr_digits='0123456789' 39 as_cr_alnum=$as_cr_Letters$as_cr_digits 40 41 # The user is always right. 42 if test "${PATH_SEPARATOR+set}" != set; then 43 echo "#! /bin/sh" >conf$$.sh 44 echo "exit 0" >>conf$$.sh 45 chmod +x conf$$.sh 46 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 47 PATH_SEPARATOR=';' 48 else 49 PATH_SEPARATOR=: 50 fi 51 rm -f conf$$.sh 52 fi 53 54 # Support unset when possible. 55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 56 as_unset=unset 57 else 58 as_unset=false 59 fi 60 61 62 # IFS 63 # We need space, tab and new line, in precisely that order. Quoting is 64 # there to prevent editors from complaining about space-tab. 65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 66 # splitting by setting IFS to empty value.) 67 as_nl=' 68 ' 69 IFS=" "" $as_nl" 70 71 # Find who we are. Look in the path if we contain no directory separator. 72 case $0 in 73 *[\\/]* ) as_myself=$0 ;; 74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 75 for as_dir in $PATH 76 do 77 IFS=$as_save_IFS 78 test -z "$as_dir" && as_dir=. 79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 80 done 81 IFS=$as_save_IFS 82 83 ;; 84 esac 85 # We did not find ourselves, most probably we were run as `sh COMMAND' 86 # in which case we are not to be found in the path. 87 if test "x$as_myself" = x; then 88 as_myself=$0 89 fi 90 if test ! -f "$as_myself"; then 91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 92 { (exit 1); exit 1; } 93 fi 94 95 # Work around bugs in pre-3.0 UWIN ksh. 96 for as_var in ENV MAIL MAILPATH 97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 98 done 99 PS1='$ ' 100 PS2='> ' 101 PS4='+ ' 102 103 # NLS nuisances. 104 for as_var in \ 105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 107 LC_TELEPHONE LC_TIME 108 do 109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 110 eval $as_var=C; export $as_var 111 else 112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 fi 114 done 115 116 # Required to use basename. 117 if expr a : '\(a\)' >/dev/null 2>&1 && 118 test "X`expr 00001 : '.*\(...\)'`" = X001; then 119 as_expr=expr 120 else 121 as_expr=false 122 fi 123 124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 125 as_basename=basename 126 else 127 as_basename=false 128 fi 129 130 131 # Name of the executable. 132 as_me=`$as_basename -- "$0" || 133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 134 X"$0" : 'X\(//\)$' \| \ 135 X"$0" : 'X\(/\)' \| . 2>/dev/null || 136 echo X/"$0" | 137 sed '/^.*\/\([^/][^/]*\)\/*$/{ 138 s//\1/ 139 q 140 } 141 /^X\/\(\/\/\)$/{ 142 s//\1/ 143 q 144 } 145 /^X\/\(\/\).*/{ 146 s//\1/ 147 q 148 } 149 s/.*/./; q'` 150 151 # CDPATH. 152 $as_unset CDPATH 153 154 155 if test "x$CONFIG_SHELL" = x; then 156 if (eval ":") 2>/dev/null; then 157 as_have_required=yes 158 else 159 as_have_required=no 160 fi 161 162 if test $as_have_required = yes && (eval ": 163 (as_func_return () { 164 (exit \$1) 165 } 166 as_func_success () { 167 as_func_return 0 168 } 169 as_func_failure () { 170 as_func_return 1 171 } 172 as_func_ret_success () { 173 return 0 174 } 175 as_func_ret_failure () { 176 return 1 177 } 178 179 exitcode=0 180 if as_func_success; then 181 : 182 else 183 exitcode=1 184 echo as_func_success failed. 185 fi 186 187 if as_func_failure; then 188 exitcode=1 189 echo as_func_failure succeeded. 190 fi 191 192 if as_func_ret_success; then 193 : 194 else 195 exitcode=1 196 echo as_func_ret_success failed. 197 fi 198 199 if as_func_ret_failure; then 200 exitcode=1 201 echo as_func_ret_failure succeeded. 202 fi 203 204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 205 : 206 else 207 exitcode=1 208 echo positional parameters were not saved. 209 fi 210 211 test \$exitcode = 0) || { (exit 1); exit 1; } 212 213 ( 214 as_lineno_1=\$LINENO 215 as_lineno_2=\$LINENO 216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 218 ") 2> /dev/null; then 219 : 220 else 221 as_candidate_shells= 222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 224 do 225 IFS=$as_save_IFS 226 test -z "$as_dir" && as_dir=. 227 case $as_dir in 228 /*) 229 for as_base in sh bash ksh sh5; do 230 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 231 done;; 232 esac 233 done 234 IFS=$as_save_IFS 235 236 237 for as_shell in $as_candidate_shells $SHELL; do 238 # Try only shells that exist, to save several forks. 239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 240 { ("$as_shell") 2> /dev/null <<\_ASEOF 241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 242 emulate sh 243 NULLCMD=: 244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 245 # is contrary to our usage. Disable this feature. 246 alias -g '${1+"$@"}'='"$@"' 247 setopt NO_GLOB_SUBST 248 else 249 case `(set -o) 2>/dev/null` in 250 *posix*) set -o posix ;; 251 esac 252 253 fi 254 255 256 : 257 _ASEOF 258 }; then 259 CONFIG_SHELL=$as_shell 260 as_have_required=yes 261 if { "$as_shell" 2> /dev/null <<\_ASEOF 262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 263 emulate sh 264 NULLCMD=: 265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 266 # is contrary to our usage. Disable this feature. 267 alias -g '${1+"$@"}'='"$@"' 268 setopt NO_GLOB_SUBST 269 else 270 case `(set -o) 2>/dev/null` in 271 *posix*) set -o posix ;; 272 esac 273 274 fi 275 276 277 : 278 (as_func_return () { 279 (exit $1) 280 } 281 as_func_success () { 282 as_func_return 0 283 } 284 as_func_failure () { 285 as_func_return 1 286 } 287 as_func_ret_success () { 288 return 0 289 } 290 as_func_ret_failure () { 291 return 1 292 } 293 294 exitcode=0 295 if as_func_success; then 296 : 297 else 298 exitcode=1 299 echo as_func_success failed. 300 fi 301 302 if as_func_failure; then 303 exitcode=1 304 echo as_func_failure succeeded. 305 fi 306 307 if as_func_ret_success; then 308 : 309 else 310 exitcode=1 311 echo as_func_ret_success failed. 312 fi 313 314 if as_func_ret_failure; then 315 exitcode=1 316 echo as_func_ret_failure succeeded. 317 fi 318 319 if ( set x; as_func_ret_success y && test x = "$1" ); then 320 : 321 else 322 exitcode=1 323 echo positional parameters were not saved. 324 fi 325 326 test $exitcode = 0) || { (exit 1); exit 1; } 327 328 ( 329 as_lineno_1=$LINENO 330 as_lineno_2=$LINENO 331 test "x$as_lineno_1" != "x$as_lineno_2" && 332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 333 334 _ASEOF 335 }; then 336 break 337 fi 338 339 fi 340 341 done 342 343 if test "x$CONFIG_SHELL" != x; then 344 for as_var in BASH_ENV ENV 345 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 346 done 347 export CONFIG_SHELL 348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 349 fi 350 351 352 if test $as_have_required = no; then 353 echo This script requires a shell more modern than all the 354 echo shells that I found on your system. Please install a 355 echo modern shell, or manually run the script under such a 356 echo shell if you do have one. 357 { (exit 1); exit 1; } 358 fi 359 360 361 fi 362 363 fi 364 365 366 367 (eval "as_func_return () { 368 (exit \$1) 369 } 370 as_func_success () { 371 as_func_return 0 372 } 373 as_func_failure () { 374 as_func_return 1 375 } 376 as_func_ret_success () { 377 return 0 378 } 379 as_func_ret_failure () { 380 return 1 381 } 382 383 exitcode=0 384 if as_func_success; then 385 : 386 else 387 exitcode=1 388 echo as_func_success failed. 389 fi 390 391 if as_func_failure; then 392 exitcode=1 393 echo as_func_failure succeeded. 394 fi 395 396 if as_func_ret_success; then 397 : 398 else 399 exitcode=1 400 echo as_func_ret_success failed. 401 fi 402 403 if as_func_ret_failure; then 404 exitcode=1 405 echo as_func_ret_failure succeeded. 406 fi 407 408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 409 : 410 else 411 exitcode=1 412 echo positional parameters were not saved. 413 fi 414 415 test \$exitcode = 0") || { 416 echo No shell found that supports shell functions. 417 echo Please tell autoconf@gnu.org about your system, 418 echo including any error possibly output before this 419 echo message 420 } 421 422 423 424 as_lineno_1=$LINENO 425 as_lineno_2=$LINENO 426 test "x$as_lineno_1" != "x$as_lineno_2" && 427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 428 429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 430 # uniformly replaced by the line number. The first 'sed' inserts a 431 # line-number line after each line using $LINENO; the second 'sed' 432 # does the real work. The second script uses 'N' to pair each 433 # line-number line with the line containing $LINENO, and appends 434 # trailing '-' during substitution so that $LINENO is not a special 435 # case at line end. 436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 437 # scripts with optimization help from Paolo Bonzini. Blame Lee 438 # E. McMahon (1931-1989) for sed's syntax. :-) 439 sed -n ' 440 p 441 /[$]LINENO/= 442 ' <$as_myself | 443 sed ' 444 s/[$]LINENO.*/&-/ 445 t lineno 446 b 447 :lineno 448 N 449 :loop 450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 451 t loop 452 s/-\n.*// 453 ' >$as_me.lineno && 454 chmod +x "$as_me.lineno" || 455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 456 { (exit 1); exit 1; }; } 457 458 # Don't try to exec as it changes $[0], causing all sort of problems 459 # (the dirname of $[0] is not the place where we might find the 460 # original and so on. Autoconf is especially sensitive to this). 461 . "./$as_me.lineno" 462 # Exit status is that of the last command. 463 exit 464 } 465 466 467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 468 as_dirname=dirname 469 else 470 as_dirname=false 471 fi 472 473 ECHO_C= ECHO_N= ECHO_T= 474 case `echo -n x` in 475 -n*) 476 case `echo 'x\c'` in 477 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 478 *) ECHO_C='\c';; 479 esac;; 480 *) 481 ECHO_N='-n';; 482 esac 483 484 if expr a : '\(a\)' >/dev/null 2>&1 && 485 test "X`expr 00001 : '.*\(...\)'`" = X001; then 486 as_expr=expr 487 else 488 as_expr=false 489 fi 490 491 rm -f conf$$ conf$$.exe conf$$.file 492 if test -d conf$$.dir; then 493 rm -f conf$$.dir/conf$$.file 494 else 495 rm -f conf$$.dir 496 mkdir conf$$.dir 497 fi 498 echo >conf$$.file 499 if ln -s conf$$.file conf$$ 2>/dev/null; then 500 as_ln_s='ln -s' 501 # ... but there are two gotchas: 502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 504 # In both cases, we have to default to `cp -p'. 505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 506 as_ln_s='cp -p' 507 elif ln conf$$.file conf$$ 2>/dev/null; then 508 as_ln_s=ln 509 else 510 as_ln_s='cp -p' 511 fi 512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 513 rmdir conf$$.dir 2>/dev/null 514 515 if mkdir -p . 2>/dev/null; then 516 as_mkdir_p=: 517 else 518 test -d ./-p && rmdir ./-p 519 as_mkdir_p=false 520 fi 521 522 if test -x / >/dev/null 2>&1; then 523 as_test_x='test -x' 524 else 525 if ls -dL / >/dev/null 2>&1; then 526 as_ls_L_option=L 527 else 528 as_ls_L_option= 529 fi 530 as_test_x=' 531 eval sh -c '\'' 532 if test -d "$1"; then 533 test -d "$1/."; 534 else 535 case $1 in 536 -*)set "./$1";; 537 esac; 538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 539 ???[sx]*):;;*)false;;esac;fi 540 '\'' sh 541 ' 542 fi 543 as_executable_p=$as_test_x 544 545 # Sed expression to map a string onto a valid CPP name. 546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 547 548 # Sed expression to map a string onto a valid variable name. 549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 550 551 552 553 exec 7<&0 </dev/null 6>&1 554 555 # Name of the host. 556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 557 # so uname gets run too. 558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 559 560 # 561 # Initializations. 562 # 563 ac_default_prefix=/usr/local 564 ac_clean_files= 565 ac_config_libobj_dir=. 566 LIBOBJS= 567 cross_compiling=no 568 subdirs= 569 MFLAGS= 570 MAKEFLAGS= 571 SHELL=${CONFIG_SHELL-/bin/sh} 572 573 # Identity of this package. 574 PACKAGE_NAME= 575 PACKAGE_TARNAME= 576 PACKAGE_VERSION= 577 PACKAGE_STRING= 578 PACKAGE_BUGREPORT= 579 580 ac_unique_file="tcpdump.c" 581 # Factoring default headers for most tests. 582 ac_includes_default="\ 583 #include <stdio.h> 584 #ifdef HAVE_SYS_TYPES_H 585 # include <sys/types.h> 586 #endif 587 #ifdef HAVE_SYS_STAT_H 588 # include <sys/stat.h> 589 #endif 590 #ifdef STDC_HEADERS 591 # include <stdlib.h> 592 # include <stddef.h> 593 #else 594 # ifdef HAVE_STDLIB_H 595 # include <stdlib.h> 596 # endif 597 #endif 598 #ifdef HAVE_STRING_H 599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 600 # include <memory.h> 601 # endif 602 # include <string.h> 603 #endif 604 #ifdef HAVE_STRINGS_H 605 # include <strings.h> 606 #endif 607 #ifdef HAVE_INTTYPES_H 608 # include <inttypes.h> 609 #endif 610 #ifdef HAVE_STDINT_H 611 # include <stdint.h> 612 #endif 613 #ifdef HAVE_UNISTD_H 614 # include <unistd.h> 615 #endif" 616 617 ac_subst_vars='SHELL 618 PATH_SEPARATOR 619 PACKAGE_NAME 620 PACKAGE_TARNAME 621 PACKAGE_VERSION 622 PACKAGE_STRING 623 PACKAGE_BUGREPORT 624 exec_prefix 625 prefix 626 program_transform_name 627 bindir 628 sbindir 629 libexecdir 630 datarootdir 631 datadir 632 sysconfdir 633 sharedstatedir 634 localstatedir 635 includedir 636 oldincludedir 637 docdir 638 infodir 639 htmldir 640 dvidir 641 pdfdir 642 psdir 643 libdir 644 localedir 645 mandir 646 DEFS 647 ECHO_C 648 ECHO_N 649 ECHO_T 650 LIBS 651 build_alias 652 host_alias 653 target_alias 654 build 655 build_cpu 656 build_vendor 657 build_os 658 host 659 host_cpu 660 host_vendor 661 host_os 662 SHLICC2 663 CC 664 CFLAGS 665 LDFLAGS 666 CPPFLAGS 667 ac_ct_CC 668 EXEEXT 669 OBJEXT 670 CPP 671 GREP 672 EGREP 673 LIBOBJS 674 V_CCOPT 675 V_DEFS 676 V_GROUP 677 V_INCLS 678 V_PCAPDEP 679 LOCALSRC 680 INSTALL_PROGRAM 681 INSTALL_SCRIPT 682 INSTALL_DATA 683 LTLIBOBJS' 684 ac_subst_files='' 685 ac_precious_vars='build_alias 686 host_alias 687 target_alias 688 CC 689 CFLAGS 690 LDFLAGS 691 LIBS 692 CPPFLAGS 693 CPP' 694 695 696 # Initialize some variables set by options. 697 ac_init_help= 698 ac_init_version=false 699 # The variables have the same names as the options, with 700 # dashes changed to underlines. 701 cache_file=/dev/null 702 exec_prefix=NONE 703 no_create= 704 no_recursion= 705 prefix=NONE 706 program_prefix=NONE 707 program_suffix=NONE 708 program_transform_name=s,x,x, 709 silent= 710 site= 711 srcdir= 712 verbose= 713 x_includes=NONE 714 x_libraries=NONE 715 716 # Installation directory options. 717 # These are left unexpanded so users can "make install exec_prefix=/foo" 718 # and all the variables that are supposed to be based on exec_prefix 719 # by default will actually change. 720 # Use braces instead of parens because sh, perl, etc. also accept them. 721 # (The list follows the same order as the GNU Coding Standards.) 722 bindir='${exec_prefix}/bin' 723 sbindir='${exec_prefix}/sbin' 724 libexecdir='${exec_prefix}/libexec' 725 datarootdir='${prefix}/share' 726 datadir='${datarootdir}' 727 sysconfdir='${prefix}/etc' 728 sharedstatedir='${prefix}/com' 729 localstatedir='${prefix}/var' 730 includedir='${prefix}/include' 731 oldincludedir='/usr/include' 732 docdir='${datarootdir}/doc/${PACKAGE}' 733 infodir='${datarootdir}/info' 734 htmldir='${docdir}' 735 dvidir='${docdir}' 736 pdfdir='${docdir}' 737 psdir='${docdir}' 738 libdir='${exec_prefix}/lib' 739 localedir='${datarootdir}/locale' 740 mandir='${datarootdir}/man' 741 742 ac_prev= 743 ac_dashdash= 744 for ac_option 745 do 746 # If the previous option needs an argument, assign it. 747 if test -n "$ac_prev"; then 748 eval $ac_prev=\$ac_option 749 ac_prev= 750 continue 751 fi 752 753 case $ac_option in 754 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 755 *) ac_optarg=yes ;; 756 esac 757 758 # Accept the important Cygnus configure options, so we can diagnose typos. 759 760 case $ac_dashdash$ac_option in 761 --) 762 ac_dashdash=yes ;; 763 764 -bindir | --bindir | --bindi | --bind | --bin | --bi) 765 ac_prev=bindir ;; 766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 767 bindir=$ac_optarg ;; 768 769 -build | --build | --buil | --bui | --bu) 770 ac_prev=build_alias ;; 771 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 772 build_alias=$ac_optarg ;; 773 774 -cache-file | --cache-file | --cache-fil | --cache-fi \ 775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 776 ac_prev=cache_file ;; 777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 779 cache_file=$ac_optarg ;; 780 781 --config-cache | -C) 782 cache_file=config.cache ;; 783 784 -datadir | --datadir | --datadi | --datad) 785 ac_prev=datadir ;; 786 -datadir=* | --datadir=* | --datadi=* | --datad=*) 787 datadir=$ac_optarg ;; 788 789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 790 | --dataroo | --dataro | --datar) 791 ac_prev=datarootdir ;; 792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 794 datarootdir=$ac_optarg ;; 795 796 -disable-* | --disable-*) 797 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 798 # Reject names that are not valid shell variable names. 799 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 800 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 801 { (exit 1); exit 1; }; } 802 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 803 eval enable_$ac_feature=no ;; 804 805 -docdir | --docdir | --docdi | --doc | --do) 806 ac_prev=docdir ;; 807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 808 docdir=$ac_optarg ;; 809 810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 811 ac_prev=dvidir ;; 812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 813 dvidir=$ac_optarg ;; 814 815 -enable-* | --enable-*) 816 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 817 # Reject names that are not valid shell variable names. 818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 820 { (exit 1); exit 1; }; } 821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 822 eval enable_$ac_feature=\$ac_optarg ;; 823 824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 826 | --exec | --exe | --ex) 827 ac_prev=exec_prefix ;; 828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 830 | --exec=* | --exe=* | --ex=*) 831 exec_prefix=$ac_optarg ;; 832 833 -gas | --gas | --ga | --g) 834 # Obsolete; use --with-gas. 835 with_gas=yes ;; 836 837 -help | --help | --hel | --he | -h) 838 ac_init_help=long ;; 839 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 840 ac_init_help=recursive ;; 841 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 842 ac_init_help=short ;; 843 844 -host | --host | --hos | --ho) 845 ac_prev=host_alias ;; 846 -host=* | --host=* | --hos=* | --ho=*) 847 host_alias=$ac_optarg ;; 848 849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 850 ac_prev=htmldir ;; 851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 852 | --ht=*) 853 htmldir=$ac_optarg ;; 854 855 -includedir | --includedir | --includedi | --included | --include \ 856 | --includ | --inclu | --incl | --inc) 857 ac_prev=includedir ;; 858 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 859 | --includ=* | --inclu=* | --incl=* | --inc=*) 860 includedir=$ac_optarg ;; 861 862 -infodir | --infodir | --infodi | --infod | --info | --inf) 863 ac_prev=infodir ;; 864 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 865 infodir=$ac_optarg ;; 866 867 -libdir | --libdir | --libdi | --libd) 868 ac_prev=libdir ;; 869 -libdir=* | --libdir=* | --libdi=* | --libd=*) 870 libdir=$ac_optarg ;; 871 872 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 873 | --libexe | --libex | --libe) 874 ac_prev=libexecdir ;; 875 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 876 | --libexe=* | --libex=* | --libe=*) 877 libexecdir=$ac_optarg ;; 878 879 -localedir | --localedir | --localedi | --localed | --locale) 880 ac_prev=localedir ;; 881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 882 localedir=$ac_optarg ;; 883 884 -localstatedir | --localstatedir | --localstatedi | --localstated \ 885 | --localstate | --localstat | --localsta | --localst | --locals) 886 ac_prev=localstatedir ;; 887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 889 localstatedir=$ac_optarg ;; 890 891 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 892 ac_prev=mandir ;; 893 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 894 mandir=$ac_optarg ;; 895 896 -nfp | --nfp | --nf) 897 # Obsolete; use --without-fp. 898 with_fp=no ;; 899 900 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 901 | --no-cr | --no-c | -n) 902 no_create=yes ;; 903 904 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 905 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 906 no_recursion=yes ;; 907 908 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 909 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 910 | --oldin | --oldi | --old | --ol | --o) 911 ac_prev=oldincludedir ;; 912 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 913 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 914 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 915 oldincludedir=$ac_optarg ;; 916 917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 918 ac_prev=prefix ;; 919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 920 prefix=$ac_optarg ;; 921 922 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 923 | --program-pre | --program-pr | --program-p) 924 ac_prev=program_prefix ;; 925 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 926 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 927 program_prefix=$ac_optarg ;; 928 929 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 930 | --program-suf | --program-su | --program-s) 931 ac_prev=program_suffix ;; 932 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 933 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 934 program_suffix=$ac_optarg ;; 935 936 -program-transform-name | --program-transform-name \ 937 | --program-transform-nam | --program-transform-na \ 938 | --program-transform-n | --program-transform- \ 939 | --program-transform | --program-transfor \ 940 | --program-transfo | --program-transf \ 941 | --program-trans | --program-tran \ 942 | --progr-tra | --program-tr | --program-t) 943 ac_prev=program_transform_name ;; 944 -program-transform-name=* | --program-transform-name=* \ 945 | --program-transform-nam=* | --program-transform-na=* \ 946 | --program-transform-n=* | --program-transform-=* \ 947 | --program-transform=* | --program-transfor=* \ 948 | --program-transfo=* | --program-transf=* \ 949 | --program-trans=* | --program-tran=* \ 950 | --progr-tra=* | --program-tr=* | --program-t=*) 951 program_transform_name=$ac_optarg ;; 952 953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 954 ac_prev=pdfdir ;; 955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 956 pdfdir=$ac_optarg ;; 957 958 -psdir | --psdir | --psdi | --psd | --ps) 959 ac_prev=psdir ;; 960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 961 psdir=$ac_optarg ;; 962 963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 964 | -silent | --silent | --silen | --sile | --sil) 965 silent=yes ;; 966 967 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 968 ac_prev=sbindir ;; 969 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 970 | --sbi=* | --sb=*) 971 sbindir=$ac_optarg ;; 972 973 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 974 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 975 | --sharedst | --shareds | --shared | --share | --shar \ 976 | --sha | --sh) 977 ac_prev=sharedstatedir ;; 978 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 979 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 980 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 981 | --sha=* | --sh=*) 982 sharedstatedir=$ac_optarg ;; 983 984 -site | --site | --sit) 985 ac_prev=site ;; 986 -site=* | --site=* | --sit=*) 987 site=$ac_optarg ;; 988 989 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 990 ac_prev=srcdir ;; 991 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 992 srcdir=$ac_optarg ;; 993 994 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 995 | --syscon | --sysco | --sysc | --sys | --sy) 996 ac_prev=sysconfdir ;; 997 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 998 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 999 sysconfdir=$ac_optarg ;; 1000 1001 -target | --target | --targe | --targ | --tar | --ta | --t) 1002 ac_prev=target_alias ;; 1003 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1004 target_alias=$ac_optarg ;; 1005 1006 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1007 verbose=yes ;; 1008 1009 -version | --version | --versio | --versi | --vers | -V) 1010 ac_init_version=: ;; 1011 1012 -with-* | --with-*) 1013 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1014 # Reject names that are not valid shell variable names. 1015 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1016 { echo "$as_me: error: invalid package name: $ac_package" >&2 1017 { (exit 1); exit 1; }; } 1018 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1019 eval with_$ac_package=\$ac_optarg ;; 1020 1021 -without-* | --without-*) 1022 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1023 # Reject names that are not valid shell variable names. 1024 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1025 { echo "$as_me: error: invalid package name: $ac_package" >&2 1026 { (exit 1); exit 1; }; } 1027 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1028 eval with_$ac_package=no ;; 1029 1030 --x) 1031 # Obsolete; use --with-x. 1032 with_x=yes ;; 1033 1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1035 | --x-incl | --x-inc | --x-in | --x-i) 1036 ac_prev=x_includes ;; 1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1039 x_includes=$ac_optarg ;; 1040 1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1043 ac_prev=x_libraries ;; 1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1046 x_libraries=$ac_optarg ;; 1047 1048 -*) { echo "$as_me: error: unrecognized option: $ac_option 1049 Try \`$0 --help' for more information." >&2 1050 { (exit 1); exit 1; }; } 1051 ;; 1052 1053 *=*) 1054 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1055 # Reject names that are not valid shell variable names. 1056 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1057 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1058 { (exit 1); exit 1; }; } 1059 eval $ac_envvar=\$ac_optarg 1060 export $ac_envvar ;; 1061 1062 *) 1063 # FIXME: should be removed in autoconf 3.0. 1064 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1066 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1067 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1068 ;; 1069 1070 esac 1071 done 1072 1073 if test -n "$ac_prev"; then 1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1075 { echo "$as_me: error: missing argument to $ac_option" >&2 1076 { (exit 1); exit 1; }; } 1077 fi 1078 1079 # Be sure to have absolute directory names. 1080 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1081 datadir sysconfdir sharedstatedir localstatedir includedir \ 1082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1083 libdir localedir mandir 1084 do 1085 eval ac_val=\$$ac_var 1086 case $ac_val in 1087 [\\/$]* | ?:[\\/]* ) continue;; 1088 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1089 esac 1090 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1091 { (exit 1); exit 1; }; } 1092 done 1093 1094 # There might be people who depend on the old broken behavior: `$host' 1095 # used to hold the argument of --host etc. 1096 # FIXME: To remove some day. 1097 build=$build_alias 1098 host=$host_alias 1099 target=$target_alias 1100 1101 # FIXME: To remove some day. 1102 if test "x$host_alias" != x; then 1103 if test "x$build_alias" = x; then 1104 cross_compiling=maybe 1105 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1106 If a cross compiler is detected then cross compile mode will be used." >&2 1107 elif test "x$build_alias" != "x$host_alias"; then 1108 cross_compiling=yes 1109 fi 1110 fi 1111 1112 ac_tool_prefix= 1113 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1114 1115 test "$silent" = yes && exec 6>/dev/null 1116 1117 1118 ac_pwd=`pwd` && test -n "$ac_pwd" && 1119 ac_ls_di=`ls -di .` && 1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1121 { echo "$as_me: error: Working directory cannot be determined" >&2 1122 { (exit 1); exit 1; }; } 1123 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1124 { echo "$as_me: error: pwd does not report name of working directory" >&2 1125 { (exit 1); exit 1; }; } 1126 1127 1128 # Find the source files, if location was not specified. 1129 if test -z "$srcdir"; then 1130 ac_srcdir_defaulted=yes 1131 # Try the directory containing this script, then the parent directory. 1132 ac_confdir=`$as_dirname -- "$0" || 1133 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1134 X"$0" : 'X\(//\)[^/]' \| \ 1135 X"$0" : 'X\(//\)$' \| \ 1136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1137 echo X"$0" | 1138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1139 s//\1/ 1140 q 1141 } 1142 /^X\(\/\/\)[^/].*/{ 1143 s//\1/ 1144 q 1145 } 1146 /^X\(\/\/\)$/{ 1147 s//\1/ 1148 q 1149 } 1150 /^X\(\/\).*/{ 1151 s//\1/ 1152 q 1153 } 1154 s/.*/./; q'` 1155 srcdir=$ac_confdir 1156 if test ! -r "$srcdir/$ac_unique_file"; then 1157 srcdir=.. 1158 fi 1159 else 1160 ac_srcdir_defaulted=no 1161 fi 1162 if test ! -r "$srcdir/$ac_unique_file"; then 1163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1164 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1165 { (exit 1); exit 1; }; } 1166 fi 1167 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1168 ac_abs_confdir=`( 1169 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1170 { (exit 1); exit 1; }; } 1171 pwd)` 1172 # When building in place, set srcdir=. 1173 if test "$ac_abs_confdir" = "$ac_pwd"; then 1174 srcdir=. 1175 fi 1176 # Remove unnecessary trailing slashes from srcdir. 1177 # Double slashes in file names in object file debugging info 1178 # mess up M-x gdb in Emacs. 1179 case $srcdir in 1180 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1181 esac 1182 for ac_var in $ac_precious_vars; do 1183 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1184 eval ac_env_${ac_var}_value=\$${ac_var} 1185 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1186 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1187 done 1188 1189 # 1190 # Report the --help message. 1191 # 1192 if test "$ac_init_help" = "long"; then 1193 # Omit some internal or obsolete options to make the list less imposing. 1194 # This message is too long to be a string in the A/UX 3.1 sh. 1195 cat <<_ACEOF 1196 \`configure' configures this package to adapt to many kinds of systems. 1197 1198 Usage: $0 [OPTION]... [VAR=VALUE]... 1199 1200 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1201 VAR=VALUE. See below for descriptions of some of the useful variables. 1202 1203 Defaults for the options are specified in brackets. 1204 1205 Configuration: 1206 -h, --help display this help and exit 1207 --help=short display options specific to this package 1208 --help=recursive display the short help of all the included packages 1209 -V, --version display version information and exit 1210 -q, --quiet, --silent do not print \`checking...' messages 1211 --cache-file=FILE cache test results in FILE [disabled] 1212 -C, --config-cache alias for \`--cache-file=config.cache' 1213 -n, --no-create do not create output files 1214 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1215 1216 Installation directories: 1217 --prefix=PREFIX install architecture-independent files in PREFIX 1218 [$ac_default_prefix] 1219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1220 [PREFIX] 1221 1222 By default, \`make install' will install all the files in 1223 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1224 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1225 for instance \`--prefix=\$HOME'. 1226 1227 For better control, use the options below. 1228 1229 Fine tuning of the installation directories: 1230 --bindir=DIR user executables [EPREFIX/bin] 1231 --sbindir=DIR system admin executables [EPREFIX/sbin] 1232 --libexecdir=DIR program executables [EPREFIX/libexec] 1233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1235 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1236 --libdir=DIR object code libraries [EPREFIX/lib] 1237 --includedir=DIR C header files [PREFIX/include] 1238 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1241 --infodir=DIR info documentation [DATAROOTDIR/info] 1242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1243 --mandir=DIR man documentation [DATAROOTDIR/man] 1244 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1245 --htmldir=DIR html documentation [DOCDIR] 1246 --dvidir=DIR dvi documentation [DOCDIR] 1247 --pdfdir=DIR pdf documentation [DOCDIR] 1248 --psdir=DIR ps documentation [DOCDIR] 1249 _ACEOF 1250 1251 cat <<\_ACEOF 1252 1253 System types: 1254 --build=BUILD configure for building on BUILD [guessed] 1255 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1256 _ACEOF 1257 fi 1258 1259 if test -n "$ac_init_help"; then 1260 1261 cat <<\_ACEOF 1262 1263 Optional Features: 1264 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1265 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1266 --enable-smb enable possibly-buggy SMB printer default=yes 1267 --disable-smb disable possibly-buggy SMB printer 1268 --enable-ipv6 enable ipv6 (with ipv4) support 1269 --disable-ipv6 disable ipv6 support 1270 1271 Optional Packages: 1272 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1273 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1274 --without-gcc don't use gcc 1275 --with-user=USERNAME drop privileges by default to USERNAME 1276 --with-chroot=DIRECTORY when dropping privileges, chroot to DIRECTORY 1277 --without-crypto disable crypto support 1278 1279 Some influential environment variables: 1280 CC C compiler command 1281 CFLAGS C compiler flags 1282 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1283 nonstandard directory <lib dir> 1284 LIBS libraries to pass to the linker, e.g. -l<library> 1285 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1286 you have headers in a nonstandard directory <include dir> 1287 CPP C preprocessor 1288 1289 Use these variables to override the choices made by `configure' or to help 1290 it to find libraries and programs with nonstandard names/locations. 1291 1292 _ACEOF 1293 ac_status=$? 1294 fi 1295 1296 if test "$ac_init_help" = "recursive"; then 1297 # If there are subdirs, report their specific --help. 1298 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1299 test -d "$ac_dir" || continue 1300 ac_builddir=. 1301 1302 case "$ac_dir" in 1303 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1304 *) 1305 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1306 # A ".." for each directory in $ac_dir_suffix. 1307 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1308 case $ac_top_builddir_sub in 1309 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1310 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1311 esac ;; 1312 esac 1313 ac_abs_top_builddir=$ac_pwd 1314 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1315 # for backward compatibility: 1316 ac_top_builddir=$ac_top_build_prefix 1317 1318 case $srcdir in 1319 .) # We are building in place. 1320 ac_srcdir=. 1321 ac_top_srcdir=$ac_top_builddir_sub 1322 ac_abs_top_srcdir=$ac_pwd ;; 1323 [\\/]* | ?:[\\/]* ) # Absolute name. 1324 ac_srcdir=$srcdir$ac_dir_suffix; 1325 ac_top_srcdir=$srcdir 1326 ac_abs_top_srcdir=$srcdir ;; 1327 *) # Relative name. 1328 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1329 ac_top_srcdir=$ac_top_build_prefix$srcdir 1330 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1331 esac 1332 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1333 1334 cd "$ac_dir" || { ac_status=$?; continue; } 1335 # Check for guested configure. 1336 if test -f "$ac_srcdir/configure.gnu"; then 1337 echo && 1338 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1339 elif test -f "$ac_srcdir/configure"; then 1340 echo && 1341 $SHELL "$ac_srcdir/configure" --help=recursive 1342 else 1343 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1344 fi || ac_status=$? 1345 cd "$ac_pwd" || { ac_status=$?; break; } 1346 done 1347 fi 1348 1349 test -n "$ac_init_help" && exit $ac_status 1350 if $ac_init_version; then 1351 cat <<\_ACEOF 1352 configure 1353 generated by GNU Autoconf 2.61 1354 1355 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1356 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1357 This configure script is free software; the Free Software Foundation 1358 gives unlimited permission to copy, distribute and modify it. 1359 _ACEOF 1360 exit 1361 fi 1362 cat >config.log <<_ACEOF 1363 This file contains any messages produced by compilers while 1364 running configure, to aid debugging if configure makes a mistake. 1365 1366 It was created by $as_me, which was 1367 generated by GNU Autoconf 2.61. Invocation command line was 1368 1369 $ $0 $@ 1370 1371 _ACEOF 1372 exec 5>>config.log 1373 { 1374 cat <<_ASUNAME 1375 ## --------- ## 1376 ## Platform. ## 1377 ## --------- ## 1378 1379 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1380 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1381 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1382 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1383 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1384 1385 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1386 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1387 1388 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1389 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1390 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1391 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1392 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1393 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1394 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1395 1396 _ASUNAME 1397 1398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1399 for as_dir in $PATH 1400 do 1401 IFS=$as_save_IFS 1402 test -z "$as_dir" && as_dir=. 1403 echo "PATH: $as_dir" 1404 done 1405 IFS=$as_save_IFS 1406 1407 } >&5 1408 1409 cat >&5 <<_ACEOF 1410 1411 1412 ## ----------- ## 1413 ## Core tests. ## 1414 ## ----------- ## 1415 1416 _ACEOF 1417 1418 1419 # Keep a trace of the command line. 1420 # Strip out --no-create and --no-recursion so they do not pile up. 1421 # Strip out --silent because we don't want to record it for future runs. 1422 # Also quote any args containing shell meta-characters. 1423 # Make two passes to allow for proper duplicate-argument suppression. 1424 ac_configure_args= 1425 ac_configure_args0= 1426 ac_configure_args1= 1427 ac_must_keep_next=false 1428 for ac_pass in 1 2 1429 do 1430 for ac_arg 1431 do 1432 case $ac_arg in 1433 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1434 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1435 | -silent | --silent | --silen | --sile | --sil) 1436 continue ;; 1437 *\'*) 1438 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1439 esac 1440 case $ac_pass in 1441 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1442 2) 1443 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1444 if test $ac_must_keep_next = true; then 1445 ac_must_keep_next=false # Got value, back to normal. 1446 else 1447 case $ac_arg in 1448 *=* | --config-cache | -C | -disable-* | --disable-* \ 1449 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1450 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1451 | -with-* | --with-* | -without-* | --without-* | --x) 1452 case "$ac_configure_args0 " in 1453 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1454 esac 1455 ;; 1456 -* ) ac_must_keep_next=true ;; 1457 esac 1458 fi 1459 ac_configure_args="$ac_configure_args '$ac_arg'" 1460 ;; 1461 esac 1462 done 1463 done 1464 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1465 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1466 1467 # When interrupted or exit'd, cleanup temporary files, and complete 1468 # config.log. We remove comments because anyway the quotes in there 1469 # would cause problems or look ugly. 1470 # WARNING: Use '\'' to represent an apostrophe within the trap. 1471 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1472 trap 'exit_status=$? 1473 # Save into config.log some information that might help in debugging. 1474 { 1475 echo 1476 1477 cat <<\_ASBOX 1478 ## ---------------- ## 1479 ## Cache variables. ## 1480 ## ---------------- ## 1481 _ASBOX 1482 echo 1483 # The following way of writing the cache mishandles newlines in values, 1484 ( 1485 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1486 eval ac_val=\$$ac_var 1487 case $ac_val in #( 1488 *${as_nl}*) 1489 case $ac_var in #( 1490 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1491 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1492 esac 1493 case $ac_var in #( 1494 _ | IFS | as_nl) ;; #( 1495 *) $as_unset $ac_var ;; 1496 esac ;; 1497 esac 1498 done 1499 (set) 2>&1 | 1500 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1501 *${as_nl}ac_space=\ *) 1502 sed -n \ 1503 "s/'\''/'\''\\\\'\'''\''/g; 1504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1505 ;; #( 1506 *) 1507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1508 ;; 1509 esac | 1510 sort 1511 ) 1512 echo 1513 1514 cat <<\_ASBOX 1515 ## ----------------- ## 1516 ## Output variables. ## 1517 ## ----------------- ## 1518 _ASBOX 1519 echo 1520 for ac_var in $ac_subst_vars 1521 do 1522 eval ac_val=\$$ac_var 1523 case $ac_val in 1524 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1525 esac 1526 echo "$ac_var='\''$ac_val'\''" 1527 done | sort 1528 echo 1529 1530 if test -n "$ac_subst_files"; then 1531 cat <<\_ASBOX 1532 ## ------------------- ## 1533 ## File substitutions. ## 1534 ## ------------------- ## 1535 _ASBOX 1536 echo 1537 for ac_var in $ac_subst_files 1538 do 1539 eval ac_val=\$$ac_var 1540 case $ac_val in 1541 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1542 esac 1543 echo "$ac_var='\''$ac_val'\''" 1544 done | sort 1545 echo 1546 fi 1547 1548 if test -s confdefs.h; then 1549 cat <<\_ASBOX 1550 ## ----------- ## 1551 ## confdefs.h. ## 1552 ## ----------- ## 1553 _ASBOX 1554 echo 1555 cat confdefs.h 1556 echo 1557 fi 1558 test "$ac_signal" != 0 && 1559 echo "$as_me: caught signal $ac_signal" 1560 echo "$as_me: exit $exit_status" 1561 } >&5 1562 rm -f core *.core core.conftest.* && 1563 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1564 exit $exit_status 1565 ' 0 1566 for ac_signal in 1 2 13 15; do 1567 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1568 done 1569 ac_signal=0 1570 1571 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1572 rm -f -r conftest* confdefs.h 1573 1574 # Predefined preprocessor variables. 1575 1576 cat >>confdefs.h <<_ACEOF 1577 #define PACKAGE_NAME "$PACKAGE_NAME" 1578 _ACEOF 1579 1580 1581 cat >>confdefs.h <<_ACEOF 1582 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1583 _ACEOF 1584 1585 1586 cat >>confdefs.h <<_ACEOF 1587 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1588 _ACEOF 1589 1590 1591 cat >>confdefs.h <<_ACEOF 1592 #define PACKAGE_STRING "$PACKAGE_STRING" 1593 _ACEOF 1594 1595 1596 cat >>confdefs.h <<_ACEOF 1597 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1598 _ACEOF 1599 1600 1601 # Let the site file select an alternate cache file if it wants to. 1602 # Prefer explicitly selected file to automatically selected ones. 1603 if test -n "$CONFIG_SITE"; then 1604 set x "$CONFIG_SITE" 1605 elif test "x$prefix" != xNONE; then 1606 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1607 else 1608 set x "$ac_default_prefix/share/config.site" \ 1609 "$ac_default_prefix/etc/config.site" 1610 fi 1611 shift 1612 for ac_site_file 1613 do 1614 if test -r "$ac_site_file"; then 1615 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1616 echo "$as_me: loading site script $ac_site_file" >&6;} 1617 sed 's/^/| /' "$ac_site_file" >&5 1618 . "$ac_site_file" 1619 fi 1620 done 1621 1622 if test -r "$cache_file"; then 1623 # Some versions of bash will fail to source /dev/null (special 1624 # files actually), so we avoid doing that. 1625 if test -f "$cache_file"; then 1626 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1627 echo "$as_me: loading cache $cache_file" >&6;} 1628 case $cache_file in 1629 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1630 *) . "./$cache_file";; 1631 esac 1632 fi 1633 else 1634 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1635 echo "$as_me: creating cache $cache_file" >&6;} 1636 >$cache_file 1637 fi 1638 1639 # Check that the precious variables saved in the cache have kept the same 1640 # value. 1641 ac_cache_corrupted=false 1642 for ac_var in $ac_precious_vars; do 1643 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1644 eval ac_new_set=\$ac_env_${ac_var}_set 1645 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1646 eval ac_new_val=\$ac_env_${ac_var}_value 1647 case $ac_old_set,$ac_new_set in 1648 set,) 1649 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1650 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1651 ac_cache_corrupted=: ;; 1652 ,set) 1653 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1654 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1655 ac_cache_corrupted=: ;; 1656 ,);; 1657 *) 1658 if test "x$ac_old_val" != "x$ac_new_val"; then 1659 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1660 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1661 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1662 echo "$as_me: former value: $ac_old_val" >&2;} 1663 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1664 echo "$as_me: current value: $ac_new_val" >&2;} 1665 ac_cache_corrupted=: 1666 fi;; 1667 esac 1668 # Pass precious variables to config.status. 1669 if test "$ac_new_set" = set; then 1670 case $ac_new_val in 1671 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1672 *) ac_arg=$ac_var=$ac_new_val ;; 1673 esac 1674 case " $ac_configure_args " in 1675 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1676 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1677 esac 1678 fi 1679 done 1680 if $ac_cache_corrupted; then 1681 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1682 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1683 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1684 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1685 { (exit 1); exit 1; }; } 1686 fi 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 ac_ext=c 1705 ac_cpp='$CPP $CPPFLAGS' 1706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1708 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1709 1710 1711 1712 ac_aux_dir= 1713 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1714 if test -f "$ac_dir/install-sh"; then 1715 ac_aux_dir=$ac_dir 1716 ac_install_sh="$ac_aux_dir/install-sh -c" 1717 break 1718 elif test -f "$ac_dir/install.sh"; then 1719 ac_aux_dir=$ac_dir 1720 ac_install_sh="$ac_aux_dir/install.sh -c" 1721 break 1722 elif test -f "$ac_dir/shtool"; then 1723 ac_aux_dir=$ac_dir 1724 ac_install_sh="$ac_aux_dir/shtool install -c" 1725 break 1726 fi 1727 done 1728 if test -z "$ac_aux_dir"; then 1729 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1730 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1731 { (exit 1); exit 1; }; } 1732 fi 1733 1734 # These three variables are undocumented and unsupported, 1735 # and are intended to be withdrawn in a future Autoconf release. 1736 # They can cause serious problems if a builder's source tree is in a directory 1737 # whose full name contains unusual characters. 1738 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1739 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1740 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1741 1742 1743 # Make sure we can run config.sub. 1744 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1745 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1746 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1747 { (exit 1); exit 1; }; } 1748 1749 { echo "$as_me:$LINENO: checking build system type" >&5 1750 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1751 if test "${ac_cv_build+set}" = set; then 1752 echo $ECHO_N "(cached) $ECHO_C" >&6 1753 else 1754 ac_build_alias=$build_alias 1755 test "x$ac_build_alias" = x && 1756 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1757 test "x$ac_build_alias" = x && 1758 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1759 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1760 { (exit 1); exit 1; }; } 1761 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1762 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1763 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1764 { (exit 1); exit 1; }; } 1765 1766 fi 1767 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1768 echo "${ECHO_T}$ac_cv_build" >&6; } 1769 case $ac_cv_build in 1770 *-*-*) ;; 1771 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1772 echo "$as_me: error: invalid value of canonical build" >&2;} 1773 { (exit 1); exit 1; }; };; 1774 esac 1775 build=$ac_cv_build 1776 ac_save_IFS=$IFS; IFS='-' 1777 set x $ac_cv_build 1778 shift 1779 build_cpu=$1 1780 build_vendor=$2 1781 shift; shift 1782 # Remember, the first character of IFS is used to create $*, 1783 # except with old shells: 1784 build_os=$* 1785 IFS=$ac_save_IFS 1786 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1787 1788 1789 { echo "$as_me:$LINENO: checking host system type" >&5 1790 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1791 if test "${ac_cv_host+set}" = set; then 1792 echo $ECHO_N "(cached) $ECHO_C" >&6 1793 else 1794 if test "x$host_alias" = x; then 1795 ac_cv_host=$ac_cv_build 1796 else 1797 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1798 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1799 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1800 { (exit 1); exit 1; }; } 1801 fi 1802 1803 fi 1804 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1805 echo "${ECHO_T}$ac_cv_host" >&6; } 1806 case $ac_cv_host in 1807 *-*-*) ;; 1808 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1809 echo "$as_me: error: invalid value of canonical host" >&2;} 1810 { (exit 1); exit 1; }; };; 1811 esac 1812 host=$ac_cv_host 1813 ac_save_IFS=$IFS; IFS='-' 1814 set x $ac_cv_host 1815 shift 1816 host_cpu=$1 1817 host_vendor=$2 1818 shift; shift 1819 # Remember, the first character of IFS is used to create $*, 1820 # except with old shells: 1821 host_os=$* 1822 IFS=$ac_save_IFS 1823 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1824 1825 1826 1827 1828 1829 1830 1831 1832 # Check whether --with-gcc was given. 1833 if test "${with_gcc+set}" = set; then 1834 withval=$with_gcc; 1835 fi 1836 1837 V_CCOPT="-O" 1838 V_INCLS="" 1839 if test "${srcdir}" != "." ; then 1840 V_INCLS="-I\$(srcdir)" 1841 fi 1842 if test "${CFLAGS+set}" = set; then 1843 LBL_CFLAGS="$CFLAGS" 1844 fi 1845 if test -z "$CC" ; then 1846 case "$host_os" in 1847 1848 bsdi*) 1849 # Extract the first word of "shlicc2", so it can be a program name with args. 1850 set dummy shlicc2; ac_word=$2 1851 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1853 if test "${ac_cv_prog_SHLICC2+set}" = set; then 1854 echo $ECHO_N "(cached) $ECHO_C" >&6 1855 else 1856 if test -n "$SHLICC2"; then 1857 ac_cv_prog_SHLICC2="$SHLICC2" # Let the user override the test. 1858 else 1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1860 for as_dir in $PATH 1861 do 1862 IFS=$as_save_IFS 1863 test -z "$as_dir" && as_dir=. 1864 for ac_exec_ext in '' $ac_executable_extensions; do 1865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1866 ac_cv_prog_SHLICC2="yes" 1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1868 break 2 1869 fi 1870 done 1871 done 1872 IFS=$as_save_IFS 1873 1874 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no" 1875 fi 1876 fi 1877 SHLICC2=$ac_cv_prog_SHLICC2 1878 if test -n "$SHLICC2"; then 1879 { echo "$as_me:$LINENO: result: $SHLICC2" >&5 1880 echo "${ECHO_T}$SHLICC2" >&6; } 1881 else 1882 { echo "$as_me:$LINENO: result: no" >&5 1883 echo "${ECHO_T}no" >&6; } 1884 fi 1885 1886 1887 if test $SHLICC2 = yes ; then 1888 CC=shlicc2 1889 export CC 1890 fi 1891 ;; 1892 esac 1893 fi 1894 if test -z "$CC" -a "$with_gcc" = no ; then 1895 CC=cc 1896 export CC 1897 fi 1898 ac_ext=c 1899 ac_cpp='$CPP $CPPFLAGS' 1900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1902 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1903 if test -n "$ac_tool_prefix"; then 1904 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1905 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1906 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1908 if test "${ac_cv_prog_CC+set}" = set; then 1909 echo $ECHO_N "(cached) $ECHO_C" >&6 1910 else 1911 if test -n "$CC"; then 1912 ac_cv_prog_CC="$CC" # Let the user override the test. 1913 else 1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1915 for as_dir in $PATH 1916 do 1917 IFS=$as_save_IFS 1918 test -z "$as_dir" && as_dir=. 1919 for ac_exec_ext in '' $ac_executable_extensions; do 1920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1921 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1923 break 2 1924 fi 1925 done 1926 done 1927 IFS=$as_save_IFS 1928 1929 fi 1930 fi 1931 CC=$ac_cv_prog_CC 1932 if test -n "$CC"; then 1933 { echo "$as_me:$LINENO: result: $CC" >&5 1934 echo "${ECHO_T}$CC" >&6; } 1935 else 1936 { echo "$as_me:$LINENO: result: no" >&5 1937 echo "${ECHO_T}no" >&6; } 1938 fi 1939 1940 1941 fi 1942 if test -z "$ac_cv_prog_CC"; then 1943 ac_ct_CC=$CC 1944 # Extract the first word of "gcc", so it can be a program name with args. 1945 set dummy gcc; ac_word=$2 1946 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1948 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1949 echo $ECHO_N "(cached) $ECHO_C" >&6 1950 else 1951 if test -n "$ac_ct_CC"; then 1952 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1953 else 1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1955 for as_dir in $PATH 1956 do 1957 IFS=$as_save_IFS 1958 test -z "$as_dir" && as_dir=. 1959 for ac_exec_ext in '' $ac_executable_extensions; do 1960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1961 ac_cv_prog_ac_ct_CC="gcc" 1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1963 break 2 1964 fi 1965 done 1966 done 1967 IFS=$as_save_IFS 1968 1969 fi 1970 fi 1971 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1972 if test -n "$ac_ct_CC"; then 1973 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1974 echo "${ECHO_T}$ac_ct_CC" >&6; } 1975 else 1976 { echo "$as_me:$LINENO: result: no" >&5 1977 echo "${ECHO_T}no" >&6; } 1978 fi 1979 1980 if test "x$ac_ct_CC" = x; then 1981 CC="" 1982 else 1983 case $cross_compiling:$ac_tool_warned in 1984 yes:) 1985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1986 whose name does not start with the host triplet. If you think this 1987 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 1988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1989 whose name does not start with the host triplet. If you think this 1990 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 1991 ac_tool_warned=yes ;; 1992 esac 1993 CC=$ac_ct_CC 1994 fi 1995 else 1996 CC="$ac_cv_prog_CC" 1997 fi 1998 1999 if test -z "$CC"; then 2000 if test -n "$ac_tool_prefix"; then 2001 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2002 set dummy ${ac_tool_prefix}cc; ac_word=$2 2003 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2005 if test "${ac_cv_prog_CC+set}" = set; then 2006 echo $ECHO_N "(cached) $ECHO_C" >&6 2007 else 2008 if test -n "$CC"; then 2009 ac_cv_prog_CC="$CC" # Let the user override the test. 2010 else 2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2012 for as_dir in $PATH 2013 do 2014 IFS=$as_save_IFS 2015 test -z "$as_dir" && as_dir=. 2016 for ac_exec_ext in '' $ac_executable_extensions; do 2017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2018 ac_cv_prog_CC="${ac_tool_prefix}cc" 2019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2020 break 2 2021 fi 2022 done 2023 done 2024 IFS=$as_save_IFS 2025 2026 fi 2027 fi 2028 CC=$ac_cv_prog_CC 2029 if test -n "$CC"; then 2030 { echo "$as_me:$LINENO: result: $CC" >&5 2031 echo "${ECHO_T}$CC" >&6; } 2032 else 2033 { echo "$as_me:$LINENO: result: no" >&5 2034 echo "${ECHO_T}no" >&6; } 2035 fi 2036 2037 2038 fi 2039 fi 2040 if test -z "$CC"; then 2041 # Extract the first word of "cc", so it can be a program name with args. 2042 set dummy cc; ac_word=$2 2043 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2045 if test "${ac_cv_prog_CC+set}" = set; then 2046 echo $ECHO_N "(cached) $ECHO_C" >&6 2047 else 2048 if test -n "$CC"; then 2049 ac_cv_prog_CC="$CC" # Let the user override the test. 2050 else 2051 ac_prog_rejected=no 2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2053 for as_dir in $PATH 2054 do 2055 IFS=$as_save_IFS 2056 test -z "$as_dir" && as_dir=. 2057 for ac_exec_ext in '' $ac_executable_extensions; do 2058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2059 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2060 ac_prog_rejected=yes 2061 continue 2062 fi 2063 ac_cv_prog_CC="cc" 2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2065 break 2 2066 fi 2067 done 2068 done 2069 IFS=$as_save_IFS 2070 2071 if test $ac_prog_rejected = yes; then 2072 # We found a bogon in the path, so make sure we never use it. 2073 set dummy $ac_cv_prog_CC 2074 shift 2075 if test $# != 0; then 2076 # We chose a different compiler from the bogus one. 2077 # However, it has the same basename, so the bogon will be chosen 2078 # first if we set CC to just the basename; use the full file name. 2079 shift 2080 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2081 fi 2082 fi 2083 fi 2084 fi 2085 CC=$ac_cv_prog_CC 2086 if test -n "$CC"; then 2087 { echo "$as_me:$LINENO: result: $CC" >&5 2088 echo "${ECHO_T}$CC" >&6; } 2089 else 2090 { echo "$as_me:$LINENO: result: no" >&5 2091 echo "${ECHO_T}no" >&6; } 2092 fi 2093 2094 2095 fi 2096 if test -z "$CC"; then 2097 if test -n "$ac_tool_prefix"; then 2098 for ac_prog in cl.exe 2099 do 2100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2102 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2104 if test "${ac_cv_prog_CC+set}" = set; then 2105 echo $ECHO_N "(cached) $ECHO_C" >&6 2106 else 2107 if test -n "$CC"; then 2108 ac_cv_prog_CC="$CC" # Let the user override the test. 2109 else 2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2111 for as_dir in $PATH 2112 do 2113 IFS=$as_save_IFS 2114 test -z "$as_dir" && as_dir=. 2115 for ac_exec_ext in '' $ac_executable_extensions; do 2116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2117 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2119 break 2 2120 fi 2121 done 2122 done 2123 IFS=$as_save_IFS 2124 2125 fi 2126 fi 2127 CC=$ac_cv_prog_CC 2128 if test -n "$CC"; then 2129 { echo "$as_me:$LINENO: result: $CC" >&5 2130 echo "${ECHO_T}$CC" >&6; } 2131 else 2132 { echo "$as_me:$LINENO: result: no" >&5 2133 echo "${ECHO_T}no" >&6; } 2134 fi 2135 2136 2137 test -n "$CC" && break 2138 done 2139 fi 2140 if test -z "$CC"; then 2141 ac_ct_CC=$CC 2142 for ac_prog in cl.exe 2143 do 2144 # Extract the first word of "$ac_prog", so it can be a program name with args. 2145 set dummy $ac_prog; ac_word=$2 2146 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2149 echo $ECHO_N "(cached) $ECHO_C" >&6 2150 else 2151 if test -n "$ac_ct_CC"; then 2152 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2153 else 2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2155 for as_dir in $PATH 2156 do 2157 IFS=$as_save_IFS 2158 test -z "$as_dir" && as_dir=. 2159 for ac_exec_ext in '' $ac_executable_extensions; do 2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2161 ac_cv_prog_ac_ct_CC="$ac_prog" 2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2163 break 2 2164 fi 2165 done 2166 done 2167 IFS=$as_save_IFS 2168 2169 fi 2170 fi 2171 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2172 if test -n "$ac_ct_CC"; then 2173 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2174 echo "${ECHO_T}$ac_ct_CC" >&6; } 2175 else 2176 { echo "$as_me:$LINENO: result: no" >&5 2177 echo "${ECHO_T}no" >&6; } 2178 fi 2179 2180 2181 test -n "$ac_ct_CC" && break 2182 done 2183 2184 if test "x$ac_ct_CC" = x; then 2185 CC="" 2186 else 2187 case $cross_compiling:$ac_tool_warned in 2188 yes:) 2189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2190 whose name does not start with the host triplet. If you think this 2191 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2193 whose name does not start with the host triplet. If you think this 2194 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2195 ac_tool_warned=yes ;; 2196 esac 2197 CC=$ac_ct_CC 2198 fi 2199 fi 2200 2201 fi 2202 2203 2204 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2205 See \`config.log' for more details." >&5 2206 echo "$as_me: error: no acceptable C compiler found in \$PATH 2207 See \`config.log' for more details." >&2;} 2208 { (exit 1); exit 1; }; } 2209 2210 # Provide some information about the compiler. 2211 echo "$as_me:$LINENO: checking for C compiler version" >&5 2212 ac_compiler=`set X $ac_compile; echo $2` 2213 { (ac_try="$ac_compiler --version >&5" 2214 case "(($ac_try" in 2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2216 *) ac_try_echo=$ac_try;; 2217 esac 2218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2219 (eval "$ac_compiler --version >&5") 2>&5 2220 ac_status=$? 2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2222 (exit $ac_status); } 2223 { (ac_try="$ac_compiler -v >&5" 2224 case "(($ac_try" in 2225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2226 *) ac_try_echo=$ac_try;; 2227 esac 2228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2229 (eval "$ac_compiler -v >&5") 2>&5 2230 ac_status=$? 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2232 (exit $ac_status); } 2233 { (ac_try="$ac_compiler -V >&5" 2234 case "(($ac_try" in 2235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2236 *) ac_try_echo=$ac_try;; 2237 esac 2238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2239 (eval "$ac_compiler -V >&5") 2>&5 2240 ac_status=$? 2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2242 (exit $ac_status); } 2243 2244 cat >conftest.$ac_ext <<_ACEOF 2245 /* confdefs.h. */ 2246 _ACEOF 2247 cat confdefs.h >>conftest.$ac_ext 2248 cat >>conftest.$ac_ext <<_ACEOF 2249 /* end confdefs.h. */ 2250 2251 int 2252 main () 2253 { 2254 2255 ; 2256 return 0; 2257 } 2258 _ACEOF 2259 ac_clean_files_save=$ac_clean_files 2260 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2261 # Try to create an executable without -o first, disregard a.out. 2262 # It will help us diagnose broken compilers, and finding out an intuition 2263 # of exeext. 2264 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2265 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2266 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2267 # 2268 # List of possible output files, starting from the most likely. 2269 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2270 # only as a last resort. b.out is created by i960 compilers. 2271 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2272 # 2273 # The IRIX 6 linker writes into existing files which may not be 2274 # executable, retaining their permissions. Remove them first so a 2275 # subsequent execution test works. 2276 ac_rmfiles= 2277 for ac_file in $ac_files 2278 do 2279 case $ac_file in 2280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2281 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2282 esac 2283 done 2284 rm -f $ac_rmfiles 2285 2286 if { (ac_try="$ac_link_default" 2287 case "(($ac_try" in 2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2289 *) ac_try_echo=$ac_try;; 2290 esac 2291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2292 (eval "$ac_link_default") 2>&5 2293 ac_status=$? 2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2295 (exit $ac_status); }; then 2296 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2298 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2299 # so that the user can short-circuit this test for compilers unknown to 2300 # Autoconf. 2301 for ac_file in $ac_files '' 2302 do 2303 test -f "$ac_file" || continue 2304 case $ac_file in 2305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2306 ;; 2307 [ab].out ) 2308 # We found the default executable, but exeext='' is most 2309 # certainly right. 2310 break;; 2311 *.* ) 2312 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2313 then :; else 2314 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2315 fi 2316 # We set ac_cv_exeext here because the later test for it is not 2317 # safe: cross compilers may not add the suffix if given an `-o' 2318 # argument, so we may need to know it at that point already. 2319 # Even if this section looks crufty: it has the advantage of 2320 # actually working. 2321 break;; 2322 * ) 2323 break;; 2324 esac 2325 done 2326 test "$ac_cv_exeext" = no && ac_cv_exeext= 2327 2328 else 2329 ac_file='' 2330 fi 2331 2332 { echo "$as_me:$LINENO: result: $ac_file" >&5 2333 echo "${ECHO_T}$ac_file" >&6; } 2334 if test -z "$ac_file"; then 2335 echo "$as_me: failed program was:" >&5 2336 sed 's/^/| /' conftest.$ac_ext >&5 2337 2338 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2339 See \`config.log' for more details." >&5 2340 echo "$as_me: error: C compiler cannot create executables 2341 See \`config.log' for more details." >&2;} 2342 { (exit 77); exit 77; }; } 2343 fi 2344 2345 ac_exeext=$ac_cv_exeext 2346 2347 # Check that the compiler produces executables we can run. If not, either 2348 # the compiler is broken, or we cross compile. 2349 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2350 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2351 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2352 # If not cross compiling, check that we can run a simple program. 2353 if test "$cross_compiling" != yes; then 2354 if { ac_try='./$ac_file' 2355 { (case "(($ac_try" in 2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2357 *) ac_try_echo=$ac_try;; 2358 esac 2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2360 (eval "$ac_try") 2>&5 2361 ac_status=$? 2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2363 (exit $ac_status); }; }; then 2364 cross_compiling=no 2365 else 2366 if test "$cross_compiling" = maybe; then 2367 cross_compiling=yes 2368 else 2369 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2370 If you meant to cross compile, use \`--host'. 2371 See \`config.log' for more details." >&5 2372 echo "$as_me: error: cannot run C compiled programs. 2373 If you meant to cross compile, use \`--host'. 2374 See \`config.log' for more details." >&2;} 2375 { (exit 1); exit 1; }; } 2376 fi 2377 fi 2378 fi 2379 { echo "$as_me:$LINENO: result: yes" >&5 2380 echo "${ECHO_T}yes" >&6; } 2381 2382 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2383 ac_clean_files=$ac_clean_files_save 2384 # Check that the compiler produces executables we can run. If not, either 2385 # the compiler is broken, or we cross compile. 2386 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2387 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2388 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2389 echo "${ECHO_T}$cross_compiling" >&6; } 2390 2391 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2392 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2393 if { (ac_try="$ac_link" 2394 case "(($ac_try" in 2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2396 *) ac_try_echo=$ac_try;; 2397 esac 2398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2399 (eval "$ac_link") 2>&5 2400 ac_status=$? 2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2402 (exit $ac_status); }; then 2403 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2404 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2405 # work properly (i.e., refer to `conftest.exe'), while it won't with 2406 # `rm'. 2407 for ac_file in conftest.exe conftest conftest.*; do 2408 test -f "$ac_file" || continue 2409 case $ac_file in 2410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2411 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2412 break;; 2413 * ) break;; 2414 esac 2415 done 2416 else 2417 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2418 See \`config.log' for more details." >&5 2419 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2420 See \`config.log' for more details." >&2;} 2421 { (exit 1); exit 1; }; } 2422 fi 2423 2424 rm -f conftest$ac_cv_exeext 2425 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2426 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2427 2428 rm -f conftest.$ac_ext 2429 EXEEXT=$ac_cv_exeext 2430 ac_exeext=$EXEEXT 2431 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2432 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2433 if test "${ac_cv_objext+set}" = set; then 2434 echo $ECHO_N "(cached) $ECHO_C" >&6 2435 else 2436 cat >conftest.$ac_ext <<_ACEOF 2437 /* confdefs.h. */ 2438 _ACEOF 2439 cat confdefs.h >>conftest.$ac_ext 2440 cat >>conftest.$ac_ext <<_ACEOF 2441 /* end confdefs.h. */ 2442 2443 int 2444 main () 2445 { 2446 2447 ; 2448 return 0; 2449 } 2450 _ACEOF 2451 rm -f conftest.o conftest.obj 2452 if { (ac_try="$ac_compile" 2453 case "(($ac_try" in 2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2455 *) ac_try_echo=$ac_try;; 2456 esac 2457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2458 (eval "$ac_compile") 2>&5 2459 ac_status=$? 2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2461 (exit $ac_status); }; then 2462 for ac_file in conftest.o conftest.obj conftest.*; do 2463 test -f "$ac_file" || continue; 2464 case $ac_file in 2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2466 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2467 break;; 2468 esac 2469 done 2470 else 2471 echo "$as_me: failed program was:" >&5 2472 sed 's/^/| /' conftest.$ac_ext >&5 2473 2474 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2475 See \`config.log' for more details." >&5 2476 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2477 See \`config.log' for more details." >&2;} 2478 { (exit 1); exit 1; }; } 2479 fi 2480 2481 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2482 fi 2483 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2484 echo "${ECHO_T}$ac_cv_objext" >&6; } 2485 OBJEXT=$ac_cv_objext 2486 ac_objext=$OBJEXT 2487 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2488 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2489 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2490 echo $ECHO_N "(cached) $ECHO_C" >&6 2491 else 2492 cat >conftest.$ac_ext <<_ACEOF 2493 /* confdefs.h. */ 2494 _ACEOF 2495 cat confdefs.h >>conftest.$ac_ext 2496 cat >>conftest.$ac_ext <<_ACEOF 2497 /* end confdefs.h. */ 2498 2499 int 2500 main () 2501 { 2502 #ifndef __GNUC__ 2503 choke me 2504 #endif 2505 2506 ; 2507 return 0; 2508 } 2509 _ACEOF 2510 rm -f conftest.$ac_objext 2511 if { (ac_try="$ac_compile" 2512 case "(($ac_try" in 2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2514 *) ac_try_echo=$ac_try;; 2515 esac 2516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2517 (eval "$ac_compile") 2>conftest.er1 2518 ac_status=$? 2519 grep -v '^ *+' conftest.er1 >conftest.err 2520 rm -f conftest.er1 2521 cat conftest.err >&5 2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2523 (exit $ac_status); } && { 2524 test -z "$ac_c_werror_flag" || 2525 test ! -s conftest.err 2526 } && test -s conftest.$ac_objext; then 2527 ac_compiler_gnu=yes 2528 else 2529 echo "$as_me: failed program was:" >&5 2530 sed 's/^/| /' conftest.$ac_ext >&5 2531 2532 ac_compiler_gnu=no 2533 fi 2534 2535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2536 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2537 2538 fi 2539 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2540 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2541 GCC=`test $ac_compiler_gnu = yes && echo yes` 2542 ac_test_CFLAGS=${CFLAGS+set} 2543 ac_save_CFLAGS=$CFLAGS 2544 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2545 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2546 if test "${ac_cv_prog_cc_g+set}" = set; then 2547 echo $ECHO_N "(cached) $ECHO_C" >&6 2548 else 2549 ac_save_c_werror_flag=$ac_c_werror_flag 2550 ac_c_werror_flag=yes 2551 ac_cv_prog_cc_g=no 2552 CFLAGS="-g" 2553 cat >conftest.$ac_ext <<_ACEOF 2554 /* confdefs.h. */ 2555 _ACEOF 2556 cat confdefs.h >>conftest.$ac_ext 2557 cat >>conftest.$ac_ext <<_ACEOF 2558 /* end confdefs.h. */ 2559 2560 int 2561 main () 2562 { 2563 2564 ; 2565 return 0; 2566 } 2567 _ACEOF 2568 rm -f conftest.$ac_objext 2569 if { (ac_try="$ac_compile" 2570 case "(($ac_try" in 2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2572 *) ac_try_echo=$ac_try;; 2573 esac 2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2575 (eval "$ac_compile") 2>conftest.er1 2576 ac_status=$? 2577 grep -v '^ *+' conftest.er1 >conftest.err 2578 rm -f conftest.er1 2579 cat conftest.err >&5 2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2581 (exit $ac_status); } && { 2582 test -z "$ac_c_werror_flag" || 2583 test ! -s conftest.err 2584 } && test -s conftest.$ac_objext; then 2585 ac_cv_prog_cc_g=yes 2586 else 2587 echo "$as_me: failed program was:" >&5 2588 sed 's/^/| /' conftest.$ac_ext >&5 2589 2590 CFLAGS="" 2591 cat >conftest.$ac_ext <<_ACEOF 2592 /* confdefs.h. */ 2593 _ACEOF 2594 cat confdefs.h >>conftest.$ac_ext 2595 cat >>conftest.$ac_ext <<_ACEOF 2596 /* end confdefs.h. */ 2597 2598 int 2599 main () 2600 { 2601 2602 ; 2603 return 0; 2604 } 2605 _ACEOF 2606 rm -f conftest.$ac_objext 2607 if { (ac_try="$ac_compile" 2608 case "(($ac_try" in 2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2610 *) ac_try_echo=$ac_try;; 2611 esac 2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2613 (eval "$ac_compile") 2>conftest.er1 2614 ac_status=$? 2615 grep -v '^ *+' conftest.er1 >conftest.err 2616 rm -f conftest.er1 2617 cat conftest.err >&5 2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2619 (exit $ac_status); } && { 2620 test -z "$ac_c_werror_flag" || 2621 test ! -s conftest.err 2622 } && test -s conftest.$ac_objext; then 2623 : 2624 else 2625 echo "$as_me: failed program was:" >&5 2626 sed 's/^/| /' conftest.$ac_ext >&5 2627 2628 ac_c_werror_flag=$ac_save_c_werror_flag 2629 CFLAGS="-g" 2630 cat >conftest.$ac_ext <<_ACEOF 2631 /* confdefs.h. */ 2632 _ACEOF 2633 cat confdefs.h >>conftest.$ac_ext 2634 cat >>conftest.$ac_ext <<_ACEOF 2635 /* end confdefs.h. */ 2636 2637 int 2638 main () 2639 { 2640 2641 ; 2642 return 0; 2643 } 2644 _ACEOF 2645 rm -f conftest.$ac_objext 2646 if { (ac_try="$ac_compile" 2647 case "(($ac_try" in 2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2649 *) ac_try_echo=$ac_try;; 2650 esac 2651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2652 (eval "$ac_compile") 2>conftest.er1 2653 ac_status=$? 2654 grep -v '^ *+' conftest.er1 >conftest.err 2655 rm -f conftest.er1 2656 cat conftest.err >&5 2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2658 (exit $ac_status); } && { 2659 test -z "$ac_c_werror_flag" || 2660 test ! -s conftest.err 2661 } && test -s conftest.$ac_objext; then 2662 ac_cv_prog_cc_g=yes 2663 else 2664 echo "$as_me: failed program was:" >&5 2665 sed 's/^/| /' conftest.$ac_ext >&5 2666 2667 2668 fi 2669 2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2671 fi 2672 2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2674 fi 2675 2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2677 ac_c_werror_flag=$ac_save_c_werror_flag 2678 fi 2679 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2680 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2681 if test "$ac_test_CFLAGS" = set; then 2682 CFLAGS=$ac_save_CFLAGS 2683 elif test $ac_cv_prog_cc_g = yes; then 2684 if test "$GCC" = yes; then 2685 CFLAGS="-g -O2" 2686 else 2687 CFLAGS="-g" 2688 fi 2689 else 2690 if test "$GCC" = yes; then 2691 CFLAGS="-O2" 2692 else 2693 CFLAGS= 2694 fi 2695 fi 2696 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2697 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2698 if test "${ac_cv_prog_cc_c89+set}" = set; then 2699 echo $ECHO_N "(cached) $ECHO_C" >&6 2700 else 2701 ac_cv_prog_cc_c89=no 2702 ac_save_CC=$CC 2703 cat >conftest.$ac_ext <<_ACEOF 2704 /* confdefs.h. */ 2705 _ACEOF 2706 cat confdefs.h >>conftest.$ac_ext 2707 cat >>conftest.$ac_ext <<_ACEOF 2708 /* end confdefs.h. */ 2709 #include <stdarg.h> 2710 #include <stdio.h> 2711 #include <sys/types.h> 2712 #include <sys/stat.h> 2713 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2714 struct buf { int x; }; 2715 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2716 static char *e (p, i) 2717 char **p; 2718 int i; 2719 { 2720 return p[i]; 2721 } 2722 static char *f (char * (*g) (char **, int), char **p, ...) 2723 { 2724 char *s; 2725 va_list v; 2726 va_start (v,p); 2727 s = g (p, va_arg (v,int)); 2728 va_end (v); 2729 return s; 2730 } 2731 2732 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2733 function prototypes and stuff, but not '\xHH' hex character constants. 2734 These don't provoke an error unfortunately, instead are silently treated 2735 as 'x'. The following induces an error, until -std is added to get 2736 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2737 array size at least. It's necessary to write '\x00'==0 to get something 2738 that's true only with -std. */ 2739 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2740 2741 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2742 inside strings and character constants. */ 2743 #define FOO(x) 'x' 2744 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2745 2746 int test (int i, double x); 2747 struct s1 {int (*f) (int a);}; 2748 struct s2 {int (*f) (double a);}; 2749 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2750 int argc; 2751 char **argv; 2752 int 2753 main () 2754 { 2755 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2756 ; 2757 return 0; 2758 } 2759 _ACEOF 2760 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2761 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2762 do 2763 CC="$ac_save_CC $ac_arg" 2764 rm -f conftest.$ac_objext 2765 if { (ac_try="$ac_compile" 2766 case "(($ac_try" in 2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2768 *) ac_try_echo=$ac_try;; 2769 esac 2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2771 (eval "$ac_compile") 2>conftest.er1 2772 ac_status=$? 2773 grep -v '^ *+' conftest.er1 >conftest.err 2774 rm -f conftest.er1 2775 cat conftest.err >&5 2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2777 (exit $ac_status); } && { 2778 test -z "$ac_c_werror_flag" || 2779 test ! -s conftest.err 2780 } && test -s conftest.$ac_objext; then 2781 ac_cv_prog_cc_c89=$ac_arg 2782 else 2783 echo "$as_me: failed program was:" >&5 2784 sed 's/^/| /' conftest.$ac_ext >&5 2785 2786 2787 fi 2788 2789 rm -f core conftest.err conftest.$ac_objext 2790 test "x$ac_cv_prog_cc_c89" != "xno" && break 2791 done 2792 rm -f conftest.$ac_ext 2793 CC=$ac_save_CC 2794 2795 fi 2796 # AC_CACHE_VAL 2797 case "x$ac_cv_prog_cc_c89" in 2798 x) 2799 { echo "$as_me:$LINENO: result: none needed" >&5 2800 echo "${ECHO_T}none needed" >&6; } ;; 2801 xno) 2802 { echo "$as_me:$LINENO: result: unsupported" >&5 2803 echo "${ECHO_T}unsupported" >&6; } ;; 2804 *) 2805 CC="$CC $ac_cv_prog_cc_c89" 2806 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2807 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2808 esac 2809 2810 2811 ac_ext=c 2812 ac_cpp='$CPP $CPPFLAGS' 2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2816 2817 if test "$GCC" = yes ; then 2818 if test "$SHLICC2" = yes ; then 2819 ac_cv_lbl_gcc_vers=2 2820 V_CCOPT="-O2" 2821 else 2822 { echo "$as_me:$LINENO: checking gcc version" >&5 2823 echo $ECHO_N "checking gcc version... $ECHO_C" >&6; } 2824 if test "${ac_cv_lbl_gcc_vers+set}" = set; then 2825 echo $ECHO_N "(cached) $ECHO_C" >&6 2826 else 2827 ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \ 2828 sed -e '/^gcc version /!d' \ 2829 -e 's/^gcc version //' \ 2830 -e 's/ .*//' -e 's/^[^0-9]*//' \ 2831 -e 's/\..*//'` 2832 fi 2833 2834 { echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5 2835 echo "${ECHO_T}$ac_cv_lbl_gcc_vers" >&6; } 2836 if test $ac_cv_lbl_gcc_vers -gt 1 ; then 2837 V_CCOPT="-O2" 2838 fi 2839 fi 2840 else 2841 { echo "$as_me:$LINENO: checking that $CC handles ansi prototypes" >&5 2842 echo $ECHO_N "checking that $CC handles ansi prototypes... $ECHO_C" >&6; } 2843 if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then 2844 echo $ECHO_N "(cached) $ECHO_C" >&6 2845 else 2846 2847 cat >conftest.$ac_ext <<_ACEOF 2848 /* confdefs.h. */ 2849 _ACEOF 2850 cat confdefs.h >>conftest.$ac_ext 2851 cat >>conftest.$ac_ext <<_ACEOF 2852 /* end confdefs.h. */ 2853 #include <sys/types.h> 2854 int 2855 main () 2856 { 2857 int frob(int, char *) 2858 ; 2859 return 0; 2860 } 2861 _ACEOF 2862 rm -f conftest.$ac_objext 2863 if { (ac_try="$ac_compile" 2864 case "(($ac_try" in 2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2866 *) ac_try_echo=$ac_try;; 2867 esac 2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2869 (eval "$ac_compile") 2>conftest.er1 2870 ac_status=$? 2871 grep -v '^ *+' conftest.er1 >conftest.err 2872 rm -f conftest.er1 2873 cat conftest.err >&5 2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2875 (exit $ac_status); } && { 2876 test -z "$ac_c_werror_flag" || 2877 test ! -s conftest.err 2878 } && test -s conftest.$ac_objext; then 2879 ac_cv_lbl_cc_ansi_prototypes=yes 2880 else 2881 echo "$as_me: failed program was:" >&5 2882 sed 's/^/| /' conftest.$ac_ext >&5 2883 2884 ac_cv_lbl_cc_ansi_prototypes=no 2885 fi 2886 2887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2888 fi 2889 2890 { echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_ansi_prototypes" >&5 2891 echo "${ECHO_T}$ac_cv_lbl_cc_ansi_prototypes" >&6; } 2892 if test $ac_cv_lbl_cc_ansi_prototypes = no ; then 2893 case "$host_os" in 2894 2895 hpux*) 2896 { echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5 2897 echo $ECHO_N "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... $ECHO_C" >&6; } 2898 savedcflags="$CFLAGS" 2899 CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS" 2900 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then 2901 echo $ECHO_N "(cached) $ECHO_C" >&6 2902 else 2903 cat >conftest.$ac_ext <<_ACEOF 2904 /* confdefs.h. */ 2905 _ACEOF 2906 cat confdefs.h >>conftest.$ac_ext 2907 cat >>conftest.$ac_ext <<_ACEOF 2908 /* end confdefs.h. */ 2909 #include <sys/types.h> 2910 int 2911 main () 2912 { 2913 int frob(int, char *) 2914 ; 2915 return 0; 2916 } 2917 _ACEOF 2918 rm -f conftest.$ac_objext 2919 if { (ac_try="$ac_compile" 2920 case "(($ac_try" in 2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2922 *) ac_try_echo=$ac_try;; 2923 esac 2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2925 (eval "$ac_compile") 2>conftest.er1 2926 ac_status=$? 2927 grep -v '^ *+' conftest.er1 >conftest.err 2928 rm -f conftest.er1 2929 cat conftest.err >&5 2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2931 (exit $ac_status); } && { 2932 test -z "$ac_c_werror_flag" || 2933 test ! -s conftest.err 2934 } && test -s conftest.$ac_objext; then 2935 ac_cv_lbl_cc_hpux_cc_aa=yes 2936 else 2937 echo "$as_me: failed program was:" >&5 2938 sed 's/^/| /' conftest.$ac_ext >&5 2939 2940 ac_cv_lbl_cc_hpux_cc_aa=no 2941 fi 2942 2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2944 fi 2945 2946 { echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_hpux_cc_aa" >&5 2947 echo "${ECHO_T}$ac_cv_lbl_cc_hpux_cc_aa" >&6; } 2948 if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then 2949 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5 2950 echo "$as_me: error: see the INSTALL doc for more info" >&2;} 2951 { (exit 1); exit 1; }; } 2952 fi 2953 CFLAGS="$savedcflags" 2954 V_CCOPT="-Aa $V_CCOPT" 2955 cat >>confdefs.h <<\_ACEOF 2956 #define _HPUX_SOURCE 1 2957 _ACEOF 2958 2959 ;; 2960 2961 *) 2962 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5 2963 echo "$as_me: error: see the INSTALL doc for more info" >&2;} 2964 { (exit 1); exit 1; }; } 2965 ;; 2966 esac 2967 fi 2968 V_INCLS="$V_INCLS -I/usr/local/include" 2969 LDFLAGS="$LDFLAGS -L/usr/local/lib" 2970 2971 case "$host_os" in 2972 2973 irix*) 2974 V_CCOPT="$V_CCOPT -xansi -signed -O" 2975 ;; 2976 2977 osf*) 2978 V_CCOPT="$V_CCOPT -std1 -O" 2979 ;; 2980 2981 ultrix*) 2982 { echo "$as_me:$LINENO: checking that Ultrix $CC hacks const in prototypes" >&5 2983 echo $ECHO_N "checking that Ultrix $CC hacks const in prototypes... $ECHO_C" >&6; } 2984 if test "${ac_cv_lbl_cc_const_proto+set}" = set; then 2985 echo $ECHO_N "(cached) $ECHO_C" >&6 2986 else 2987 cat >conftest.$ac_ext <<_ACEOF 2988 /* confdefs.h. */ 2989 _ACEOF 2990 cat confdefs.h >>conftest.$ac_ext 2991 cat >>conftest.$ac_ext <<_ACEOF 2992 /* end confdefs.h. */ 2993 #include <sys/types.h> 2994 int 2995 main () 2996 { 2997 struct a { int b; }; 2998 void c(const struct a *) 2999 ; 3000 return 0; 3001 } 3002 _ACEOF 3003 rm -f conftest.$ac_objext 3004 if { (ac_try="$ac_compile" 3005 case "(($ac_try" in 3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3007 *) ac_try_echo=$ac_try;; 3008 esac 3009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3010 (eval "$ac_compile") 2>conftest.er1 3011 ac_status=$? 3012 grep -v '^ *+' conftest.er1 >conftest.err 3013 rm -f conftest.er1 3014 cat conftest.err >&5 3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 (exit $ac_status); } && { 3017 test -z "$ac_c_werror_flag" || 3018 test ! -s conftest.err 3019 } && test -s conftest.$ac_objext; then 3020 ac_cv_lbl_cc_const_proto=yes 3021 else 3022 echo "$as_me: failed program was:" >&5 3023 sed 's/^/| /' conftest.$ac_ext >&5 3024 3025 ac_cv_lbl_cc_const_proto=no 3026 fi 3027 3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3029 fi 3030 3031 { echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_const_proto" >&5 3032 echo "${ECHO_T}$ac_cv_lbl_cc_const_proto" >&6; } 3033 if test $ac_cv_lbl_cc_const_proto = no ; then 3034 cat >>confdefs.h <<\_ACEOF 3035 #define const 3036 _ACEOF 3037 3038 fi 3039 ;; 3040 esac 3041 fi 3042 3043 { echo "$as_me:$LINENO: checking for inline" >&5 3044 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 3045 if test "${ac_cv_lbl_inline+set}" = set; then 3046 echo $ECHO_N "(cached) $ECHO_C" >&6 3047 else 3048 3049 ac_cv_lbl_inline="" 3050 ac_lbl_cc_inline=no 3051 for ac_lbl_inline in inline __inline__ __inline 3052 do 3053 cat >conftest.$ac_ext <<_ACEOF 3054 /* confdefs.h. */ 3055 _ACEOF 3056 cat confdefs.h >>conftest.$ac_ext 3057 cat >>conftest.$ac_ext <<_ACEOF 3058 /* end confdefs.h. */ 3059 #define inline $ac_lbl_inline 3060 static inline struct iltest *foo(void); 3061 struct iltest { 3062 int iltest1; 3063 int iltest2; 3064 }; 3065 3066 static inline struct iltest * 3067 foo() 3068 { 3069 static struct iltest xxx; 3070 3071 return &xxx; 3072 } 3073 int 3074 main () 3075 { 3076 3077 ; 3078 return 0; 3079 } 3080 _ACEOF 3081 rm -f conftest.$ac_objext 3082 if { (ac_try="$ac_compile" 3083 case "(($ac_try" in 3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3085 *) ac_try_echo=$ac_try;; 3086 esac 3087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3088 (eval "$ac_compile") 2>conftest.er1 3089 ac_status=$? 3090 grep -v '^ *+' conftest.er1 >conftest.err 3091 rm -f conftest.er1 3092 cat conftest.err >&5 3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3094 (exit $ac_status); } && { 3095 test -z "$ac_c_werror_flag" || 3096 test ! -s conftest.err 3097 } && test -s conftest.$ac_objext; then 3098 ac_lbl_cc_inline=yes 3099 else 3100 echo "$as_me: failed program was:" >&5 3101 sed 's/^/| /' conftest.$ac_ext >&5 3102 3103 3104 fi 3105 3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3107 if test "$ac_lbl_cc_inline" = yes ; then 3108 break; 3109 fi 3110 done 3111 if test "$ac_lbl_cc_inline" = yes ; then 3112 ac_cv_lbl_inline=$ac_lbl_inline 3113 fi 3114 fi 3115 3116 if test ! -z "$ac_cv_lbl_inline" ; then 3117 { echo "$as_me:$LINENO: result: $ac_cv_lbl_inline" >&5 3118 echo "${ECHO_T}$ac_cv_lbl_inline" >&6; } 3119 else 3120 { echo "$as_me:$LINENO: result: no" >&5 3121 echo "${ECHO_T}no" >&6; } 3122 fi 3123 3124 cat >>confdefs.h <<_ACEOF 3125 #define inline $ac_cv_lbl_inline 3126 _ACEOF 3127 3128 3129 { echo "$as_me:$LINENO: checking for __attribute__" >&5 3130 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; } 3131 if test "${ac_cv___attribute__+set}" = set; then 3132 echo $ECHO_N "(cached) $ECHO_C" >&6 3133 else 3134 3135 cat >conftest.$ac_ext <<_ACEOF 3136 /* confdefs.h. */ 3137 _ACEOF 3138 cat confdefs.h >>conftest.$ac_ext 3139 cat >>conftest.$ac_ext <<_ACEOF 3140 /* end confdefs.h. */ 3141 3142 #include <stdlib.h> 3143 3144 static void foo(void) __attribute__ ((noreturn)); 3145 3146 static void 3147 foo(void) 3148 { 3149 exit(1); 3150 } 3151 3152 int 3153 main(int argc, char **argv) 3154 { 3155 foo(); 3156 } 3157 3158 _ACEOF 3159 rm -f conftest.$ac_objext 3160 if { (ac_try="$ac_compile" 3161 case "(($ac_try" in 3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *) ac_try_echo=$ac_try;; 3164 esac 3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3166 (eval "$ac_compile") 2>conftest.er1 3167 ac_status=$? 3168 grep -v '^ *+' conftest.er1 >conftest.err 3169 rm -f conftest.er1 3170 cat conftest.err >&5 3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3172 (exit $ac_status); } && { 3173 test -z "$ac_c_werror_flag" || 3174 test ! -s conftest.err 3175 } && test -s conftest.$ac_objext; then 3176 ac_cv___attribute__=yes 3177 else 3178 echo "$as_me: failed program was:" >&5 3179 sed 's/^/| /' conftest.$ac_ext >&5 3180 3181 ac_cv___attribute__=no 3182 fi 3183 3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3185 fi 3186 3187 if test "$ac_cv___attribute__" = "yes"; then 3188 3189 cat >>confdefs.h <<\_ACEOF 3190 #define HAVE___ATTRIBUTE__ 1 3191 _ACEOF 3192 3193 V_DEFS="$V_DEFS -D_U_=\"__attribute__((unused))\"" 3194 else 3195 V_DEFS="$V_DEFS -D_U_=\"\"" 3196 fi 3197 { echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5 3198 echo "${ECHO_T}$ac_cv___attribute__" >&6; } 3199 3200 ac_ext=c 3201 ac_cpp='$CPP $CPPFLAGS' 3202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3204 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3205 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3206 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3207 # On Suns, sometimes $CPP names a directory. 3208 if test -n "$CPP" && test -d "$CPP"; then 3209 CPP= 3210 fi 3211 if test -z "$CPP"; then 3212 if test "${ac_cv_prog_CPP+set}" = set; then 3213 echo $ECHO_N "(cached) $ECHO_C" >&6 3214 else 3215 # Double quotes because CPP needs to be expanded 3216 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3217 do 3218 ac_preproc_ok=false 3219 for ac_c_preproc_warn_flag in '' yes 3220 do 3221 # Use a header file that comes with gcc, so configuring glibc 3222 # with a fresh cross-compiler works. 3223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3224 # <limits.h> exists even on freestanding compilers. 3225 # On the NeXT, cc -E runs the code through the compiler's parser, 3226 # not just through cpp. "Syntax error" is here to catch this case. 3227 cat >conftest.$ac_ext <<_ACEOF 3228 /* confdefs.h. */ 3229 _ACEOF 3230 cat confdefs.h >>conftest.$ac_ext 3231 cat >>conftest.$ac_ext <<_ACEOF 3232 /* end confdefs.h. */ 3233 #ifdef __STDC__ 3234 # include <limits.h> 3235 #else 3236 # include <assert.h> 3237 #endif 3238 Syntax error 3239 _ACEOF 3240 if { (ac_try="$ac_cpp conftest.$ac_ext" 3241 case "(($ac_try" in 3242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3243 *) ac_try_echo=$ac_try;; 3244 esac 3245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3247 ac_status=$? 3248 grep -v '^ *+' conftest.er1 >conftest.err 3249 rm -f conftest.er1 3250 cat conftest.err >&5 3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3252 (exit $ac_status); } >/dev/null && { 3253 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3254 test ! -s conftest.err 3255 }; then 3256 : 3257 else 3258 echo "$as_me: failed program was:" >&5 3259 sed 's/^/| /' conftest.$ac_ext >&5 3260 3261 # Broken: fails on valid input. 3262 continue 3263 fi 3264 3265 rm -f conftest.err conftest.$ac_ext 3266 3267 # OK, works on sane cases. Now check whether nonexistent headers 3268 # can be detected and how. 3269 cat >conftest.$ac_ext <<_ACEOF 3270 /* confdefs.h. */ 3271 _ACEOF 3272 cat confdefs.h >>conftest.$ac_ext 3273 cat >>conftest.$ac_ext <<_ACEOF 3274 /* end confdefs.h. */ 3275 #include <ac_nonexistent.h> 3276 _ACEOF 3277 if { (ac_try="$ac_cpp conftest.$ac_ext" 3278 case "(($ac_try" in 3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3280 *) ac_try_echo=$ac_try;; 3281 esac 3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3284 ac_status=$? 3285 grep -v '^ *+' conftest.er1 >conftest.err 3286 rm -f conftest.er1 3287 cat conftest.err >&5 3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3289 (exit $ac_status); } >/dev/null && { 3290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3291 test ! -s conftest.err 3292 }; then 3293 # Broken: success on invalid input. 3294 continue 3295 else 3296 echo "$as_me: failed program was:" >&5 3297 sed 's/^/| /' conftest.$ac_ext >&5 3298 3299 # Passes both tests. 3300 ac_preproc_ok=: 3301 break 3302 fi 3303 3304 rm -f conftest.err conftest.$ac_ext 3305 3306 done 3307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3308 rm -f conftest.err conftest.$ac_ext 3309 if $ac_preproc_ok; then 3310 break 3311 fi 3312 3313 done 3314 ac_cv_prog_CPP=$CPP 3315 3316 fi 3317 CPP=$ac_cv_prog_CPP 3318 else 3319 ac_cv_prog_CPP=$CPP 3320 fi 3321 { echo "$as_me:$LINENO: result: $CPP" >&5 3322 echo "${ECHO_T}$CPP" >&6; } 3323 ac_preproc_ok=false 3324 for ac_c_preproc_warn_flag in '' yes 3325 do 3326 # Use a header file that comes with gcc, so configuring glibc 3327 # with a fresh cross-compiler works. 3328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3329 # <limits.h> exists even on freestanding compilers. 3330 # On the NeXT, cc -E runs the code through the compiler's parser, 3331 # not just through cpp. "Syntax error" is here to catch this case. 3332 cat >conftest.$ac_ext <<_ACEOF 3333 /* confdefs.h. */ 3334 _ACEOF 3335 cat confdefs.h >>conftest.$ac_ext 3336 cat >>conftest.$ac_ext <<_ACEOF 3337 /* end confdefs.h. */ 3338 #ifdef __STDC__ 3339 # include <limits.h> 3340 #else 3341 # include <assert.h> 3342 #endif 3343 Syntax error 3344 _ACEOF 3345 if { (ac_try="$ac_cpp conftest.$ac_ext" 3346 case "(($ac_try" in 3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3348 *) ac_try_echo=$ac_try;; 3349 esac 3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3352 ac_status=$? 3353 grep -v '^ *+' conftest.er1 >conftest.err 3354 rm -f conftest.er1 3355 cat conftest.err >&5 3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3357 (exit $ac_status); } >/dev/null && { 3358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3359 test ! -s conftest.err 3360 }; then 3361 : 3362 else 3363 echo "$as_me: failed program was:" >&5 3364 sed 's/^/| /' conftest.$ac_ext >&5 3365 3366 # Broken: fails on valid input. 3367 continue 3368 fi 3369 3370 rm -f conftest.err conftest.$ac_ext 3371 3372 # OK, works on sane cases. Now check whether nonexistent headers 3373 # can be detected and how. 3374 cat >conftest.$ac_ext <<_ACEOF 3375 /* confdefs.h. */ 3376 _ACEOF 3377 cat confdefs.h >>conftest.$ac_ext 3378 cat >>conftest.$ac_ext <<_ACEOF 3379 /* end confdefs.h. */ 3380 #include <ac_nonexistent.h> 3381 _ACEOF 3382 if { (ac_try="$ac_cpp conftest.$ac_ext" 3383 case "(($ac_try" in 3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3385 *) ac_try_echo=$ac_try;; 3386 esac 3387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3389 ac_status=$? 3390 grep -v '^ *+' conftest.er1 >conftest.err 3391 rm -f conftest.er1 3392 cat conftest.err >&5 3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3394 (exit $ac_status); } >/dev/null && { 3395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3396 test ! -s conftest.err 3397 }; then 3398 # Broken: success on invalid input. 3399 continue 3400 else 3401 echo "$as_me: failed program was:" >&5 3402 sed 's/^/| /' conftest.$ac_ext >&5 3403 3404 # Passes both tests. 3405 ac_preproc_ok=: 3406 break 3407 fi 3408 3409 rm -f conftest.err conftest.$ac_ext 3410 3411 done 3412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3413 rm -f conftest.err conftest.$ac_ext 3414 if $ac_preproc_ok; then 3415 : 3416 else 3417 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3418 See \`config.log' for more details." >&5 3419 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3420 See \`config.log' for more details." >&2;} 3421 { (exit 1); exit 1; }; } 3422 fi 3423 3424 ac_ext=c 3425 ac_cpp='$CPP $CPPFLAGS' 3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3429 3430 3431 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3432 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3433 if test "${ac_cv_path_GREP+set}" = set; then 3434 echo $ECHO_N "(cached) $ECHO_C" >&6 3435 else 3436 # Extract the first word of "grep ggrep" to use in msg output 3437 if test -z "$GREP"; then 3438 set dummy grep ggrep; ac_prog_name=$2 3439 if test "${ac_cv_path_GREP+set}" = set; then 3440 echo $ECHO_N "(cached) $ECHO_C" >&6 3441 else 3442 ac_path_GREP_found=false 3443 # Loop through the user's path and test for each of PROGNAME-LIST 3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3445 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3446 do 3447 IFS=$as_save_IFS 3448 test -z "$as_dir" && as_dir=. 3449 for ac_prog in grep ggrep; do 3450 for ac_exec_ext in '' $ac_executable_extensions; do 3451 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3452 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3453 # Check for GNU ac_path_GREP and select it if it is found. 3454 # Check for GNU $ac_path_GREP 3455 case `"$ac_path_GREP" --version 2>&1` in 3456 *GNU*) 3457 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3458 *) 3459 ac_count=0 3460 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3461 while : 3462 do 3463 cat "conftest.in" "conftest.in" >"conftest.tmp" 3464 mv "conftest.tmp" "conftest.in" 3465 cp "conftest.in" "conftest.nl" 3466 echo 'GREP' >> "conftest.nl" 3467 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3468 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3469 ac_count=`expr $ac_count + 1` 3470 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3471 # Best one so far, save it but keep looking for a better one 3472 ac_cv_path_GREP="$ac_path_GREP" 3473 ac_path_GREP_max=$ac_count 3474 fi 3475 # 10*(2^10) chars as input seems more than enough 3476 test $ac_count -gt 10 && break 3477 done 3478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3479 esac 3480 3481 3482 $ac_path_GREP_found && break 3 3483 done 3484 done 3485 3486 done 3487 IFS=$as_save_IFS 3488 3489 3490 fi 3491 3492 GREP="$ac_cv_path_GREP" 3493 if test -z "$GREP"; then 3494 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3495 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3496 { (exit 1); exit 1; }; } 3497 fi 3498 3499 else 3500 ac_cv_path_GREP=$GREP 3501 fi 3502 3503 3504 fi 3505 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3506 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3507 GREP="$ac_cv_path_GREP" 3508 3509 3510 { echo "$as_me:$LINENO: checking for egrep" >&5 3511 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3512 if test "${ac_cv_path_EGREP+set}" = set; then 3513 echo $ECHO_N "(cached) $ECHO_C" >&6 3514 else 3515 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3516 then ac_cv_path_EGREP="$GREP -E" 3517 else 3518 # Extract the first word of "egrep" to use in msg output 3519 if test -z "$EGREP"; then 3520 set dummy egrep; ac_prog_name=$2 3521 if test "${ac_cv_path_EGREP+set}" = set; then 3522 echo $ECHO_N "(cached) $ECHO_C" >&6 3523 else 3524 ac_path_EGREP_found=false 3525 # Loop through the user's path and test for each of PROGNAME-LIST 3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3528 do 3529 IFS=$as_save_IFS 3530 test -z "$as_dir" && as_dir=. 3531 for ac_prog in egrep; do 3532 for ac_exec_ext in '' $ac_executable_extensions; do 3533 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3534 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3535 # Check for GNU ac_path_EGREP and select it if it is found. 3536 # Check for GNU $ac_path_EGREP 3537 case `"$ac_path_EGREP" --version 2>&1` in 3538 *GNU*) 3539 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3540 *) 3541 ac_count=0 3542 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3543 while : 3544 do 3545 cat "conftest.in" "conftest.in" >"conftest.tmp" 3546 mv "conftest.tmp" "conftest.in" 3547 cp "conftest.in" "conftest.nl" 3548 echo 'EGREP' >> "conftest.nl" 3549 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3551 ac_count=`expr $ac_count + 1` 3552 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3553 # Best one so far, save it but keep looking for a better one 3554 ac_cv_path_EGREP="$ac_path_EGREP" 3555 ac_path_EGREP_max=$ac_count 3556 fi 3557 # 10*(2^10) chars as input seems more than enough 3558 test $ac_count -gt 10 && break 3559 done 3560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3561 esac 3562 3563 3564 $ac_path_EGREP_found && break 3 3565 done 3566 done 3567 3568 done 3569 IFS=$as_save_IFS 3570 3571 3572 fi 3573 3574 EGREP="$ac_cv_path_EGREP" 3575 if test -z "$EGREP"; then 3576 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3577 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3578 { (exit 1); exit 1; }; } 3579 fi 3580 3581 else 3582 ac_cv_path_EGREP=$EGREP 3583 fi 3584 3585 3586 fi 3587 fi 3588 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3589 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3590 EGREP="$ac_cv_path_EGREP" 3591 3592 3593 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3594 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3595 if test "${ac_cv_header_stdc+set}" = set; then 3596 echo $ECHO_N "(cached) $ECHO_C" >&6 3597 else 3598 cat >conftest.$ac_ext <<_ACEOF 3599 /* confdefs.h. */ 3600 _ACEOF 3601 cat confdefs.h >>conftest.$ac_ext 3602 cat >>conftest.$ac_ext <<_ACEOF 3603 /* end confdefs.h. */ 3604 #include <stdlib.h> 3605 #include <