1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.60. 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # This configure script is free software; the Free Software Foundation 8 # gives unlimited permission to copy, distribute and modify it. 9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 12 13 # Be Bourne compatible 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20 setopt NO_GLOB_SUBST 21 else 22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 23 fi 24 BIN_SH=xpg4; export BIN_SH # for Tru64 25 DUALCASE=1; export DUALCASE # for MKS sh 26 27 28 # PATH needs CR 29 # Avoid depending upon Character Ranges. 30 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 33 as_cr_digits='0123456789' 34 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 36 # The user is always right. 37 if test "${PATH_SEPARATOR+set}" != set; then 38 echo "#! /bin/sh" >conf$$.sh 39 echo "exit 0" >>conf$$.sh 40 chmod +x conf$$.sh 41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 42 PATH_SEPARATOR=';' 43 else 44 PATH_SEPARATOR=: 45 fi 46 rm -f conf$$.sh 47 fi 48 49 # Support unset when possible. 50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 51 as_unset=unset 52 else 53 as_unset=false 54 fi 55 56 57 # IFS 58 # We need space, tab and new line, in precisely that order. Quoting is 59 # there to prevent editors from complaining about space-tab. 60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 61 # splitting by setting IFS to empty value.) 62 as_nl=' 63 ' 64 IFS=" "" $as_nl" 65 66 # Find who we are. Look in the path if we contain no directory separator. 67 case $0 in 68 *[\\/]* ) as_myself=$0 ;; 69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 70 for as_dir in $PATH 71 do 72 IFS=$as_save_IFS 73 test -z "$as_dir" && as_dir=. 74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 75 done 76 IFS=$as_save_IFS 77 78 ;; 79 esac 80 # We did not find ourselves, most probably we were run as `sh COMMAND' 81 # in which case we are not to be found in the path. 82 if test "x$as_myself" = x; then 83 as_myself=$0 84 fi 85 if test ! -f "$as_myself"; then 86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 87 { (exit 1); exit 1; } 88 fi 89 90 # Work around bugs in pre-3.0 UWIN ksh. 91 for as_var in ENV MAIL MAILPATH 92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 93 done 94 PS1='$ ' 95 PS2='> ' 96 PS4='+ ' 97 98 # NLS nuisances. 99 for as_var in \ 100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 102 LC_TELEPHONE LC_TIME 103 do 104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 105 eval $as_var=C; export $as_var 106 else 107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 108 fi 109 done 110 111 # Required to use basename. 112 if expr a : '\(a\)' >/dev/null 2>&1 && 113 test "X`expr 00001 : '.*\(...\)'`" = X001; then 114 as_expr=expr 115 else 116 as_expr=false 117 fi 118 119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 120 as_basename=basename 121 else 122 as_basename=false 123 fi 124 125 126 # Name of the executable. 127 as_me=`$as_basename -- "$0" || 128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 129 X"$0" : 'X\(//\)$' \| \ 130 X"$0" : 'X\(/\)' \| . 2>/dev/null || 131 echo X/"$0" | 132 sed '/^.*\/\([^/][^/]*\)\/*$/{ 133 s//\1/ 134 q 135 } 136 /^X\/\(\/\/\)$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\).*/{ 141 s//\1/ 142 q 143 } 144 s/.*/./; q'` 145 146 # CDPATH. 147 $as_unset CDPATH 148 149 150 if test "x$CONFIG_SHELL" = x; then 151 if (eval ":") 2>/dev/null; then 152 as_have_required=yes 153 else 154 as_have_required=no 155 fi 156 157 if test $as_have_required = yes && (eval ": 158 (as_func_return () { 159 (exit \$1) 160 } 161 as_func_success () { 162 as_func_return 0 163 } 164 as_func_failure () { 165 as_func_return 1 166 } 167 as_func_ret_success () { 168 return 0 169 } 170 as_func_ret_failure () { 171 return 1 172 } 173 174 exitcode=0 175 if as_func_success; then 176 : 177 else 178 exitcode=1 179 echo as_func_success failed. 180 fi 181 182 if as_func_failure; then 183 exitcode=1 184 echo as_func_failure succeeded. 185 fi 186 187 if as_func_ret_success; then 188 : 189 else 190 exitcode=1 191 echo as_func_ret_success failed. 192 fi 193 194 if as_func_ret_failure; then 195 exitcode=1 196 echo as_func_ret_failure succeeded. 197 fi 198 199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 200 : 201 else 202 exitcode=1 203 echo positional parameters were not saved. 204 fi 205 206 test \$exitcode = 0) || { (exit 1); exit 1; } 207 208 ( 209 as_lineno_1=\$LINENO 210 as_lineno_2=\$LINENO 211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 213 ") 2> /dev/null; then 214 : 215 else 216 as_candidate_shells= 217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 case $as_dir in 223 /*) 224 for as_base in sh bash ksh sh5; do 225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 226 done;; 227 esac 228 done 229 IFS=$as_save_IFS 230 231 232 for as_shell in $as_candidate_shells $SHELL; do 233 # Try only shells that exist, to save several forks. 234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 { ("$as_shell") 2> /dev/null <<\_ASEOF 236 # Be Bourne compatible 237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 238 emulate sh 239 NULLCMD=: 240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 241 # is contrary to our usage. Disable this feature. 242 alias -g '${1+"$@"}'='"$@"' 243 setopt NO_GLOB_SUBST 244 else 245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 246 fi 247 BIN_SH=xpg4; export BIN_SH # for Tru64 248 DUALCASE=1; export DUALCASE # for MKS sh 249 250 : 251 _ASEOF 252 }; then 253 CONFIG_SHELL=$as_shell 254 as_have_required=yes 255 if { "$as_shell" 2> /dev/null <<\_ASEOF 256 # Be Bourne compatible 257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 258 emulate sh 259 NULLCMD=: 260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 261 # is contrary to our usage. Disable this feature. 262 alias -g '${1+"$@"}'='"$@"' 263 setopt NO_GLOB_SUBST 264 else 265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 266 fi 267 BIN_SH=xpg4; export BIN_SH # for Tru64 268 DUALCASE=1; export DUALCASE # for MKS sh 269 270 : 271 (as_func_return () { 272 (exit $1) 273 } 274 as_func_success () { 275 as_func_return 0 276 } 277 as_func_failure () { 278 as_func_return 1 279 } 280 as_func_ret_success () { 281 return 0 282 } 283 as_func_ret_failure () { 284 return 1 285 } 286 287 exitcode=0 288 if as_func_success; then 289 : 290 else 291 exitcode=1 292 echo as_func_success failed. 293 fi 294 295 if as_func_failure; then 296 exitcode=1 297 echo as_func_failure succeeded. 298 fi 299 300 if as_func_ret_success; then 301 : 302 else 303 exitcode=1 304 echo as_func_ret_success failed. 305 fi 306 307 if as_func_ret_failure; then 308 exitcode=1 309 echo as_func_ret_failure succeeded. 310 fi 311 312 if ( set x; as_func_ret_success y && test x = "$1" ); then 313 : 314 else 315 exitcode=1 316 echo positional parameters were not saved. 317 fi 318 319 test $exitcode = 0) || { (exit 1); exit 1; } 320 321 ( 322 as_lineno_1=$LINENO 323 as_lineno_2=$LINENO 324 test "x$as_lineno_1" != "x$as_lineno_2" && 325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 326 327 _ASEOF 328 }; then 329 break 330 fi 331 332 fi 333 334 done 335 336 if test "x$CONFIG_SHELL" != x; then 337 for as_var in BASH_ENV ENV 338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 339 done 340 export CONFIG_SHELL 341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 342 fi 343 344 345 if test $as_have_required = no; then 346 echo This script requires a shell more modern than all the 347 echo shells that I found on your system. Please install a 348 echo modern shell, or manually run the script under such a 349 echo shell if you do have one. 350 { (exit 1); exit 1; } 351 fi 352 353 354 fi 355 356 fi 357 358 359 360 (eval "as_func_return () { 361 (exit \$1) 362 } 363 as_func_success () { 364 as_func_return 0 365 } 366 as_func_failure () { 367 as_func_return 1 368 } 369 as_func_ret_success () { 370 return 0 371 } 372 as_func_ret_failure () { 373 return 1 374 } 375 376 exitcode=0 377 if as_func_success; then 378 : 379 else 380 exitcode=1 381 echo as_func_success failed. 382 fi 383 384 if as_func_failure; then 385 exitcode=1 386 echo as_func_failure succeeded. 387 fi 388 389 if as_func_ret_success; then 390 : 391 else 392 exitcode=1 393 echo as_func_ret_success failed. 394 fi 395 396 if as_func_ret_failure; then 397 exitcode=1 398 echo as_func_ret_failure succeeded. 399 fi 400 401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 402 : 403 else 404 exitcode=1 405 echo positional parameters were not saved. 406 fi 407 408 test \$exitcode = 0") || { 409 echo No shell found that supports shell functions. 410 echo Please tell autoconf@gnu.org about your system, 411 echo including any error possibly output before this 412 echo message 413 } 414 415 416 417 as_lineno_1=$LINENO 418 as_lineno_2=$LINENO 419 test "x$as_lineno_1" != "x$as_lineno_2" && 420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 421 422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 423 # uniformly replaced by the line number. The first 'sed' inserts a 424 # line-number line after each line using $LINENO; the second 'sed' 425 # does the real work. The second script uses 'N' to pair each 426 # line-number line with the line containing $LINENO, and appends 427 # trailing '-' during substitution so that $LINENO is not a special 428 # case at line end. 429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 430 # scripts with optimization help from Paolo Bonzini. Blame Lee 431 # E. McMahon (1931-1989) for sed's syntax. :-) 432 sed -n ' 433 p 434 /[$]LINENO/= 435 ' <$as_myself | 436 sed ' 437 s/[$]LINENO.*/&-/ 438 t lineno 439 b 440 :lineno 441 N 442 :loop 443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 444 t loop 445 s/-\n.*// 446 ' >$as_me.lineno && 447 chmod +x "$as_me.lineno" || 448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 449 { (exit 1); exit 1; }; } 450 451 # Don't try to exec as it changes $[0], causing all sort of problems 452 # (the dirname of $[0] is not the place where we might find the 453 # original and so on. Autoconf is especially sensitive to this). 454 . "./$as_me.lineno" 455 # Exit status is that of the last command. 456 exit 457 } 458 459 460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 461 as_dirname=dirname 462 else 463 as_dirname=false 464 fi 465 466 ECHO_C= ECHO_N= ECHO_T= 467 case `echo -n x` in 468 -n*) 469 case `echo 'x\c'` in 470 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 471 *) ECHO_C='\c';; 472 esac;; 473 *) 474 ECHO_N='-n';; 475 esac 476 477 if expr a : '\(a\)' >/dev/null 2>&1 && 478 test "X`expr 00001 : '.*\(...\)'`" = X001; then 479 as_expr=expr 480 else 481 as_expr=false 482 fi 483 484 rm -f conf$$ conf$$.exe conf$$.file 485 if test -d conf$$.dir; then 486 rm -f conf$$.dir/conf$$.file 487 else 488 rm -f conf$$.dir 489 mkdir conf$$.dir 490 fi 491 echo >conf$$.file 492 if ln -s conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s='ln -s' 494 # ... but there are two gotchas: 495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 497 # In both cases, we have to default to `cp -p'. 498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 499 as_ln_s='cp -p' 500 elif ln conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s=ln 502 else 503 as_ln_s='cp -p' 504 fi 505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506 rmdir conf$$.dir 2>/dev/null 507 508 if mkdir -p . 2>/dev/null; then 509 as_mkdir_p=: 510 else 511 test -d ./-p && rmdir ./-p 512 as_mkdir_p=false 513 fi 514 515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 516 # systems may use methods other than mode bits to determine executability. 517 cat >conf$$.file <<_ASEOF 518 #! /bin/sh 519 exit 0 520 _ASEOF 521 chmod +x conf$$.file 522 if test -x conf$$.file >/dev/null 2>&1; then 523 as_executable_p="test -x" 524 else 525 as_executable_p=: 526 fi 527 rm -f conf$$.file 528 529 # Sed expression to map a string onto a valid CPP name. 530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 531 532 # Sed expression to map a string onto a valid variable name. 533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 534 535 536 537 exec 7<&0 </dev/null 6>&1 538 539 # Name of the host. 540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 541 # so uname gets run too. 542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543 544 # 545 # Initializations. 546 # 547 ac_default_prefix=/usr/local 548 ac_clean_files= 549 ac_config_libobj_dir=. 550 LIBOBJS= 551 cross_compiling=no 552 subdirs= 553 MFLAGS= 554 MAKEFLAGS= 555 SHELL=${CONFIG_SHELL-/bin/sh} 556 557 # Identity of this package. 558 PACKAGE_NAME= 559 PACKAGE_TARNAME= 560 PACKAGE_VERSION= 561 PACKAGE_STRING= 562 PACKAGE_BUGREPORT= 563 564 ac_unique_file="alsamixer/alsamixer.c" 565 ac_default_prefix=/usr 566 ac_subst_vars='SHELL 567 PATH_SEPARATOR 568 PACKAGE_NAME 569 PACKAGE_TARNAME 570 PACKAGE_VERSION 571 PACKAGE_STRING 572 PACKAGE_BUGREPORT 573 exec_prefix 574 prefix 575 program_transform_name 576 bindir 577 sbindir 578 libexecdir 579 datarootdir 580 datadir 581 sysconfdir 582 sharedstatedir 583 localstatedir 584 includedir 585 oldincludedir 586 docdir 587 infodir 588 htmldir 589 dvidir 590 pdfdir 591 psdir 592 libdir 593 localedir 594 mandir 595 DEFS 596 ECHO_C 597 ECHO_N 598 ECHO_T 599 LIBS 600 build_alias 601 host_alias 602 target_alias 603 INSTALL_PROGRAM 604 INSTALL_SCRIPT 605 INSTALL_DATA 606 CYGPATH_W 607 PACKAGE 608 VERSION 609 ACLOCAL 610 AUTOCONF 611 AUTOMAKE 612 AUTOHEADER 613 MAKEINFO 614 install_sh 615 STRIP 616 INSTALL_STRIP_PROGRAM 617 mkdir_p 618 AWK 619 SET_MAKE 620 am__leading_dot 621 AMTAR 622 am__tar 623 am__untar 624 USE_NLS 625 MSGFMT 626 GMSGFMT 627 MSGFMT_015 628 GMSGFMT_015 629 XGETTEXT 630 XGETTEXT_015 631 MSGMERGE 632 CC 633 CFLAGS 634 LDFLAGS 635 CPPFLAGS 636 ac_ct_CC 637 EXEEXT 638 OBJEXT 639 DEPDIR 640 am__include 641 am__quote 642 AMDEP_TRUE 643 AMDEP_FALSE 644 AMDEPBACKSLASH 645 CCDEPMODE 646 am__fastdepCC_TRUE 647 am__fastdepCC_FALSE 648 build 649 build_cpu 650 build_vendor 651 build_os 652 host 653 host_cpu 654 host_vendor 655 host_os 656 INTL_MACOSX_LIBS 657 LIBICONV 658 LTLIBICONV 659 INTLLIBS 660 LIBINTL 661 LTLIBINTL 662 POSUB 663 LN_S 664 ALSA_CFLAGS 665 ALSA_LIBS 666 ALSAMIXER_TRUE 667 ALSAMIXER_FALSE 668 ALSACONF_TRUE 669 ALSACONF_FALSE 670 xmlto 671 USE_XMLTO_TRUE 672 USE_XMLTO_FALSE 673 CPP 674 GREP 675 EGREP 676 ncursesw5_config 677 ncurses5_config 678 CURSESINC 679 CURSESLIB 680 CURSES_CFLAGS 681 TESTSOUND 682 SND_UTIL_VERSION 683 SND_UTIL_MAJOR 684 SND_UTIL_MINOR 685 SND_UTIL_SUBMINOR 686 LIBOBJS 687 LTLIBOBJS' 688 ac_subst_files='' 689 ac_precious_vars='build_alias 690 host_alias 691 target_alias 692 CC 693 CFLAGS 694 LDFLAGS 695 CPPFLAGS 696 CPP' 697 698 699 # Initialize some variables set by options. 700 ac_init_help= 701 ac_init_version=false 702 # The variables have the same names as the options, with 703 # dashes changed to underlines. 704 cache_file=/dev/null 705 exec_prefix=NONE 706 no_create= 707 no_recursion= 708 prefix=NONE 709 program_prefix=NONE 710 program_suffix=NONE 711 program_transform_name=s,x,x, 712 silent= 713 site= 714 srcdir= 715 verbose= 716 x_includes=NONE 717 x_libraries=NONE 718 719 # Installation directory options. 720 # These are left unexpanded so users can "make install exec_prefix=/foo" 721 # and all the variables that are supposed to be based on exec_prefix 722 # by default will actually change. 723 # Use braces instead of parens because sh, perl, etc. also accept them. 724 # (The list follows the same order as the GNU Coding Standards.) 725 bindir='${exec_prefix}/bin' 726 sbindir='${exec_prefix}/sbin' 727 libexecdir='${exec_prefix}/libexec' 728 datarootdir='${prefix}/share' 729 datadir='${datarootdir}' 730 sysconfdir='${prefix}/etc' 731 sharedstatedir='${prefix}/com' 732 localstatedir='${prefix}/var' 733 includedir='${prefix}/include' 734 oldincludedir='/usr/include' 735 docdir='${datarootdir}/doc/${PACKAGE}' 736 infodir='${datarootdir}/info' 737 htmldir='${docdir}' 738 dvidir='${docdir}' 739 pdfdir='${docdir}' 740 psdir='${docdir}' 741 libdir='${exec_prefix}/lib' 742 localedir='${datarootdir}/locale' 743 mandir='${datarootdir}/man' 744 745 ac_prev= 746 ac_dashdash= 747 for ac_option 748 do 749 # If the previous option needs an argument, assign it. 750 if test -n "$ac_prev"; then 751 eval $ac_prev=\$ac_option 752 ac_prev= 753 continue 754 fi 755 756 case $ac_option in 757 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 758 *) ac_optarg=yes ;; 759 esac 760 761 # Accept the important Cygnus configure options, so we can diagnose typos. 762 763 case $ac_dashdash$ac_option in 764 --) 765 ac_dashdash=yes ;; 766 767 -bindir | --bindir | --bindi | --bind | --bin | --bi) 768 ac_prev=bindir ;; 769 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 770 bindir=$ac_optarg ;; 771 772 -build | --build | --buil | --bui | --bu) 773 ac_prev=build_alias ;; 774 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 775 build_alias=$ac_optarg ;; 776 777 -cache-file | --cache-file | --cache-fil | --cache-fi \ 778 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 779 ac_prev=cache_file ;; 780 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 781 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 782 cache_file=$ac_optarg ;; 783 784 --config-cache | -C) 785 cache_file=config.cache ;; 786 787 -datadir | --datadir | --datadi | --datad) 788 ac_prev=datadir ;; 789 -datadir=* | --datadir=* | --datadi=* | --datad=*) 790 datadir=$ac_optarg ;; 791 792 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 793 | --dataroo | --dataro | --datar) 794 ac_prev=datarootdir ;; 795 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 796 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 797 datarootdir=$ac_optarg ;; 798 799 -disable-* | --disable-*) 800 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 801 # Reject names that are not valid shell variable names. 802 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 803 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 804 { (exit 1); exit 1; }; } 805 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 806 eval enable_$ac_feature=no ;; 807 808 -docdir | --docdir | --docdi | --doc | --do) 809 ac_prev=docdir ;; 810 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 811 docdir=$ac_optarg ;; 812 813 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 814 ac_prev=dvidir ;; 815 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 816 dvidir=$ac_optarg ;; 817 818 -enable-* | --enable-*) 819 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 820 # Reject names that are not valid shell variable names. 821 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 823 { (exit 1); exit 1; }; } 824 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 825 eval enable_$ac_feature=\$ac_optarg ;; 826 827 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 828 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 829 | --exec | --exe | --ex) 830 ac_prev=exec_prefix ;; 831 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 832 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 833 | --exec=* | --exe=* | --ex=*) 834 exec_prefix=$ac_optarg ;; 835 836 -gas | --gas | --ga | --g) 837 # Obsolete; use --with-gas. 838 with_gas=yes ;; 839 840 -help | --help | --hel | --he | -h) 841 ac_init_help=long ;; 842 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 843 ac_init_help=recursive ;; 844 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 845 ac_init_help=short ;; 846 847 -host | --host | --hos | --ho) 848 ac_prev=host_alias ;; 849 -host=* | --host=* | --hos=* | --ho=*) 850 host_alias=$ac_optarg ;; 851 852 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 853 ac_prev=htmldir ;; 854 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 855 | --ht=*) 856 htmldir=$ac_optarg ;; 857 858 -includedir | --includedir | --includedi | --included | --include \ 859 | --includ | --inclu | --incl | --inc) 860 ac_prev=includedir ;; 861 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 862 | --includ=* | --inclu=* | --incl=* | --inc=*) 863 includedir=$ac_optarg ;; 864 865 -infodir | --infodir | --infodi | --infod | --info | --inf) 866 ac_prev=infodir ;; 867 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 868 infodir=$ac_optarg ;; 869 870 -libdir | --libdir | --libdi | --libd) 871 ac_prev=libdir ;; 872 -libdir=* | --libdir=* | --libdi=* | --libd=*) 873 libdir=$ac_optarg ;; 874 875 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 876 | --libexe | --libex | --libe) 877 ac_prev=libexecdir ;; 878 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 879 | --libexe=* | --libex=* | --libe=*) 880 libexecdir=$ac_optarg ;; 881 882 -localedir | --localedir | --localedi | --localed | --locale) 883 ac_prev=localedir ;; 884 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 885 localedir=$ac_optarg ;; 886 887 -localstatedir | --localstatedir | --localstatedi | --localstated \ 888 | --localstate | --localstat | --localsta | --localst | --locals) 889 ac_prev=localstatedir ;; 890 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 891 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 892 localstatedir=$ac_optarg ;; 893 894 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 895 ac_prev=mandir ;; 896 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 897 mandir=$ac_optarg ;; 898 899 -nfp | --nfp | --nf) 900 # Obsolete; use --without-fp. 901 with_fp=no ;; 902 903 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 904 | --no-cr | --no-c | -n) 905 no_create=yes ;; 906 907 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 908 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 909 no_recursion=yes ;; 910 911 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 912 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 913 | --oldin | --oldi | --old | --ol | --o) 914 ac_prev=oldincludedir ;; 915 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 916 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 917 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 918 oldincludedir=$ac_optarg ;; 919 920 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 921 ac_prev=prefix ;; 922 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 923 prefix=$ac_optarg ;; 924 925 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 926 | --program-pre | --program-pr | --program-p) 927 ac_prev=program_prefix ;; 928 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 929 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 930 program_prefix=$ac_optarg ;; 931 932 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 933 | --program-suf | --program-su | --program-s) 934 ac_prev=program_suffix ;; 935 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 936 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 937 program_suffix=$ac_optarg ;; 938 939 -program-transform-name | --program-transform-name \ 940 | --program-transform-nam | --program-transform-na \ 941 | --program-transform-n | --program-transform- \ 942 | --program-transform | --program-transfor \ 943 | --program-transfo | --program-transf \ 944 | --program-trans | --program-tran \ 945 | --progr-tra | --program-tr | --program-t) 946 ac_prev=program_transform_name ;; 947 -program-transform-name=* | --program-transform-name=* \ 948 | --program-transform-nam=* | --program-transform-na=* \ 949 | --program-transform-n=* | --program-transform-=* \ 950 | --program-transform=* | --program-transfor=* \ 951 | --program-transfo=* | --program-transf=* \ 952 | --program-trans=* | --program-tran=* \ 953 | --progr-tra=* | --program-tr=* | --program-t=*) 954 program_transform_name=$ac_optarg ;; 955 956 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 957 ac_prev=pdfdir ;; 958 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 959 pdfdir=$ac_optarg ;; 960 961 -psdir | --psdir | --psdi | --psd | --ps) 962 ac_prev=psdir ;; 963 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 964 psdir=$ac_optarg ;; 965 966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 967 | -silent | --silent | --silen | --sile | --sil) 968 silent=yes ;; 969 970 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 971 ac_prev=sbindir ;; 972 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 973 | --sbi=* | --sb=*) 974 sbindir=$ac_optarg ;; 975 976 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 977 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 978 | --sharedst | --shareds | --shared | --share | --shar \ 979 | --sha | --sh) 980 ac_prev=sharedstatedir ;; 981 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 982 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 983 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 984 | --sha=* | --sh=*) 985 sharedstatedir=$ac_optarg ;; 986 987 -site | --site | --sit) 988 ac_prev=site ;; 989 -site=* | --site=* | --sit=*) 990 site=$ac_optarg ;; 991 992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 993 ac_prev=srcdir ;; 994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 995 srcdir=$ac_optarg ;; 996 997 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 998 | --syscon | --sysco | --sysc | --sys | --sy) 999 ac_prev=sysconfdir ;; 1000 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1001 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1002 sysconfdir=$ac_optarg ;; 1003 1004 -target | --target | --targe | --targ | --tar | --ta | --t) 1005 ac_prev=target_alias ;; 1006 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1007 target_alias=$ac_optarg ;; 1008 1009 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1010 verbose=yes ;; 1011 1012 -version | --version | --versio | --versi | --vers | -V) 1013 ac_init_version=: ;; 1014 1015 -with-* | --with-*) 1016 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1017 # Reject names that are not valid shell variable names. 1018 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1019 { echo "$as_me: error: invalid package name: $ac_package" >&2 1020 { (exit 1); exit 1; }; } 1021 ac_package=`echo $ac_package| sed 's/-/_/g'` 1022 eval with_$ac_package=\$ac_optarg ;; 1023 1024 -without-* | --without-*) 1025 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1026 # Reject names that are not valid shell variable names. 1027 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1028 { echo "$as_me: error: invalid package name: $ac_package" >&2 1029 { (exit 1); exit 1; }; } 1030 ac_package=`echo $ac_package | sed 's/-/_/g'` 1031 eval with_$ac_package=no ;; 1032 1033 --x) 1034 # Obsolete; use --with-x. 1035 with_x=yes ;; 1036 1037 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1038 | --x-incl | --x-inc | --x-in | --x-i) 1039 ac_prev=x_includes ;; 1040 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1041 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1042 x_includes=$ac_optarg ;; 1043 1044 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1045 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1046 ac_prev=x_libraries ;; 1047 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1048 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1049 x_libraries=$ac_optarg ;; 1050 1051 -*) { echo "$as_me: error: unrecognized option: $ac_option 1052 Try \`$0 --help' for more information." >&2 1053 { (exit 1); exit 1; }; } 1054 ;; 1055 1056 *=*) 1057 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1058 # Reject names that are not valid shell variable names. 1059 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1060 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1061 { (exit 1); exit 1; }; } 1062 eval $ac_envvar=\$ac_optarg 1063 export $ac_envvar ;; 1064 1065 *) 1066 # FIXME: should be removed in autoconf 3.0. 1067 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1068 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1069 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1070 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1071 ;; 1072 1073 esac 1074 done 1075 1076 if test -n "$ac_prev"; then 1077 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1078 { echo "$as_me: error: missing argument to $ac_option" >&2 1079 { (exit 1); exit 1; }; } 1080 fi 1081 1082 # Be sure to have absolute directory names. 1083 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1084 datadir sysconfdir sharedstatedir localstatedir includedir \ 1085 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1086 libdir localedir mandir 1087 do 1088 eval ac_val=\$$ac_var 1089 case $ac_val in 1090 [\\/$]* | ?:[\\/]* ) continue;; 1091 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1092 esac 1093 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1094 { (exit 1); exit 1; }; } 1095 done 1096 1097 # There might be people who depend on the old broken behavior: `$host' 1098 # used to hold the argument of --host etc. 1099 # FIXME: To remove some day. 1100 build=$build_alias 1101 host=$host_alias 1102 target=$target_alias 1103 1104 # FIXME: To remove some day. 1105 if test "x$host_alias" != x; then 1106 if test "x$build_alias" = x; then 1107 cross_compiling=maybe 1108 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1109 If a cross compiler is detected then cross compile mode will be used." >&2 1110 elif test "x$build_alias" != "x$host_alias"; then 1111 cross_compiling=yes 1112 fi 1113 fi 1114 1115 ac_tool_prefix= 1116 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1117 1118 test "$silent" = yes && exec 6>/dev/null 1119 1120 1121 ac_pwd=`pwd` && test -n "$ac_pwd" && 1122 ac_ls_di=`ls -di .` && 1123 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1124 { echo "$as_me: error: Working directory cannot be determined" >&2 1125 { (exit 1); exit 1; }; } 1126 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1127 { echo "$as_me: error: pwd does not report name of working directory" >&2 1128 { (exit 1); exit 1; }; } 1129 1130 1131 # Find the source files, if location was not specified. 1132 if test -z "$srcdir"; then 1133 ac_srcdir_defaulted=yes 1134 # Try the directory containing this script, then the parent directory. 1135 ac_confdir=`$as_dirname -- "$0" || 1136 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1137 X"$0" : 'X\(//\)[^/]' \| \ 1138 X"$0" : 'X\(//\)$' \| \ 1139 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1140 echo X"$0" | 1141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1142 s//\1/ 1143 q 1144 } 1145 /^X\(\/\/\)[^/].*/{ 1146 s//\1/ 1147 q 1148 } 1149 /^X\(\/\/\)$/{ 1150 s//\1/ 1151 q 1152 } 1153 /^X\(\/\).*/{ 1154 s//\1/ 1155 q 1156 } 1157 s/.*/./; q'` 1158 srcdir=$ac_confdir 1159 if test ! -r "$srcdir/$ac_unique_file"; then 1160 srcdir=.. 1161 fi 1162 else 1163 ac_srcdir_defaulted=no 1164 fi 1165 if test ! -r "$srcdir/$ac_unique_file"; then 1166 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1167 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1168 { (exit 1); exit 1; }; } 1169 fi 1170 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1171 ac_abs_confdir=`( 1172 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1173 { (exit 1); exit 1; }; } 1174 pwd)` 1175 # When building in place, set srcdir=. 1176 if test "$ac_abs_confdir" = "$ac_pwd"; then 1177 srcdir=. 1178 fi 1179 # Remove unnecessary trailing slashes from srcdir. 1180 # Double slashes in file names in object file debugging info 1181 # mess up M-x gdb in Emacs. 1182 case $srcdir in 1183 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1184 esac 1185 for ac_var in $ac_precious_vars; do 1186 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1187 eval ac_env_${ac_var}_value=\$${ac_var} 1188 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1189 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1190 done 1191 1192 # 1193 # Report the --help message. 1194 # 1195 if test "$ac_init_help" = "long"; then 1196 # Omit some internal or obsolete options to make the list less imposing. 1197 # This message is too long to be a string in the A/UX 3.1 sh. 1198 cat <<_ACEOF 1199 \`configure' configures this package to adapt to many kinds of systems. 1200 1201 Usage: $0 [OPTION]... [VAR=VALUE]... 1202 1203 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1204 VAR=VALUE. See below for descriptions of some of the useful variables. 1205 1206 Defaults for the options are specified in brackets. 1207 1208 Configuration: 1209 -h, --help display this help and exit 1210 --help=short display options specific to this package 1211 --help=recursive display the short help of all the included packages 1212 -V, --version display version information and exit 1213 -q, --quiet, --silent do not print \`checking...' messages 1214 --cache-file=FILE cache test results in FILE [disabled] 1215 -C, --config-cache alias for \`--cache-file=config.cache' 1216 -n, --no-create do not create output files 1217 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1218 1219 Installation directories: 1220 --prefix=PREFIX install architecture-independent files in PREFIX 1221 [$ac_default_prefix] 1222 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1223 [PREFIX] 1224 1225 By default, \`make install' will install all the files in 1226 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1227 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1228 for instance \`--prefix=\$HOME'. 1229 1230 For better control, use the options below. 1231 1232 Fine tuning of the installation directories: 1233 --bindir=DIR user executables [EPREFIX/bin] 1234 --sbindir=DIR system admin executables [EPREFIX/sbin] 1235 --libexecdir=DIR program executables [EPREFIX/libexec] 1236 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1237 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1238 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1239 --libdir=DIR object code libraries [EPREFIX/lib] 1240 --includedir=DIR C header files [PREFIX/include] 1241 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1242 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1243 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1244 --infodir=DIR info documentation [DATAROOTDIR/info] 1245 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1246 --mandir=DIR man documentation [DATAROOTDIR/man] 1247 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1248 --htmldir=DIR html documentation [DOCDIR] 1249 --dvidir=DIR dvi documentation [DOCDIR] 1250 --pdfdir=DIR pdf documentation [DOCDIR] 1251 --psdir=DIR ps documentation [DOCDIR] 1252 _ACEOF 1253 1254 cat <<\_ACEOF 1255 1256 Program names: 1257 --program-prefix=PREFIX prepend PREFIX to installed program names 1258 --program-suffix=SUFFIX append SUFFIX to installed program names 1259 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1260 1261 System types: 1262 --build=BUILD configure for building on BUILD [guessed] 1263 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1264 _ACEOF 1265 fi 1266 1267 if test -n "$ac_init_help"; then 1268 1269 cat <<\_ACEOF 1270 1271 Optional Features: 1272 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1273 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1274 --disable-nls do not use Native Language Support 1275 --disable-dependency-tracking speeds up one-time build 1276 --enable-dependency-tracking do not reject slow dependency extractors 1277 --disable-rpath do not hardcode runtime library paths 1278 --disable-alsatest Do not try to compile and run a test Alsa program 1279 --disable-alsamixer Disable alsamixer compilation 1280 --disable-alsaconf Disable alsaconf packaging 1281 --disable-xmlto Disable man page creation via xmlto 1282 --disable-largefile omit support for large files 1283 1284 Optional Packages: 1285 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1286 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1287 --with-gnu-ld assume the C compiler uses GNU ld default=no 1288 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1289 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1290 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1291 --without-libintl-prefix don't search for libintl in includedir and libdir 1292 --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional) 1293 --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional) 1294 --with-curses libname Specify the curses library to use (default=auto) 1295 --with-testsound=file give the path of test sound file for alsaconf 1296 1297 Some influential environment variables: 1298 CC C compiler command 1299 CFLAGS C compiler flags 1300 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1301 nonstandard directory <lib dir> 1302 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1303 you have headers in a nonstandard directory <include dir> 1304 CPP C preprocessor 1305 1306 Use these variables to override the choices made by `configure' or to help 1307 it to find libraries and programs with nonstandard names/locations. 1308 1309 _ACEOF 1310 ac_status=$? 1311 fi 1312 1313 if test "$ac_init_help" = "recursive"; then 1314 # If there are subdirs, report their specific --help. 1315 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1316 test -d "$ac_dir" || continue 1317 ac_builddir=. 1318 1319 case "$ac_dir" in 1320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1321 *) 1322 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1323 # A ".." for each directory in $ac_dir_suffix. 1324 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1325 case $ac_top_builddir_sub in 1326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1328 esac ;; 1329 esac 1330 ac_abs_top_builddir=$ac_pwd 1331 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1332 # for backward compatibility: 1333 ac_top_builddir=$ac_top_build_prefix 1334 1335 case $srcdir in 1336 .) # We are building in place. 1337 ac_srcdir=. 1338 ac_top_srcdir=$ac_top_builddir_sub 1339 ac_abs_top_srcdir=$ac_pwd ;; 1340 [\\/]* | ?:[\\/]* ) # Absolute name. 1341 ac_srcdir=$srcdir$ac_dir_suffix; 1342 ac_top_srcdir=$srcdir 1343 ac_abs_top_srcdir=$srcdir ;; 1344 *) # Relative name. 1345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1346 ac_top_srcdir=$ac_top_build_prefix$srcdir 1347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1348 esac 1349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1350 1351 cd "$ac_dir" || { ac_status=$?; continue; } 1352 # Check for guested configure. 1353 if test -f "$ac_srcdir/configure.gnu"; then 1354 echo && 1355 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1356 elif test -f "$ac_srcdir/configure"; then 1357 echo && 1358 $SHELL "$ac_srcdir/configure" --help=recursive 1359 else 1360 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1361 fi || ac_status=$? 1362 cd "$ac_pwd" || { ac_status=$?; break; } 1363 done 1364 fi 1365 1366 test -n "$ac_init_help" && exit $ac_status 1367 if $ac_init_version; then 1368 cat <<\_ACEOF 1369 configure 1370 generated by GNU Autoconf 2.60 1371 1372 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1373 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1374 This configure script is free software; the Free Software Foundation 1375 gives unlimited permission to copy, distribute and modify it. 1376 _ACEOF 1377 exit 1378 fi 1379 cat >config.log <<_ACEOF 1380 This file contains any messages produced by compilers while 1381 running configure, to aid debugging if configure makes a mistake. 1382 1383 It was created by $as_me, which was 1384 generated by GNU Autoconf 2.60. Invocation command line was 1385 1386 $ $0 $@ 1387 1388 _ACEOF 1389 exec 5>>config.log 1390 { 1391 cat <<_ASUNAME 1392 ## --------- ## 1393 ## Platform. ## 1394 ## --------- ## 1395 1396 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1397 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1398 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1399 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1400 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1401 1402 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1403 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1404 1405 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1406 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1407 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1408 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1409 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1410 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1411 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1412 1413 _ASUNAME 1414 1415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1416 for as_dir in $PATH 1417 do 1418 IFS=$as_save_IFS 1419 test -z "$as_dir" && as_dir=. 1420 echo "PATH: $as_dir" 1421 done 1422 IFS=$as_save_IFS 1423 1424 } >&5 1425 1426 cat >&5 <<_ACEOF 1427 1428 1429 ## ----------- ## 1430 ## Core tests. ## 1431 ## ----------- ## 1432 1433 _ACEOF 1434 1435 1436 # Keep a trace of the command line. 1437 # Strip out --no-create and --no-recursion so they do not pile up. 1438 # Strip out --silent because we don't want to record it for future runs. 1439 # Also quote any args containing shell meta-characters. 1440 # Make two passes to allow for proper duplicate-argument suppression. 1441 ac_configure_args= 1442 ac_configure_args0= 1443 ac_configure_args1= 1444 ac_must_keep_next=false 1445 for ac_pass in 1 2 1446 do 1447 for ac_arg 1448 do 1449 case $ac_arg in 1450 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1452 | -silent | --silent | --silen | --sile | --sil) 1453 continue ;; 1454 *\'*) 1455 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1456 esac 1457 case $ac_pass in 1458 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1459 2) 1460 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1461 if test $ac_must_keep_next = true; then 1462 ac_must_keep_next=false # Got value, back to normal. 1463 else 1464 case $ac_arg in 1465 *=* | --config-cache | -C | -disable-* | --disable-* \ 1466 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1467 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1468 | -with-* | --with-* | -without-* | --without-* | --x) 1469 case "$ac_configure_args0 " in 1470 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1471 esac 1472 ;; 1473 -* ) ac_must_keep_next=true ;; 1474 esac 1475 fi 1476 ac_configure_args="$ac_configure_args '$ac_arg'" 1477 ;; 1478 esac 1479 done 1480 done 1481 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1482 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1483 1484 # When interrupted or exit'd, cleanup temporary files, and complete 1485 # config.log. We remove comments because anyway the quotes in there 1486 # would cause problems or look ugly. 1487 # WARNING: Use '\'' to represent an apostrophe within the trap. 1488 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1489 trap 'exit_status=$? 1490 # Save into config.log some information that might help in debugging. 1491 { 1492 echo 1493 1494 cat <<\_ASBOX 1495 ## ---------------- ## 1496 ## Cache variables. ## 1497 ## ---------------- ## 1498 _ASBOX 1499 echo 1500 # The following way of writing the cache mishandles newlines in values, 1501 ( 1502 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1503 eval ac_val=\$$ac_var 1504 case $ac_val in #( 1505 *${as_nl}*) 1506 case $ac_var in #( 1507 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1508 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1509 esac 1510 case $ac_var in #( 1511 _ | IFS | as_nl) ;; #( 1512 *) $as_unset $ac_var ;; 1513 esac ;; 1514 esac 1515 done 1516 (set) 2>&1 | 1517 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1518 *${as_nl}ac_space=\ *) 1519 sed -n \ 1520 "s/'\''/'\''\\\\'\'''\''/g; 1521 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1522 ;; #( 1523 *) 1524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1525 ;; 1526 esac | 1527 sort 1528 ) 1529 echo 1530 1531 cat <<\_ASBOX 1532 ## ----------------- ## 1533 ## Output variables. ## 1534 ## ----------------- ## 1535 _ASBOX 1536 echo 1537 for ac_var in $ac_subst_vars 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 1547 if test -n "$ac_subst_files"; then 1548 cat <<\_ASBOX 1549 ## ------------------- ## 1550 ## File substitutions. ## 1551 ## ------------------- ## 1552 _ASBOX 1553 echo 1554 for ac_var in $ac_subst_files 1555 do 1556 eval ac_val=\$$ac_var 1557 case $ac_val in 1558 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1559 esac 1560 echo "$ac_var='\''$ac_val'\''" 1561 done | sort 1562 echo 1563 fi 1564 1565 if test -s confdefs.h; then 1566 cat <<\_ASBOX 1567 ## ----------- ## 1568 ## confdefs.h. ## 1569 ## ----------- ## 1570 _ASBOX 1571 echo 1572 cat confdefs.h 1573 echo 1574 fi 1575 test "$ac_signal" != 0 && 1576 echo "$as_me: caught signal $ac_signal" 1577 echo "$as_me: exit $exit_status" 1578 } >&5 1579 rm -f core *.core core.conftest.* && 1580 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1581 exit $exit_status 1582 ' 0 1583 for ac_signal in 1 2 13 15; do 1584 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1585 done 1586 ac_signal=0 1587 1588 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1589 rm -f -r conftest* confdefs.h 1590 1591 # Predefined preprocessor variables. 1592 1593 cat >>confdefs.h <<_ACEOF 1594 #define PACKAGE_NAME "$PACKAGE_NAME" 1595 _ACEOF 1596 1597 1598 cat >>confdefs.h <<_ACEOF 1599 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1600 _ACEOF 1601 1602 1603 cat >>confdefs.h <<_ACEOF 1604 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1605 _ACEOF 1606 1607 1608 cat >>confdefs.h <<_ACEOF 1609 #define PACKAGE_STRING "$PACKAGE_STRING" 1610 _ACEOF 1611 1612 1613 cat >>confdefs.h <<_ACEOF 1614 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1615 _ACEOF 1616 1617 1618 # Let the site file select an alternate cache file if it wants to. 1619 # Prefer explicitly selected file to automatically selected ones. 1620 if test -n "$CONFIG_SITE"; then 1621 set x "$CONFIG_SITE" 1622 elif test "x$prefix" != xNONE; then 1623 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1624 else 1625 set x "$ac_default_prefix/share/config.site" \ 1626 "$ac_default_prefix/etc/config.site" 1627 fi 1628 shift 1629 for ac_site_file 1630 do 1631 if test -r "$ac_site_file"; then 1632 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1633 echo "$as_me: loading site script $ac_site_file" >&6;} 1634 sed 's/^/| /' "$ac_site_file" >&5 1635 . "$ac_site_file" 1636 fi 1637 done 1638 1639 if test -r "$cache_file"; then 1640 # Some versions of bash will fail to source /dev/null (special 1641 # files actually), so we avoid doing that. 1642 if test -f "$cache_file"; then 1643 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1644 echo "$as_me: loading cache $cache_file" >&6;} 1645 case $cache_file in 1646 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1647 *) . "./$cache_file";; 1648 esac 1649 fi 1650 else 1651 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1652 echo "$as_me: creating cache $cache_file" >&6;} 1653 >$cache_file 1654 fi 1655 1656 # Check that the precious variables saved in the cache have kept the same 1657 # value. 1658 ac_cache_corrupted=false 1659 for ac_var in $ac_precious_vars; do 1660 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1661 eval ac_new_set=\$ac_env_${ac_var}_set 1662 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1663 eval ac_new_val=\$ac_env_${ac_var}_value 1664 case $ac_old_set,$ac_new_set in 1665 set,) 1666 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1667 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1668 ac_cache_corrupted=: ;; 1669 ,set) 1670 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1671 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1672 ac_cache_corrupted=: ;; 1673 ,);; 1674 *) 1675 if test "x$ac_old_val" != "x$ac_new_val"; then 1676 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1677 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1678 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1679 echo "$as_me: former value: $ac_old_val" >&2;} 1680 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1681 echo "$as_me: current value: $ac_new_val" >&2;} 1682 ac_cache_corrupted=: 1683 fi;; 1684 esac 1685 # Pass precious variables to config.status. 1686 if test "$ac_new_set" = set; then 1687 case $ac_new_val in 1688 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1689 *) ac_arg=$ac_var=$ac_new_val ;; 1690 esac 1691 case " $ac_configure_args " in 1692 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1693 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1694 esac 1695 fi 1696 done 1697 if $ac_cache_corrupted; then 1698 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1699 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1700 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1701 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1702 { (exit 1); exit 1; }; } 1703 fi 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 ac_ext=c 1722 ac_cpp='$CPP $CPPFLAGS' 1723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1725 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1726 1727 1728 1729 am__api_version="1.9" 1730 ac_aux_dir= 1731 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1732 if test -f "$ac_dir/install-sh"; then 1733 ac_aux_dir=$ac_dir 1734 ac_install_sh="$ac_aux_dir/install-sh -c" 1735 break 1736 elif test -f "$ac_dir/install.sh"; then 1737 ac_aux_dir=$ac_dir 1738 ac_install_sh="$ac_aux_dir/install.sh -c" 1739 break 1740 elif test -f "$ac_dir/shtool"; then 1741 ac_aux_dir=$ac_dir 1742 ac_install_sh="$ac_aux_dir/shtool install -c" 1743 break 1744 fi 1745 done 1746 if test -z "$ac_aux_dir"; then 1747 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1748 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1749 { (exit 1); exit 1; }; } 1750 fi 1751 1752 # These three variables are undocumented and unsupported, 1753 # and are intended to be withdrawn in a future Autoconf release. 1754 # They can cause serious problems if a builder's source tree is in a directory 1755 # whose full name contains unusual characters. 1756 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1757 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1758 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1759 1760 1761 # Find a good install program. We prefer a C program (faster), 1762 # so one script is as good as another. But avoid the broken or 1763 # incompatible versions: 1764 # SysV /etc/install, /usr/sbin/install 1765 # SunOS /usr/etc/install 1766 # IRIX /sbin/install 1767 # AIX /bin/install 1768 # AmigaOS /C/install, which installs bootblocks on floppy discs 1769 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1770 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1771 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1772 # OS/2's system install, which has a completely different semantic 1773 # ./install, which can be erroneously created by make from ./install.sh. 1774 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1775 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1776 if test -z "$INSTALL"; then 1777 if test "${ac_cv_path_install+set}" = set; then 1778 echo $ECHO_N "(cached) $ECHO_C" >&6 1779 else 1780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1781 for as_dir in $PATH 1782 do 1783 IFS=$as_save_IFS 1784 test -z "$as_dir" && as_dir=. 1785 # Account for people who put trailing slashes in PATH elements. 1786 case $as_dir/ in 1787 ./ | .// | /cC/* | \ 1788 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1789 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1790 /usr/ucb/* ) ;; 1791 *) 1792 # OSF1 and SCO ODT 3.0 have their own names for install. 1793 # Don't use installbsd from OSF since it installs stuff as root 1794 # by default. 1795 for ac_prog in ginstall scoinst install; do 1796 for ac_exec_ext in '' $ac_executable_extensions; do 1797 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 1798 if test $ac_prog = install && 1799 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1800 # AIX install. It has an incompatible calling convention. 1801 : 1802 elif test $ac_prog = install && 1803 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1804 # program-specific install script used by HP pwplus--don't use. 1805 : 1806 else 1807 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1808 break 3 1809 fi 1810 fi 1811 done 1812 done 1813 ;; 1814 esac 1815 done 1816 IFS=$as_save_IFS 1817 1818 1819 fi 1820 if test "${ac_cv_path_install+set}" = set; then 1821 INSTALL=$ac_cv_path_install 1822 else 1823 # As a last resort, use the slow shell script. Don't cache a 1824 # value for INSTALL within a source directory, because that will 1825 # break other packages using the cache if that directory is 1826 # removed, or if the value is a relative name. 1827 INSTALL=$ac_install_sh 1828 fi 1829 fi 1830 { echo "$as_me:$LINENO: result: $INSTALL" >&5 1831 echo "${ECHO_T}$INSTALL" >&6; } 1832 1833 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1834 # It thinks the first close brace ends the variable substitution. 1835 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1836 1837 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1838 1839 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1840 1841 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1842 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1843 # Just in case 1844 sleep 1 1845 echo timestamp > conftest.file 1846 # Do `set' in a subshell so we don't clobber the current shell's 1847 # arguments. Must try -L first in case configure is actually a 1848 # symlink; some systems play weird games with the mod time of symlinks 1849 # (eg FreeBSD returns the mod time of the symlink's containing 1850 # directory). 1851 if ( 1852 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1853 if test "$*" = "X"; then 1854 # -L didn't work. 1855 set X `ls -t $srcdir/configure conftest.file` 1856 fi 1857 rm -f conftest.file 1858 if test "$*" != "X $srcdir/configure conftest.file" \ 1859 && test "$*" != "X conftest.file $srcdir/configure"; then 1860 1861 # If neither matched, then we have a broken ls. This can happen 1862 # if, for instance, CONFIG_SHELL is bash and it inherits a 1863 # broken ls alias from the environment. This has actually 1864 # happened. Such a system could not be considered "sane". 1865 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1866 alias in your environment" >&5 1867 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1868 alias in your environment" >&2;} 1869 { (exit 1); exit 1; }; } 1870 fi 1871 1872 test "$2" = conftest.file 1873 ) 1874 then 1875 # Ok. 1876 : 1877 else 1878 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1879 Check your system clock" >&5 1880 echo "$as_me: error: newly created file is older than distributed files! 1881 Check your system clock" >&2;} 1882 { (exit 1); exit 1; }; } 1883 fi 1884 { echo "$as_me:$LINENO: result: yes" >&5 1885 echo "${ECHO_T}yes" >&6; } 1886 test "$program_prefix" != NONE && 1887 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1888 # Use a double $ so make ignores it. 1889 test "$program_suffix" != NONE && 1890 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1891 # Double any \ or $. echo might interpret backslashes. 1892 # By default was `s,x,x', remove it if useless. 1893 cat <<\_ACEOF >conftest.sed 1894 s/[\\$]/&&/g;s/;s,x,x,$// 1895 _ACEOF 1896 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1897 rm -f conftest.sed 1898 1899 # expand $ac_aux_dir to an absolute path 1900 am_aux_dir=`cd $ac_aux_dir && pwd` 1901 1902 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1903 # Use eval to expand $SHELL 1904 if eval "$MISSING --run true"; then 1905 am_missing_run="$MISSING --run " 1906 else 1907 am_missing_run= 1908 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1909 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1910 fi 1911 1912 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1913 # We used to keeping the `.' as first argument, in order to 1914 # allow $(mkdir_p) to be used without argument. As in 1915 # $(mkdir_p) $(somedir) 1916 # where $(somedir) is conditionally defined. However this is wrong 1917 # for two reasons: 1918 # 1. if the package is installed by a user who cannot write `.' 1919 # make install will fail, 1920 # 2. the above comment should most certainly read 1921 # $(mkdir_p) $(DESTDIR)$(somedir) 1922 # so it does not work when $(somedir) is undefined and 1923 # $(DESTDIR) is not. 1924 # To support the latter case, we have to write 1925 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1926 # so the `.' trick is pointless. 1927 mkdir_p='mkdir -p --' 1928 else 1929 # On NextStep and OpenStep, the `mkdir' command does not 1930 # recognize any option. It will interpret all options as 1931 # directories to create, and then abort because `.' already 1932 # exists. 1933 for d in ./-p ./--version; 1934 do 1935 test -d $d && rmdir $d 1936 done 1937 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1938 if test -f "$ac_aux_dir/mkinstalldirs"; then 1939 mkdir_p='$(mkinstalldirs)' 1940 else 1941 mkdir_p='$(install_sh) -d' 1942 fi 1943 fi 1944 1945 for ac_prog in gawk mawk nawk awk 1946 do 1947 # Extract the first word of "$ac_prog", so it can be a program name with args. 1948 set dummy $ac_prog; ac_word=$2 1949 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1951 if test "${ac_cv_prog_AWK+set}" = set; then 1952 echo $ECHO_N "(cached) $ECHO_C" >&6 1953 else 1954 if test -n "$AWK"; then 1955 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1956 else 1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1958 for as_dir in $PATH 1959 do 1960 IFS=$as_save_IFS 1961 test -z "$as_dir" && as_dir=. 1962 for ac_exec_ext in '' $ac_executable_extensions; do 1963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1964 ac_cv_prog_AWK="$ac_prog" 1965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1966 break 2 1967 fi 1968 done 1969 done 1970 IFS=$as_save_IFS 1971 1972 fi 1973 fi 1974 AWK=$ac_cv_prog_AWK 1975 if test -n "$AWK"; then 1976 { echo "$as_me:$LINENO: result: $AWK" >&5 1977 echo "${ECHO_T}$AWK" >&6; } 1978 else 1979 { echo "$as_me:$LINENO: result: no" >&5 1980 echo "${ECHO_T}no" >&6; } 1981 fi 1982 1983 1984 test -n "$AWK" && break 1985 done 1986 1987 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1988 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1989 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1990 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1991 echo $ECHO_N "(cached) $ECHO_C" >&6 1992 else 1993 cat >conftest.make <<\_ACEOF 1994 SHELL = /bin/sh 1995 all: 1996 @echo '@@@%%%=$(MAKE)=@@@%%%' 1997 _ACEOF 1998 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1999 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2000 *@@@%%%=?*=@@@%%%*) 2001 eval ac_cv_prog_make_${ac_make}_set=yes;; 2002 *) 2003 eval ac_cv_prog_make_${ac_make}_set=no;; 2004 esac 2005 rm -f conftest.make 2006 fi 2007 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2008 { echo "$as_me:$LINENO: result: yes" >&5 2009 echo "${ECHO_T}yes" >&6; } 2010 SET_MAKE= 2011 else 2012 { echo "$as_me:$LINENO: result: no" >&5 2013 echo "${ECHO_T}no" >&6; } 2014 SET_MAKE="MAKE=${MAKE-make}" 2015 fi 2016 2017 rm -rf .tst 2>/dev/null 2018 mkdir .tst 2>/dev/null 2019 if test -d .tst; then 2020 am__leading_dot=. 2021 else 2022 am__leading_dot=_ 2023 fi 2024 rmdir .tst 2>/dev/null 2025 2026 # test to see if srcdir already configured 2027 if test "`cd $srcdir && pwd`" != "`pwd`" && 2028 test -f $srcdir/config.status; then 2029 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2030 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2031 { (exit 1); exit 1; }; } 2032 fi 2033 2034 # test whether we have cygpath 2035 if test -z "$CYGPATH_W"; then 2036 if (cygpath --version) >/dev/null 2>/dev/null; then 2037 CYGPATH_W='cygpath -w' 2038 else 2039 CYGPATH_W=echo 2040 fi 2041 fi 2042 2043 2044 # Define the identity of the package. 2045 PACKAGE=alsa-utils 2046 VERSION=1.0.19 2047 2048 2049 cat >>confdefs.h <<_ACEOF 2050 #define PACKAGE "$PACKAGE" 2051 _ACEOF 2052 2053 2054 cat >>confdefs.h <<_ACEOF 2055 #define VERSION "$VERSION" 2056 _ACEOF 2057 2058 # Some tools Automake needs. 2059 2060 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2061 2062 2063 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2064 2065 2066 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2067 2068 2069 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2070 2071 2072 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2073 2074 install_sh=${install_sh-"$am_aux_dir/install-sh"} 2075 2076 # Installed binaries are usually stripped using `strip' when the user 2077 # run `make install-strip'. However `strip' might not be the right 2078 # tool to use in cross-compilation environments, therefore Automake 2079 # will honor the `STRIP' environment variable to overrule this program. 2080 if test "$cross_compiling" != no; then 2081 if test -n "$ac_tool_prefix"; then 2082 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2083 set dummy ${ac_tool_prefix}strip; ac_word=$2 2084 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2086 if test "${ac_cv_prog_STRIP+set}" = set; then 2087 echo $ECHO_N "(cached) $ECHO_C" >&6 2088 else 2089 if test -n "$STRIP"; then 2090 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2091 else 2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2093 for as_dir in $PATH 2094 do 2095 IFS=$as_save_IFS 2096 test -z "$as_dir" && as_dir=. 2097 for ac_exec_ext in '' $ac_executable_extensions; do 2098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2099 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2101 break 2 2102 fi 2103 done 2104 done 2105 IFS=$as_save_IFS 2106 2107 fi 2108 fi 2109 STRIP=$ac_cv_prog_STRIP 2110 if test -n "$STRIP"; then 2111 { echo "$as_me:$LINENO: result: $STRIP" >&5 2112 echo "${ECHO_T}$STRIP" >&6; } 2113 else 2114 { echo "$as_me:$LINENO: result: no" >&5 2115 echo "${ECHO_T}no" >&6; } 2116 fi 2117 2118 2119 fi 2120 if test -z "$ac_cv_prog_STRIP"; then 2121 ac_ct_STRIP=$STRIP 2122 # Extract the first word of "strip", so it can be a program name with args. 2123 set dummy strip; ac_word=$2 2124 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2126 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2127 echo $ECHO_N "(cached) $ECHO_C" >&6 2128 else 2129 if test -n "$ac_ct_STRIP"; then 2130 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2131 else 2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2133 for as_dir in $PATH 2134 do 2135 IFS=$as_save_IFS 2136 test -z "$as_dir" && as_dir=. 2137 for ac_exec_ext in '' $ac_executable_extensions; do 2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2139 ac_cv_prog_ac_ct_STRIP="strip" 2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2141 break 2 2142 fi 2143 done 2144 done 2145 IFS=$as_save_IFS 2146 2147 fi 2148 fi 2149 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2150 if test -n "$ac_ct_STRIP"; then 2151 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2152 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2153 else 2154 { echo "$as_me:$LINENO: result: no" >&5 2155 echo "${ECHO_T}no" >&6; } 2156 fi 2157 2158 if test "x$ac_ct_STRIP" = x; then 2159 STRIP=":" 2160 else 2161 case $cross_compiling:$ac_tool_warned in 2162 yes:) 2163 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2164 whose name does not start with the host triplet. If you think this 2165 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2166 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2167 whose name does not start with the host triplet. If you think this 2168 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2169 ac_tool_warned=yes ;; 2170 esac 2171 STRIP=$ac_ct_STRIP 2172 fi 2173 else 2174 STRIP="$ac_cv_prog_STRIP" 2175 fi 2176 2177 fi 2178 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2179 2180 # We need awk for the "check" target. The system "awk" is bad on 2181 # some platforms. 2182 # Always define AMTAR for backward compatibility. 2183 2184 AMTAR=${AMTAR-"${am_missing_run}tar"} 2185 2186 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2187 2188 2189 2190 2191 2192 2193 2194 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 2195 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } 2196 # Check whether --enable-nls was given. 2197 if test "${enable_nls+set}" = set; then 2198 enableval=$enable_nls; USE_NLS=$enableval 2199 else 2200 USE_NLS=yes 2201 fi 2202 2203 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 2204 echo "${ECHO_T}$USE_NLS" >&6; } 2205 2206 2207 2208 2209 2210 2211 # Prepare PATH_SEPARATOR. 2212 # The user is always right. 2213 if test "${PATH_SEPARATOR+set}" != set; then 2214 echo "#! /bin/sh" >conf$$.sh 2215 echo "exit 0" >>conf$$.sh 2216 chmod +x conf$$.sh 2217 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2218 PATH_SEPARATOR=';' 2219 else 2220 PATH_SEPARATOR=: 2221 fi 2222 rm -f conf$$.sh 2223 fi 2224 2225 # Find out how to test for executable files. Don't use a zero-byte file, 2226 # as systems may use methods other than mode bits to determine executability. 2227 cat >conf$$.file <<_ASEOF 2228 #! /bin/sh 2229 exit 0 2230 _ASEOF 2231 chmod +x conf$$.file 2232 if test -x conf$$.file >/dev/null 2>&1; then 2233 ac_executable_p="test -x" 2234 else 2235 ac_executable_p="test -f" 2236 fi 2237 rm -f conf$$.file 2238 2239 # Extract the first word of "msgfmt", so it can be a program name with args. 2240 set dummy msgfmt; ac_word=$2 2241 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2243 if test "${ac_cv_path_MSGFMT+set}" = set; then 2244 echo $ECHO_N "(cached) $ECHO_C" >&6 2245 else 2246 case "$MSGFMT" in 2247 [\\/]* | ?:[\\/]*) 2248 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 2249 ;; 2250 *) 2251 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2252 for ac_dir in $PATH; do 2253 IFS="$ac_save_IFS" 2254 test -z "$ac_dir" && ac_dir=. 2255 for ac_exec_ext in '' $ac_executable_extensions; do 2256 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2257 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2258 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 2259 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2260 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 2261 break 2 2262 fi 2263 fi 2264 done 2265 done 2266 IFS="$ac_save_IFS" 2267 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 2268 ;; 2269 esac 2270 fi 2271 MSGFMT="$ac_cv_path_MSGFMT" 2272 if test "$MSGFMT" != ":"; then 2273 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 2274 echo "${ECHO_T}$MSGFMT" >&6; } 2275 else 2276 { echo "$as_me:$LINENO: result: no" >&5 2277 echo "${ECHO_T}no" >&6; } 2278 fi 2279 2280 # Extract the first word of "gmsgfmt", so it can be a program name with args. 2281 set dummy gmsgfmt; ac_word=$2 2282 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2284 if test "${ac_cv_path_GMSGFMT+set}" = set; then 2285 echo $ECHO_N "(cached) $ECHO_C" >&6 2286 else 2287 case $GMSGFMT in 2288 [\\/]* | ?:[\\/]*) 2289 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 2290 ;; 2291 *) 2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2293 for as_dir in $PATH 2294 do 2295 IFS=$as_save_IFS 2296 test -z "$as_dir" && as_dir=. 2297 for ac_exec_ext in '' $ac_executable_extensions; do 2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2299 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2301 break 2 2302 fi 2303 done 2304 done 2305 IFS=$as_save_IFS 2306 2307 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 2308 ;; 2309 esac 2310 fi 2311 GMSGFMT=$ac_cv_path_GMSGFMT 2312 if test -n "$GMSGFMT"; then 2313 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 2314 echo "${ECHO_T}$GMSGFMT" >&6; } 2315 else 2316 { echo "$as_me:$LINENO: result: no" >&5 2317 echo "${ECHO_T}no" >&6; } 2318 fi 2319 2320 2321 2322 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2323 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 2324 *) MSGFMT_015=$MSGFMT ;; 2325 esac 2326 2327 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2328 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2329 *) GMSGFMT_015=$GMSGFMT ;; 2330 esac 2331 2332 2333 2334 # Prepare PATH_SEPARATOR. 2335 # The user is always right. 2336 if test "${PATH_SEPARATOR+set}" != set; then 2337 echo "#! /bin/sh" >conf$$.sh 2338 echo "exit 0" >>conf$$.sh 2339 chmod +x conf$$.sh 2340 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2341 PATH_SEPARATOR=';' 2342 else 2343 PATH_SEPARATOR=: 2344 fi 2345 rm -f conf$$.sh 2346 fi 2347 2348 # Find out how to test for executable files. Don't use a zero-byte file, 2349 # as systems may use methods other than mode bits to determine executability. 2350 cat >conf$$.file <<_ASEOF 2351 #! /bin/sh 2352 exit 0 2353 _ASEOF 2354 chmod +x conf$$.file 2355 if test -x conf$$.file >/dev/null 2>&1; then 2356 ac_executable_p="test -x" 2357 else 2358 ac_executable_p="test -f" 2359 fi 2360 rm -f conf$$.file 2361 2362 # Extract the first word of "xgettext", so it can be a program name with args. 2363 set dummy xgettext; ac_word=$2 2364 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2366 if test "${ac_cv_path_XGETTEXT+set}" = set; then 2367 echo $ECHO_N "(cached) $ECHO_C" >&6 2368 else 2369 case "$XGETTEXT" in 2370 [\\/]* | ?:[\\/]*) 2371 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 2372 ;; 2373 *) 2374 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2375 for ac_dir in $PATH; do 2376 IFS="$ac_save_IFS" 2377 test -z "$ac_dir" && ac_dir=. 2378 for ac_exec_ext in '' $ac_executable_extensions; do 2379 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2380 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2381 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 2382 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2383 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 2384 break 2 2385 fi 2386 fi 2387 done 2388 done 2389 IFS="$ac_save_IFS" 2390 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 2391 ;; 2392 esac 2393 fi 2394 XGETTEXT="$ac_cv_path_XGETTEXT" 2395 if test "$XGETTEXT" != ":"; then 2396 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 2397 echo "${ECHO_T}$XGETTEXT" >&6; } 2398 else 2399 { echo "$as_me:$LINENO: result: no" >&5 2400 echo "${ECHO_T}no" >&6; } 2401 fi 2402 2403 rm -f messages.po 2404 2405 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2406 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2407 *) XGETTEXT_015=$XGETTEXT ;; 2408 esac 2409 2410 2411 2412 # Prepare PATH_SEPARATOR. 2413 # The user is always right. 2414 if test "${PATH_SEPARATOR+set}" != set; then 2415 echo "#! /bin/sh" >conf$$.sh 2416 echo "exit 0" >>conf$$.sh 2417 chmod +x conf$$.sh 2418 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2419 PATH_SEPARATOR=';' 2420 else 2421 PATH_SEPARATOR=: 2422 fi 2423 rm -f conf$$.sh 2424 fi 2425 2426 # Find out how to test for executable files. Don't use a zero-byte file, 2427 # as systems may use methods other than mode bits to determine executability. 2428 cat >conf$$.file <<_ASEOF 2429 #! /bin/sh 2430 exit 0 2431 _ASEOF 2432 chmod +x conf$$.file 2433 if test -x conf$$.file >/dev/null 2>&1; then 2434 ac_executable_p="test -x" 2435 else 2436 ac_executable_p="test -f" 2437 fi 2438 rm -f conf$$.file 2439 2440 # Extract the first word of "msgmerge", so it can be a program name with args. 2441 set dummy msgmerge; ac_word=$2 2442 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2444 if test "${ac_cv_path_MSGMERGE+set}" = set; then 2445 echo $ECHO_N "(cached) $ECHO_C" >&6 2446 else 2447 case "$MSGMERGE" in 2448 [\\/]* | ?:[\\/]*) 2449 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 2450 ;; 2451 *) 2452 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2453 for ac_dir in $PATH; do 2454 IFS="$ac_save_IFS" 2455 test -z "$ac_dir" && ac_dir=. 2456 for ac_exec_ext in '' $ac_executable_extensions; do 2457 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2458 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2459 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 2460 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 2461 break 2 2462 fi 2463 fi 2464 done 2465 done 2466 IFS="$ac_save_IFS" 2467 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 2468 ;; 2469 esac 2470 fi 2471 MSGMERGE="$ac_cv_path_MSGMERGE" 2472 if test "$MSGMERGE" != ":"; then 2473 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 2474 echo "${ECHO_T}$MSGMERGE" >&6; } 2475 else 2476 { echo "$as_me:$LINENO: result: no" >&5 2477 echo "${ECHO_T}no" >&6; } 2478 fi 2479 2480 2481 test -n "$localedir" || localedir='${datadir}/locale' 2482 2483 2484 ac_config_commands="$ac_config_commands po-directories" 2485 2486 2487 2488 if test "X$prefix" = "XNONE"; then 2489 acl_final_prefix="$ac_default_prefix" 2490 else 2491 acl_final_prefix="$prefix" 2492 fi 2493 if test "X$exec_prefix" = "XNONE"; then 2494 acl_final_exec_prefix='${prefix}' 2495 else 2496 acl_final_exec_prefix="$exec_prefix" 2497 fi 2498 acl_save_prefix="$prefix" 2499 prefix="$acl_final_prefix" 2500 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 2501 prefix="$acl_save_prefix" 2502 2503 DEPDIR="${am__leading_dot}deps" 2504 2505 ac_config_commands="$ac_config_commands depfiles" 2506 2507 2508 am_make=${MAKE-make} 2509 cat > confinc << 'END' 2510 am__doit: 2511 @echo done 2512 .PHONY: am__doit 2513 END 2514 # If we don't find an include directive, just comment out the code. 2515 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2516 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2517 am__include="#" 2518 am__quote= 2519 _am_result=none 2520 # First try GNU make style include. 2521 echo "include confinc" > confmf 2522 # We grep out `Entering directory' and `Leaving directory' 2523 # messages which can occur if `w' ends up in MAKEFLAGS. 2524 # In particular we don't look at `^make:' because GNU make might 2525 # be invoked under some other name (usually "gmake"), in which 2526 # case it prints its new name instead of `make'. 2527 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2528 am__include=include 2529 am__quote= 2530 _am_result=GNU 2531 fi 2532 # Now try BSD make style include. 2533 if test "$am__include" = "#"; then 2534 echo '.include "confinc"' > confmf 2535 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2536 am__include=.include 2537 am__quote="\"" 2538 _am_result=BSD 2539 fi 2540 fi 2541 2542 2543 { echo "$as_me:$LINENO: result: $_am_result" >&5 2544 echo "${ECHO_T}$_am_result" >&6; } 2545 rm -f confinc confmf 2546 2547 # Check whether --enable-dependency-tracking was given. 2548 if test "${enable_dependency_tracking+set}" = set; then 2549 enableval=$enable_dependency_tracking; 2550 fi 2551 2552 if test "x$enable_dependency_tracking" != xno; then 2553 am_depcomp="$ac_aux_dir/depcomp" 2554 AMDEPBACKSLASH='\' 2555 fi 2556 2557 2558 if test "x$enable_dependency_tracking" != xno; then 2559 AMDEP_TRUE= 2560 AMDEP_FALSE='#' 2561 else 2562 AMDEP_TRUE='#' 2563 AMDEP_FALSE= 2564 fi 2565 2566 2567 2568 ac_ext=c 2569 ac_cpp='$CPP $CPPFLAGS' 2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2573 if test -n "$ac_tool_prefix"; then 2574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2575 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2576 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2578 if test "${ac_cv_prog_CC+set}" = set; then 2579 echo $ECHO_N "(cached) $ECHO_C" >&6 2580 else 2581 if test -n "$CC"; then 2582 ac_cv_prog_CC="$CC" # Let the user override the test. 2583 else 2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2585 for as_dir in $PATH 2586 do 2587 IFS=$as_save_IFS 2588 test -z "$as_dir" && as_dir=. 2589 for ac_exec_ext in '' $ac_executable_extensions; do 2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2591 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2593 break 2 2594 fi 2595 done 2596 done 2597 IFS=$as_save_IFS 2598 2599 fi 2600 fi 2601 CC=$ac_cv_prog_CC 2602 if test -n "$CC"; then 2603 { echo "$as_me:$LINENO: result: $CC" >&5 2604 echo "${ECHO_T}$CC" >&6; } 2605 else 2606 { echo "$as_me:$LINENO: result: no" >&5 2607 echo "${ECHO_T}no" >&6; } 2608 fi 2609 2610 2611 fi 2612 if test -z "$ac_cv_prog_CC"; then 2613 ac_ct_CC=$CC 2614 # Extract the first word of "gcc", so it can be a program name with args. 2615 set dummy gcc; ac_word=$2 2616 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2618 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2619 echo $ECHO_N "(cached) $ECHO_C" >&6 2620 else 2621 if test -n "$ac_ct_CC"; then 2622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2623 else 2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2625 for as_dir in $PATH 2626 do 2627 IFS=$as_save_IFS 2628 test -z "$as_dir" && as_dir=. 2629 for ac_exec_ext in '' $ac_executable_extensions; do 2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2631 ac_cv_prog_ac_ct_CC="gcc" 2632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2633 break 2 2634 fi 2635 done 2636 done 2637 IFS=$as_save_IFS 2638 2639 fi 2640 fi 2641 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2642 if test -n "$ac_ct_CC"; then 2643 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2644 echo "${ECHO_T}$ac_ct_CC" >&6; } 2645 else 2646 { echo "$as_me:$LINENO: result: no" >&5 2647 echo "${ECHO_T}no" >&6; } 2648 fi 2649 2650 if test "x$ac_ct_CC" = x; then 2651 CC="" 2652 else 2653 case $cross_compiling:$ac_tool_warned in 2654 yes:) 2655 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2656 whose name does not start with the host triplet. If you think this 2657 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2658 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2659 whose name does not start with the host triplet. If you think this 2660 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2661 ac_tool_warned=yes ;; 2662 esac 2663 CC=$ac_ct_CC 2664 fi 2665 else 2666 CC="$ac_cv_prog_CC" 2667 fi 2668 2669 if test -z "$CC"; then 2670 if test -n "$ac_tool_prefix"; then 2671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2672 set dummy ${ac_tool_prefix}cc; ac_word=$2 2673 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2675 if test "${ac_cv_prog_CC+set}" = set; then 2676 echo $ECHO_N "(cached) $ECHO_C" >&6 2677 else 2678 if test -n "$CC"; then 2679 ac_cv_prog_CC="$CC" # Let the user override the test. 2680 else 2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2682 for as_dir in $PATH 2683 do 2684 IFS=$as_save_IFS 2685 test -z "$as_dir" && as_dir=. 2686 for ac_exec_ext in '' $ac_executable_extensions; do 2687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2688 ac_cv_prog_CC="${ac_tool_prefix}cc" 2689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2690 break 2 2691 fi 2692 done 2693 done 2694 IFS=$as_save_IFS 2695 2696 fi 2697 fi 2698 CC=$ac_cv_prog_CC 2699 if test -n "$CC"; then 2700 { echo "$as_me:$LINENO: result: $CC" >&5 2701 echo "${ECHO_T}$CC" >&6; } 2702 else 2703 { echo "$as_me:$LINENO: result: no" >&5 2704 echo "${ECHO_T}no" >&6; } 2705 fi 2706 2707 2708 fi 2709 fi 2710 if test -z "$CC"; then 2711 # Extract the first word of "cc", so it can be a program name with args. 2712 set dummy cc; ac_word=$2 2713 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2715 if test "${ac_cv_prog_CC+set}" = set; then 2716 echo $ECHO_N "(cached) $ECHO_C" >&6 2717 else 2718 if test -n "$CC"; then 2719 ac_cv_prog_CC="$CC" # Let the user override the test. 2720 else 2721 ac_prog_rejected=no 2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2723 for as_dir in $PATH 2724 do 2725 IFS=$as_save_IFS 2726 test -z "$as_dir" && as_dir=. 2727 for ac_exec_ext in '' $ac_executable_extensions; do 2728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2729 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2730 ac_prog_rejected=yes 2731 continue 2732 fi 2733 ac_cv_prog_CC="cc" 2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2735 break 2 2736 fi 2737 done 2738 done 2739 IFS=$as_save_IFS 2740 2741 if test $ac_prog_rejected = yes; then 2742 # We found a bogon in the path, so make sure we never use it. 2743 set dummy $ac_cv_prog_CC 2744 shift 2745 if test $# != 0; then 2746 # We chose a different compiler from the bogus one. 2747 # However, it has the same basename, so the bogon will be chosen 2748 # first if we set CC to just the basename; use the full file name. 2749 shift 2750 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2751 fi 2752 fi 2753 fi 2754 fi 2755 CC=$ac_cv_prog_CC 2756 if test -n "$CC"; then 2757 { echo "$as_me:$LINENO: result: $CC" >&5 2758 echo "${ECHO_T}$CC" >&6; } 2759 else 2760 { echo "$as_me:$LINENO: result: no" >&5 2761 echo "${ECHO_T}no" >&6; } 2762 fi 2763 2764 2765 fi 2766 if test -z "$CC"; then 2767 if test -n "$ac_tool_prefix"; then 2768 for ac_prog in cl.exe 2769 do 2770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2771 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2772 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2774 if test "${ac_cv_prog_CC+set}" = set; then 2775 echo $ECHO_N "(cached) $ECHO_C" >&6 2776 else 2777 if test -n "$CC"; then 2778 ac_cv_prog_CC="$CC" # Let the user override the test. 2779 else 2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2781 for as_dir in $PATH 2782 do 2783 IFS=$as_save_IFS 2784 test -z "$as_dir" && as_dir=. 2785 for ac_exec_ext in '' $ac_executable_extensions; do 2786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2787 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2789 break 2 2790 fi 2791 done 2792 done 2793 IFS=$as_save_IFS 2794 2795 fi 2796 fi 2797 CC=$ac_cv_prog_CC 2798 if test -n "$CC"; then 2799 { echo "$as_me:$LINENO: result: $CC" >&5 2800 echo "${ECHO_T}$CC" >&6; } 2801 else 2802 { echo "$as_me:$LINENO: result: no" >&5 2803 echo "${ECHO_T}no" >&6; } 2804 fi 2805 2806 2807 test -n "$CC" && break 2808 done 2809 fi 2810 if test -z "$CC"; then 2811 ac_ct_CC=$CC 2812 for ac_prog in cl.exe 2813 do 2814 # Extract the first word of "$ac_prog", so it can be a program name with args. 2815 set dummy $ac_prog; ac_word=$2 2816 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2818 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2819 echo $ECHO_N "(cached) $ECHO_C" >&6 2820 else 2821 if test -n "$ac_ct_CC"; then 2822 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2823 else 2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2825 for as_dir in $PATH 2826 do 2827 IFS=$as_save_IFS 2828 test -z "$as_dir" && as_dir=. 2829 for ac_exec_ext in '' $ac_executable_extensions; do 2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2831 ac_cv_prog_ac_ct_CC="$ac_prog" 2832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2833 break 2 2834 fi 2835 done 2836 done 2837 IFS=$as_save_IFS 2838 2839 fi 2840 fi 2841 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2842 if test -n "$ac_ct_CC"; then 2843 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2844 echo "${ECHO_T}$ac_ct_CC" >&6; } 2845 else 2846 { echo "$as_me:$LINENO: result: no" >&5 2847 echo "${ECHO_T}no" >&6; } 2848 fi 2849 2850 2851 test -n "$ac_ct_CC" && break 2852 done 2853 2854 if test "x$ac_ct_CC" = x; then 2855 CC="" 2856 else 2857 case $cross_compiling:$ac_tool_warned in 2858 yes:) 2859 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2860 whose name does not start with the host triplet. If you think this 2861 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2862 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2863 whose name does not start with the host triplet. If you think this 2864 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2865 ac_tool_warned=yes ;; 2866 esac 2867 CC=$ac_ct_CC 2868 fi 2869 fi 2870 2871 fi 2872 2873 2874 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2875 See \`config.log' for more details." >&5 2876 echo "$as_me: error: no acceptable C compiler found in \$PATH 2877 See \`config.log' for more details." >&2;} 2878 { (exit 1); exit 1; }; } 2879 2880 # Provide some information about the compiler. 2881 echo "$as_me:$LINENO: checking for C compiler version" >&5 2882 ac_compiler=`set X $ac_compile; echo $2` 2883 { (ac_try="$ac_compiler --version >&5" 2884 case "(($ac_try" in 2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2886 *) ac_try_echo=$ac_try;; 2887 esac 2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2889 (eval "$ac_compiler --version >&5") 2>&5 2890 ac_status=$? 2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2892 (exit $ac_status); } 2893 { (ac_try="$ac_compiler -v >&5" 2894 case "(($ac_try" in 2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2896 *) ac_try_echo=$ac_try;; 2897 esac 2898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2899 (eval "$ac_compiler -v >&5") 2>&5 2900 ac_status=$? 2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2902 (exit $ac_status); } 2903 { (ac_try="$ac_compiler -V >&5" 2904 case "(($ac_try" in 2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2906 *) ac_try_echo=$ac_try;; 2907 esac 2908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2909 (eval "$ac_compiler -V >&5") 2>&5 2910 ac_status=$? 2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2912 (exit $ac_status); } 2913 2914 cat >conftest.$ac_ext <<_ACEOF 2915 /* confdefs.h. */ 2916 _ACEOF 2917 cat confdefs.h >>conftest.$ac_ext 2918 cat >>conftest.$ac_ext <<_ACEOF 2919 /* end confdefs.h. */ 2920 2921 int 2922 main () 2923 { 2924 2925 ; 2926 return 0; 2927 } 2928 _ACEOF 2929 ac_clean_files_save=$ac_clean_files 2930 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2931 # Try to create an executable without -o first, disregard a.out. 2932 # It will help us diagnose broken compilers, and finding out an intuition 2933 # of exeext. 2934 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2935 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2936 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2937 # 2938 # List of possible output files, starting from the most likely. 2939 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2940 # only as a last resort. b.out is created by i960 compilers. 2941 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2942 # 2943 # The IRIX 6 linker writes into existing files which may not be 2944 # executable, retaining their permissions. Remove them first so a 2945 # subsequent execution test works. 2946 ac_rmfiles= 2947 for ac_file in $ac_files 2948 do 2949 case $ac_file in 2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2951 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2952 esac 2953 done 2954 rm -f $ac_rmfiles 2955 2956 if { (ac_try="$ac_link_default" 2957 case "(($ac_try" in 2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2959 *) ac_try_echo=$ac_try;; 2960 esac 2961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2962 (eval "$ac_link_default") 2>&5 2963 ac_status=$? 2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2965 (exit $ac_status); }; then 2966 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2967 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2968 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2969 # so that the user can short-circuit this test for compilers unknown to 2970 # Autoconf. 2971 for ac_file in $ac_files 2972 do 2973 test -f "$ac_file" || continue 2974 case $ac_file in 2975 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2976 ;; 2977 [ab].out ) 2978 # We found the default executable, but exeext='' is most 2979 # certainly right. 2980 break;; 2981 *.* ) 2982 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2983 then :; else 2984 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2985 fi 2986 # We set ac_cv_exeext here because the later test for it is not 2987 # safe: cross compilers may not add the suffix if given an `-o' 2988 # argument, so we may need to know it at that point already. 2989 # Even if this section looks crufty: it has the advantage of 2990 # actually working. 2991 break;; 2992 * ) 2993 break;; 2994 esac 2995 done 2996 test "$ac_cv_exeext" = no && ac_cv_exeext= 2997 2998 else 2999 echo "$as_me: failed program was:" >&5 3000 sed 's/^/| /' conftest.$ac_ext >&5 3001 3002 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 3003 See \`config.log' for more details." >&5 3004 echo "$as_me: error: C compiler cannot create executables 3005 See \`config.log' for more details." >&2;} 3006 { (exit 77); exit 77; }; } 3007 fi 3008 3009 ac_exeext=$ac_cv_exeext 3010 { echo "$as_me:$LINENO: result: $ac_file" >&5 3011 echo "${ECHO_T}$ac_file" >&6; } 3012 3013 # Check that the compiler produces executables we can run. If not, either 3014 # the compiler is broken, or we cross compile. 3015 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3016 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 3017 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3018 # If not cross compiling, check that we can run a simple program. 3019 if test "$cross_compiling" != yes; then 3020 if { ac_try='./$ac_file' 3021 { (case "(($ac_try" in 3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3023 *) ac_try_echo=$ac_try;; 3024 esac 3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3026 (eval "$ac_try") 2>&5 3027 ac_status=$? 3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3029 (exit $ac_status); }; }; then 3030 cross_compiling=no 3031 else 3032 if test "$cross_compiling" = maybe; then 3033 cross_compiling=yes 3034 else 3035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3036 If you meant to cross compile, use \`--host'. 3037 See \`config.log' for more details." >&5 3038 echo "$as_me: error: cannot run C compiled programs. 3039 If you meant to cross compile, use \`--host'. 3040 See \`config.log' for more details." >&2;} 3041 { (exit 1); exit 1; }; } 3042 fi 3043 fi 3044 fi 3045 { echo "$as_me:$LINENO: result: yes" >&5 3046 echo "${ECHO_T}yes" >&6; } 3047 3048 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3049 ac_clean_files=$ac_clean_files_save 3050 # Check that the compiler produces executables we can run. If not, either 3051 # the compiler is broken, or we cross compile. 3052 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3054 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 3055 echo "${ECHO_T}$cross_compiling" >&6; } 3056 3057 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 3058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3059 if { (ac_try="$ac_link" 3060 case "(($ac_try" in 3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3062 *) ac_try_echo=$ac_try;; 3063 esac 3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3065 (eval "$ac_link") 2>&5 3066 ac_status=$? 3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3068 (exit $ac_status); }; then 3069 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3070 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3071 # work properly (i.e., refer to `conftest.exe'), while it won't with 3072 # `rm'. 3073 for ac_file in conftest.exe conftest conftest.*; do 3074 test -f "$ac_file" || continue 3075 case $ac_file in 3076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3077 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3078 break;; 3079 * ) break;; 3080 esac 3081 done 3082 else 3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3084 See \`config.log' for more details." >&5 3085 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3086 See \`config.log' for more details." >&2;} 3087 { (exit 1); exit 1; }; } 3088 fi 3089 3090 rm -f conftest$ac_cv_exeext 3091 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3092 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3093 3094 rm -f conftest.$ac_ext 3095 EXEEXT=$ac_cv_exeext 3096 ac_exeext=$EXEEXT 3097 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 3098 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 3099 if test "${ac_cv_objext+set}" = set; then 3100 echo $ECHO_N "(cached) $ECHO_C" >&6 3101 else 3102 cat >conftest.$ac_ext <<_ACEOF 3103 /* confdefs.h. */ 3104 _ACEOF 3105 cat confdefs.h >>conftest.$ac_ext 3106 cat >>conftest.$ac_ext <<_ACEOF 3107 /* end confdefs.h. */ 3108 3109 int 3110 main () 3111 { 3112 3113 ; 3114 return 0; 3115 } 3116 _ACEOF 3117 rm -f conftest.o conftest.obj 3118 if { (ac_try="$ac_compile" 3119 case "(($ac_try" in 3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3121 *) ac_try_echo=$ac_try;; 3122 esac 3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3124 (eval "$ac_compile") 2>&5 3125 ac_status=$? 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); }; then 3128 for ac_file in conftest.o conftest.obj conftest.*; do 3129 test -f "$ac_file" || continue; 3130 case $ac_file in 3131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3133 break;; 3134 esac 3135 done 3136 else 3137 echo "$as_me: failed program was:" >&5 3138 sed 's/^/| /' conftest.$ac_ext >&5 3139 3140 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3141 See \`config.log' for more details." >&5 3142 echo "$as_me: error: cannot compute suffix of object files: cannot compile 3143 See \`config.log' for more details." >&2;} 3144 { (exit 1); exit 1; }; } 3145 fi 3146 3147 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3148 fi 3149 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3150 echo "${ECHO_T}$ac_cv_objext" >&6; } 3151 OBJEXT=$ac_cv_objext 3152 ac_objext=$OBJEXT 3153 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3154 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3155 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3156 echo $ECHO_N "(cached) $ECHO_C" >&6 3157 else 3158 cat >conftest.$ac_ext <<_ACEOF 3159 /* confdefs.h. */ 3160 _ACEOF 3161 cat confdefs.h >>conftest.$ac_ext 3162 cat >>conftest.$ac_ext <<_ACEOF 3163 /* end confdefs.h. */ 3164 3165 int 3166 main () 3167 { 3168 #ifndef __GNUC__ 3169 choke me 3170 #endif 3171 3172 ; 3173 return 0; 3174 } 3175 _ACEOF 3176 rm -f conftest.$ac_objext 3177 if { (ac_try="$ac_compile" 3178 case "(($ac_try" in 3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3180 *) ac_try_echo=$ac_try;; 3181 esac 3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3183 (eval "$ac_compile") 2>conftest.er1 3184 ac_status=$? 3185 grep -v '^ *+' conftest.er1 >conftest.err 3186 rm -f conftest.er1 3187 cat conftest.err >&5 3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3189 (exit $ac_status); } && 3190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3191 { (case "(($ac_try" in 3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3193 *) ac_try_echo=$ac_try;; 3194 esac 3195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3196 (eval "$ac_try") 2>&5 3197 ac_status=$? 3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3199 (exit $ac_status); }; } && 3200 { ac_try='test -s conftest.$ac_objext' 3201 { (case "(($ac_try" in 3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3203 *) ac_try_echo=$ac_try;; 3204 esac 3205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3206 (eval "$ac_try") 2>&5 3207 ac_status=$? 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3209 (exit $ac_status); }; }; then 3210 ac_compiler_gnu=yes 3211 else 3212 echo "$as_me: failed program was:" >&5 3213 sed 's/^/| /' conftest.$ac_ext >&5 3214 3215 ac_compiler_gnu=no 3216 fi 3217 3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3219 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3220 3221 fi 3222 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3223 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3224 GCC=`test $ac_compiler_gnu = yes && echo yes` 3225 ac_test_CFLAGS=${CFLAGS+set} 3226 ac_save_CFLAGS=$CFLAGS 3227 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3228 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3229 if test "${ac_cv_prog_cc_g+set}" = set; then 3230 echo $ECHO_N "(cached) $ECHO_C" >&6 3231 else 3232 ac_save_c_werror_flag=$ac_c_werror_flag 3233 ac_c_werror_flag=yes 3234 ac_cv_prog_cc_g=no 3235 CFLAGS="-g" 3236 cat >conftest.$ac_ext <<_ACEOF 3237 /* confdefs.h. */ 3238 _ACEOF 3239 cat confdefs.h >>conftest.$ac_ext 3240 cat >>conftest.$ac_ext <<_ACEOF 3241 /* end confdefs.h. */ 3242 3243 int 3244 main () 3245 { 3246 3247 ; 3248 return 0; 3249 } 3250 _ACEOF 3251 rm -f conftest.$ac_objext 3252 if { (ac_try="$ac_compile" 3253 case "(($ac_try" in 3254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3255 *) ac_try_echo=$ac_try;; 3256 esac 3257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3258 (eval "$ac_compile") 2>conftest.er1 3259 ac_status=$? 3260 grep -v '^ *+' conftest.er1 >conftest.err 3261 rm -f conftest.er1 3262 cat conftest.err >&5 3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3264 (exit $ac_status); } && 3265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3266 { (case "(($ac_try" in 3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3268 *) ac_try_echo=$ac_try;; 3269 esac 3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3271 (eval "$ac_try") 2>&5 3272 ac_status=$? 3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 (exit $ac_status); }; } && 3275 { ac_try='test -s conftest.$ac_objext' 3276 { (case "(($ac_try" in 3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3278 *) ac_try_echo=$ac_try;; 3279 esac 3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3281 (eval "$ac_try") 2>&5 3282 ac_status=$? 3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3284 (exit $ac_status); }; }; then 3285 ac_cv_prog_cc_g=yes 3286 else 3287 echo "$as_me: failed program was:" >&5 3288 sed 's/^/| /' conftest.$ac_ext >&5 3289 3290 CFLAGS="" 3291 cat >conftest.$ac_ext <<_ACEOF 3292 /* confdefs.h. */ 3293 _ACEOF 3294 cat confdefs.h >>conftest.$ac_ext 3295 cat >>conftest.$ac_ext <<_ACEOF 3296 /* end confdefs.h. */ 3297 3298 int 3299 main () 3300 { 3301 3302 ; 3303 return 0; 3304 } 3305 _ACEOF 3306 rm -f conftest.$ac_objext 3307 if { (ac_try="$ac_compile" 3308 case "(($ac_try" in 3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3310 *) ac_try_echo=$ac_try;; 3311 esac 3312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3313 (eval "$ac_compile") 2>conftest.er1 3314 ac_status=$? 3315 grep -v '^ *+' conftest.er1 >conftest.err 3316 rm -f conftest.er1 3317 cat conftest.err >&5 3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3319 (exit $ac_status); } && 3320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3321 { (case "(($ac_try" in 3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3323 *) ac_try_echo=$ac_try;; 3324 esac 3325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3326 (eval "$ac_try") 2>&5 3327 ac_status=$? 3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3329 (exit $ac_status); }; } && 3330 { ac_try='test -s conftest.$ac_objext' 3331 { (case "(($ac_try" in 3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3333 *) ac_try_echo=$ac_try;; 3334 esac 3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3336 (eval "$ac_try") 2>&5 3337 ac_status=$? 3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3339 (exit $ac_status); }; }; then 3340 : 3341 else 3342 echo "$as_me: failed program was:" >&5 3343 sed 's/^/| /' conftest.$ac_ext >&5 3344 3345 ac_c_werror_flag=$ac_save_c_werror_flag 3346 CFLAGS="-g" 3347 cat >conftest.$ac_ext <<_ACEOF 3348 /* confdefs.h. */ 3349 _ACEOF 3350 cat confdefs.h >>conftest.$ac_ext 3351 cat >>conftest.$ac_ext <<_ACEOF 3352 /* end confdefs.h. */ 3353 3354 int 3355 main () 3356 { 3357 3358 ; 3359 return 0; 3360 } 3361 _ACEOF 3362 rm -f conftest.$ac_objext 3363 if { (ac_try="$ac_compile" 3364 case "(($ac_try" in 3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3366 *) ac_try_echo=$ac_try;; 3367 esac 3368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3369 (eval "$ac_compile") 2>conftest.er1 3370 ac_status=$? 3371 grep -v '^ *+' conftest.er1 >conftest.err 3372 rm -f conftest.er1 3373 cat conftest.err >&5 3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3375 (exit $ac_status); } && 3376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3377 { (case "(($ac_try" in 3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3379 *) ac_try_echo=$ac_try;; 3380 esac 3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3382 (eval "$ac_try") 2>&5 3383 ac_status=$? 3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3385 (exit $ac_status); }; } && 3386 { ac_try='test -s conftest.$ac_objext' 3387 { (case "(($ac_try" in 3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3389 *) ac_try_echo=$ac_try;; 3390 esac 3391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3392 (eval "$ac_try") 2>&5 3393 ac_status=$? 3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3395 (exit $ac_status); }; }; then 3396 ac_cv_prog_cc_g=yes 3397 else 3398 echo "$as_me: failed program was:" >&5 3399 sed 's/^/| /' conftest.$ac_ext >&5 3400 3401 3402 fi 3403 3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3405 fi 3406 3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3408 fi 3409 3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3411 ac_c_werror_flag=$ac_save_c_werror_flag 3412 fi 3413 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3414 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3415 if test "$ac_test_CFLAGS" = set; then 3416 CFLAGS=$ac_save_CFLAGS 3417 elif test $ac_cv_prog_cc_g = yes; then 3418 if test "$GCC" = yes; then 3419 CFLAGS="-g -O2" 3420 else 3421 CFLAGS="-g" 3422 fi 3423 else 3424 if test "$GCC" = yes; then 3425 CFLAGS="-O2" 3426 else 3427 CFLAGS= 3428 fi 3429 fi 3430 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3431 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3432 if test "${ac_cv_prog_cc_c89+set}" = set; then 3433 echo $ECHO_N "(cached) $ECHO_C" >&6 3434 else 3435 ac_cv_prog_cc_c89=no 3436 ac_save_CC=$CC 3437 cat >conftest.$ac_ext <<_ACEOF 3438 /* confdefs.h. */ 3439 _ACEOF 3440 cat confdefs.h >>conftest.$ac_ext 3441 cat >>conftest.$ac_ext <<_ACEOF 3442 /* end confdefs.h. */ 3443 #include <stdarg.h> 3444 #include <stdio.h> 3445 #include <sys/types.h> 3446 #include <sys/stat.h> 3447 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3448 struct buf { int x; }; 3449 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3450 static char *e (p, i) 3451 char **p; 3452 int i; 3453 { 3454 return p[i]; 3455 } 3456 static char *f (char * (*g) (char **, int), char **p, ...) 3457 { 3458 char *s; 3459 va_list v; 3460 va_start (v,p); 3461 s = g (p, va_arg (v,int)); 3462 va_end (v); 3463 return s; 3464 } 3465 3466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3467 function prototypes and stuff, but not '\xHH' hex character constants. 3468 These don't provoke an error unfortunately, instead are silently treated 3469 as 'x'. The following induces an error, until -std is added to get 3470 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3471 array size at least. It's necessary to write '\x00'==0 to get something 3472 that's true only with -std. */ 3473 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3474 3475 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3476 inside strings and character constants. */ 3477 #define FOO(x) 'x' 3478 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3479 3480 int test (int i, double x); 3481 struct s1 {int (*f) (int a);}; 3482 struct s2 {int (*f) (double a);}; 3483 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3484 int argc; 3485 char **argv; 3486 int 3487 main () 3488 { 3489 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3490 ; 3491 return 0; 3492 } 3493 _ACEOF 3494 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3495 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3496 do 3497 CC="$ac_save_CC $ac_arg" 3498 rm -f conftest.$ac_objext 3499 if { (ac_try="$ac_compile" 3500 case "(($ac_try" in 3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3502 *) ac_try_echo=$ac_try;; 3503 esac 3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3505 (eval "$ac_compile") 2>conftest.er1 3506 ac_status=$? 3507 grep -v '^ *+' conftest.er1 >conftest.err 3508 rm -f conftest.er1 3509 cat conftest.err >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3511 (exit $ac_status); } && 3512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3513 { (case "(($ac_try" in 3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3515 *) ac_try_echo=$ac_try;; 3516 esac 3517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3518 (eval "$ac_try") 2>&5 3519 ac_status=$? 3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3521 (exit $ac_status); }; } && 3522 { ac_try='test -s conftest.$ac_objext' 3523 { (case "(($ac_try" in 3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3525 *) ac_try_echo=$ac_try;; 3526 esac 3527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3528 (eval "$ac_try") 2>&5 3529 ac_status=$? 3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3531 (exit $ac_status); }; }; then 3532 ac_cv_prog_cc_c89=$ac_arg 3533 else 3534 echo "$as_me: failed program was:" >&5 3535 sed 's/^/| /' conftest.$ac_ext >&5 3536 3537 3538 fi 3539 3540 rm -f core conftest.err conftest.$ac_objext 3541 test "x$ac_cv_prog_cc_c89" != "xno" && break 3542 done 3543 rm -f conftest.$ac_ext 3544 CC=$ac_save_CC 3545 3546 fi 3547 # AC_CACHE_VAL 3548 case "x$ac_cv_prog_cc_c89" in 3549 x) 3550 { echo "$as_me:$LINENO: result: none needed" >&5 3551 echo "${ECHO_T}none needed" >&6; } ;; 3552 xno) 3553 { echo "$as_me:$LINENO: result: unsupported" >&5 3554 echo "${ECHO_T}unsupported" >&6; } ;; 3555 *) 3556 CC="$CC $ac_cv_prog_cc_c89" 3557 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3558 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3559 esac 3560 3561 3562 ac_ext=c 3563 ac_cpp='$CPP $CPPFLAGS' 3564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3566 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3567 3568 depcc="$CC" am_compiler_list= 3569 3570 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3571 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3572 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3573 echo $ECHO_N "(cached) $ECHO_C" >&6 3574 else 3575 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3576 # We make a subdir and do the tests there. Otherwise we can end up 3577 # making bogus files that we don't know about and never remove. For 3578 # instance it was reported that on HP-UX the gcc test will end up 3579 # making a dummy file named `D' -- because `-MD' means `put the output 3580 # in D'. 3581 mkdir conftest.dir 3582 # Copy depcomp to subdir because otherwise we won't find it if we're 3583 # using a relative directory. 3584 cp "$am_depcomp" conftest.dir 3585 cd conftest.dir 3586 # We will build objects and dependencies in a subdirectory because 3587 # it helps to detect inapplicable dependency modes. For instance 3588 # both Tru64's cc and ICC support -MD to output dependencies as a 3589 # side effect of compilation, but ICC will put the dependencies in 3590 # the current directory while Tru64 will put them in the object 3591 # directory. 3592 mkdir sub 3593 3594 am_cv_CC_dependencies_compiler_type=none 3595 if test "$am_compiler_list" = ""; then 3596 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3597 fi 3598 for depmode in $am_compiler_list; do 3599 # Setup a source with many dependencies, because some compilers 3600 # like to wrap large dependency lists on column 80 (with \), and 3601 # we should not choose a depcomp mode which is confused by this. 3602 # 3603 # We need to recreate these files for each test, as the compiler may 3604 # overwrite some of them when testing with obscure command lines. 3605 # This happens at least with the AIX C compiler. 3606 : > sub/conftest.c 3607 for i in 1 2 3 4 5 6; do 3608 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3609 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3610 # Solaris 8's {/usr,}/bin/sh. 3611 touch sub/conftst$i.h 3612 done 3613 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3614 3615 case $depmode in 3616 nosideeffect) 3617 # after this tag, mechanisms are not by side-effect, so they'll 3618 # only be used when explicitly requested 3619 if test "x$enable_dependency_tracking" = xyes; then 3620 continue 3621 else 3622 break 3623 fi 3624 ;; 3625 none) break ;; 3626 esac 3627 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3628 # mode. It turns out that the SunPro C++ compiler does not properly 3629 # handle `-M -o', and we need to detect this. 3630 if depmode=$depmode \ 3631 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3632 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3633 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3634 >/dev/null 2>conftest.err && 3635 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3636 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3637 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3638 # icc doesn't choke on unknown options, it will just issue warnings 3639 # or remarks (even with -Werror). So we grep stderr for any message 3640 # that says an option was ignored or not supported. 3641 # When given -MP, icc 7.0 and 7.1 complain thusly: 3642 # icc: Command line warning: ignoring option '-M'; no argument required 3643 # The diagnosis changed in icc 8.0: 3644 # icc: Command line remark: option '-MP' not supported 3645 if (grep 'ignoring option' conftest.err || 3646 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3647 am_cv_CC_dependencies_compiler_type=$depmode 3648 break 3649 fi 3650 fi 3651 done 3652 3653 cd .. 3654 rm -rf conftest.dir 3655 else 3656 am_cv_CC_dependencies_compiler_type=none 3657 fi 3658 3659 fi 3660 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3661 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3662 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3663 3664 3665 3666 if 3667 test "x$enable_dependency_tracking" != xno \ 3668 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3669 am__fastdepCC_TRUE= 3670 am__fastdepCC_FALSE='#' 3671 else 3672 am__fastdepCC_TRUE='#' 3673 am__fastdepCC_FALSE= 3674 fi 3675 3676 3677 # Make sure we can run config.sub. 3678 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3679 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3680 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3681 { (exit 1); exit 1; }; } 3682 3683 { echo "$as_me:$LINENO: checking build system type" >&5 3684 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3685 if test "${ac_cv_build+set}" = set; then 3686 echo $ECHO_N "(cached) $ECHO_C" >&6 3687 else 3688 ac_build_alias=$build_alias 3689 test "x$ac_build_alias" = x && 3690 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3691 test "x$ac_build_alias" = x && 3692 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3693 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3694 { (exit 1); exit 1; }; } 3695 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3696 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3697 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3698 { (exit 1); exit 1; }; } 3699 3700 fi 3701 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3702 echo "${ECHO_T}$ac_cv_build" >&6; } 3703 case $ac_cv_build in 3704 *-*-*) ;; 3705 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3706 echo "$as_me: error: invalid value of canonical build" >&2;} 3707 { (exit 1); exit 1; }; };; 3708 esac 3709 build=$ac_cv_build 3710 ac_save_IFS=$IFS; IFS='-' 3711 set x $ac_cv_build 3712 shift 3713 build_cpu=$1 3714 build_vendor=$2 3715 shift; shift 3716 # Remember, the first character of IFS is used to create $*, 3717 # except with old shells: 3718 build_os=$* 3719 IFS=$ac_save_IFS 3720 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3721 3722 3723 { echo "$as_me:$LINENO: checking host system type" >&5 3724 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 3725 if test "${ac_cv_host+set}" = set; then 3726 echo $ECHO_N "(cached) $ECHO_C" >&6 3727 else 3728 if test "x$host_alias" = x; then 3729 ac_cv_host=$ac_cv_build 3730 else 3731 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3732 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3733 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3734 { (exit 1); exit 1; }; } 3735 fi 3736 3737 fi 3738 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3739 echo "${ECHO_T}$ac_cv_host" >&6; } 3740 case $ac_cv_host in 3741 *-*-*) ;; 3742 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3743 echo "$as_me: error: invalid value of canonical host" >&2;} 3744 { (exit 1); exit 1; }; };; 3745 esac 3746 host=$ac_cv_host 3747 ac_save_IFS=$IFS; IFS='-' 3748 set x $ac_cv_host 3749 shift 3750 host_cpu=$1 3751 host_vendor=$2 3752 shift; shift 3753 # Remember, the first character of IFS is used to create $*, 3754 # except with old shells: 3755 host_os=$* 3756 IFS=$ac_save_IFS 3757 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3758 3759 3760 3761 # Check whether --with-gnu-ld was given. 3762 if test "${with_gnu_ld+set}" = set; then 3763 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 3764 else 3765 with_gnu_ld=no 3766 fi 3767 3768 # Prepare PATH_SEPARATOR. 3769 # The user is always right. 3770 if test "${PATH_SEPARATOR+set}" != set; then 3771 echo "#! /bin/sh" >conf$$.sh 3772 echo "exit 0" >>conf$$.sh 3773 chmod +x conf$$.sh 3774 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3775 PATH_SEPARATOR=';' 3776 else 3777 PATH_SEPARATOR=: 3778 fi 3779 rm -f conf$$.sh 3780 fi 3781 ac_prog=ld 3782 if test "$GCC" = yes; then 3783 # Check if gcc -print-prog-name=ld gives a path. 3784 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3785 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } 3786 case $host in 3787 *-*-mingw*) 3788 # gcc leaves a trailing carriage return which upsets mingw 3789 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3790 *) 3791 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3792 esac 3793 case $ac_prog in 3794 # Accept absolute paths. 3795 [\\/]* | [A-Za-z]:[\\/]*) 3796 re_direlt='/[^/][^/]*/\.\./' 3797 # Canonicalize the path of ld 3798 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 3799 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 3800 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 3801 done 3802 test -z "$LD" && LD="$ac_prog" 3803 ;; 3804 "") 3805 # If it fails, then pretend we aren't using GCC. 3806 ac_prog=ld 3807 ;; 3808 *) 3809 # If it is relative, then search for the first ld in PATH. 3810 with_gnu_ld=unknown 3811 ;; 3812 esac 3813 elif test "$with_gnu_ld" = yes; then 3814 { echo "$as_me:$LINENO: checking for GNU ld" >&5 3815 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 3816 else 3817 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3818 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 3819 fi 3820 if test "${acl_cv_path_LD+set}" = set; then 3821 echo $ECHO_N "(cached) $ECHO_C" >&6 3822 else 3823 if test -z "$LD"; then 3824 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 3825 for ac_dir in $PATH; do 3826 test -z "$ac_dir" && ac_dir=. 3827 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3828 acl_cv_path_LD="$ac_dir/$ac_prog" 3829 # Check to see if the program is GNU ld. I'd rather use --version, 3830 # but apparently some GNU ld's only accept -v. 3831 # Break only if it was the GNU/non-GNU ld that we prefer. 3832 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 3833 *GNU* | *'with BFD'*) 3834 test "$with_gnu_ld" != no && break ;; 3835 *) 3836 test "$with_gnu_ld" != yes && break ;; 3837 esac 3838 fi 3839 done 3840 IFS="$ac_save_ifs" 3841 else 3842 acl_cv_path_LD="$LD" # Let the user override the test with a path. 3843 fi 3844 fi 3845 3846 LD="$acl_cv_path_LD" 3847 if test -n "$LD"; then 3848 { echo "$as_me:$LINENO: result: $LD" >&5 3849 echo "${ECHO_T}$LD" >&6; } 3850 else 3851 { echo "$as_me:$LINENO: result: no" >&5 3852 echo "${ECHO_T}no" >&6; } 3853 fi 3854 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3855 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3856 { (exit 1); exit 1; }; } 3857 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3858 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 3859 if test "${acl_cv_prog_gnu_ld+set}" = set; then 3860 echo $ECHO_N "(cached) $ECHO_C" >&6 3861 else 3862 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3863 case `$LD -v 2>&1 </dev/null` in 3864 *GNU* | *'with BFD'*) 3865 acl_cv_prog_gnu_ld=yes ;; 3866 *) 3867 acl_cv_prog_gnu_ld=no ;; 3868 esac 3869 fi 3870 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 3871 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } 3872 with_gnu_ld=$acl_cv_prog_gnu_ld 3873 3874 3875 3876 3877 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 3878 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } 3879 if test "${acl_cv_rpath+set}" = set; then 3880 echo $ECHO_N "(cached) $ECHO_C" >&6 3881 else 3882 3883 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 3884 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 3885 . ./conftest.sh 3886 rm -f ./conftest.sh 3887 acl_cv_rpath=done 3888 3889 fi 3890 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 3891 echo "${ECHO_T}$acl_cv_rpath" >&6; } 3892 wl="$acl_cv_wl" 3893 libext="$acl_cv_libext" 3894 shlibext="$acl_cv_shlibext" 3895 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 3896 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 3897 hardcode_direct="$acl_cv_hardcode_direct" 3898 hardcode_minus_L="$acl_cv_hardcode_minus_L" 3899 # Check whether --enable-rpath was given. 3900 if test "${enable_rpath+set}" = set; then 3901 enableval=$enable_rpath; : 3902 else 3903 enable_rpath=yes 3904 fi 3905 3906 3907 3908 acl_libdirstem=lib 3909 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 3910 if test -n "$searchpath"; then 3911 acl_save_IFS="${IFS= }"; IFS=":" 3912 for searchdir in $searchpath; do 3913 if test -d "$searchdir"; then 3914 case "$searchdir" in 3915 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 3916 *) searchdir=`cd "$searchdir" && pwd` 3917 case "$searchdir" in 3918 */lib64 ) acl_libdirstem=lib64 ;; 3919 esac ;; 3920 esac 3921 fi 3922 done 3923 IFS="$acl_save_IFS" 3924 fi 3925 3926 3927 3928 3929 3930 3931 3932 3933 use_additional=yes 3934 3935 acl_save_prefix="$prefix" 3936 prefix="$acl_final_prefix" 3937 acl_save_exec_prefix="$exec_prefix" 3938 exec_prefix="$acl_final_exec_prefix" 3939 3940 eval additional_includedir=\"$includedir\" 3941 eval additional_libdir=\"$libdir\" 3942 3943 exec_prefix="$acl_save_exec_prefix" 3944 prefix="$acl_save_prefix" 3945 3946 3947 # Check whether --with-libiconv-prefix was given. 3948 if test "${with_libiconv_prefix+set}" = set; then 3949 withval=$with_libiconv_prefix; 3950 if test "X$withval" = "Xno"; then 3951 use_additional=no 3952 else 3953 if test "X$withval" = "X"; then 3954 3955 acl_save_prefix="$prefix" 3956 prefix="$acl_final_prefix" 3957 acl_save_exec_prefix="$exec_prefix" 3958 exec_prefix="$acl_final_exec_prefix" 3959 3960 eval additional_includedir=\"$includedir\" 3961 eval additional_libdir=\"$libdir\" 3962 3963 exec_prefix="$acl_save_exec_prefix" 3964 prefix="$acl_save_prefix" 3965 3966 else 3967 additional_includedir="$withval/include" 3968 additional_libdir="$withval/$acl_libdirstem" 3969 fi 3970 fi 3971 3972 fi 3973 3974 LIBICONV= 3975 LTLIBICONV= 3976 INCICONV= 3977 rpathdirs= 3978 ltrpathdirs= 3979 names_already_handled= 3980 names_next_round='iconv ' 3981 while test -n "$names_next_round"; do 3982 names_this_round="$names_next_round" 3983 names_next_round= 3984 for name in $names_this_round; do 3985 already_handled= 3986 for n in $names_already_handled; do 3987 if test "$n" = "$name"; then 3988 already_handled=yes 3989 break 3990 fi 3991 done 3992 if test -z "$already_handled"; then 3993 names_already_handled="$names_already_handled $name" 3994 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 3995 eval value=\"\$HAVE_LIB$uppername\" 3996 if test -n "$value"; then 3997 if test "$value" = yes; then 3998 eval value=\"\$LIB$uppername\" 3999 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 4000 eval value=\"\$LTLIB$uppername\" 4001 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 4002 else 4003 : 4004 fi 4005 else 4006 found_dir= 4007 found_la= 4008 found_so= 4009 found_a= 4010 if test $use_additional = yes; then 4011 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 4012 found_dir="$additional_libdir" 4013 found_so="$additional_libdir/lib$name.$shlibext" 4014 if test -f "$additional_libdir/lib$name.la"; then 4015 found_la="$additional_libdir/lib$name.la" 4016 fi 4017 else 4018 if test -f "$additional_libdir/lib$name.$libext"; then 4019 found_dir="$additional_libdir" 4020 found_a="$additional_libdir/lib$name.$libext" 4021 if test -f "$additional_libdir/lib$name.la"; then 4022 found_la="$additional_libdir/lib$name.la" 4023 fi 4024 fi 4025 fi 4026 fi 4027 if test "X$found_dir" = "X"; then 4028 for x in $LDFLAGS $LTLIBICONV; do 4029 4030 acl_save_prefix="$prefix" 4031 prefix="$acl_final_prefix" 4032 acl_save_exec_prefix="$exec_prefix" 4033 exec_prefix="$acl_final_exec_prefix" 4034 eval x=\"$x\" 4035 exec_prefix="$acl_save_exec_prefix" 4036 prefix="$acl_save_prefix" 4037 4038 case "$x" in 4039 -L*) 4040 dir=`echo "X$x" | sed -e 's/^X-L//'` 4041 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 4042 found_dir="$dir" 4043 found_so="$dir/lib$name.$shlibext" 4044 if test -f "$dir/lib$name.la"; then 4045 found_la="$dir/lib$name.la" 4046 fi 4047 else 4048 if test -f "$dir/lib$name.$libext"; then 4049 found_dir="$dir" 4050 found_a="$dir/lib$name.$libext" 4051 if test -f "$dir/lib$name.la"; then 4052 found_la="$dir/lib$name.la" 4053 fi 4054 fi 4055 fi 4056 ;; 4057 esac 4058 if test "X$found_dir" != "X"; then 4059 break 4060 fi 4061 done 4062 fi 4063 if test "X$found_dir" != "X"; then 4064 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 4065 if test "X$found_so" != "X"; then 4066 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 4067 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4068 else 4069 haveit= 4070 for x in $ltrpathdirs; do 4071 if test "X$x" = "X$found_dir"; then 4072 haveit=yes 4073 break 4074 fi 4075 done 4076 if test -z "$haveit"; then 4077 ltrpathdirs="$ltrpathdirs $found_dir" 4078 fi 4079 if test "$hardcode_direct" = yes; then 4080 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4081 else 4082 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4083 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4084 haveit= 4085 for x in $rpathdirs; do 4086 if test "X$x" = "X$found_dir"; then 4087 haveit=yes 4088 break 4089 fi 4090 done 4091 if test -z "$haveit"; then 4092 rpathdirs="$rpathdirs $found_dir" 4093 fi 4094 else 4095 haveit= 4096 for x in $LDFLAGS $LIBICONV; do 4097 4098 acl_save_prefix="$prefix" 4099 prefix="$acl_final_prefix" 4100 acl_save_exec_prefix="$exec_prefix" 4101 exec_prefix="$acl_final_exec_prefix" 4102 eval x=\"$x\" 4103 exec_prefix="$acl_save_exec_prefix" 4104 prefix="$acl_save_prefix" 4105 4106 if test "X$x" = "X-L$found_dir"; then 4107 haveit=yes 4108 break 4109 fi 4110 done 4111 if test -z "$haveit"; then 4112 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 4113 fi 4114 if test "$hardcode_minus_L" != no; then 4115 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4116 else 4117 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4118 fi 4119 fi 4120 fi 4121 fi 4122 else 4123 if test "X$found_a" != "X"; then 4124 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 4125 else 4126 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 4127 fi 4128 fi 4129 additional_includedir= 4130 case "$found_dir" in 4131 */$acl_libdirstem | */$acl_libdirstem/) 4132 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4133 additional_includedir="$basedir/include" 4134 ;; 4135 esac 4136 if test "X$additional_includedir" != "X"; then 4137 if test "X$additional_includedir" != "X/usr/include"; then 4138 haveit= 4139 if test "X$additional_includedir" = "X/usr/local/include"; then 4140 if test -n "$GCC"; then 4141 case $host_os in 4142 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4143 esac 4144 fi 4145 fi 4146 if test -z "$haveit"; then 4147 for x in $CPPFLAGS $INCICONV; do 4148 4149 acl_save_prefix="$prefix" 4150 prefix="$acl_final_prefix" 4151 acl_save_exec_prefix="$exec_prefix" 4152 exec_prefix="$acl_final_exec_prefix" 4153 eval x=\"$x\" 4154 exec_prefix="$acl_save_exec_prefix" 4155 prefix="$acl_save_prefix" 4156 4157 if test "X$x" = "X-I$additional_includedir"; then 4158 haveit=yes 4159 break 4160 fi 4161 done 4162 if test -z "$haveit"; then 4163 if test -d "$additional_includedir"; then 4164 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 4165 fi 4166 fi 4167 fi 4168 fi 4169 fi 4170 if test -n "$found_la"; then 4171 save_libdir="$libdir" 4172 case "$found_la" in 4173 */* | *\\*) . "$found_la" ;; 4174 *) . "./$found_la" ;; 4175 esac 4176 libdir="$save_libdir" 4177 for dep in $dependency_libs; do 4178 case "$dep" in 4179 -L*) 4180 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 4181 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 4182 haveit= 4183 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 4184 if test -n "$GCC"; then 4185 case $host_os in 4186 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4187 esac 4188 fi 4189 fi 4190 if test -z "$haveit"; then 4191 haveit= 4192 for x in $LDFLAGS $LIBICONV; do 4193 4194 acl_save_prefix="$prefix" 4195 prefix="$acl_final_prefix" 4196 acl_save_exec_prefix="$exec_prefix" 4197 exec_prefix="$acl_final_exec_prefix" 4198 eval x=\"$x\" 4199 exec_prefix="$acl_save_exec_prefix" 4200 prefix="$acl_save_prefix" 4201 4202 if test "X$x" = "X-L$additional_libdir"; then 4203 haveit=yes 4204 break 4205 fi 4206 done 4207 if test -z "$haveit"; then 4208 if test -d "$additional_libdir"; then 4209 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 4210 fi 4211 fi 4212 haveit= 4213 for x in $LDFLAGS $LTLIBICONV; do 4214 4215 acl_save_prefix="$prefix" 4216 prefix="$acl_final_prefix" 4217 acl_save_exec_prefix="$exec_prefix" 4218 exec_prefix="$acl_final_exec_prefix" 4219 eval x=\"$x\" 4220 exec_prefix="$acl_save_exec_prefix" 4221 prefix="$acl_save_prefix" 4222 4223 if test "X$x" = "X-L$additional_libdir"; then 4224 haveit=yes 4225 break 4226 fi 4227 done 4228 if test -z "$haveit"; then 4229 if test -d "$additional_libdir"; then 4230 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 4231 fi 4232 fi 4233 fi 4234 fi 4235 ;; 4236 -R*) 4237 dir=`echo "X$dep" | sed -e 's/^X-R//'` 4238 if test "$enable_rpath" != no; then 4239 haveit= 4240 for x in $rpathdirs; do 4241 if test "X$x" = "X$dir"; then 4242 haveit=yes 4243 break 4244 fi 4245 done 4246 if test -z "$haveit"; then 4247 rpathdirs="$rpathdirs $dir" 4248 fi 4249 haveit= 4250 for x in $ltrpathdirs; do 4251 if test "X$x" = "X$dir"; then 4252 haveit=yes 4253 break 4254 fi 4255 done 4256 if test -z "$haveit"; then 4257 ltrpathdirs="$ltrpathdirs $dir" 4258 fi 4259 fi 4260 ;; 4261 -l*) 4262 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 4263 ;; 4264 *.la) 4265 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 4266 ;; 4267 *) 4268 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 4269 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 4270 ;; 4271 esac 4272 done 4273 fi 4274 else 4275 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4276 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 4277 fi 4278 fi 4279 fi 4280 done 4281 done 4282 if test "X$rpathdirs" != "X"; then 4283 if test -n "$hardcode_libdir_separator"; then 4284 alldirs= 4285 for found_dir in $rpathdirs; do 4286 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 4287 done 4288 acl_save_libdir="$libdir" 4289 libdir="$alldirs" 4290 eval flag=\"$hardcode_libdir_flag_spec\" 4291 libdir="$acl_save_libdir" 4292 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 4293 else 4294 for found_dir in $rpathdirs; do 4295 acl_save_libdir="$libdir" 4296 libdir="$found_dir" 4297 eval flag=\"$hardcode_libdir_flag_spec\" 4298 libdir="$acl_save_libdir" 4299 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 4300 done 4301 fi 4302 fi 4303 if test "X$ltrpathdirs" != "X"; then 4304 for found_dir in $ltrpathdirs; do 4305 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 4306 done 4307 fi 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 4328 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } 4329 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then 4330 echo $ECHO_N "(cached) $ECHO_C" >&6 4331 else 4332 gt_save_LIBS="$LIBS" 4333 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 4334 cat >conftest.$ac_ext <<_ACEOF 4335 /* confdefs.h. */ 4336 _ACEOF 4337 cat confdefs.h >>conftest.$ac_ext 4338 cat >>conftest.$ac_ext <<_ACEOF 4339 /* end confdefs.h. */ 4340 #include <CoreFoundation/CFPreferences.h> 4341 int 4342 main () 4343 { 4344 CFPreferencesCopyAppValue(NULL, NULL) 4345 ; 4346 return 0; 4347 } 4348 _ACEOF 4349 rm -f conftest.$ac_objext conftest$ac_exeext 4350 if { (ac_try="$ac_link" 4351 case "(($ac_try" in 4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4353 *) ac_try_echo=$ac_try;; 4354 esac 4355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4356 (eval "$ac_link") 2>conftest.er1 4357 ac_status=$? 4358 grep -v '^ *+' conftest.er1 >conftest.err 4359 rm -f conftest.er1 4360 cat conftest.err >&5 4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4362 (exit $ac_status); } && 4363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4364 { (case "(($ac_try" in 4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4366 *) ac_try_echo=$ac_try;; 4367 esac 4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4369 (eval "$ac_try") 2>&5 4370 ac_status=$? 4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4372 (exit $ac_status); }; } && 4373 { ac_try='test -s conftest$ac_exeext' 4374 { (case "(($ac_try" in 4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4376 *) ac_try_echo=$ac_try;; 4377 esac 4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4379 (eval "$ac_try") 2>&5 4380 ac_status=$? 4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4382 (exit $ac_status); }; }; then 4383 gt_cv_func_CFPreferencesCopyAppValue=yes 4384 else 4385 echo "$as_me: failed program was:" >&5 4386 sed 's/^/| /' conftest.$ac_ext >&5 4387 4388 gt_cv_func_CFPreferencesCopyAppValue=no 4389 fi 4390 4391 rm -f core conftest.err conftest.$ac_objext \ 4392 conftest$ac_exeext conftest.$ac_ext 4393 LIBS="$gt_save_LIBS" 4394 fi 4395 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 4396 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 4397 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 4398 4399 cat >>confdefs.h <<\_ACEOF 4400 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1 4401 _ACEOF 4402 4403 fi 4404 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 4405 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; } 4406 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then 4407 echo $ECHO_N "(cached) $ECHO_C" >&6 4408 else 4409 gt_save_LIBS="$LIBS" 4410 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 4411 cat >conftest.$ac_ext <<_ACEOF 4412 /* confdefs.h. */ 4413 _ACEOF 4414 cat confdefs.h >>conftest.$ac_ext 4415 cat >>conftest.$ac_ext <<_ACEOF 4416 /* end confdefs.h. */ 4417 #include <CoreFoundation/CFLocale.h> 4418 int 4419 main () 4420 { 4421 CFLocaleCopyCurrent(); 4422 ; 4423 return 0; 4424 } 4425 _ACEOF 4426 rm -f conftest.$ac_objext conftest$ac_exeext 4427 if { (ac_try="$ac_link" 4428 case "(($ac_try" in 4429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4430 *) ac_try_echo=$ac_try;; 4431 esac 4432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4433 (eval "$ac_link") 2>conftest.er1 4434 ac_status=$? 4435 grep -v '^ *+' conftest.er1 >conftest.err 4436 rm -f conftest.er1 4437 cat conftest.err >&5 4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4439 (exit $ac_status); } && 4440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4441 { (case "(($ac_try" in 4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4443 *) ac_try_echo=$ac_try;; 4444 esac 4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4446 (eval "$ac_try") 2>&5 4447 ac_status=$? 4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4449 (exit $ac_status); }; } && 4450 { ac_try='test -s conftest$ac_exeext' 4451 { (case "(($ac_try" in 4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4453 *) ac_try_echo=$ac_try;; 4454 esac 4455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4456 (eval "$ac_try") 2>&5 4457 ac_status=$? 4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4459 (exit $ac_status); }; }; then 4460 gt_cv_func_CFLocaleCopyCurrent=yes 4461 else 4462 echo "$as_me: failed program was:" >&5 4463 sed 's/^/| /' conftest.$ac_ext >&5 4464 4465 gt_cv_func_CFLocaleCopyCurrent=no 4466 fi 4467 4468 rm -f core conftest.err conftest.$ac_objext \ 4469 conftest$ac_exeext conftest.$ac_ext 4470 LIBS="$gt_save_LIBS" 4471 fi 4472 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 4473 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; } 4474 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 4475 4476 cat >>confdefs.h <<\_ACEOF 4477 #define HAVE_CFLOCALECOPYCURRENT 1 4478 _ACEOF 4479 4480 fi 4481 INTL_MACOSX_LIBS= 4482 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 4483 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 4484 fi 4485 4486 4487 4488 4489 4490 4491 LIBINTL= 4492 LTLIBINTL= 4493 POSUB= 4494 4495 if test "$USE_NLS" = "yes"; then 4496 gt_use_preinstalled_gnugettext=no 4497 4498 4499 4500 4501 4502 4503 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 4504 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } 4505 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 4506 echo $ECHO_N "(cached) $ECHO_C" >&6 4507 else 4508 cat >conftest.$ac_ext <<_ACEOF 4509 /* confdefs.h. */ 4510 _ACEOF 4511 cat confdefs.h >>conftest.$ac_ext 4512 cat >>conftest.$ac_ext <<_ACEOF 4513 /* end confdefs.h. */ 4514 #include <libintl.h> 4515 extern int _nl_msg_cat_cntr; 4516 extern int *_nl_domain_bindings; 4517 int 4518 main () 4519 { 4520 bindtextdomain ("", ""); 4521 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings 4522 ; 4523 return 0; 4524 } 4525 _ACEOF 4526 rm -f conftest.$ac_objext conftest$ac_exeext 4527 if { (ac_try="$ac_link" 4528 case "(($ac_try" in 4529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4530 *) ac_try_echo=$ac_try;; 4531 esac 4532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4533 (eval "$ac_link") 2>conftest.er1 4534 ac_status=$? 4535 grep -v '^ *+' conftest.er1 >conftest.err 4536 rm -f conftest.er1 4537 cat conftest.err >&5 4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4539 (exit $ac_status); } && 4540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4541 { (case "(($ac_try" in 4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4543 *) ac_try_echo=$ac_try;; 4544 esac 4545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4546 (eval "$ac_try") 2>&5 4547 ac_status=$? 4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); }; } && 4550 { ac_try='test -s conftest$ac_exeext' 4551 { (case "(($ac_try" in 4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4553 *) ac_try_echo=$ac_try;; 4554 esac 4555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4556 (eval "$ac_try") 2>&5 4557 ac_status=$? 4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4559 (exit $ac_status); }; }; then 4560 gt_cv_func_gnugettext1_libc=yes 4561 else 4562 echo "$as_me: failed program was:" >&5 4563 sed 's/^/| /' conftest.$ac_ext >&5 4564 4565 gt_cv_func_gnugettext1_libc=no 4566 fi 4567 4568 rm -f core conftest.err conftest.$ac_objext \ 4569 conftest$ac_exeext conftest.$ac_ext 4570 fi 4571 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 4572 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; } 4573 4574 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 4575 4576 4577 4578 4579 4580 am_save_CPPFLAGS="$CPPFLAGS" 4581 4582 for element in $INCICONV; do 4583 haveit= 4584 for x in $CPPFLAGS; do 4585 4586 acl_save_prefix="$prefix" 4587 prefix="$acl_final_prefix" 4588 acl_save_exec_prefix="$exec_prefix" 4589 exec_prefix="$acl_final_exec_prefix" 4590 eval x=\"$x\" 4591 exec_prefix="$acl_save_exec_prefix" 4592 prefix="$acl_save_prefix" 4593 4594 if test "X$x" = "X$element"; then 4595 haveit=yes 4596 break 4597 fi 4598 done 4599 if test -z "$haveit"; then 4600 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4601 fi 4602 done 4603 4604 4605 { echo "$as_me:$LINENO: checking for iconv" >&5 4606 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } 4607 if test "${am_cv_func_iconv+set}" = set; then 4608 echo $ECHO_N "(cached) $ECHO_C" >&6 4609 else 4610 4611 am_cv_func_iconv="no, consider installing GNU libiconv" 4612 am_cv_lib_iconv=no 4613 cat >conftest.$ac_ext <<_ACEOF 4614 /* confdefs.h. */ 4615 _ACEOF 4616 cat confdefs.h >>conftest.$ac_ext 4617 cat >>conftest.$ac_ext <<_ACEOF 4618 /* end confdefs.h. */ 4619 #include <stdlib.h> 4620 #include <iconv.h> 4621 int 4622 main () 4623 { 4624 iconv_t cd = iconv_open("",""); 4625 iconv(cd,NULL,NULL,NULL,NULL); 4626 iconv_close(cd); 4627 ; 4628 return 0; 4629 } 4630 _ACEOF 4631 rm -f conftest.$ac_objext conftest$ac_exeext 4632 if { (ac_try="$ac_link" 4633 case "(($ac_try" in 4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4635 *) ac_try_echo=$ac_try;; 4636 esac 4637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4638 (eval "$ac_link") 2>conftest.er1 4639 ac_status=$? 4640 grep -v '^ *+' conftest.er1 >conftest.err 4641 rm -f conftest.er1 4642 cat conftest.err >&5 4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4644 (exit $ac_status); } && 4645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4646 { (case "(($ac_try" in 4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4648 *) ac_try_echo=$ac_try;; 4649 esac 4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4651 (eval "$ac_try") 2>&5 4652 ac_status=$? 4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4654 (exit $ac_status); }; } && 4655 { ac_try='test -s conftest$ac_exeext' 4656 { (case "(($ac_try" in 4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4658 *) ac_try_echo=$ac_try;; 4659 esac 4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4661 (eval "$ac_try") 2>&5 4662 ac_status=$? 4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4664 (exit $ac_status); }; }; then 4665 am_cv_func_iconv=yes 4666 else 4667 echo "$as_me: failed program was:" >&5 4668 sed 's/^/| /' conftest.$ac_ext >&5 4669 4670 4671 fi 4672 4673 rm -f core conftest.err conftest.$ac_objext \ 4674 conftest$ac_exeext conftest.$ac_ext 4675 if test "$am_cv_func_iconv" != yes; then 4676 am_save_LIBS="$LIBS" 4677 LIBS="$LIBS $LIBICONV" 4678 cat >conftest.$ac_ext <<_ACEOF 4679 /* confdefs.h. */ 4680 _ACEOF 4681 cat confdefs.h >>conftest.$ac_ext 4682 cat >>conftest.$ac_ext <<_ACEOF 4683 /* end confdefs.h. */ 4684 #include <stdlib.h> 4685 #include <iconv.h> 4686 int 4687 main () 4688 { 4689 iconv_t cd = iconv_open("",""); 4690 iconv(cd,NULL,NULL,NULL,NULL); 4691 iconv_close(cd); 4692 ; 4693 return 0; 4694 } 4695 _ACEOF 4696 rm -f conftest.$ac_objext conftest$ac_exeext 4697 if { (ac_try="$ac_link" 4698 case "(($ac_try" in 4699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4700 *) ac_try_echo=$ac_try;; 4701 esac 4702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4703 (eval "$ac_link") 2>conftest.er1 4704 ac_status=$? 4705 grep -v '^ *+' conftest.er1 >conftest.err 4706 rm -f conftest.er1 4707 cat conftest.err >&5 4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4709 (exit $ac_status); } && 4710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4711 { (case "(($ac_try" in 4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4713 *) ac_try_echo=$ac_try;; 4714 esac 4715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4716 (eval "$ac_try") 2>&5 4717 ac_status=$? 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4719 (exit $ac_status); }; } && 4720 { ac_try='test -s conftest$ac_exeext' 4721 { (case "(($ac_try" in 4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4723 *) ac_try_echo=$ac_try;; 4724 esac 4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4726 (eval "$ac_try") 2>&5 4727 ac_status=$? 4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4729 (exit $ac_status); }; }; then 4730 am_cv_lib_iconv=yes 4731 am_cv_func_iconv=yes 4732 else 4733 echo "$as_me: failed program was:" >&5 4734 sed 's/^/| /' conftest.$ac_ext >&5 4735 4736 4737 fi 4738 4739 rm -f core conftest.err conftest.$ac_objext \ 4740 conftest$ac_exeext conftest.$ac_ext 4741 LIBS="$am_save_LIBS" 4742 fi 4743 4744 fi 4745 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 4746 echo "${ECHO_T}$am_cv_func_iconv" >&6; } 4747 if test "$am_cv_func_iconv" = yes; then 4748 4749 cat >>confdefs.h <<\_ACEOF 4750 #define HAVE_ICONV 1 4751 _ACEOF 4752 4753 fi 4754 if test "$am_cv_lib_iconv" = yes; then 4755 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 4756 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } 4757 { echo "$as_me:$LINENO: result: $LIBICONV" >&5 4758 echo "${ECHO_T}$LIBICONV" >&6; } 4759 else 4760 CPPFLAGS="$am_save_CPPFLAGS" 4761 LIBICONV= 4762 LTLIBICONV= 4763 fi 4764 4765 4766 4767 4768 4769 4770 4771 use_additional=yes 4772 4773 acl_save_prefix="$prefix" 4774 prefix="$acl_final_prefix" 4775 acl_save_exec_prefix="$exec_prefix" 4776 exec_prefix="$acl_final_exec_prefix" 4777 4778 eval additional_includedir=\"$includedir\" 4779 eval additional_libdir=\"$libdir\" 4780 4781 exec_prefix="$acl_save_exec_prefix" 4782 prefix="$acl_save_prefix" 4783 4784 4785 # Check whether --with-libintl-prefix was given. 4786 if test "${with_libintl_prefix+set}" = set; then 4787 withval=$with_libintl_prefix; 4788 if test "X$withval" = "Xno"; then 4789 use_additional=no 4790 else 4791 if test "X$withval" = "X"; then 4792 4793 acl_save_prefix="$prefix" 4794 prefix="$acl_final_prefix" 4795 acl_save_exec_prefix="$exec_prefix" 4796 exec_prefix="$acl_final_exec_prefix" 4797 4798 eval additional_includedir=\"$includedir\" 4799 eval additional_libdir=\"$libdir\" 4800 4801 exec_prefix="$acl_save_exec_prefix" 4802 prefix="$acl_save_prefix" 4803 4804 else 4805 additional_includedir="$withval/include" 4806 additional_libdir="$withval/$acl_libdirstem" 4807 fi 4808 fi 4809 4810 fi 4811 4812 LIBINTL= 4813 LTLIBINTL= 4814 INCINTL= 4815 rpathdirs= 4816 ltrpathdirs= 4817 names_already_handled= 4818 names_next_round='intl ' 4819 while test -n "$names_next_round"; do 4820 names_this_round="$names_next_round" 4821 names_next_round= 4822 for name in $names_this_round; do 4823 already_handled= 4824 for n in $names_already_handled; do 4825 if test "$n" = "$name"; then 4826 already_handled=yes 4827 break 4828 fi 4829 done 4830 if test -z "$already_handled"; then 4831 names_already_handled="$names_already_handled $name" 4832 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4833 eval value=\"\$HAVE_LIB$uppername\" 4834 if test -n "$value"; then 4835 if test "$value" = yes; then 4836 eval value=\"\$LIB$uppername\" 4837 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 4838 eval value=\"\$LTLIB$uppername\" 4839 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 4840 else 4841 : 4842 fi 4843 else 4844 found_dir= 4845 found_la= 4846 found_so= 4847 found_a= 4848 if test $use_additional = yes; then 4849 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 4850 found_dir="$additional_libdir" 4851 found_so="$additional_libdir/lib$name.$shlibext" 4852 if test -f "$additional_libdir/lib$name.la"; then 4853 found_la="$additional_libdir/lib$name.la" 4854 fi 4855 else 4856 if test -f "$additional_libdir/lib$name.$libext"; then 4857 found_dir="$additional_libdir" 4858 found_a="$additional_libdir/lib$name.$libext" 4859 if test -f "$additional_libdir/lib$name.la"; then 4860 found_la="$additional_libdir/lib$name.la" 4861 fi 4862 fi 4863 fi 4864 fi 4865 if test "X$found_dir" = "X"; then 4866 for x in $LDFLAGS $LTLIBINTL; do 4867 4868 acl_save_prefix="$prefix" 4869 prefix="$acl_final_prefix" 4870 acl_save_exec_prefix="$exec_prefix" 4871 exec_prefix="$acl_final_exec_prefix" 4872 eval x=\"$x\" 4873 exec_prefix="$acl_save_exec_prefix" 4874 prefix="$acl_save_prefix" 4875 4876 case "$x" in 4877 -L*) 4878 dir=`echo "X$x" | sed -e 's/^X-L//'` 4879 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 4880 found_dir="$dir" 4881 found_so="$dir/lib$name.$shlibext" 4882 if test -f "$dir/lib$name.la"; then 4883 found_la="$dir/lib$name.la" 4884 fi 4885 else 4886 if test -f "$dir/lib$name.$libext"; then 4887 found_dir="$dir" 4888 found_a="$dir/lib$name.$libext" 4889 if test -f "$dir/lib$name.la"; then 4890 found_la="$dir/lib$name.la" 4891 fi 4892 fi 4893 fi 4894 ;; 4895 esac 4896 if test "X$found_dir" != "X"; then 4897 break 4898 fi 4899 done 4900 fi 4901 if test "X$found_dir" != "X"; then 4902 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 4903 if test "X$found_so" != "X"; then 4904 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 4905 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4906 else 4907 haveit= 4908 for x in $ltrpathdirs; do 4909 if test "X$x" = "X$found_dir"; then 4910 haveit=yes 4911 break 4912 fi 4913 done 4914 if test -z "$haveit"; then 4915 ltrpathdirs="$ltrpathdirs $found_dir" 4916 fi 4917 if test "$hardcode_direct" = yes; then 4918 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4919 else 4920 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4921 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4922 haveit= 4923 for x in $rpathdirs; do 4924 if test "X$x" = "X$found_dir"; then 4925 haveit=yes 4926 break 4927 fi 4928 done 4929 if test -z "$haveit"; then 4930 rpathdirs="$rpathdirs $found_dir" 4931 fi 4932 else 4933 haveit= 4934 for x in $LDFLAGS $LIBINTL; do 4935 4936 acl_save_prefix="$prefix" 4937 prefix="$acl_final_prefix" 4938 acl_save_exec_prefix="$exec_prefix" 4939 exec_prefix="$acl_final_exec_prefix" 4940 eval x=\"$x\" 4941 exec_prefix="$acl_save_exec_prefix" 4942 prefix="$acl_save_prefix" 4943 4944 if test "X$x" = "X-L$found_dir"; then 4945 haveit=yes 4946 break 4947 fi 4948 done 4949 if test -z "$haveit"; then 4950 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 4951 fi 4952 if test "$hardcode_minus_L" != no; then 4953 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4954 else 4955 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 4956 fi 4957 fi 4958 fi 4959 fi 4960 else 4961 if test "X$found_a" != "X"; then 4962 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 4963 else 4964 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 4965 fi 4966 fi 4967 additional_includedir= 4968 case "$found_dir" in 4969 */$acl_libdirstem | */$acl_libdirstem/) 4970 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4971 additional_includedir="$basedir/include" 4972 ;; 4973 esac 4974 if test "X$additional_includedir" != "X"; then 4975 if test "X$additional_includedir" != "X/usr/include"; then 4976 haveit= 4977 if test "X$additional_includedir" = "X/usr/local/include"; then 4978 if test -n "$GCC"; then 4979 case $host_os in 4980 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4981 esac 4982 fi 4983 fi 4984 if test -z "$haveit"; then 4985 for x in $CPPFLAGS $INCINTL; do 4986 4987 acl_save_prefix="$prefix" 4988 prefix="$acl_final_prefix" 4989 acl_save_exec_prefix="$exec_prefix" 4990 exec_prefix="$acl_final_exec_prefix" 4991 eval x=\"$x\" 4992 exec_prefix="$acl_save_exec_prefix" 4993 prefix="$acl_save_prefix" 4994 4995 if test "X$x" = "X-I$additional_includedir"; then 4996 haveit=yes 4997 break 4998 fi 4999 done 5000 if test -z "$haveit"; then 5001 if test -d "$additional_includedir"; then 5002 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 5003 fi 5004 fi 5005 fi 5006 fi 5007 fi 5008 if test -n "$found_la"; then 5009 save_libdir="$libdir" 5010 case "$found_la" in 5011 */* | *\\*) . "$found_la" ;; 5012 *) . "./$found_la" ;; 5013 esac 5014 libdir="$save_libdir" 5015 for dep in $dependency_libs; do 5016 case "$dep" in 5017 -L*) 5018 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5019 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 5020 haveit= 5021 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 5022 if test -n "$GCC"; then 5023 case $host_os in 5024 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5025 esac 5026 fi 5027 fi 5028 if test -z "$haveit"; then 5029 haveit= 5030 for x in $LDFLAGS $LIBINTL; do 5031 5032 acl_save_prefix="$prefix" 5033 prefix="$acl_final_prefix" 5034 acl_save_exec_prefix="$exec_prefix" 5035 exec_prefix="$acl_final_exec_prefix" 5036 eval x=\"$x\" 5037 exec_prefix="$acl_save_exec_prefix" 5038 prefix="$acl_save_prefix" 5039 5040 if test "X$x" = "X-L$additional_libdir"; then 5041 haveit=yes 5042 break 5043 fi 5044 done 5045 if test -z "$haveit"; then 5046 if test -d "$additional_libdir"; then 5047 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 5048 fi 5049 fi 5050 haveit= 5051 for x in $LDFLAGS $LTLIBINTL; do 5052 5053 acl_save_prefix="$prefix" 5054 prefix="$acl_final_prefix" 5055 acl_save_exec_prefix="$exec_prefix" 5056 exec_prefix="$acl_final_exec_prefix" 5057 eval x=\"$x\" 5058 exec_prefix="$acl_save_exec_prefix" 5059 prefix="$acl_save_prefix" 5060 5061 if test "X$x" = "X-L$additional_libdir"; then 5062 haveit=yes 5063 break 5064 fi 5065 done 5066 if test -z "$haveit"; then 5067 if test -d "$additional_libdir"; then 5068 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 5069 fi 5070 fi 5071 fi 5072 fi 5073 ;; 5074 -R*) 5075 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5076 if test "$enable_rpath" != no; then 5077 haveit= 5078 for x in $rpathdirs; do 5079 if test "X$x" = "X$dir"; then 5080 haveit=yes 5081 break 5082 fi 5083 done 5084 if test -z "$haveit"; then 5085 rpathdirs="$rpathdirs $dir" 5086 fi 5087 haveit= 5088 for x in $ltrpathdirs; do 5089 if test "X$x" = "X$dir"; then 5090 haveit=yes 5091 break 5092 fi 5093 done 5094 if test -z "$haveit"; then 5095 ltrpathdirs="$ltrpathdirs $dir" 5096 fi 5097 fi 5098 ;; 5099 -l*) 5100 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5101 ;; 5102 *.la) 5103 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5104 ;; 5105 *) 5106 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 5107 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 5108 ;; 5109 esac 5110 done 5111 fi 5112 else 5113 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 5114 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 5115 fi 5116 fi 5117 fi 5118 done 5119 done 5120 if test "X$rpathdirs" != "X"; then 5121 if test -n "$hardcode_libdir_separator"; then 5122 alldirs= 5123 for found_dir in $rpathdirs; do 5124 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 5125 done 5126 acl_save_libdir="$libdir" 5127 libdir="$alldirs" 5128 eval flag=\"$hardcode_libdir_flag_spec\" 5129 libdir="$acl_save_libdir" 5130 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 5131 else 5132 for found_dir in $rpathdirs; do 5133 acl_save_libdir="$libdir" 5134 libdir="$found_dir" 5135 eval flag=\"$hardcode_libdir_flag_spec\" 5136 libdir="$acl_save_libdir" 5137 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 5138 done 5139 fi 5140 fi 5141 if test "X$ltrpathdirs" != "X"; then 5142 for found_dir in $ltrpathdirs; do 5143 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 5144 done 5145 fi 5146 5147 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 5148 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } 5149 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then 5150 echo $ECHO_N "(cached) $ECHO_C" >&6 5151 else 5152 gt_save_CPPFLAGS="$CPPFLAGS" 5153 CPPFLAGS="$CPPFLAGS $INCINTL" 5154 gt_save_LIBS="$LIBS" 5155 LIBS="$LIBS $LIBINTL" 5156 cat >conftest.$ac_ext <<_ACEOF 5157 /* confdefs.h. */ 5158 _ACEOF 5159 cat confdefs.h >>conftest.$ac_ext 5160 cat >>conftest.$ac_ext <<_ACEOF 5161 /* end confdefs.h. */ 5162 #include <libintl.h> 5163 extern int _nl_msg_cat_cntr; 5164 extern 5165 #ifdef __cplusplus 5166 "C" 5167 #endif 5168 const char *_nl_expand_alias (const char *); 5169 int 5170 main () 5171 { 5172 bindtextdomain ("", ""); 5173 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") 5174 ; 5175 return 0; 5176 } 5177 _ACEOF 5178 rm -f conftest.$ac_objext conftest$ac_exeext 5179 if { (ac_try="$ac_link" 5180 case "(($ac_try" in 5181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5182 *) ac_try_echo=$ac_try;; 5183 esac 5184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5185 (eval "$ac_link") 2>conftest.er1 5186 ac_status=$? 5187 grep -v '^ *+' conftest.er1 >conftest.err 5188 rm -f conftest.er1 5189 cat conftest.err >&5 5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5191 (exit $ac_status); } && 5192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5193 { (case "(($ac_try" in 5194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5195 *) ac_try_echo=$ac_try;; 5196 esac 5197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5198 (eval "$ac_try") 2>&5 5199 ac_status=$? 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); }; } && 5202 { ac_try='test -s conftest$ac_exeext' 5203 { (case "(($ac_try" in 5204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5205 *) ac_try_echo=$ac_try;; 5206 esac 5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5208 (eval "$ac_try") 2>&5 5209 ac_status=$? 5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5211 (exit $ac_status); }; }; then 5212 gt_cv_func_gnugettext1_libintl=yes 5213 else 5214 echo "$as_me: failed program was:" >&5 5215 sed 's/^/| /' conftest.$ac_ext >&5 5216 5217 gt_cv_func_gnugettext1_libintl=no 5218 fi 5219 5220 rm -f core conftest.err conftest.$ac_objext \ 5221 conftest$ac_exeext conftest.$ac_ext 5222 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 5223 LIBS="$LIBS $LIBICONV" 5224 cat >conftest.$ac_ext <<_ACEOF 5225 /* confdefs.h. */ 5226 _ACEOF 5227 cat confdefs.h >>conftest.$ac_ext 5228 cat >>conftest.$ac_ext <<_ACEOF 5229 /* end confdefs.h. */ 5230 #include <libintl.h> 5231 extern int _nl_msg_cat_cntr; 5232 extern 5233 #ifdef __cplusplus 5234 "C" 5235 #endif 5236 const char *_nl_expand_alias (const char *); 5237 int 5238 main () 5239 { 5240 bindtextdomain ("", ""); 5241 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") 5242 ; 5243 return 0; 5244 } 5245 _ACEOF 5246 rm -f conftest.$ac_objext conftest$ac_exeext 5247 if { (ac_try="$ac_link" 5248 case "(($ac_try" in 5249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5250 *) ac_try_echo=$ac_try;; 5251 esac 5252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5253 (eval "$ac_link") 2>conftest.er1 5254 ac_status=$? 5255 grep -v '^ *+' conftest.er1 >conftest.err 5256 rm -f conftest.er1 5257 cat conftest.err >&5 5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 (exit $ac_status); } && 5260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5261 { (case "(($ac_try" in 5262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5263 *) ac_try_echo=$ac_try;; 5264 esac 5265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5266 (eval "$ac_try") 2>&5 5267 ac_status=$? 5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5269 (exit $ac_status); }; } && 5270 { ac_try='test -s conftest$ac_exeext' 5271 { (case "(($ac_try" in 5272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5273 *) ac_try_echo=$ac_try;; 5274 esac 5275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5276 (eval "$ac_try") 2>&5 5277 ac_status=$? 5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5279 (exit $ac_status); }; }; then 5280 LIBINTL="$LIBINTL $LIBICONV" 5281 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 5282 gt_cv_func_gnugettext1_libintl=yes 5283 5284 else 5285 echo "$as_me: failed program was:" >&5 5286 sed 's/^/| /' conftest.$ac_ext >&5 5287 5288 5289 fi 5290 5291 rm -f core conftest.err conftest.$ac_objext \ 5292 conftest$ac_exeext conftest.$ac_ext 5293 fi 5294 CPPFLAGS="$gt_save_CPPFLAGS" 5295 LIBS="$gt_save_LIBS" 5296 fi 5297 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 5298 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; } 5299 fi 5300 5301 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ 5302 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ 5303 && test "$PACKAGE" != gettext-runtime \ 5304 && test "$PACKAGE" != gettext-tools; }; then 5305 gt_use_preinstalled_gnugettext=yes 5306 else 5307 LIBINTL= 5308 LTLIBINTL= 5309 INCINTL= 5310 fi 5311 5312 5313 5314 if test -n "$INTL_MACOSX_LIBS"; then 5315 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 5316 || test "$nls_cv_use_gnu_gettext" = "yes"; then 5317 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 5318 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 5319 fi 5320 fi 5321 5322 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 5323 || test "$nls_cv_use_gnu_gettext" = "yes"; then 5324 5325 cat >>confdefs.h <<\_ACEOF 5326 #define ENABLE_NLS 1 5327 _ACEOF 5328 5329 else 5330 USE_NLS=no 5331 fi 5332 fi 5333 5334 { echo "$as_me:$LINENO: checking whether to use NLS" >&5 5335 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; } 5336 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 5337 echo "${ECHO_T}$USE_NLS" >&6; } 5338 if test "$USE_NLS" = "yes"; then 5339 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 5340 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } 5341 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 5342 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 5343 gt_source="external libintl" 5344 else 5345 gt_source="libc" 5346 fi 5347 else 5348 gt_source="included intl directory" 5349 fi 5350 { echo "$as_me:$LINENO: result: $gt_source" >&5 5351 echo "${ECHO_T}$gt_source" >&6; } 5352 fi 5353 5354 if test "$USE_NLS" = "yes"; then 5355 5356 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 5357 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 5358 { echo "$as_me:$LINENO: checking how to link with libintl" >&5 5359 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } 5360 { echo "$as_me:$LINENO: result: $LIBINTL" >&5 5361 echo "${ECHO_T}$LIBINTL" >&6; } 5362 5363 for element in $INCINTL; do 5364 haveit= 5365 for x in $CPPFLAGS; do 5366 5367 acl_save_prefix="$prefix" 5368 prefix="$acl_final_prefix" 5369 acl_save_exec_prefix="$exec_prefix" 5370 exec_prefix="$acl_final_exec_prefix" 5371 eval x=\"$x\" 5372 exec_prefix="$acl_save_exec_prefix" 5373 prefix="$acl_save_prefix" 5374 5375 if test "X$x" = "X$element"; then 5376 haveit=yes 5377 break 5378 fi 5379 done 5380 if test -z "$haveit"; then 5381 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5382 fi 5383 done 5384 5385 fi 5386 5387 5388 cat >>confdefs.h <<\_ACEOF 5389 #define HAVE_GETTEXT 1 5390 _ACEOF 5391 5392 5393 cat >>confdefs.h <<\_ACEOF 5394 #define HAVE_DCGETTEXT 1 5395 _ACEOF 5396 5397 fi 5398 5399 POSUB=po 5400 fi 5401 5402 5403 5404 INTLLIBS="$LIBINTL" 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 if test "x$target" != "x$host" -a -z "`echo $CC | grep -e '-gcc'`"; 5415 then 5416 { echo "$as_me:$LINENO: checking for cross-compiler" >&5 5417 echo $ECHO_N "checking for cross-compiler... $ECHO_C" >&6; } 5418 5419 which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc 5420 which ${target_cpu}-${target_os}-gcc >/dev/null 2>&1 \ 5421 && CC=${target_cpu}-${target-os}-gcc 5422 which ${target_cpu}-${target_vendor}-${target_os}-gcc >/dev/null 2>&1 \ 5423 && CC=${target_cpu}-${target_vendor}-${target_os}-gcc 5424 5425 { echo "$as_me:$LINENO: result: $CC" >&5 5426 echo "${ECHO_T}$CC" >&6; } 5427 fi 5428 5429 ac_ext=c 5430 ac_cpp='$CPP $CPPFLAGS' 5431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5433 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5434 if test -n "$ac_tool_prefix"; then 5435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5436 set dummy ${ac_tool_prefix}gcc; ac_word=$2 5437 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5439 if test "${ac_cv_prog_CC+set}" = set; then 5440 echo $ECHO_N "(cached) $ECHO_C" >&6 5441 else 5442 if test -n "$CC"; then 5443 ac_cv_prog_CC="$CC" # Let the user override the test. 5444 else 5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5446 for as_dir in $PATH 5447 do 5448 IFS=$as_save_IFS 5449 test -z "$as_dir" && as_dir=. 5450 for ac_exec_ext in '' $ac_executable_extensions; do 5451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5452 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5454 break 2 5455 fi 5456 done 5457 done 5458 IFS=$as_save_IFS 5459 5460 fi 5461 fi 5462 CC=$ac_cv_prog_CC 5463 if test -n "$CC"; then 5464 { echo "$as_me:$LINENO: result: $CC" >&5 5465 echo "${ECHO_T}$CC" >&6; } 5466 else 5467 { echo "$as_me:$LINENO: result: no" >&5 5468 echo "${ECHO_T}no" >&6; } 5469 fi 5470 5471 5472 fi 5473 if test -z "$ac_cv_prog_CC"; then 5474 ac_ct_CC=$CC 5475 # Extract the first word of "gcc", so it can be a program name with args. 5476 set dummy gcc; ac_word=$2 5477 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5480 echo $ECHO_N "(cached) $ECHO_C" >&6 5481 else 5482 if test -n "$ac_ct_CC"; then 5483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5484 else 5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5486 for as_dir in $PATH 5487 do 5488 IFS=$as_save_IFS 5489 test -z "$as_dir" && as_dir=. 5490 for ac_exec_ext in '' $ac_executable_extensions; do 5491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5492 ac_cv_prog_ac_ct_CC="gcc" 5493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5494 break 2 5495 fi 5496 done 5497 done 5498 IFS=$as_save_IFS 5499 5500 fi 5501 fi 5502 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5503 if test -n "$ac_ct_CC"; then 5504 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5505 echo "${ECHO_T}$ac_ct_CC" >&6; } 5506 else 5507 { echo "$as_me:$LINENO: result: no" >&5 5508 echo "${ECHO_T}no" >&6; } 5509 fi 5510 5511 if test "x$ac_ct_CC" = x; then 5512 CC="" 5513 else 5514 case $cross_compiling:$ac_tool_warned in 5515 yes:) 5516 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5517 whose name does not start with the host triplet. If you think this 5518 configuration is useful to you, please write to autoconf@gnu.org." >&5 5519 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5520 whose name does not start with the host triplet. If you think this 5521 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5522 ac_tool_warned=yes ;; 5523 esac 5524 CC=$ac_ct_CC 5525 fi 5526 else 5527 CC="$ac_cv_prog_CC" 5528 fi 5529 5530 if test -z "$CC"; then 5531 if test -n "$ac_tool_prefix"; then 5532 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5533 set dummy ${ac_tool_prefix}cc; ac_word=$2 5534 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5536 if test "${ac_cv_prog_CC+set}" = set; then 5537 echo $ECHO_N "(cached) $ECHO_C" >&6 5538 else 5539 if test -n "$CC"; then 5540 ac_cv_prog_CC="$CC" # Let the user override the test. 5541 else 5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5543 for as_dir in $PATH 5544 do 5545 IFS=$as_save_IFS 5546 test -z "$as_dir" && as_dir=. 5547 for ac_exec_ext in '' $ac_executable_extensions; do 5548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5549 ac_cv_prog_CC="${ac_tool_prefix}cc" 5550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5551 break 2 5552 fi 5553 done 5554 done 5555 IFS=$as_save_IFS 5556 5557 fi 5558 fi 5559 CC=$ac_cv_prog_CC 5560 if test -n "$CC"; then 5561 { echo "$as_me:$LINENO: result: $CC" >&5 5562 echo "${ECHO_T}$CC" >&6; } 5563 else 5564 { echo "$as_me:$LINENO: result: no" >&5 5565 echo "${ECHO_T}no" >&6; } 5566 fi 5567 5568 5569 fi 5570 fi 5571 if test -z "$CC"; then 5572 # Extract the first word of "cc", so it can be a program name with args. 5573 set dummy cc; ac_word=$2 5574 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5576 if test "${ac_cv_prog_CC+set}" = set; then 5577 echo $ECHO_N "(cached) $ECHO_C" >&6 5578 else 5579 if test -n "$CC"; then 5580 ac_cv_prog_CC="$CC" # Let the user override the test. 5581 else 5582 ac_prog_rejected=no 5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5584 for as_dir in $PATH 5585 do 5586 IFS=$as_save_IFS 5587 test -z "$as_dir" && as_dir=. 5588 for ac_exec_ext in '' $ac_executable_extensions; do 5589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5590 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5591 ac_prog_rejected=yes 5592 continue 5593 fi 5594 ac_cv_prog_CC="cc" 5595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5596 break 2 5597 fi 5598 done 5599 done 5600 IFS=$as_save_IFS 5601 5602 if test $ac_prog_rejected = yes; then 5603 # We found a bogon in the path, so make sure we never use it. 5604 set dummy $ac_cv_prog_CC 5605 shift 5606 if test $# != 0; then 5607 # We chose a different compiler from the bogus one. 5608 # However, it has the same basename, so the bogon will be chosen 5609 # first if we set CC to just the basename; use the full file name. 5610 shift 5611 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5612 fi 5613 fi 5614 fi 5615 fi 5616 CC=$ac_cv_prog_CC 5617 if test -n "$CC"; then 5618 { echo "$as_me:$LINENO: result: $CC" >&5 5619 echo "${ECHO_T}$CC" >&6; } 5620 else 5621 { echo "$as_me:$LINENO: result: no" >&5 5622 echo "${ECHO_T}no" >&6; } 5623 fi 5624 5625 5626 fi 5627 if test -z "$CC"; then 5628 if test -n "$ac_tool_prefix"; then 5629 for ac_prog in cl.exe 5630 do 5631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5633 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5635 if test "${ac_cv_prog_CC+set}" = set; then 5636 echo $ECHO_N "(cached) $ECHO_C" >&6 5637 else 5638 if test -n "$CC"; then 5639 ac_cv_prog_CC="$CC" # Let the user override the test. 5640 else 5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5642 for as_dir in $PATH 5643 do 5644 IFS=$as_save_IFS 5645 test -z "$as_dir" && as_dir=. 5646 for ac_exec_ext in '' $ac_executable_extensions; do 5647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5648 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5650 break 2 5651 fi 5652 done 5653 done 5654 IFS=$as_save_IFS 5655 5656 fi 5657 fi 5658 CC=$ac_cv_prog_CC 5659 if test -n "$CC"; then 5660 { echo "$as_me:$LINENO: result: $CC" >&5 5661 echo "${ECHO_T}$CC" >&6; } 5662 else 5663 { echo "$as_me:$LINENO: result: no" >&5 5664 echo "${ECHO_T}no" >&6; } 5665 fi 5666 5667 5668 test -n "$CC" && break 5669 done 5670 fi 5671 if test -z "$CC"; then 5672 ac_ct_CC=$CC 5673 for ac_prog in cl.exe 5674 do 5675 # Extract the first word of "$ac_prog", so it can be a program name with args. 5676 set dummy $ac_prog; ac_word=$2 5677 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5680 echo $ECHO_N "(cached) $ECHO_C" >&6 5681 else 5682 if test -n "$ac_ct_CC"; then 5683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5684 else 5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5686 for as_dir in $PATH 5687 do 5688 IFS=$as_save_IFS 5689 test -z "$as_dir" && as_dir=. 5690 for ac_exec_ext in '' $ac_executable_extensions; do 5691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5692 ac_cv_prog_ac_ct_CC="$ac_prog" 5693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5694 break 2 5695 fi 5696 done 5697 done 5698 IFS=$as_save_IFS 5699 5700 fi 5701 fi 5702 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5703 if test -n "$ac_ct_CC"; then 5704 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5705 echo "${ECHO_T}$ac_ct_CC" >&6; } 5706 else 5707 { echo "$as_me:$LINENO: result: no" >&5 5708 echo "${ECHO_T}no" >&6; } 5709 fi 5710 5711 5712 test -n "$ac_ct_CC" && break 5713 done 5714 5715 if test "x$ac_ct_CC" = x; then 5716 CC="" 5717 else 5718 case $cross_compiling:$ac_tool_warned in 5719 yes:) 5720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5721 whose name does not start with the host triplet. If you think this 5722 configuration is useful to you, please write to autoconf@gnu.org." >&5 5723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5724 whose name does not start with the host triplet. If you think this 5725 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5726 ac_tool_warned=yes ;; 5727 esac 5728 CC=$ac_ct_CC 5729 fi 5730 fi 5731 5732 fi 5733 5734 5735 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 5736 See \`config.log' for more details." >&5 5737 echo "$as_me: error: no acceptable C compiler found in \$PATH 5738 See \`config.log' for more details." >&2;} 5739 { (exit 1); exit 1; }; } 5740 5741 # Provide some information about the compiler. 5742 echo "$as_me:$LINENO: checking for C compiler version" >&5 5743 ac_compiler=`set X $ac_compile; echo $2` 5744 { (ac_try="$ac_compiler --version >&5" 5745 case "(($ac_try" in 5746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5747 *) ac_try_echo=$ac_try;; 5748 esac 5749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5750 (eval "$ac_compiler --version >&5") 2>&5 5751 ac_status=$? 5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5753 (exit $ac_status); } 5754 { (ac_try="$ac_compiler -v >&5" 5755 case "(($ac_try" in 5756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5757 *) ac_try_echo=$ac_try;; 5758 esac 5759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5760 (eval "$ac_compiler -v >&5") 2>&5 5761 ac_status=$? 5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5763 (exit $ac_status); } 5764 { (ac_try="$ac_compiler -V >&5" 5765 case "(($ac_try" in 5766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5767 *) ac_try_echo=$ac_try;; 5768 esac 5769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5770 (eval "$ac_compiler -V >&5") 2>&5 5771 ac_status=$? 5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5773 (exit $ac_status); } 5774 5775 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 5776 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 5777 if test "${ac_cv_c_compiler_gnu+set}" = set; then 5778 echo $ECHO_N "(cached) $ECHO_C" >&6 5779 else 5780 cat >conftest.$ac_ext <<_ACEOF 5781 /* confdefs.h. */ 5782 _ACEOF 5783 cat confdefs.h >>conftest.$ac_ext 5784 cat >>conftest.$ac_ext <<_ACEOF 5785 /* end confdefs.h. */ 5786 5787 int 5788 main () 5789 { 5790 #ifndef __GNUC__ 5791 choke me 5792 #endif 5793 5794 ; 5795 return 0; 5796 } 5797 _ACEOF 5798 rm -f conftest.$ac_objext 5799 if { (ac_try="$ac_compile" 5800 case "(($ac_try" in 5801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5802 *) ac_try_echo=$ac_try;; 5803 esac 5804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5805 (eval "$ac_compile") 2>conftest.er1 5806 ac_status=$? 5807 grep -v '^ *+' conftest.er1 >conftest.err 5808 rm -f conftest.er1 5809 cat conftest.err >&5 5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5811 (exit $ac_status); } && 5812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5813 { (case "(($ac_try" in 5814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5815 *) ac_try_echo=$ac_try;; 5816 esac 5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5818 (eval "$ac_try") 2>&5 5819 ac_status=$? 5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5821 (exit $ac_status); }; } && 5822 { ac_try='test -s conftest.$ac_objext' 5823 { (case "(($ac_try" in 5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5825 *) ac_try_echo=$ac_try;; 5826 esac 5827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5828 (eval "$ac_try") 2>&5 5829 ac_status=$? 5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5831 (exit $ac_status); }; }; then 5832 ac_compiler_gnu=yes 5833 else 5834 echo "$as_me: failed program was:" >&5 5835 sed 's/^/| /' conftest.$ac_ext >&5 5836 5837 ac_compiler_gnu=no 5838 fi 5839 5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5841 ac_cv_c_compiler_gnu=$ac_compiler_gnu 5842 5843 fi 5844 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 5845 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 5846 GCC=`test $ac_compiler_gnu = yes && echo yes` 5847 ac_test_CFLAGS=${CFLAGS+set} 5848 ac_save_CFLAGS=$CFLAGS 5849 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 5850 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 5851 if test "${ac_cv_prog_cc_g+set}" = set; then 5852 echo $ECHO_N "(cached) $ECHO_C" >&6 5853 else 5854 ac_save_c_werror_flag=$ac_c_werror_flag 5855 ac_c_werror_flag=yes 5856 ac_cv_prog_cc_g=no 5857 CFLAGS="-g" 5858 cat >conftest.$ac_ext <<_ACEOF 5859 /* confdefs.h. */ 5860 _ACEOF 5861 cat confdefs.h >>conftest.$ac_ext 5862 cat >>conftest.$ac_ext <<_ACEOF 5863 /* end confdefs.h. */ 5864 5865 int 5866 main () 5867 { 5868 5869 ; 5870 return 0; 5871 } 5872 _ACEOF 5873 rm -f conftest.$ac_objext 5874 if { (ac_try="$ac_compile" 5875 case "(($ac_try" in 5876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5877 *) ac_try_echo=$ac_try;; 5878 esac 5879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5880 (eval "$ac_compile") 2>conftest.er1 5881 ac_status=$? 5882 grep -v '^ *+' conftest.er1 >conftest.err 5883 rm -f conftest.er1 5884 cat conftest.err >&5 5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5886 (exit $ac_status); } && 5887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5888 { (case "(($ac_try" in 5889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5890 *) ac_try_echo=$ac_try;; 5891 esac 5892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5893 (eval "$ac_try") 2>&5 5894 ac_status=$? 5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5896 (exit $ac_status); }; } && 5897 { ac_try='test -s conftest.$ac_objext' 5898 { (case "(($ac_try" in 5899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5900 *) ac_try_echo=$ac_try;; 5901 esac 5902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5903 (eval "$ac_try") 2>&5 5904 ac_status=$? 5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5906 (exit $ac_status); }; }; then 5907 ac_cv_prog_cc_g=yes 5908 else 5909 echo "$as_me: failed program was:" >&5 5910 sed 's/^/| /' conftest.$ac_ext >&5 5911 5912 CFLAGS="" 5913 cat >conftest.$ac_ext <<_ACEOF 5914 /* confdefs.h. */ 5915 _ACEOF 5916 cat confdefs.h >>conftest.$ac_ext 5917 cat >>conftest.$ac_ext <<_ACEOF 5918 /* end confdefs.h. */ 5919 5920 int 5921 main () 5922 { 5923 5924 ; 5925 return 0; 5926 } 5927 _ACEOF 5928 rm -f conftest.$ac_objext 5929 if { (ac_try="$ac_compile" 5930 case "(($ac_try" in 5931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5932 *) ac_try_echo=$ac_try;; 5933 esac 5934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5935 (eval "$ac_compile") 2>conftest.er1 5936 ac_status=$? 5937 grep -v '^ *+' conftest.er1 >conftest.err 5938 rm -f conftest.er1 5939 cat conftest.err >&5 5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5941 (exit $ac_status); } && 5942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5943 { (case "(($ac_try" in 5944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5945 *) ac_try_echo=$ac_try;; 5946 esac 5947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5948 (eval "$ac_try") 2>&5 5949 ac_status=$? 5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5951 (exit $ac_status); }; } && 5952 { ac_try='test -s conftest.$ac_objext' 5953 { (case "(($ac_try" in 5954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5955 *) ac_try_echo=$ac_try;; 5956 esac 5957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5958 (eval "$ac_try") 2>&5 5959 ac_status=$? 5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5961 (exit $ac_status); }; }; then 5962 : 5963 else 5964 echo "$as_me: failed program was:" >&5 5965 sed 's/^/| /' conftest.$ac_ext >&5 5966 5967 ac_c_werror_flag=$ac_save_c_werror_flag 5968 CFLAGS="-g" 5969 cat >conftest.$ac_ext <<_ACEOF 5970 /* confdefs.h. */ 5971 _ACEOF 5972 cat confdefs.h >>conftest.$ac_ext 5973 cat >>conftest.$ac_ext <<_ACEOF 5974 /* end confdefs.h. */ 5975 5976 int 5977 main () 5978 { 5979 5980 ; 5981 return 0; 5982 } 5983 _ACEOF 5984 rm -f conftest.$ac_objext 5985 if { (ac_try="$ac_compile" 5986 case "(($ac_try" in 5987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5988 *) ac_try_echo=$ac_try;; 5989 esac 5990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5991 (eval "$ac_compile") 2>conftest.er1 5992 ac_status=$? 5993 grep -v '^ *+' conftest.er1 >conftest.err 5994 rm -f conftest.er1 5995 cat conftest.err >&5 5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5997 (exit $ac_status); } && 5998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5999 { (case "(($ac_try" in 6000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6001 *) ac_try_echo=$ac_try;; 6002 esac 6003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6004 (eval "$ac_try") 2>&5 6005 ac_status=$? 6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6007 (exit $ac_status); }; } && 6008 { ac_try='test -s conftest.$ac_objext' 6009 { (case "(($ac_try" in 6010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6011 *) ac_try_echo=$ac_try;; 6012 esac 6013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6014 (eval "$ac_try") 2>&5 6015 ac_status=$? 6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6017 (exit $ac_status); }; }; then 6018 ac_cv_prog_cc_g=yes 6019 else 6020 echo "$as_me: failed program was:" >&5 6021 sed 's/^/| /' conftest.$ac_ext >&5 6022 6023 6024 fi 6025 6026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6027 fi 6028 6029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6030 fi 6031 6032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6033 ac_c_werror_flag=$ac_save_c_werror_flag 6034 fi 6035 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6036 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 6037 if test "$ac_test_CFLAGS" = set; then 6038 CFLAGS=$ac_save_CFLAGS 6039 elif test $ac_cv_prog_cc_g = yes; then 6040 if test "$GCC" = yes; then 6041 CFLAGS="-g -O2" 6042 else 6043 CFLAGS="-g" 6044 fi 6045 else 6046 if test "$GCC" = yes; then 6047 CFLAGS="-O2" 6048 else 6049 CFLAGS= 6050 fi 6051 fi 6052 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6053 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 6054 if test "${ac_cv_prog_cc_c89+set}" = set; then 6055 echo $ECHO_N "(cached) $ECHO_C" >&6 6056 else 6057 ac_cv_prog_cc_c89=no 6058 ac_save_CC=$CC 6059 cat >conftest.$ac_ext <<_ACEOF 6060 /* confdefs.h. */ 6061 _ACEOF 6062 cat confdefs.h >>conftest.$ac_ext 6063 cat >>conftest.$ac_ext <<_ACEOF 6064 /* end confdefs.h. */ 6065 #include <stdarg.h> 6066 #include <stdio.h> 6067 #include <sys/types.h> 6068 #include <sys/stat.h> 6069 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6070 struct buf { int x; }; 6071 FILE * (*rcsopen) (struct buf *, struct stat *, int); 6072 static char *e (p, i) 6073 char **p; 6074 int i; 6075 { 6076 return p[i]; 6077 } 6078 static char *f (char * (*g) (char **, int), char **p, ...) 6079 { 6080 char *s; 6081 va_list v; 6082 va_start (v,p); 6083 s = g (p, va_arg (v,int)); 6084 va_end (v); 6085 return s; 6086 } 6087 6088 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6089 function prototypes and stuff, but not '\xHH' hex character constants. 6090 These don't provoke an error unfortunately, instead are silently treated 6091 as 'x'. The following induces an error, until -std is added to get 6092 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6093 array size at least. It's necessary to write '\x00'==0 to get something 6094 that's true only with -std. */ 6095 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6096 6097 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6098 inside strings and character constants. */ 6099 #define FOO(x) 'x' 6100 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6101 6102 int test (int i, double x); 6103 struct s1 {int (*f) (int a);}; 6104 struct s2 {int (*f) (double a);}; 6105 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6106 int argc; 6107 char **argv; 6108 int 6109 main () 6110 { 6111 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6112 ; 6113 return 0; 6114 } 6115 _ACEOF 6116 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6117 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6118 do 6119 CC="$ac_save_CC $ac_arg" 6120 rm -f conftest.$ac_objext 6121 if { (ac_try="$ac_compile" 6122 case "(($ac_try" in 6123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6124 *) ac_try_echo=$ac_try;; 6125 esac 6126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6127 (eval "$ac_compile") 2>conftest.er1 6128 ac_status=$? 6129 grep -v '^ *+' conftest.er1 >conftest.err 6130 rm -f conftest.er1 6131 cat conftest.err >&5 6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6133 (exit $ac_status); } && 6134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6135 { (case "(($ac_try" in 6136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6137 *) ac_try_echo=$ac_try;; 6138 esac 6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6140 (eval "$ac_try") 2>&5 6141 ac_status=$? 6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6143 (exit $ac_status); }; } && 6144 { ac_try='test -s conftest.$ac_objext' 6145 { (case "(($ac_try" in 6146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6147 *) ac_try_echo=$ac_try;; 6148 esac 6149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6150 (eval "$ac_try") 2>&5 6151 ac_status=$? 6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6153 (exit $ac_status); }; }; then 6154 ac_cv_prog_cc_c89=$ac_arg 6155 else 6156 echo "$as_me: failed program was:" >&5 6157 sed 's/^/| /' conftest.$ac_ext >&5 6158 6159 6160 fi 6161 6162 rm -f core conftest.err conftest.$ac_objext 6163 test "x$ac_cv_prog_cc_c89" != "xno" && break 6164 done 6165 rm -f conftest.$ac_ext 6166 CC=$ac_save_CC 6167 6168 fi 6169 # AC_CACHE_VAL 6170 case "x$ac_cv_prog_cc_c89" in 6171 x) 6172 { echo "$as_me:$LINENO: result: none needed" >&5 6173 echo "${ECHO_T}none needed" >&6; } ;; 6174 xno) 6175 { echo "$as_me:$LINENO: result: unsupported" >&5 6176 echo "${ECHO_T}unsupported" >&6; } ;; 6177 *) 6178 CC="$CC $ac_cv_prog_cc_c89" 6179 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6180 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 6181 esac 6182 6183 6184 ac_ext=c 6185 ac_cpp='$CPP $CPPFLAGS' 6186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6188 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6189 6190 depcc="$CC" am_compiler_list= 6191 6192 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 6193 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 6194 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 6195 echo $ECHO_N "(cached) $ECHO_C" >&6 6196 else 6197 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6198 # We make a subdir and do the tests there. Otherwise we can end up 6199 # making bogus files that we don't know about and never remove. For 6200 # instance it was reported that on HP-UX the gcc test will end up 6201 # making a dummy file named `D' -- because `-MD' means `put the output 6202 # in D'. 6203 mkdir conftest.dir 6204 # Copy depcomp to subdir because otherwise we won't find it if we're 6205 # using a relative directory. 6206 cp "$am_depcomp" conftest.dir 6207 cd conftest.dir 6208 # We will build objects and dependencies in a subdirectory because 6209 # it helps to detect inapplicable dependency modes. For instance 6210 # both Tru64's cc and ICC support -MD to output dependencies as a 6211 # side effect of compilation, but ICC will put the dependencies in 6212 # the current directory while Tru64 will put them in the object 6213 # directory. 6214 mkdir sub 6215 6216 am_cv_CC_dependencies_compiler_type=none 6217 if test "$am_compiler_list" = ""; then 6218 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6219 fi 6220 for depmode in $am_compiler_list; do 6221 # Setup a source with many dependencies, because some compilers 6222 # like to wrap large dependency lists on column 80 (with \), and 6223 # we should not choose a depcomp mode which is confused by this. 6224 # 6225 # We need to recreate these files for each test, as the compiler may 6226 # overwrite some of them when testing with obscure command lines. 6227 # This happens at least with the AIX C compiler. 6228 : > sub/conftest.c 6229 for i in 1 2 3 4 5 6; do 6230 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6231 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 6232 # Solaris 8's {/usr,}/bin/sh. 6233 touch sub/conftst$i.h 6234 done 6235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6236 6237 case $depmode in 6238 nosideeffect) 6239 # after this tag, mechanisms are not by side-effect, so they'll 6240 # only be used when explicitly requested 6241 if test "x$enable_dependency_tracking" = xyes; then 6242 continue 6243 else 6244 break 6245 fi 6246 ;; 6247 none) break ;; 6248 esac 6249 # We check with `-c' and `-o' for the sake of the "dashmstdout" 6250 # mode. It turns out that the SunPro C++ compiler does not properly 6251 # handle `-M -o', and we need to detect this. 6252 if depmode=$depmode \ 6253 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 6254 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6255 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 6256 >/dev/null 2>conftest.err && 6257 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6258 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6259 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6260 # icc doesn't choke on unknown options, it will just issue warnings 6261 # or remarks (even with -Werror). So we grep stderr for any message 6262 # that says an option was ignored or not supported. 6263 # When given -MP, icc 7.0 and 7.1 complain thusly: 6264 # icc: Command line warning: ignoring option '-M'; no argument required 6265 # The diagnosis changed in icc 8.0: 6266 # icc: Command line remark: option '-MP' not supported 6267 if (grep 'ignoring option' conftest.err || 6268 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6269 am_cv_CC_dependencies_compiler_type=$depmode 6270 break 6271 fi 6272 fi 6273 done 6274 6275 cd .. 6276 rm -rf conftest.dir 6277 else 6278 am_cv_CC_dependencies_compiler_type=none 6279 fi 6280 6281 fi 6282 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 6283 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 6284 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 6285 6286 6287 6288 if 6289 test "x$enable_dependency_tracking" != xno \ 6290 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 6291 am__fastdepCC_TRUE= 6292 am__fastdepCC_FALSE='#' 6293 else 6294 am__fastdepCC_TRUE='#' 6295 am__fastdepCC_FALSE= 6296 fi 6297 6298 6299 # Find a good install program. We prefer a C program (faster), 6300 # so one script is as good as another. But avoid the broken or 6301 # incompatible versions: 6302 # SysV /etc/install, /usr/sbin/install 6303 # SunOS /usr/etc/install 6304 # IRIX /sbin/install 6305 # AIX /bin/install 6306 # AmigaOS /C/install, which installs bootblocks on floppy discs 6307 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6308 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 6309 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6310 # OS/2's system install, which has a completely different semantic 6311 # ./install, which can be erroneously created by make from ./install.sh. 6312 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6313 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 6314 if test -z "$INSTALL"; then 6315 if test "${ac_cv_path_install+set}" = set; then 6316 echo $ECHO_N "(cached) $ECHO_C" >&6 6317 else 6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6319 for as_dir in $PATH 6320 do 6321 IFS=$as_save_IFS 6322 test -z "$as_dir" && as_dir=. 6323 # Account for people who put trailing slashes in PATH elements. 6324 case $as_dir/ in 6325 ./ | .// | /cC/* | \ 6326 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6327 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6328 /usr/ucb/* ) ;; 6329 *) 6330 # OSF1 and SCO ODT 3.0 have their own names for install. 6331 # Don't use installbsd from OSF since it installs stuff as root 6332 # by default. 6333 for ac_prog in ginstall scoinst install; do 6334 for ac_exec_ext in '' $ac_executable_extensions; do 6335 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 6336 if test $ac_prog = install && 6337 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6338 # AIX install. It has an incompatible calling convention. 6339 : 6340 elif test $ac_prog = install && 6341 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6342 # program-specific install script used by HP pwplus--don't use. 6343 : 6344 else 6345 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6346 break 3 6347 fi 6348 fi 6349 done 6350 done 6351 ;; 6352 esac 6353 done 6354 IFS=$as_save_IFS 6355 6356 6357 fi 6358 if test "${ac_cv_path_install+set}" = set; then 6359 INSTALL=$ac_cv_path_install 6360 else 6361 # As a last resort, use the slow shell script. Don't cache a 6362 # value for INSTALL within a source directory, because that will 6363 # break other packages using the cache if that directory is 6364 # removed, or if the value is a relative name. 6365 INSTALL=$ac_install_sh 6366 fi 6367 fi 6368 { echo "$as_me:$LINENO: result: $INSTALL" >&5 6369 echo "${ECHO_T}$INSTALL" >&6; } 6370 6371 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 6372 # It thinks the first close brace ends the variable substitution. 6373 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 6374 6375 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 6376 6377 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 6378 6379 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 6380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 6381 LN_S=$as_ln_s 6382 if test "$LN_S" = "ln -s"; then 6383 { echo "$as_me:$LINENO: result: yes" >&5 6384 echo "${ECHO_T}yes" >&6; } 6385 else 6386 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6387 echo "${ECHO_T}no, using $LN_S" >&6; } 6388 fi 6389 6390 alsa_save_CFLAGS="$CFLAGS" 6391 alsa_save_LDFLAGS="$LDFLAGS" 6392 alsa_save_LIBS="$LIBS" 6393 alsa_found=yes 6394 6395 6396 # Check whether --with-alsa-prefix was given. 6397 if test "${with_alsa_prefix+set}" = set; then 6398 withval=$with_alsa_prefix; alsa_prefix="$withval" 6399 else 6400 alsa_prefix="" 6401 fi 6402 6403 6404 6405 # Check whether --with-alsa-inc-prefix was given. 6406 if test "${with_alsa_inc_prefix+set}" = set; then 6407 withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval" 6408 else 6409 alsa_inc_prefix="" 6410 fi 6411 6412 6413 # Check whether --enable-alsatest was given. 6414 if test "${enable_alsatest+set}" = set; then 6415 enableval=$enable_alsatest; enable_alsatest="$enableval" 6416 else 6417 enable_alsatest=yes 6418 fi 6419 6420 6421 { echo "$as_me:$LINENO: checking for ALSA CFLAGS" >&5 6422 echo $ECHO_N "checking for ALSA CFLAGS... $ECHO_C" >&6; } 6423 if test "$alsa_inc_prefix" != "" ; then 6424 ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" 6425 CFLAGS="$CFLAGS -I$alsa_inc_prefix" 6426 fi 6427 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 6428 echo "${ECHO_T}$ALSA_CFLAGS" >&6; } 6429 6430 { echo "$as_me:$LINENO: checking for ALSA LDFLAGS" >&5 6431 echo $ECHO_N "checking for ALSA LDFLAGS... $ECHO_C" >&6; } 6432 if test "$alsa_prefix" != "" ; then 6433 ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" 6434 LDFLAGS="$LDFLAGS $ALSA_LIBS" 6435 fi 6436 6437 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" 6438 LIBS="$ALSA_LIBS $LIBS" 6439 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 6440 echo "${ECHO_T}$ALSA_LIBS" >&6; } 6441 6442 min_alsa_version=1.0.16 6443 { echo "$as_me:$LINENO: checking for libasound headers version >= $min_alsa_version" >&5 6444 echo $ECHO_N "checking for libasound headers version >= $min_alsa_version... $ECHO_C" >&6; } 6445 no_alsa="" 6446 alsa_min_major_version=`echo $min_alsa_version | \ 6447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 6448 alsa_min_minor_version=`echo $min_alsa_version | \ 6449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 6450 alsa_min_micro_version=`echo $min_alsa_version | \ 6451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 6452 6453 6454 ac_ext=c 6455 ac_cpp='$CPP $CPPFLAGS' 6456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6458 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6459 6460 cat >conftest.$ac_ext <<_ACEOF 6461 /* confdefs.h. */ 6462 _ACEOF 6463 cat confdefs.h >>conftest.$ac_ext 6464 cat >>conftest.$ac_ext <<_ACEOF 6465 /* end confdefs.h. */ 6466 6467 #include <alsa/asoundlib.h> 6468 6469 int 6470 main () 6471 { 6472 6473 /* ensure backward compatibility */ 6474 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) 6475 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR 6476 #endif 6477 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) 6478 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR 6479 #endif 6480 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) 6481 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR 6482 #endif 6483 6484 # if(SND_LIB_MAJOR > $alsa_min_major_version) 6485 exit(0); 6486 # else 6487 # if(SND_LIB_MAJOR < $alsa_min_major_version) 6488 # error not present 6489 # endif 6490 6491 # if(SND_LIB_MINOR > $alsa_min_minor_version) 6492 exit(0); 6493 # else 6494 # if(SND_LIB_MINOR < $alsa_min_minor_version) 6495 # error not present 6496 # endif 6497 6498 # if(SND_LIB_SUBMINOR < $alsa_min_micro_version) 6499 # error not present 6500 # endif 6501 # endif 6502 # endif 6503 exit(0); 6504 6505 ; 6506 return 0; 6507 } 6508 _ACEOF 6509 rm -f conftest.$ac_objext 6510 if { (ac_try="$ac_compile" 6511 case "(($ac_try" in 6512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6513 *) ac_try_echo=$ac_try;; 6514 esac 6515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6516 (eval "$ac_compile") 2>conftest.er1 6517 ac_status=$? 6518 grep -v '^ *+' conftest.er1 >conftest.err 6519 rm -f conftest.er1 6520 cat conftest.err >&5 6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6522 (exit $ac_status); } && 6523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6524 { (case "(($ac_try" in 6525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6526 *) ac_try_echo=$ac_try;; 6527 esac 6528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6529 (eval "$ac_try") 2>&5 6530 ac_status=$? 6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6532 (exit $ac_status); }; } && 6533 { ac_try='test -s conftest.$ac_objext' 6534 { (case "(($ac_try" in 6535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6536 *) ac_try_echo=$ac_try;; 6537 esac 6538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6539 (eval "$ac_try") 2>&5 6540 ac_status=$? 6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6542 (exit $ac_status); }; }; then 6543 { echo "$as_me:$LINENO: result: found." >&5 6544 echo "${ECHO_T}found." >&6; } 6545 else 6546 echo "$as_me: failed program was:" >&5 6547 sed 's/^/| /' conftest.$ac_ext >&5 6548 6549 { echo "$as_me:$LINENO: result: not present." >&5 6550 echo "${ECHO_T}not present." >&6; } 6551 { { echo "$as_me:$LINENO: error: Sufficiently new version of libasound not found." >&5 6552 echo "$as_me: error: Sufficiently new version of libasound not found." >&2;} 6553 { (exit 1); exit 1; }; } 6554 alsa_found=no 6555 6556 fi 6557 6558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6559 ac_ext=c 6560 ac_cpp='$CPP $CPPFLAGS' 6561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6563 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6564 6565 6566 if test "x$enable_alsatest" = "xyes"; then 6567 6568 { echo "$as_me:$LINENO: checking for snd_ctl_open in -lasound" >&5 6569 echo $ECHO_N "checking for snd_ctl_open in -lasound... $ECHO_C" >&6; } 6570 if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then 6571 echo $ECHO_N "(cached) $ECHO_C" >&6 6572 else 6573 ac_check_lib_save_LIBS=$LIBS 6574 LIBS="-lasound $LIBS" 6575 cat >conftest.$ac_ext <<_ACEOF 6576 /* confdefs.h. */ 6577 _ACEOF 6578 cat confdefs.h >>conftest.$ac_ext 6579 cat >>conftest.$ac_ext <<_ACEOF 6580 /* end confdefs.h. */ 6581 6582 /* Override any GCC internal prototype to avoid an error. 6583 Use char because int might match the return type of a GCC 6584 builtin and then its argument prototype would still apply. */ 6585 #ifdef __cplusplus 6586 extern "C" 6587 #endif 6588 char snd_ctl_open (); 6589 int 6590 main () 6591 { 6592 return snd_ctl_open (); 6593 ; 6594 return 0; 6595 } 6596 _ACEOF 6597 rm -f conftest.$ac_objext conftest$ac_exeext 6598 if { (ac_try="$ac_link" 6599 case "(($ac_try" in 6600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6601 *) ac_try_echo=$ac_try;; 6602 esac 6603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6604 (eval "$ac_link") 2>conftest.er1 6605 ac_status=$? 6606 grep -v '^ *+' conftest.er1 >conftest.err 6607 rm -f conftest.er1 6608 cat conftest.err >&5 6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6610 (exit $ac_status); } && 6611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6612 { (case "(($ac_try" in 6613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6614 *) ac_try_echo=$ac_try;; 6615 esac 6616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6617 (eval "$ac_try") 2>&5 6618 ac_status=$? 6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6620 (exit $ac_status); }; } && 6621 { ac_try='test -s conftest$ac_exeext' 6622 { (case "(($ac_try" in 6623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6624 *) ac_try_echo=$ac_try;; 6625 esac 6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6627 (eval "$ac_try") 2>&5 6628 ac_status=$? 6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6630 (exit $ac_status); }; }; then 6631 ac_cv_lib_asound_snd_ctl_open=yes 6632 else 6633 echo "$as_me: failed program was:" >&5 6634 sed 's/^/| /' conftest.$ac_ext >&5 6635 6636 ac_cv_lib_asound_snd_ctl_open=no 6637 fi 6638 6639 rm -f core conftest.err conftest.$ac_objext \ 6640 conftest$ac_exeext conftest.$ac_ext 6641 LIBS=$ac_check_lib_save_LIBS 6642 fi 6643 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_ctl_open" >&5 6644 echo "${ECHO_T}$ac_cv_lib_asound_snd_ctl_open" >&6; } 6645 if test $ac_cv_lib_asound_snd_ctl_open = yes; then 6646 cat >>confdefs.h <<_ACEOF 6647 #define HAVE_LIBASOUND 1 6648 _ACEOF 6649 6650 LIBS="-lasound $LIBS" 6651 6652 else 6653 { { echo "$as_me:$LINENO: error: No linkable libasound was found." >&5 6654 echo "$as_me: error: No linkable libasound was found." >&2;} 6655 { (exit 1); exit 1; }; } 6656 alsa_found=no 6657 6658 fi 6659 6660 fi 6661 6662 if test "x$alsa_found" = "xyes" ; then 6663 : 6664 LIBS=`echo $LIBS | sed 's/-lasound//g'` 6665 LIBS=`echo $LIBS | sed 's/ //'` 6666 LIBS="-lasound $LIBS" 6667 fi 6668 if test "x$alsa_found" = "xno" ; then 6669 : 6670 CFLAGS="$alsa_save_CFLAGS" 6671 LDFLAGS="$alsa_save_LDFLAGS" 6672 LIBS="$alsa_save_LIBS" 6673 ALSA_CFLAGS="" 6674 ALSA_LIBS="" 6675 fi 6676 6677 6678 6679 6680 6681 CURSESINC="" 6682 CURSESLIB="" 6683 CURSES_CFLAGS="" 6684 # Check whether --enable-alsamixer was given. 6685 if test "${enable_alsamixer+set}" = set; then 6686 enableval=$enable_alsamixer; case "${enableval}" in 6687 yes) alsamixer=true ;; 6688 no) alsamixer=false ;; 6689 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-alsamixer" >&5 6690 echo "$as_me: error: bad value ${enableval} for --enable-alsamixer" >&2;} 6691 { (exit 1); exit 1; }; } ;; 6692 esac 6693 else 6694 alsamixer=true 6695 fi 6696 6697 6698 6699 if test x$alsamixer = xtrue; then 6700 ALSAMIXER_TRUE= 6701 ALSAMIXER_FALSE='#' 6702 else 6703 ALSAMIXER_TRUE='#' 6704 ALSAMIXER_FALSE= 6705 fi 6706 6707 6708 # Check whether --enable-alsaconf was given. 6709 if test "${enable_alsaconf+set}" = set; then 6710 enableval=$enable_alsaconf; case "${enableval}" in 6711 yes) alsaconf=true ;; 6712 no) alsaconf=false ;; 6713 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-alsaconf" >&5 6714 echo "$as_me: error: bad value ${enableval} for --enable-alsaconf" >&2;} 6715 { (exit 1); exit 1; }; } ;; 6716 esac 6717 else 6718 alsaconf=true 6719 fi 6720 6721 6722 6723 if test x$alsaconf = xtrue; then 6724 ALSACONF_TRUE= 6725 ALSACONF_FALSE='#' 6726 else 6727 ALSACONF_TRUE='#' 6728 ALSACONF_FALSE= 6729 fi 6730 6731 6732 xmlto="" 6733 if test x"$alsaconf" = xtrue; then 6734 # Check whether --enable-xmlto was given. 6735 if test "${enable_xmlto+set}" = set; then 6736 enableval=$enable_xmlto; xmlto="$enableval" 6737 else 6738 xmlto="yes" 6739 fi 6740 6741 if test "$xmlto" = "yes"; then 6742 # Extract the first word of "xmlto", so it can be a program name with args. 6743 set dummy xmlto; ac_word=$2 6744 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6746 if test "${ac_cv_prog_xmlto+set}" = set; then 6747 echo $ECHO_N "(cached) $ECHO_C" >&6 6748 else 6749 if test -n "$xmlto"; then 6750 ac_cv_prog_xmlto="$xmlto" # Let the user override the test. 6751 else 6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6753 for as_dir in $PATH 6754 do 6755 IFS=$as_save_IFS 6756 test -z "$as_dir" && as_dir=. 6757 for ac_exec_ext in '' $ac_executable_extensions; do 6758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 6759 ac_cv_prog_xmlto="yes" 6760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6761 break 2 6762 fi 6763 done 6764 done 6765 IFS=$as_save_IFS 6766 6767 fi 6768 fi 6769 xmlto=$ac_cv_prog_xmlto 6770 if test -n "$xmlto"; then 6771 { echo "$as_me:$LINENO: result: $xmlto" >&5 6772 echo "${ECHO_T}$xmlto" >&6; } 6773 else 6774 { echo "$as_me:$LINENO: result: no" >&5 6775 echo "${ECHO_T}no" >&6; } 6776 fi 6777 6778 6779 fi 6780 fi 6781 6782 6783 if test x"$xmlto" = xyes; then 6784 USE_XMLTO_TRUE= 6785 USE_XMLTO_FALSE='#' 6786 else 6787 USE_XMLTO_TRUE='#' 6788 USE_XMLTO_FALSE= 6789 fi 6790 6791 6792 ac_ext=c 6793 ac_cpp='$CPP $CPPFLAGS' 6794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6796 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6797 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6798 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 6799 # On Suns, sometimes $CPP names a directory. 6800 if test -n "$CPP" && test -d "$CPP"; then 6801 CPP= 6802 fi 6803 if test -z "$CPP"; then 6804 if test "${ac_cv_prog_CPP+set}" = set; then 6805 echo $ECHO_N "(cached) $ECHO_C" >&6 6806 else 6807 # Double quotes because CPP needs to be expanded 6808 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6809 do 6810 ac_preproc_ok=false 6811 for ac_c_preproc_warn_flag in '' yes 6812 do 6813 # Use a header file that comes with gcc, so configuring glibc 6814 # with a fresh cross-compiler works. 6815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6816 # <limits.h> exists even on freestanding compilers. 6817 # On the NeXT, cc -E runs the code through the compiler's parser, 6818 # not just through cpp. "Syntax error" is here to catch this case. 6819 cat >conftest.$ac_ext <<_ACEOF 6820 /* confdefs.h. */ 6821 _ACEOF 6822 cat confdefs.h >>conftest.$ac_ext 6823 cat >>conftest.$ac_ext <<_ACEOF 6824 /* end confdefs.h. */ 6825 #ifdef __STDC__ 6826 # include <limits.h> 6827 #else 6828 # include <assert.h> 6829 #endif 6830 Syntax error 6831 _ACEOF 6832 if { (ac_try="$ac_cpp conftest.$ac_ext" 6833 case "(($ac_try" in 6834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6835 *) ac_try_echo=$ac_try;; 6836 esac 6837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6839 ac_status=$? 6840 grep -v '^ *+' conftest.er1 >conftest.err 6841 rm -f conftest.er1 6842 cat conftest.err >&5 6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6844 (exit $ac_status); } >/dev/null; then 6845 if test -s conftest.err; then 6846 ac_cpp_err=$ac_c_preproc_warn_flag 6847 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6848 else 6849 ac_cpp_err= 6850 fi 6851 else 6852 ac_cpp_err=yes 6853 fi 6854 if test -z "$ac_cpp_err"; then 6855 : 6856 else 6857 echo "$as_me: failed program was:" >&5 6858 sed 's/^/| /' conftest.$ac_ext >&5 6859 6860 # Broken: fails on valid input. 6861 continue 6862 fi 6863 6864 rm -f conftest.err conftest.$ac_ext 6865 6866 # OK, works on sane cases. Now check whether nonexistent headers 6867 # can be detected and how. 6868 cat >conftest.$ac_ext <<_ACEOF 6869 /* confdefs.h. */ 6870 _ACEOF 6871 cat confdefs.h >>conftest.$ac_ext 6872 cat >>conftest.$ac_ext <<_ACEOF 6873 /* end confdefs.h. */ 6874 #include <ac_nonexistent.h> 6875 _ACEOF 6876 if { (ac_try="$ac_cpp conftest.$ac_ext" 6877 case "(($ac_try" in 6878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6879 *) ac_try_echo=$ac_try;; 6880 esac 6881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6883 ac_status=$? 6884 grep -v '^ *+' conftest.er1 >conftest.err 6885 rm -f conftest.er1 6886 cat conftest.err >&5 6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6888 (exit $ac_status); } >/dev/null; then 6889 if test -s conftest.err; then 6890 ac_cpp_err=$ac_c_preproc_warn_flag 6891 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6892 else 6893 ac_cpp_err= 6894 fi 6895 else 6896 ac_cpp_err=yes 6897 fi 6898 if test -z "$ac_cpp_err"; then 6899 # Broken: success on invalid input. 6900 continue 6901 else 6902 echo "$as_me: failed program was:" >&5 6903 sed 's/^/| /' conftest.$ac_ext >&5 6904 6905 # Passes both tests. 6906 ac_preproc_ok=: 6907 break 6908 fi 6909 6910 rm -f conftest.err conftest.$ac_ext 6911 6912 done 6913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6914 rm -f conftest.err conftest.$ac_ext 6915 if $ac_preproc_ok; then 6916 break 6917 fi 6918 6919 done 6920 ac_cv_prog_CPP=$CPP 6921 6922 fi 6923 CPP=$ac_cv_prog_CPP 6924 else 6925 ac_cv_prog_CPP=$CPP 6926 fi 6927 { echo "$as_me:$LINENO: result: $CPP" >&5 6928 echo "${ECHO_T}$CPP" >&6; } 6929 ac_preproc_ok=false 6930 for ac_c_preproc_warn_flag in '' yes 6931 do 6932 # Use a header file that comes with gcc, so configuring glibc 6933 # with a fresh cross-compiler works. 6934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6935 # <limits.h> exists even on freestanding compilers. 6936 # On the NeXT, cc -E runs the code through the compiler's parser, 6937 # not just through cpp. "Syntax error" is here to catch this case. 6938 cat >conftest.$ac_ext <<_ACEOF 6939 /* confdefs.h. */ 6940 _ACEOF 6941 cat confdefs.h >>conftest.$ac_ext 6942 cat >>conftest.$ac_ext <<_ACEOF 6943 /* end confdefs.h. */ 6944 #ifdef __STDC__ 6945 # include <limits.h> 6946 #else 6947 # include <assert.h> 6948 #endif 6949 Syntax error 6950 _ACEOF 6951 if { (ac_try="$ac_cpp conftest.$ac_ext" 6952 case "(($ac_try" in 6953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6954 *) ac_try_echo=$ac_try;; 6955 esac 6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6958 ac_status=$? 6959 grep -v '^ *+' conftest.er1 >conftest.err 6960 rm -f conftest.er1 6961 cat conftest.err >&5 6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6963 (exit $ac_status); } >/dev/null; then 6964 if test -s conftest.err; then 6965 ac_cpp_err=$ac_c_preproc_warn_flag 6966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6967 else 6968 ac_cpp_err= 6969 fi 6970 else 6971 ac_cpp_err=yes 6972 fi 6973 if test -z "$ac_cpp_err"; then 6974 : 6975 else 6976 echo "$as_me: failed program was:" >&5 6977 sed 's/^/| /' conftest.$ac_ext >&5 6978 6979 # Broken: fails on valid input. 6980 continue 6981 fi 6982 6983 rm -f conftest.err conftest.$ac_ext 6984 6985 # OK, works on sane cases. Now check whether nonexistent headers 6986 # can be detected and how. 6987 cat >conftest.$ac_ext <<_ACEOF 6988 /* confdefs.h. */ 6989 _ACEOF 6990 cat confdefs.h >>conftest.$ac_ext 6991 cat >>conftest.$ac_ext <<_ACEOF 6992 /* end confdefs.h. */ 6993 #include <ac_nonexistent.h> 6994 _ACEOF 6995 if { (ac_try="$ac_cpp conftest.$ac_ext" 6996 case "(($ac_try" in 6997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6998 *) ac_try_echo=$ac_try;; 6999 esac 7000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7002 ac_status=$? 7003 grep -v '^ *+' conftest.er1 >conftest.err 7004 rm -f conftest.er1 7005 cat conftest.err >&5 7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7007 (exit $ac_status); } >/dev/null; then 7008 if test -s conftest.err; then 7009 ac_cpp_err=$ac_c_preproc_warn_flag 7010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7011 else 7012 ac_cpp_err= 7013 fi 7014 else 7015 ac_cpp_err=yes 7016 fi 7017 if test -z "$ac_cpp_err"; then 7018 # Broken: success on invalid input. 7019 continue 7020 else 7021 echo "$as_me: failed program was:" >&5 7022 sed 's/^/| /' conftest.$ac_ext >&5 7023 7024 # Passes both tests. 7025 ac_preproc_ok=: 7026 break 7027 fi 7028 7029 rm -f conftest.err conftest.$ac_ext 7030 7031 done 7032 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7033 rm -f conftest.err conftest.$ac_ext 7034 if $ac_preproc_ok; then 7035 : 7036 else 7037 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7038 See \`config.log' for more details." >&5 7039 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7040 See \`config.log' for more details." >&2;} 7041 { (exit 1); exit 1; }; } 7042 fi 7043 7044 ac_ext=c 7045 ac_cpp='$CPP $CPPFLAGS' 7046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7048 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7049 7050 7051 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 7052 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 7053 if test "${ac_cv_path_GREP+set}" = set; then 7054 echo $ECHO_N "(cached) $ECHO_C" >&6 7055 else 7056 # Extract the first word of "grep ggrep" to use in msg output 7057 if test -z "$GREP"; then 7058 set dummy grep ggrep; ac_prog_name=$2 7059 if test "${ac_cv_path_GREP+set}" = set; then 7060 echo $ECHO_N "(cached) $ECHO_C" >&6 7061 else 7062 ac_path_GREP_found=false 7063 # Loop through the user's path and test for each of PROGNAME-LIST 7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7065 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7066 do 7067 IFS=$as_save_IFS 7068 test -z "$as_dir" && as_dir=. 7069 for ac_prog in grep ggrep; do 7070 for ac_exec_ext in '' $ac_executable_extensions; do 7071 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 7072 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue 7073 # Check for GNU ac_path_GREP and select it if it is found. 7074 # Check for GNU $ac_path_GREP 7075 case `"$ac_path_GREP" --version 2>&1` in 7076 *GNU*) 7077 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 7078 *) 7079 ac_count=0 7080 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 7081 while : 7082 do 7083 cat "conftest.in" "conftest.in" >"conftest.tmp" 7084 mv "conftest.tmp" "conftest.in" 7085 cp "conftest.in" "conftest.nl" 7086 echo 'GREP' >> "conftest.nl" 7087 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7088 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7089 ac_count=`expr $ac_count + 1` 7090 if test $ac_count -gt ${ac_path_GREP_max-0}; then 7091 # Best one so far, save it but keep looking for a better one 7092 ac_cv_path_GREP="$ac_path_GREP" 7093 ac_path_GREP_max=$ac_count 7094 fi 7095 # 10*(2^10) chars as input seems more than enough 7096 test $ac_count -gt 10 && break 7097 done 7098 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7099 esac 7100 7101 7102 $ac_path_GREP_found && break 3 7103 done 7104 done 7105 7106 done 7107 IFS=$as_save_IFS 7108 7109 7110 fi 7111 7112 GREP="$ac_cv_path_GREP" 7113 if test -z "$GREP"; then 7114 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 7115 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 7116 { (exit 1); exit 1; }; } 7117 fi 7118 7119 else 7120 ac_cv_path_GREP=$GREP 7121 fi 7122 7123 7124 fi 7125 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 7126 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 7127 GREP="$ac_cv_path_GREP" 7128 7129 7130 { echo "$as_me:$LINENO: checking for egrep" >&5 7131 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 7132 if test "${ac_cv_path_EGREP+set}" = set; then 7133 echo $ECHO_N "(cached) $ECHO_C" >&6 7134 else 7135 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 7136 then ac_cv_path_EGREP="$GREP -E" 7137 else 7138 # Extract the first word of "egrep" to use in msg output 7139 if test -z "$EGREP"; then 7140 set dummy egrep; ac_prog_name=$2 7141 if test "${ac_cv_path_EGREP+set}" = set; then 7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7143 else 7144 ac_path_EGREP_found=false 7145 # Loop through the user's path and test for each of PROGNAME-LIST 7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7148 do 7149 IFS=$as_save_IFS 7150 test -z "$as_dir" && as_dir=. 7151 for ac_prog in egrep; do 7152 for ac_exec_ext in '' $ac_executable_extensions; do 7153 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 7154 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue 7155 # Check for GNU ac_path_EGREP and select it if it is found. 7156 # Check for GNU $ac_path_EGREP 7157 case `"$ac_path_EGREP" --version 2>&1` in 7158 *GNU*) 7159 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 7160 *) 7161 ac_count=0 7162 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 7163 while : 7164 do 7165 cat "conftest.in" "conftest.in" >"conftest.tmp" 7166 mv "conftest.tmp" "conftest.in" 7167 cp "conftest.in" "conftest.nl" 7168 echo 'EGREP' >> "conftest.nl" 7169 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7170 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7171 ac_count=`expr $ac_count + 1` 7172 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 7173 # Best one so far, save it but keep looking for a better one 7174 ac_cv_path_EGREP="$ac_path_EGREP" 7175 ac_path_EGREP_max=$ac_count 7176 fi 7177 # 10*(2^10) chars as input seems more than enough 7178 test $ac_count -gt 10 && break 7179 done 7180 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7181 esac 7182 7183 7184 $ac_path_EGREP_found && break 3 7185 done 7186 done 7187 7188 done 7189 IFS=$as_save_IFS 7190 7191 7192 fi 7193 7194 EGREP="$ac_cv_path_EGREP" 7195 if test -z "$EGREP"; then 7196 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 7197 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 7198 { (exit 1); exit 1; }; } 7199 fi 7200 7201 else 7202 ac_cv_path_EGREP=$EGREP 7203 fi 7204 7205 7206 fi 7207 fi 7208 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 7209 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 7210 EGREP="$ac_cv_path_EGREP" 7211 7212 7213 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7214 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 7215 if test "${ac_cv_header_stdc+set}" = set; then 7216 echo $ECHO_N "(cached) $ECHO_C" >&6 7217 else 7218 cat >conftest.$ac_ext <<_ACEOF 7219 /* confdefs.h. */ 7220 _ACEOF 7221 cat confdefs.h >>conftest.$ac_ext 7222 cat >>conftest.$ac_ext <<_ACEOF 7223 /* end confdefs.h. */ 7224 #include <stdlib.h> 7225 #include <stdarg.h> 7226 #include <string.h> 7227 #include <float.h> 7228 7229 int 7230 main () 7231 { 7232 7233 ; 7234 return 0; 7235 } 7236 _ACEOF 7237 rm -f conftest.$ac_objext 7238 if { (ac_try="$ac_compile" 7239 case "(($ac_try" in 7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7241 *) ac_try_echo=$ac_try;; 7242 esac 7243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7244 (eval "$ac_compile") 2>conftest.er1 7245 ac_status=$? 7246 grep -v '^ *+' conftest.er1 >conftest.err 7247 rm -f conftest.er1 7248 cat conftest.err >&5 7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7250 (exit $ac_status); } && 7251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7252 { (case "(($ac_try" in 7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7254 *) ac_try_echo=$ac_try;; 7255 esac 7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7257 (eval "$ac_try") 2>&5 7258 ac_status=$? 7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7260 (exit $ac_status); }; } && 7261 { ac_try='test -s conftest.$ac_objext' 7262 { (case "(($ac_try" in 7263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7264 *) ac_try_echo=$ac_try;; 7265 esac 7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7267 (eval "$ac_try") 2>&5 7268 ac_status=$? 7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7270 (exit $ac_status); }; }; then 7271 ac_cv_header_stdc=yes 7272 else 7273 echo "$as_me: failed program was:" >&5 7274 sed 's/^/| /' conftest.$ac_ext >&5 7275 7276 ac_cv_header_stdc=no 7277 fi 7278 7279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7280 7281 if test $ac_cv_header_stdc = yes; then 7282 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7283 cat >conftest.$ac_ext <<_ACEOF 7284 /* confdefs.h. */ 7285 _ACEOF 7286 cat confdefs.h >>conftest.$ac_ext 7287 cat >>conftest.$ac_ext <<_ACEOF 7288 /* end confdefs.h. */ 7289 #include <string.h> 7290 7291 _ACEOF 7292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7293 $EGREP "memchr" >/dev/null 2>&1; then 7294 : 7295 else 7296 ac_cv_header_stdc=no 7297 fi 7298 rm -f conftest* 7299 7300 fi 7301 7302 if test $ac_cv_header_stdc = yes; then 7303 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7304 cat >conftest.$ac_ext <<_ACEOF 7305 /* confdefs.h. */ 7306 _ACEOF 7307 cat confdefs.h >>conftest.$ac_ext 7308 cat >>conftest.$ac_ext <<_ACEOF 7309 /* end confdefs.h. */ 7310 #include <stdlib.h> 7311 7312 _ACEOF 7313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7314 $EGREP "free" >/dev/null 2>&1; then 7315 : 7316 else 7317 ac_cv_header_stdc=no 7318 fi 7319 rm -f conftest* 7320 7321 fi 7322 7323 if test $ac_cv_header_stdc = yes; then 7324 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7325 if test "$cross_compiling" = yes; then 7326 : 7327 else 7328 cat >conftest.$ac_ext <<_ACEOF 7329 /* confdefs.h. */ 7330 _ACEOF 7331 cat confdefs.h >>conftest.$ac_ext 7332 cat >>conftest.$ac_ext <<_ACEOF 7333 /* end confdefs.h. */ 7334 #include <ctype.h> 7335 #include <stdlib.h> 7336 #if ((' ' & 0x0FF) == 0x020) 7337 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7338 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7339 #else 7340 # define ISLOWER(c) \ 7341 (('a' <= (c) && (c) <= 'i') \ 7342 || ('j' <= (c) && (c) <= 'r') \ 7343 || ('s' <= (c) && (c) <= 'z')) 7344 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7345 #endif 7346 7347 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7348 int 7349 main () 7350 { 7351 int i; 7352 for (i = 0; i < 256; i++) 7353 if (XOR (islower (i), ISLOWER (i)) 7354 || toupper (i) != TOUPPER (i)) 7355 return 2; 7356 return 0; 7357 } 7358 _ACEOF 7359 rm -f conftest$ac_exeext 7360 if { (ac_try="$ac_link" 7361 case "(($ac_try" in 7362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7363 *) ac_try_echo=$ac_try;; 7364 esac 7365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7366 (eval "$ac_link") 2>&5 7367 ac_status=$? 7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7370 { (case "(($ac_try" in 7371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7372 *) ac_try_echo=$ac_try;; 7373 esac 7374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7375 (eval "$ac_try") 2>&5 7376 ac_status=$? 7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7378 (exit $ac_status); }; }; then 7379 : 7380 else 7381 echo "$as_me: program exited with status $ac_status" >&5 7382 echo "$as_me: failed program was:" >&5 7383 sed 's/^/| /' conftest.$ac_ext >&5 7384 7385 ( exit $ac_status ) 7386 ac_cv_header_stdc=no 7387 fi 7388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7389 fi 7390 7391 7392 fi 7393 fi 7394 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7395 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 7396 if test $ac_cv_header_stdc = yes; then 7397 7398 cat >>confdefs.h <<\_ACEOF 7399 #define STDC_HEADERS 1 7400 _ACEOF 7401 7402 fi 7403 7404 if test x$alsamixer = xtrue; then 7405 7406 # Check whether --with-curses was given. 7407 if test "${with_curses+set}" = set; then 7408 withval=$with_curses; curseslib="$withval" 7409 else 7410 curseslib="auto" 7411 fi 7412 7413 if test "$curseslib" = "ncursesw"; then 7414 # Extract the first word of "ncursesw5-config", so it can be a program name with args. 7415 set dummy ncursesw5-config; ac_word=$2 7416 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7418 if test "${ac_cv_prog_ncursesw5_config+set}" = set; then 7419 echo $ECHO_N "(cached) $ECHO_C" >&6 7420 else 7421 if test -n "$ncursesw5_config"; then 7422 ac_cv_prog_ncursesw5_config="$ncursesw5_config" # Let the user override the test. 7423 else 7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7425 for as_dir in $PATH 7426 do 7427 IFS=$as_save_IFS 7428 test -z "$as_dir" && as_dir=. 7429 for ac_exec_ext in '' $ac_executable_extensions; do 7430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7431 ac_cv_prog_ncursesw5_config="yes" 7432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7433 break 2 7434 fi 7435 done 7436 done 7437 IFS=$as_save_IFS 7438 7439 fi 7440 fi 7441 ncursesw5_config=$ac_cv_prog_ncursesw5_config 7442 if test -n "$ncursesw5_config"; then 7443 { echo "$as_me:$LINENO: result: $ncursesw5_config" >&5 7444 echo "${ECHO_T}$ncursesw5_config" >&6; } 7445 else 7446 { echo "$as_me:$LINENO: result: no" >&5 7447 echo "${ECHO_T}no" >&6; } 7448 fi 7449 7450 7451 if test "$ncursesw5_config" = "yes"; then 7452 CURSESINC="<ncurses.h>" 7453 CURSESLIB=`ncursesw5-config --libs` 7454 CURSES_CFLAGS=`ncursesw5-config --cflags` 7455 curseslib="ncursesw" 7456 else 7457 { echo "$as_me:$LINENO: checking for initscr in -lncursesw" >&5 7458 echo $ECHO_N "checking for initscr in -lncursesw... $ECHO_C" >&6; } 7459 if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then 7460 echo $ECHO_N "(cached) $ECHO_C" >&6 7461 else 7462 ac_check_lib_save_LIBS=$LIBS 7463 LIBS="-lncursesw $LIBS" 7464 cat >conftest.$ac_ext <<_ACEOF 7465 /* confdefs.h. */ 7466 _ACEOF 7467 cat confdefs.h >>conftest.$ac_ext 7468 cat >>conftest.$ac_ext <<_ACEOF 7469 /* end confdefs.h. */ 7470 7471 /* Override any GCC internal prototype to avoid an error. 7472 Use char because int might match the return type of a GCC 7473 builtin and then its argument prototype would still apply. */ 7474 #ifdef __cplusplus 7475 extern "C" 7476 #endif 7477 char initscr (); 7478 int 7479 main () 7480 { 7481 return initscr (); 7482 ; 7483 return 0; 7484 } 7485 _ACEOF 7486 rm -f conftest.$ac_objext conftest$ac_exeext 7487 if { (ac_try="$ac_link" 7488 case "(($ac_try" in 7489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7490 *) ac_try_echo=$ac_try;; 7491 esac 7492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7493 (eval "$ac_link") 2>conftest.er1 7494 ac_status=$? 7495 grep -v '^ *+' conftest.er1 >conftest.err 7496 rm -f conftest.er1 7497 cat conftest.err >&5 7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7499 (exit $ac_status); } && 7500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7501 { (case "(($ac_try" in 7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7503 *) ac_try_echo=$ac_try;; 7504 esac 7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7506 (eval "$ac_try") 2>&5 7507 ac_status=$? 7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7509 (exit $ac_status); }; } && 7510 { ac_try='test -s conftest$ac_exeext' 7511 { (case "(($ac_try" in 7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7513 *) ac_try_echo=$ac_try;; 7514 esac 7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7516 (eval "$ac_try") 2>&5 7517 ac_status=$? 7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7519 (exit $ac_status); }; }; then 7520 ac_cv_lib_ncursesw_initscr=yes 7521 else 7522 echo "$as_me: failed program was:" >&5 7523 sed 's/^/| /' conftest.$ac_ext >&5 7524 7525 ac_cv_lib_ncursesw_initscr=no 7526 fi 7527 7528 rm -f core conftest.err conftest.$ac_objext \ 7529 conftest$ac_exeext conftest.$ac_ext 7530 LIBS=$ac_check_lib_save_LIBS 7531 fi 7532 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_initscr" >&5 7533 echo "${ECHO_T}$ac_cv_lib_ncursesw_initscr" >&6; } 7534 if test $ac_cv_lib_ncursesw_initscr = yes; then 7535 CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw" 7536 fi 7537 7538 fi 7539 fi 7540 if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then 7541 # Extract the first word of "ncurses5-config", so it can be a program name with args. 7542 set dummy ncurses5-config; ac_word=$2 7543 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7545 if test "${ac_cv_prog_ncurses5_config+set}" = set; then 7546 echo $ECHO_N "(cached) $ECHO_C" >&6 7547 else 7548 if test -n "$ncurses5_config"; then 7549 ac_cv_prog_ncurses5_config="$ncurses5_config" # Let the user override the test. 7550 else 7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7552 for as_dir in $PATH 7553 do 7554 IFS=$as_save_IFS 7555 test -z "$as_dir" && as_dir=. 7556 for ac_exec_ext in '' $ac_executable_extensions; do 7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7558 ac_cv_prog_ncurses5_config="yes" 7559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7560 break 2 7561 fi 7562 done 7563 done 7564 IFS=$as_save_IFS 7565 7566 fi 7567 fi 7568 ncurses5_config=$ac_cv_prog_ncurses5_config 7569 if test -n "$ncurses5_config"; then 7570 { echo "$as_me:$LINENO: result: $ncurses5_config" >&5 7571 echo "${ECHO_T}$ncurses5_config" >&6; } 7572 else 7573 { echo "$as_me:$LINENO: result: no" >&5 7574 echo "${ECHO_T}no" >&6; } 7575 fi 7576 7577 7578 if test "$ncurses5_config" = "yes"; then 7579 CURSESINC="<ncurses.h>" 7580 CURSESLIB=`ncurses5-config --libs` 7581 CURSES_CFLAGS=`ncurses5-config --cflags` 7582 curseslib="ncurses" 7583 else 7584 { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 7585 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; } 7586 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then 7587 echo $ECHO_N "(cached) $ECHO_C" >&6 7588 else 7589 ac_check_lib_save_LIBS=$LIBS 7590 LIBS="-lncurses $LIBS" 7591 cat >conftest.$ac_ext <<_ACEOF 7592 /* confdefs.h. */ 7593 _ACEOF 7594 cat confdefs.h >>conftest.$ac_ext 7595 cat >>conftest.$ac_ext <<_ACEOF 7596 /* end confdefs.h. */ 7597 7598 /* Override any GCC internal prototype to avoid an error. 7599 Use char because int might match the return type of a GCC 7600 builtin and then its argument prototype would still apply. */ 7601 #ifdef __cplusplus 7602 extern "C" 7603 #endif 7604 char initscr (); 7605 int 7606 main () 7607 { 7608 return initscr (); 7609 ; 7610 return 0; 7611 } 7612 _ACEOF 7613 rm -f conftest.$ac_objext conftest$ac_exeext 7614 if { (ac_try="$ac_link" 7615 case "(($ac_try" in 7616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7617 *) ac_try_echo=$ac_try;; 7618 esac 7619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7620 (eval "$ac_link") 2>conftest.er1 7621 ac_status=$? 7622 grep -v '^ *+' conftest.er1 >conftest.err 7623 rm -f conftest.er1 7624 cat conftest.err >&5 7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7626 (exit $ac_status); } && 7627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7628 { (case "(($ac_try" in 7629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7630 *) ac_try_echo=$ac_try;; 7631 esac 7632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7633 (eval "$ac_try") 2>&5 7634 ac_status=$? 7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7636 (exit $ac_status); }; } && 7637 { ac_try='test -s conftest$ac_exeext' 7638 { (case "(($ac_try" in 7639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7640 *) ac_try_echo=$ac_try;; 7641 esac 7642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7643 (eval "$ac_try") 2>&5 7644 ac_status=$? 7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7646 (exit $ac_status); }; }; then 7647 ac_cv_lib_ncurses_initscr=yes 7648 else 7649 echo "$as_me: failed program was:" >&5 7650 sed 's/^/| /' conftest.$ac_ext >&5 7651 7652 ac_cv_lib_ncurses_initscr=no 7653 fi 7654 7655 rm -f core conftest.err conftest.$ac_objext \ 7656 conftest$ac_exeext conftest.$ac_ext 7657 LIBS=$ac_check_lib_save_LIBS 7658 fi 7659 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 7660 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; } 7661 if test $ac_cv_lib_ncurses_initscr = yes; then 7662 CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses" 7663 fi 7664 7665 fi 7666 fi 7667 if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then 7668 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5 7669 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; } 7670 if test "${ac_cv_lib_curses_initscr+set}" = set; then 7671 echo $ECHO_N "(cached) $ECHO_C" >&6 7672 else 7673 ac_check_lib_save_LIBS=$LIBS 7674 LIBS="-lcurses $LIBS" 7675 cat >conftest.$ac_ext <<_ACEOF 7676 /* confdefs.h. */ 7677 _ACEOF 7678 cat confdefs.h >>conftest.$ac_ext 7679 cat >>conftest.$ac_ext <<_ACEOF 7680 /* end confdefs.h. */ 7681 7682 /* Override any GCC internal prototype to avoid an error. 7683 Use char because int might match the return type of a GCC 7684 builtin and then its argument prototype would still apply. */ 7685 #ifdef __cplusplus 7686 extern "C" 7687 #endif 7688 char initscr (); 7689 int 7690 main () 7691 { 7692 return initscr (); 7693 ; 7694 return 0; 7695 } 7696 _ACEOF 7697 rm -f conftest.$ac_objext conftest$ac_exeext 7698 if { (ac_try="$ac_link" 7699 case "(($ac_try" in 7700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7701 *) ac_try_echo=$ac_try;; 7702 esac 7703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7704 (eval "$ac_link") 2>conftest.er1 7705 ac_status=$? 7706 grep -v '^ *+' conftest.er1 >conftest.err 7707 rm -f conftest.er1 7708 cat conftest.err >&5 7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7710 (exit $ac_status); } && 7711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7712 { (case "(($ac_try" in 7713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7714 *) ac_try_echo=$ac_try;; 7715 esac 7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7717 (eval "$ac_try") 2>&5 7718 ac_status=$? 7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7720 (exit $ac_status); }; } && 7721 { ac_try='test -s conftest$ac_exeext' 7722 { (case "(($ac_try" in 7723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7724 *) ac_try_echo=$ac_try;; 7725 esac 7726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7727 (eval "$ac_try") 2>&5 7728 ac_status=$? 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7730 (exit $ac_status); }; }; then 7731 ac_cv_lib_curses_initscr=yes 7732 else 7733 echo "$as_me: failed program was:" >&5 7734 sed 's/^/| /' conftest.$ac_ext >&5 7735 7736 ac_cv_lib_curses_initscr=no 7737 fi 7738 7739 rm -f core conftest.err conftest.$ac_objext \ 7740 conftest$ac_exeext conftest.$ac_ext 7741 LIBS=$ac_check_lib_save_LIBS 7742 fi 7743 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5 7744 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; } 7745 if test $ac_cv_lib_curses_initscr = yes; then 7746 CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; curseslib="curses" 7747 fi 7748 7749 fi 7750 if test -z "$CURSESINC"; then 7751 { { echo "$as_me:$LINENO: error: this packages requires a curses library" >&5 7752 echo "$as_me: error: this packages requires a curses library" >&2;} 7753 { (exit 1); exit 1; }; } 7754 fi 7755 fi 7756 7757 7758 7759 7760 7761 test "x$prefix" = xNONE && prefix=$ac_default_prefix 7762 7763 eval dir="$datadir" 7764 case "$dir" in 7765 /*) ;; 7766 *) dir="$prefix/share" 7767 esac 7768 7769 soundsdir="$dir/sounds/alsa" 7770 7771 cat >>confdefs.h <<_ACEOF 7772 #define SOUNDSDIR "$soundsdir" 7773 _ACEOF 7774 7775 7776 mydatadir="$dir/alsa" 7777 7778 cat >>confdefs.h <<_ACEOF 7779 #define DATADIR "$mydatadir" 7780 _ACEOF 7781 7782 7783 7784 # Check whether --with-testsound was given. 7785 if test "${with_testsound+set}" = set; then 7786 withval=$with_testsound; TESTSOUND="$withval" 7787 else 7788 TESTSOUND="$dir/test.wav" 7789 fi 7790 7791 7792 7793 ac_config_headers="$ac_config_headers include/aconfig.h" 7794 7795 7796 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7797 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 7798 if test "${ac_cv_c_const+set}" = set; then 7799 echo $ECHO_N "(cached) $ECHO_C" >&6 7800 else 7801 cat >conftest.$ac_ext <<_ACEOF 7802 /* confdefs.h. */ 7803 _ACEOF 7804 cat confdefs.h >>conftest.$ac_ext 7805 cat >>conftest.$ac_ext <<_ACEOF 7806 /* end confdefs.h. */ 7807 7808 int 7809 main () 7810 { 7811 /* FIXME: Include the comments suggested by Paul. */ 7812 #ifndef __cplusplus 7813 /* Ultrix mips cc rejects this. */ 7814 typedef int charset[2]; 7815 const charset x; 7816 /* SunOS 4.1.1 cc rejects this. */ 7817 char const *const *ccp; 7818 char **p; 7819 /* NEC SVR4.0.2 mips cc rejects this. */ 7820 struct point {int x, y;}; 7821 static struct point const zero = {0,0}; 7822 /* AIX XL C 1.02.0.0 rejects this. 7823 It does not let you subtract one const X* pointer from another in 7824 an arm of an if-expression whose if-part is not a constant 7825 expression */ 7826 const char *g = "string"; 7827 ccp = &g + (g ? g-g : 0); 7828 /* HPUX 7.0 cc rejects these. */ 7829 ++ccp; 7830 p = (char**) ccp; 7831 ccp = (char const *const *) p; 7832 { /* SCO 3.2v4 cc rejects this. */ 7833 char *t; 7834 char const *s = 0 ? (char *) 0 : (char const *) 0; 7835 7836 *t++ = 0; 7837 if (s) return 0; 7838 } 7839 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 7840 int x[] = {25, 17}; 7841 const int *foo = &x[0]; 7842 ++foo; 7843 } 7844 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7845 typedef const int *iptr; 7846 iptr p = 0; 7847 ++p; 7848 } 7849 { /* AIX XL C 1.02.0.0 rejects this saying 7850 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7851 struct s { int j; const int *ap[3]; }; 7852 struct s *b; b->j = 5; 7853 } 7854 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7855 const int foo = 10; 7856 if (!foo) return 0; 7857 } 7858 return !x[0] && !zero.x; 7859 #endif 7860 7861 ; 7862 return 0; 7863 } 7864 _ACEOF 7865 rm -f conftest.$ac_objext 7866 if { (ac_try="$ac_compile" 7867 case "(($ac_try" in 7868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7869 *) ac_try_echo=$ac_try;; 7870 esac 7871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7872 (eval "$ac_compile") 2>conftest.er1 7873 ac_status=$? 7874 grep -v '^ *+' conftest.er1 >conftest.err 7875 rm -f conftest.er1 7876 cat conftest.err >&5 7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7878 (exit $ac_status); } && 7879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7880 { (case "(($ac_try" in 7881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7882 *) ac_try_echo=$ac_try;; 7883 esac 7884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7885 (eval "$ac_try") 2>&5 7886 ac_status=$? 7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7888 (exit $ac_status); }; } && 7889 { ac_try='test -s conftest.$ac_objext' 7890 { (case "(($ac_try" in 7891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7892 *) ac_try_echo=$ac_try;; 7893 esac 7894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7895 (eval "$ac_try") 2>&5 7896 ac_status=$? 7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7898 (exit $ac_status); }; }; then 7899 ac_cv_c_const=yes 7900 else 7901 echo "$as_me: failed program was:" >&5 7902 sed 's/^/| /' conftest.$ac_ext >&5 7903 7904 ac_cv_c_const=no 7905 fi 7906 7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7908 fi 7909 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7910 echo "${ECHO_T}$ac_cv_c_const" >&6; } 7911 if test $ac_cv_c_const = no; then 7912 7913 cat >>confdefs.h <<\_ACEOF 7914 #define const 7915 _ACEOF 7916 7917 fi 7918 7919 { echo "$as_me:$LINENO: checking for inline" >&5 7920 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 7921 if test "${ac_cv_c_inline+set}" = set; then 7922 echo $ECHO_N "(cached) $ECHO_C" >&6 7923 else 7924 ac_cv_c_inline=no 7925 for ac_kw in inline __inline__ __inline; do 7926 cat >conftest.$ac_ext <<_ACEOF 7927 /* confdefs.h. */ 7928 _ACEOF 7929 cat confdefs.h >>conftest.$ac_ext 7930 cat >>conftest.$ac_ext <<_ACEOF 7931 /* end confdefs.h. */ 7932 #ifndef __cplusplus 7933 typedef int foo_t; 7934 static $ac_kw foo_t static_foo () {return 0; } 7935 $ac_kw foo_t foo () {return 0; } 7936 #endif 7937 7938 _ACEOF 7939 rm -f conftest.$ac_objext 7940 if { (ac_try="$ac_compile" 7941 case "(($ac_try" in 7942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7943 *) ac_try_echo=$ac_try;; 7944 esac 7945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7946 (eval "$ac_compile") 2>conftest.er1 7947 ac_status=$? 7948 grep -v '^ *+' conftest.er1 >conftest.err 7949 rm -f conftest.er1 7950 cat conftest.err >&5 7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7952 (exit $ac_status); } && 7953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7954 { (case "(($ac_try" in 7955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7956 *) ac_try_echo=$ac_try;; 7957 esac 7958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7959 (eval "$ac_try") 2>&5 7960 ac_status=$? 7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7962 (exit $ac_status); }; } && 7963 { ac_try='test -s conftest.$ac_objext' 7964 { (case "(($ac_try" in 7965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7966 *) ac_try_echo=$ac_try;; 7967 esac 7968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7969 (eval "$ac_try") 2>&5 7970 ac_status=$? 7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7972 (exit $ac_status); }; }; then 7973 ac_cv_c_inline=$ac_kw 7974 else 7975 echo "$as_me: failed program was:" >&5 7976 sed 's/^/| /' conftest.$ac_ext >&5 7977 7978 7979 fi 7980 7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7982 test "$ac_cv_c_inline" != no && break 7983 done 7984 7985 fi 7986 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 7987 echo "${ECHO_T}$ac_cv_c_inline" >&6; } 7988 7989 7990 case $ac_cv_c_inline in 7991 inline | yes) ;; 7992 *) 7993 case $ac_cv_c_inline in 7994 no) ac_val=;; 7995 *) ac_val=$ac_cv_c_inline;; 7996 esac 7997 cat >>confdefs.h <<_ACEOF 7998 #ifndef __cplusplus 7999 #define inline $ac_val 8000 #endif 8001 _ACEOF 8002 ;; 8003 esac 8004 8005 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 8006 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 8007 if test "${ac_cv_header_time+set}" = set; then 8008 echo $ECHO_N "(cached) $ECHO_C" >&6 8009 else 8010 cat >conftest.$ac_ext <<_ACEOF 8011 /* confdefs.h. */ 8012 _ACEOF 8013 cat confdefs.h >>conftest.$ac_ext 8014 cat >>conftest.$ac_ext <<_ACEOF 8015 /* end confdefs.h. */ 8016 #include <sys/types.h> 8017 #include <sys/time.h> 8018 #include <time.h> 8019 8020 int 8021 main () 8022 { 8023 if ((struct tm *) 0) 8024 return 0; 8025 ; 8026 return 0; 8027 } 8028 _ACEOF 8029 rm -f conftest.$ac_objext 8030 if { (ac_try="$ac_compile" 8031 case "(($ac_try" in 8032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8033 *) ac_try_echo=$ac_try;; 8034 esac 8035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8036 (eval "$ac_compile") 2>conftest.er1 8037 ac_status=$? 8038 grep -v '^ *+' conftest.er1 >conftest.err 8039 rm -f conftest.er1 8040 cat conftest.err >&5 8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8042 (exit $ac_status); } && 8043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8044 { (case "(($ac_try" in 8045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8046 *) ac_try_echo=$ac_try;; 8047 esac 8048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8049 (eval "$ac_try") 2>&5 8050 ac_status=$? 8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8052 (exit $ac_status); }; } && 8053 { ac_try='test -s conftest.$ac_objext' 8054 { (case "(($ac_try" in 8055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8056 *) ac_try_echo=$ac_try;; 8057 esac 8058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8059 (eval "$ac_try") 2>&5 8060 ac_status=$? 8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8062 (exit $ac_status); }; }; then 8063 ac_cv_header_time=yes 8064 else 8065 echo "$as_me: failed program was:" >&5 8066 sed 's/^/| /' conftest.$ac_ext >&5 8067 8068 ac_cv_header_time=no 8069 fi 8070 8071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8072 fi 8073 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 8074 echo "${ECHO_T}$ac_cv_header_time" >&6; } 8075 if test $ac_cv_header_time = yes; then 8076 8077 cat >>confdefs.h <<\_ACEOF 8078 #define TIME_WITH_SYS_TIME 1 8079 _ACEOF 8080 8081 fi 8082 8083 8084 if test $ac_cv_c_compiler_gnu = yes; then 8085 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 8086 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } 8087 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 8088 echo $ECHO_N "(cached) $ECHO_C" >&6 8089 else 8090 ac_pattern="Autoconf.*'x'" 8091 cat >conftest.$ac_ext <<_ACEOF 8092 /* confdefs.h. */ 8093 _ACEOF 8094 cat confdefs.h >>conftest.$ac_ext 8095 cat >>conftest.$ac_ext <<_ACEOF 8096 /* end confdefs.h. */ 8097 #include <sgtty.h> 8098 Autoconf TIOCGETP 8099 _ACEOF 8100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8101 $EGREP "$ac_pattern" >/dev/null 2>&1; then 8102 ac_cv_prog_gcc_traditional=yes 8103 else 8104 ac_cv_prog_gcc_traditional=no 8105 fi 8106 rm -f conftest* 8107 8108 8109 if test $ac_cv_prog_gcc_traditional = no; then 8110 cat >conftest.$ac_ext <<_ACEOF 8111 /* confdefs.h. */ 8112 _ACEOF 8113 cat confdefs.h >>conftest.$ac_ext 8114 cat >>conftest.$ac_ext <<_ACEOF 8115 /* end confdefs.h. */ 8116 #include <termio.h> 8117 Autoconf TCGETA 8118 _ACEOF 8119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8120 $EGREP "$ac_pattern" >/dev/null 2>&1; then 8121 ac_cv_prog_gcc_traditional=yes 8122 fi 8123 rm -f conftest* 8124 8125 fi 8126 fi 8127 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 8128 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } 8129 if test $ac_cv_prog_gcc_traditional = yes; then 8130 CC="$CC -traditional" 8131 fi 8132 fi 8133 8134 8135 # Check whether --enable-largefile was given. 8136 if test "${enable_largefile+set}" = set; then 8137 enableval=$enable_largefile; 8138 fi 8139 8140 if test "$enable_largefile" != no; then 8141 8142 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 8143 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } 8144 if test "${ac_cv_sys_largefile_CC+set}" = set; then 8145 echo $ECHO_N "(cached) $ECHO_C" >&6 8146 else 8147 ac_cv_sys_largefile_CC=no 8148 if test "$GCC" != yes; then 8149 ac_save_CC=$CC 8150 while :; do 8151 # IRIX 6.2 and later do not support large files by default, 8152 # so use the C compiler's -n32 option if that helps. 8153 cat >conftest.$ac_ext <<_ACEOF 8154 /* confdefs.h. */ 8155 _ACEOF 8156 cat confdefs.h >>conftest.$ac_ext 8157 cat >>conftest.$ac_ext <<_ACEOF 8158 /* end confdefs.h. */ 8159 #include <sys/types.h> 8160 /* Check that off_t can represent 2**63 - 1 correctly. 8161 We can't simply define LARGE_OFF_T to be 9223372036854775807, 8162 since some C++ compilers masquerading as C compilers 8163 incorrectly reject 9223372036854775807. */ 8164 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8165 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8166 && LARGE_OFF_T % 2147483647 == 1) 8167 ? 1 : -1]; 8168 int 8169 main () 8170 { 8171 8172 ; 8173 return 0; 8174 } 8175 _ACEOF 8176 rm -f conftest.$ac_objext 8177 if { (ac_try="$ac_compile" 8178 case "(($ac_try" in 8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8180 *) ac_try_echo=$ac_try;; 8181 esac 8182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8183 (eval "$ac_compile") 2>conftest.er1 8184 ac_status=$? 8185 grep -v '^ *+' conftest.er1 >conftest.err 8186 rm -f conftest.er1 8187 cat conftest.err >&5 8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8189 (exit $ac_status); } && 8190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8191 { (case "(($ac_try" in 8192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8193 *) ac_try_echo=$ac_try;; 8194 esac 8195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8196 (eval "$ac_try") 2>&5 8197 ac_status=$? 8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8199 (exit $ac_status); }; } && 8200 { ac_try='test -s conftest.$ac_objext' 8201 { (case "(($ac_try" in 8202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8203 *) ac_try_echo=$ac_try;; 8204 esac 8205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8206 (eval "$ac_try") 2>&5 8207 ac_status=$? 8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8209 (exit $ac_status); }; }; then 8210 break 8211 else 8212 echo "$as_me: failed program was:" >&5 8213 sed 's/^/| /' conftest.$ac_ext >&5 8214 8215 8216 fi 8217 8218 rm -f core conftest.err conftest.$ac_objext 8219 CC="$CC -n32" 8220 rm -f conftest.$ac_objext 8221 if { (ac_try="$ac_compile" 8222 case "(($ac_try" in 8223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8224 *) ac_try_echo=$ac_try;; 8225 esac 8226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8227 (eval "$ac_compile") 2>conftest.er1 8228 ac_status=$? 8229 grep -v '^ *+' conftest.er1 >conftest.err 8230 rm -f conftest.er1 8231 cat conftest.err >&5 8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8233 (exit $ac_status); } && 8234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8235 { (case "(($ac_try" in 8236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8237 *) ac_try_echo=$ac_try;; 8238 esac 8239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8240 (eval "$ac_try") 2>&5 8241 ac_status=$? 8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8243 (exit $ac_status); }; } && 8244 { ac_try='test -s conftest.$ac_objext' 8245 { (case "(($ac_try" in 8246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8247 *) ac_try_echo=$ac_try;; 8248 esac 8249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8250 (eval "$ac_try") 2>&5 8251 ac_status=$? 8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8253 (exit $ac_status); }; }; then 8254 ac_cv_sys_largefile_CC=' -n32'; break 8255 else 8256 echo "$as_me: failed program was:" >&5 8257 sed 's/^/| /' conftest.$ac_ext >&5 8258 8259 8260 fi 8261 8262 rm -f core conftest.err conftest.$ac_objext 8263 break 8264 done 8265 CC=$ac_save_CC 8266 rm -f conftest.$ac_ext 8267 fi 8268 fi 8269 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 8270 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } 8271 if test "$ac_cv_sys_largefile_CC" != no; then 8272 CC=$CC$ac_cv_sys_largefile_CC 8273 fi 8274 8275 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 8276 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } 8277 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 8278 echo $ECHO_N "(cached) $ECHO_C" >&6 8279 else 8280 while :; do 8281 ac_cv_sys_file_offset_bits=no 8282 cat >conftest.$ac_ext <<_ACEOF 8283 /* confdefs.h. */ 8284 _ACEOF 8285 cat confdefs.h >>conftest.$ac_ext 8286 cat >>conftest.$ac_ext <<_ACEOF 8287 /* end confdefs.h. */ 8288 #include <sys/types.h> 8289 /* Check that off_t can represent 2**63 - 1 correctly. 8290 We can't simply define LARGE_OFF_T to be 9223372036854775807, 8291 since some C++ compilers masquerading as C compilers 8292 incorrectly reject 9223372036854775807. */ 8293 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8295 && LARGE_OFF_T % 2147483647 == 1) 8296 ? 1 : -1]; 8297 int 8298 main () 8299 { 8300 8301 ; 8302 return 0; 8303 } 8304 _ACEOF 8305 rm -f conftest.$ac_objext 8306 if { (ac_try="$ac_compile" 8307 case "(($ac_try" in 8308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8309 *) ac_try_echo=$ac_try;; 8310 esac 8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8312 (eval "$ac_compile") 2>conftest.er1 8313 ac_status=$? 8314 grep -v '^ *+' conftest.er1 >conftest.err 8315 rm -f conftest.er1 8316 cat conftest.err >&5 8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8318 (exit $ac_status); } && 8319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8320 { (case "(($ac_try" in 8321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8322 *) ac_try_echo=$ac_try;; 8323 esac 8324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8325 (eval "$ac_try") 2>&5 8326 ac_status=$? 8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8328 (exit $ac_status); }; } && 8329 { ac_try='test -s conftest.$ac_objext' 8330 { (case "(($ac_try" in 8331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8332 *) ac_try_echo=$ac_try;; 8333 esac 8334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8335 (eval "$ac_try") 2>&5 8336 ac_status=$? 8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8338 (exit $ac_status); }; }; then 8339 break 8340 else 8341 echo "$as_me: failed program was:" >&5 8342 sed 's/^/| /' conftest.$ac_ext >&5 8343 8344 8345 fi 8346 8347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8348 cat >conftest.$ac_ext <<_ACEOF 8349 /* confdefs.h. */ 8350 _ACEOF 8351 cat confdefs.h >>conftest.$ac_ext 8352 cat >>conftest.$ac_ext <<_ACEOF 8353 /* end confdefs.h. */ 8354 #define _FILE_OFFSET_BITS 64 8355 #include <sys/types.h> 8356 /* Check that off_t can represent 2**63 - 1 correctly. 8357 We can't simply define LARGE_OFF_T to be 9223372036854775807, 8358 since some C++ compilers masquerading as C compilers 8359 incorrectly reject 9223372036854775807. */ 8360 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8362 && LARGE_OFF_T % 2147483647 == 1) 8363 ? 1 : -1]; 8364 int 8365 main () 8366 { 8367 8368 ; 8369 return 0; 8370 } 8371 _ACEOF 8372 rm -f conftest.$ac_objext 8373 if { (ac_try="$ac_compile" 8374 case "(($ac_try" in 8375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8376 *) ac_try_echo=$ac_try;; 8377 esac 8378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8379 (eval "$ac_compile") 2>conftest.er1 8380 ac_status=$? 8381 grep -v '^ *+' conftest.er1 >conftest.err 8382 rm -f conftest.er1 8383 cat conftest.err >&5 8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8385 (exit $ac_status); } && 8386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8387 { (case "(($ac_try" in 8388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8389 *) ac_try_echo=$ac_try;; 8390 esac 8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8392 (eval "$ac_try") 2>&5 8393 ac_status=$? 8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8395 (exit $ac_status); }; } && 8396 { ac_try='test -s conftest.$ac_objext' 8397 { (case "(($ac_try" in 8398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8399 *) ac_try_echo=$ac_try;; 8400 esac 8401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8402 (eval "$ac_try") 2>&5 8403 ac_status=$? 8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8405 (exit $ac_status); }; }; then 8406 ac_cv_sys_file_offset_bits=64; break 8407 else 8408 echo "$as_me: failed program was:" >&5 8409 sed 's/^/| /' conftest.$ac_ext >&5 8410 8411 8412 fi 8413 8414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8415 break 8416 done 8417 fi 8418 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 8419 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } 8420 if test "$ac_cv_sys_file_offset_bits" != no; then 8421 8422 cat >>confdefs.h <<_ACEOF 8423 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 8424 _ACEOF 8425 8426 fi 8427 rm -f conftest* 8428 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 8429 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } 8430 if test "${ac_cv_sys_large_files+set}" = set; then 8431 echo $ECHO_N "(cached) $ECHO_C" >&6 8432 else 8433 while :; do 8434 ac_cv_sys_large_files=no 8435 cat >conftest.$ac_ext <<_ACEOF 8436 /* confdefs.h. */ 8437 _ACEOF 8438 cat confdefs.h >>conftest.$ac_ext 8439 cat >>conftest.$ac_ext <<_ACEOF 8440 /* end confdefs.h. */ 8441 #include <sys/types.h> 8442 /* Check that off_t can represent 2**63 - 1 correctly. 8443 We can't simply define LARGE_OFF_T to be 9223372036854775807, 8444 since some C++ compilers masquerading as C compilers 8445 incorrectly reject 9223372036854775807. */ 8446 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8447 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8448 && LARGE_OFF_T % 2147483647 == 1) 8449 ? 1 : -1]; 8450 int 8451 main () 8452 { 8453 8454 ; 8455 return 0; 8456 } 8457 _ACEOF 8458 rm -f conftest.$ac_objext 8459 if { (ac_try="$ac_compile" 8460 case "(($ac_try" in 8461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8462 *) ac_try_echo=$ac_try;; 8463 esac 8464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8465 (eval "$ac_compile") 2>conftest.er1 8466 ac_status=$? 8467 grep -v '^ *+' conftest.er1 >conftest.err 8468 rm -f conftest.er1 8469 cat conftest.err >&5 8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8471 (exit $ac_status); } && 8472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8473 { (case "(($ac_try" in 8474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8475 *) ac_try_echo=$ac_try;; 8476 esac 8477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8478 (eval "$ac_try") 2>&5 8479 ac_status=$? 8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8481 (exit $ac_status); }; } && 8482 { ac_try='test -s conftest.$ac_objext' 8483 { (case "(($ac_try" in 8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8485 *) ac_try_echo=$ac_try;; 8486 esac 8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8488 (eval "$ac_try") 2>&5 8489 ac_status=$? 8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8491 (exit $ac_status); }; }; then 8492 break 8493 else 8494 echo "$as_me: failed program was:" >&5 8495 sed 's/^/| /' conftest.$ac_ext >&5 8496 8497 8498 fi 8499 8500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8501 cat >conftest.$ac_ext <<_ACEOF 8502 /* confdefs.h. */ 8503 _ACEOF 8504 cat confdefs.h >>conftest.$ac_ext 8505 cat >>conftest.$ac_ext <<_ACEOF 8506 /* end confdefs.h. */ 8507 #define _LARGE_FILES 1 8508 #include <sys/types.h> 8509 /* Check that off_t can represent 2**63 - 1 correctly. 8510 We can't simply define LARGE_OFF_T to be 9223372036854775807, 8511 since some C++ compilers masquerading as C compilers 8512 incorrectly reject 9223372036854775807. */ 8513 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8514 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8515 && LARGE_OFF_T % 2147483647 == 1) 8516 ? 1 : -1]; 8517 int 8518 main () 8519 { 8520 8521 ; 8522 return 0; 8523 } 8524 _ACEOF 8525 rm -f conftest.$ac_objext 8526 if { (ac_try="$ac_compile" 8527 case "(($ac_try" in 8528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8529 *) ac_try_echo=$ac_try;; 8530 esac 8531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8532 (eval "$ac_compile") 2>conftest.er1 8533 ac_status=$? 8534 grep -v '^ *+' conftest.er1 >conftest.err 8535 rm -f conftest.er1 8536 cat conftest.err >&5 8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8538 (exit $ac_status); } && 8539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8540 { (case "(($ac_try" in 8541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8542 *) ac_try_echo=$ac_try;; 8543 esac 8544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8545 (eval "$ac_try") 2>&5 8546 ac_status=$? 8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8548 (exit $ac_status); }; } && 8549 { ac_try='test -s conftest.$ac_objext' 8550 { (case "(($ac_try" in 8551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8552 *) ac_try_echo=$ac_try;; 8553 esac 8554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8555 (eval "$ac_try") 2>&5 8556 ac_status=$? 8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8558 (exit $ac_status); }; }; then 8559 ac_cv_sys_large_files=1; break 8560 else 8561 echo "$as_me: failed program was:" >&5 8562 sed 's/^/| /' conftest.$ac_ext >&5 8563 8564 8565 fi 8566 8567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8568 break 8569 done 8570 fi 8571 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 8572 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } 8573 if test "$ac_cv_sys_large_files" != no; then 8574 8575 cat >>confdefs.h <<_ACEOF 8576 #define _LARGE_FILES $ac_cv_sys_large_files 8577 _ACEOF 8578 8579 fi 8580 rm -f conftest* 8581 fi 8582 8583 8584 8585 SND_UTIL_VERSION=$VERSION 8586 echo $VERSION > $srcdir/version 8587 8588 cat >>confdefs.h <<_ACEOF 8589 #define VERSION "$SND_UTIL_VERSION" 8590 _ACEOF 8591 8592 8593 SND_UTIL_MAJOR=`echo $VERSION | cut -d . -f 1` 8594 8595 SND_UTIL_MINOR=`echo $VERSION | cut -d . -f 2` 8596 8597 SND_UTIL_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/pre[0-9]*//g'` 8598 8599 8600 8601 ac_config_files="$ac_config_files Makefile alsactl/Makefile alsactl/init/Makefile alsamixer/Makefile amidi/Makefile amixer/Makefile m4/Makefile po/Makefile.in alsaconf/alsaconf alsaconf/Makefile alsaconf/po/Makefile aplay/Makefile include/Makefile iecset/Makefile utils/Makefile utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile speaker-test/Makefile speaker-test/samples/Makefile" 8602 8603 cat >confcache <<\_ACEOF 8604 # This file is a shell script that caches the results of configure 8605 # tests run on this system so they can be shared between configure 8606 # scripts and configure runs, see configure's option --config-cache. 8607 # It is not useful on other systems. If it contains results you don't 8608 # want to keep, you may remove or edit it. 8609 # 8610 # config.status only pays attention to the cache file if you give it 8611 # the --recheck option to rerun configure. 8612 # 8613 # `ac_cv_env_foo' variables (set or unset) will be overridden when 8614 # loading this file, other *unset* `ac_cv_foo' will be assigned the 8615 # following values. 8616 8617 _ACEOF 8618 8619 # The following way of writing the cache mishandles newlines in values, 8620 # but we know of no workaround that is simple, portable, and efficient. 8621 # So, we kill variables containing newlines. 8622 # Ultrix sh set writes to stderr and can't be redirected directly, 8623 # and sets the high bit in the cache file unless we assign to the vars. 8624 ( 8625 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8626 eval ac_val=\$$ac_var 8627 case $ac_val in #( 8628 *${as_nl}*) 8629 case $ac_var in #( 8630 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 8631 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 8632 esac 8633 case $ac_var in #( 8634 _ | IFS | as_nl) ;; #( 8635 *) $as_unset $ac_var ;; 8636 esac ;; 8637 esac 8638 done 8639 8640 (set) 2>&1 | 8641 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8642 *${as_nl}ac_space=\ *) 8643 # `set' does not quote correctly, so add quotes (double-quote 8644 # substitution turns \\\\ into \\, and sed turns \\ into \). 8645 sed -n \ 8646 "s/'/'\\\\''/g; 8647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8648 ;; #( 8649 *) 8650 # `set' quotes correctly as required by POSIX, so do not add quotes. 8651 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8652 ;; 8653 esac | 8654 sort 8655 ) | 8656 sed ' 8657 /^ac_cv_env_/b end 8658 t clear 8659 :clear 8660 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8661 t end 8662 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8663 :end' >>confcache 8664 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8665 if test -w "$cache_file"; then 8666 test "x$cache_file" != "x/dev/null" && 8667 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 8668 echo "$as_me: updating cache $cache_file" >&6;} 8669 cat confcache >$cache_file 8670 else 8671 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8672 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8673 fi 8674 fi 8675 rm -f confcache 8676 8677 test "x$prefix" = xNONE && prefix=$ac_default_prefix 8678 # Let make expand exec_prefix. 8679 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8680 8681 DEFS=-DHAVE_CONFIG_H 8682 8683 ac_libobjs= 8684 ac_ltlibobjs= 8685 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8686 # 1. Remove the extension, and $U if already installed. 8687 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8688 ac_i=`echo "$ac_i" | sed "$ac_script"` 8689 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8690 # will be set to the directory where LIBOBJS objects are built. 8691 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8692 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8693 done 8694 LIBOBJS=$ac_libobjs 8695 8696 LTLIBOBJS=$ac_ltlibobjs 8697 8698 8699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8700 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 8701 Usually this means the macro was only invoked conditionally." >&5 8702 echo "$as_me: error: conditional \"AMDEP\" was never defined. 8703 Usually this means the macro was only invoked conditionally." >&2;} 8704 { (exit 1); exit 1; }; } 8705 fi 8706 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 8707 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 8708 Usually this means the macro was only invoked conditionally." >&5 8709 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 8710 Usually this means the macro was only invoked conditionally." >&2;} 8711 { (exit 1); exit 1; }; } 8712 fi 8713 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 8714 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 8715 Usually this means the macro was only invoked conditionally." >&5 8716 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 8717 Usually this means the macro was only invoked conditionally." >&2;} 8718 { (exit 1); exit 1; }; } 8719 fi 8720 if test -z "${ALSAMIXER_TRUE}" && test -z "${ALSAMIXER_FALSE}"; then 8721 { { echo "$as_me:$LINENO: error: conditional \"ALSAMIXER\" was never defined. 8722 Usually this means the macro was only invoked conditionally." >&5 8723 echo "$as_me: error: conditional \"ALSAMIXER\" was never defined. 8724 Usually this means the macro was only invoked conditionally." >&2;} 8725 { (exit 1); exit 1; }; } 8726 fi 8727 if test -z "${ALSACONF_TRUE}" && test -z "${ALSACONF_FALSE}"; then 8728 { { echo "$as_me:$LINENO: error: conditional \"ALSACONF\" was never defined. 8729 Usually this means the macro was only invoked conditionally." >&5 8730 echo "$as_me: error: conditional \"ALSACONF\" was never defined. 8731 Usually this means the macro was only invoked conditionally." >&2;} 8732 { (exit 1); exit 1; }; } 8733 fi 8734 if test -z "${USE_XMLTO_TRUE}" && test -z "${USE_XMLTO_FALSE}"; then 8735 { { echo "$as_me:$LINENO: error: conditional \"USE_XMLTO\" was never defined. 8736 Usually this means the macro was only invoked conditionally." >&5 8737 echo "$as_me: error: conditional \"USE_XMLTO\" was never defined. 8738 Usually this means the macro was only invoked conditionally." >&2;} 8739 { (exit 1); exit 1; }; } 8740 fi 8741 8742 : ${CONFIG_STATUS=./config.status} 8743 ac_clean_files_save=$ac_clean_files 8744 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8745 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8746 echo "$as_me: creating $CONFIG_STATUS" >&6;} 8747 cat >$CONFIG_STATUS <<_ACEOF 8748 #! $SHELL 8749 # Generated by $as_me. 8750 # Run this file to recreate the current configuration. 8751 # Compiler output produced by configure, useful for debugging 8752 # configure, is in config.log if it exists. 8753 8754 debug=false 8755 ac_cs_recheck=false 8756 ac_cs_silent=false 8757 SHELL=\${CONFIG_SHELL-$SHELL} 8758 _ACEOF 8759 8760 cat >>$CONFIG_STATUS <<\_ACEOF 8761 ## --------------------- ## 8762 ## M4sh Initialization. ## 8763 ## --------------------- ## 8764 8765 # Be Bourne compatible 8766 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8767 emulate sh 8768 NULLCMD=: 8769 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 8770 # is contrary to our usage. Disable this feature. 8771 alias -g '${1+"$@"}'='"$@"' 8772 setopt NO_GLOB_SUBST 8773 else 8774 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 8775 fi 8776 BIN_SH=xpg4; export BIN_SH # for Tru64 8777 DUALCASE=1; export DUALCASE # for MKS sh 8778 8779 8780 # PATH needs CR 8781 # Avoid depending upon Character Ranges. 8782 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8783 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8784 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8785 as_cr_digits='0123456789' 8786 as_cr_alnum=$as_cr_Letters$as_cr_digits 8787 8788 # The user is always right. 8789 if test "${PATH_SEPARATOR+set}" != set; then 8790 echo "#! /bin/sh" >conf$$.sh 8791 echo "exit 0" >>conf$$.sh 8792 chmod +x conf$$.sh 8793 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8794 PATH_SEPARATOR=';' 8795 else 8796 PATH_SEPARATOR=: 8797 fi 8798 rm -f conf$$.sh 8799 fi 8800 8801 # Support unset when possible. 8802 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8803 as_unset=unset 8804 else 8805 as_unset=false 8806 fi 8807 8808 8809 # IFS 8810 # We need space, tab and new line, in precisely that order. Quoting is 8811 # there to prevent editors from complaining about space-tab. 8812 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8813 # splitting by setting IFS to empty value.) 8814 as_nl=' 8815 ' 8816 IFS=" "" $as_nl" 8817 8818 # Find who we are. Look in the path if we contain no directory separator. 8819 case $0 in 8820 *[\\/]* ) as_myself=$0 ;; 8821 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8822 for as_dir in $PATH 8823 do 8824 IFS=$as_save_IFS 8825 test -z "$as_dir" && as_dir=. 8826 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8827 done 8828 IFS=$as_save_IFS 8829 8830 ;; 8831 esac 8832 # We did not find ourselves, most probably we were run as `sh COMMAND' 8833 # in which case we are not to be found in the path. 8834 if test "x$as_myself" = x; then 8835 as_myself=$0 8836 fi 8837 if test ! -f "$as_myself"; then 8838 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8839 { (exit 1); exit 1; } 8840 fi 8841 8842 # Work around bugs in pre-3.0 UWIN ksh. 8843 for as_var in ENV MAIL MAILPATH 8844 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8845 done 8846 PS1='$ ' 8847 PS2='> ' 8848 PS4='+ ' 8849 8850 # NLS nuisances. 8851 for as_var in \ 8852 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8853 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8854 LC_TELEPHONE LC_TIME 8855 do 8856 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8857 eval $as_var=C; export $as_var 8858 else 8859 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8860 fi 8861 done 8862 8863 # Required to use basename. 8864 if expr a : '\(a\)' >/dev/null 2>&1 && 8865 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8866 as_expr=expr 8867 else 8868 as_expr=false 8869 fi 8870 8871 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8872 as_basename=basename 8873 else 8874 as_basename=false 8875 fi 8876 8877 8878 # Name of the executable. 8879 as_me=`$as_basename -- "$0" || 8880 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8881 X"$0" : 'X\(//\)$' \| \ 8882 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8883 echo X/"$0" | 8884 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8885 s//\1/ 8886 q 8887 } 8888 /^X\/\(\/\/\)$/{ 8889 s//\1/ 8890 q 8891 } 8892 /^X\/\(\/\).*/{ 8893 s//\1/ 8894 q 8895 } 8896 s/.*/./; q'` 8897 8898 # CDPATH. 8899 $as_unset CDPATH 8900 8901 8902 8903 as_lineno_1=$LINENO 8904 as_lineno_2=$LINENO 8905 test "x$as_lineno_1" != "x$as_lineno_2" && 8906 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8907 8908 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8909 # uniformly replaced by the line number. The first 'sed' inserts a 8910 # line-number line after each line using $LINENO; the second 'sed' 8911 # does the real work. The second script uses 'N' to pair each 8912 # line-number line with the line containing $LINENO, and appends 8913 # trailing '-' during substitution so that $LINENO is not a special 8914 # case at line end. 8915 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8916 # scripts with optimization help from Paolo Bonzini. Blame Lee 8917 # E. McMahon (1931-1989) for sed's syntax. :-) 8918 sed -n ' 8919 p 8920 /[$]LINENO/= 8921 ' <$as_myself | 8922 sed ' 8923 s/[$]LINENO.*/&-/ 8924 t lineno 8925 b 8926 :lineno 8927 N 8928 :loop 8929 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8930 t loop 8931 s/-\n.*// 8932 ' >$as_me.lineno && 8933 chmod +x "$as_me.lineno" || 8934 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8935 { (exit 1); exit 1; }; } 8936 8937 # Don't try to exec as it changes $[0], causing all sort of problems 8938 # (the dirname of $[0] is not the place where we might find the 8939 # original and so on. Autoconf is especially sensitive to this). 8940 . "./$as_me.lineno" 8941 # Exit status is that of the last command. 8942 exit 8943 } 8944 8945 8946 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8947 as_dirname=dirname 8948 else 8949 as_dirname=false 8950 fi 8951 8952 ECHO_C= ECHO_N= ECHO_T= 8953 case `echo -n x` in 8954 -n*) 8955 case `echo 'x\c'` in 8956 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8957 *) ECHO_C='\c';; 8958 esac;; 8959 *) 8960 ECHO_N='-n';; 8961 esac 8962 8963 if expr a : '\(a\)' >/dev/null 2>&1 && 8964 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8965 as_expr=expr 8966 else 8967 as_expr=false 8968 fi 8969 8970 rm -f conf$$ conf$$.exe conf$$.file 8971 if test -d conf$$.dir; then 8972 rm -f conf$$.dir/conf$$.file 8973 else 8974 rm -f conf$$.dir 8975 mkdir conf$$.dir 8976 fi 8977 echo >conf$$.file 8978 if ln -s conf$$.file conf$$ 2>/dev/null; then 8979 as_ln_s='ln -s' 8980 # ... but there are two gotchas: 8981 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8982 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8983 # In both cases, we have to default to `cp -p'. 8984 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8985 as_ln_s='cp -p' 8986 elif ln conf$$.file conf$$ 2>/dev/null; then 8987 as_ln_s=ln 8988 else 8989 as_ln_s='cp -p' 8990 fi 8991 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8992 rmdir conf$$.dir 2>/dev/null 8993 8994 if mkdir -p . 2>/dev/null; then 8995 as_mkdir_p=: 8996 else 8997 test -d ./-p && rmdir ./-p 8998 as_mkdir_p=false 8999 fi 9000 9001 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 9002 # systems may use methods other than mode bits to determine executability. 9003 cat >conf$$.file <<_ASEOF 9004 #! /bin/sh 9005 exit 0 9006 _ASEOF 9007 chmod +x conf$$.file 9008 if test -x conf$$.file >/dev/null 2>&1; then 9009 as_executable_p="test -x" 9010 else 9011 as_executable_p=: 9012 fi 9013 rm -f conf$$.file 9014 9015 # Sed expression to map a string onto a valid CPP name. 9016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9017 9018 # Sed expression to map a string onto a valid variable name. 9019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9020 9021 9022 exec 6>&1 9023 9024 # Save the log message, to keep $[0] and so on meaningful, and to 9025 # report actual input values of CONFIG_FILES etc. instead of their 9026 # values after options handling. 9027 ac_log=" 9028 This file was extended by $as_me, which was 9029 generated by GNU Autoconf 2.60. Invocation command line was 9030 9031 CONFIG_FILES = $CONFIG_FILES 9032 CONFIG_HEADERS = $CONFIG_HEADERS 9033 CONFIG_LINKS = $CONFIG_LINKS 9034 CONFIG_COMMANDS = $CONFIG_COMMANDS 9035 $ $0 $@ 9036 9037 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9038 " 9039 9040 _ACEOF 9041 9042 cat >>$CONFIG_STATUS <<_ACEOF 9043 # Files that config.status was made for. 9044 config_files="$ac_config_files" 9045 config_headers="$ac_config_headers" 9046 config_commands="$ac_config_commands" 9047 9048 _ACEOF 9049 9050 cat >>$CONFIG_STATUS <<\_ACEOF 9051 ac_cs_usage="\ 9052 \`$as_me' instantiates files from templates according to the 9053 current configuration. 9054 9055 Usage: $0 [OPTIONS] [FILE]... 9056 9057 -h, --help print this help, then exit 9058 -V, --version print version number, then exit 9059 -q, --quiet do not print progress messages 9060 -d, --debug don't remove temporary files 9061 --recheck update $as_me by reconfiguring in the same conditions 9062 --file=FILE[:TEMPLATE] 9063 instantiate the configuration file FILE 9064 --header=FILE[:TEMPLATE] 9065 instantiate the configuration header FILE 9066 9067 Configuration files: 9068 $config_files 9069 9070 Configuration headers: 9071 $config_headers 9072 9073 Configuration commands: 9074 $config_commands 9075 9076 Report bugs to <bug-autoconf@gnu.org>." 9077 9078 _ACEOF 9079 cat >>$CONFIG_STATUS <<_ACEOF 9080 ac_cs_version="\\ 9081 config.status 9082 configured by $0, generated by GNU Autoconf 2.60, 9083 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9084 9085 Copyright (C) 2006 Free Software Foundation, Inc. 9086 This config.status script is free software; the Free Software Foundation 9087 gives unlimited permission to copy, distribute and modify it." 9088 9089 ac_pwd='$ac_pwd' 9090 srcdir='$srcdir' 9091 INSTALL='$INSTALL' 9092 _ACEOF 9093 9094 cat >>$CONFIG_STATUS <<\_ACEOF 9095 # If no file are specified by the user, then we need to provide default 9096 # value. By we need to know if files were specified by the user. 9097 ac_need_defaults=: 9098 while test $# != 0 9099 do 9100 case $1 in 9101 --*=*) 9102 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9103 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9104 ac_shift=: 9105 ;; 9106 *) 9107 ac_option=$1 9108 ac_optarg=$2 9109 ac_shift=shift 9110 ;; 9111 esac 9112 9113 case $ac_option in 9114 # Handling of the options. 9115 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9116 ac_cs_recheck=: ;; 9117 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9118 echo "$ac_cs_version"; exit ;; 9119 --debug | --debu | --deb | --de | --d | -d ) 9120 debug=: ;; 9121 --file | --fil | --fi | --f ) 9122 $ac_shift 9123 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9124 ac_need_defaults=false;; 9125 --header | --heade | --head | --hea ) 9126 $ac_shift 9127 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9128 ac_need_defaults=false;; 9129 --he | --h) 9130 # Conflict between --help and --header 9131 { echo "$as_me: error: ambiguous option: $1 9132 Try \`$0 --help' for more information." >&2 9133 { (exit 1); exit 1; }; };; 9134 --help | --hel | -h ) 9135 echo "$ac_cs_usage"; exit ;; 9136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9137 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9138 ac_cs_silent=: ;; 9139 9140 # This is an error. 9141 -*) { echo "$as_me: error: unrecognized option: $1 9142 Try \`$0 --help' for more information." >&2 9143 { (exit 1); exit 1; }; } ;; 9144 9145 *) ac_config_targets="$ac_config_targets $1" 9146 ac_need_defaults=false ;; 9147 9148 esac 9149 shift 9150 done 9151 9152 ac_configure_extra_args= 9153 9154 if $ac_cs_silent; then 9155 exec 6>/dev/null 9156 ac_configure_extra_args="$ac_configure_extra_args --silent" 9157 fi 9158 9159 _ACEOF 9160 cat >>$CONFIG_STATUS <<_ACEOF 9161 if \$ac_cs_recheck; then 9162 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 9163 CONFIG_SHELL=$SHELL 9164 export CONFIG_SHELL 9165 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9166 fi 9167 9168 _ACEOF 9169 cat >>$CONFIG_STATUS <<\_ACEOF 9170 exec 5>>config.log 9171 { 9172 echo 9173 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 9174 ## Running $as_me. ## 9175 _ASBOX 9176 echo "$ac_log" 9177 } >&5 9178 9179 _ACEOF 9180 cat >>$CONFIG_STATUS <<_ACEOF 9181 # 9182 # INIT-COMMANDS 9183 # 9184 # Capture the value of obsolete ALL_LINGUAS because we need it to compute 9185 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 9186 # from automake < 1.5. 9187 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 9188 # Capture the value of LINGUAS because we need it to compute CATALOGS. 9189 LINGUAS="${LINGUAS-%UNSET%}" 9190 9191 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 9192 9193 _ACEOF 9194 9195 cat >>$CONFIG_STATUS <<\_ACEOF 9196 9197 # Handling of arguments. 9198 for ac_config_target in $ac_config_targets 9199 do 9200 case $ac_config_target in 9201 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 9202 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 9203 "include/aconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/aconfig.h" ;; 9204 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9205 "alsactl/Makefile") CONFIG_FILES="$CONFIG_FILES alsactl/Makefile" ;; 9206 "alsactl/init/Makefile") CONFIG_FILES="$CONFIG_FILES alsactl/init/Makefile" ;; 9207 "alsamixer/Makefile") CONFIG_FILES="$CONFIG_FILES alsamixer/Makefile" ;; 9208 "amidi/Makefile") CONFIG_FILES="$CONFIG_FILES amidi/Makefile" ;; 9209 "amixer/Makefile") CONFIG_FILES="$CONFIG_FILES amixer/Makefile" ;; 9210 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9211 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 9212 "alsaconf/alsaconf") CONFIG_FILES="$CONFIG_FILES alsaconf/alsaconf" ;; 9213 "alsaconf/Makefile") CONFIG_FILES="$CONFIG_FILES alsaconf/Makefile" ;; 9214 "alsaconf/po/Makefile") CONFIG_FILES="$CONFIG_FILES alsaconf/po/Makefile" ;; 9215 "aplay/Makefile") CONFIG_FILES="$CONFIG_FILES aplay/Makefile" ;; 9216 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 9217 "iecset/Makefile") CONFIG_FILES="$CONFIG_FILES iecset/Makefile" ;; 9218 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; 9219 "utils/alsa-utils.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-utils.spec" ;; 9220 "seq/Makefile") CONFIG_FILES="$CONFIG_FILES seq/Makefile" ;; 9221 "seq/aconnect/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aconnect/Makefile" ;; 9222 "seq/aplaymidi/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aplaymidi/Makefile" ;; 9223 "seq/aseqdump/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aseqdump/Makefile" ;; 9224 "seq/aseqnet/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aseqnet/Makefile" ;; 9225 "speaker-test/Makefile") CONFIG_FILES="$CONFIG_FILES speaker-test/Makefile" ;; 9226 "speaker-test/samples/Makefile") CONFIG_FILES="$CONFIG_FILES speaker-test/samples/Makefile" ;; 9227 9228 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9229 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9230 { (exit 1); exit 1; }; };; 9231 esac 9232 done 9233 9234 9235 # If the user did not use the arguments to specify the items to instantiate, 9236 # then the envvar interface is used. Set only those that are not. 9237 # We use the long form for the default assignment because of an extremely 9238 # bizarre bug on SunOS 4.1.3. 9239 if $ac_need_defaults; then 9240 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 9241 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 9242 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 9243 fi 9244 9245 # Have a temporary directory for convenience. Make it in the build tree 9246 # simply because there is no reason against having it here, and in addition, 9247 # creating and moving files from /tmp can sometimes cause problems. 9248 # Hook for its removal unless debugging. 9249 # Note that there is a small window in which the directory will not be cleaned: 9250 # after its creation but before its name has been assigned to `$tmp'. 9251 $debug || 9252 { 9253 tmp= 9254 trap 'exit_status=$? 9255 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9256 ' 0 9257 trap '{ (exit 1); exit 1; }' 1 2 13 15 9258 } 9259 # Create a (secure) tmp directory for tmp files. 9260 9261 { 9262 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9263 test -n "$tmp" && test -d "$tmp" 9264 } || 9265 { 9266 tmp=./conf$$-$RANDOM 9267 (umask 077 && mkdir "$tmp") 9268 } || 9269 { 9270 echo "$me: cannot create a temporary directory in ." >&2 9271 { (exit 1); exit 1; } 9272 } 9273 9274 # 9275 # Set up the sed scripts for CONFIG_FILES section. 9276 # 9277 9278 # No need to generate the scripts if there are no CONFIG_FILES. 9279 # This happens for instance when ./config.status config.h 9280 if test -n "$CONFIG_FILES"; then 9281 9282 _ACEOF 9283 9284 9285 9286 ac_delim='%!_!# ' 9287 for ac_last_try in false false false false false :; do 9288 cat >conf$$subs.sed <<_ACEOF 9289 SHELL!$SHELL$ac_delim 9290 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 9291 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 9292 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 9293 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 9294 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 9295 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 9296 exec_prefix!$exec_prefix$ac_delim 9297 prefix!$prefix$ac_delim 9298 program_transform_name!$program_transform_name$ac_delim 9299 bindir!$bindir$ac_delim 9300 sbindir!$sbindir$ac_delim 9301 libexecdir!$libexecdir$ac_delim 9302 datarootdir!$datarootdir$ac_delim 9303 datadir!$datadir$ac_delim 9304 sysconfdir!$sysconfdir$ac_delim 9305 sharedstatedir!$sharedstatedir$ac_delim 9306 localstatedir!$localstatedir$ac_delim 9307 includedir!$includedir$ac_delim 9308 oldincludedir!$oldincludedir$ac_delim 9309 docdir!$docdir$ac_delim 9310 infodir!$infodir$ac_delim 9311 htmldir!$htmldir$ac_delim 9312 dvidir!$dvidir$ac_delim 9313 pdfdir!$pdfdir$ac_delim 9314 psdir!$psdir$ac_delim 9315 libdir!$libdir$ac_delim 9316 localedir!$localedir$ac_delim 9317 mandir!$mandir$ac_delim 9318 DEFS!$DEFS$ac_delim 9319 ECHO_C!$ECHO_C$ac_delim 9320 ECHO_N!$ECHO_N$ac_delim 9321 ECHO_T!$ECHO_T$ac_delim 9322 LIBS!$LIBS$ac_delim 9323 build_alias!$build_alias$ac_delim 9324 host_alias!$host_alias$ac_delim 9325 target_alias!$target_alias$ac_delim 9326 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 9327 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 9328 INSTALL_DATA!$INSTALL_DATA$ac_delim 9329 CYGPATH_W!$CYGPATH_W$ac_delim 9330 PACKAGE!$PACKAGE$ac_delim 9331 VERSION!$VERSION$ac_delim 9332 ACLOCAL!$ACLOCAL$ac_delim 9333 AUTOCONF!$AUTOCONF$ac_delim 9334 AUTOMAKE!$AUTOMAKE$ac_delim 9335 AUTOHEADER!$AUTOHEADER$ac_delim 9336 MAKEINFO!$MAKEINFO$ac_delim 9337 install_sh!$install_sh$ac_delim 9338 STRIP!$STRIP$ac_delim 9339 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 9340 mkdir_p!$mkdir_p$ac_delim 9341 AWK!$AWK$ac_delim 9342 SET_MAKE!$SET_MAKE$ac_delim 9343 am__leading_dot!$am__leading_dot$ac_delim 9344 AMTAR!$AMTAR$ac_delim 9345 am__tar!$am__tar$ac_delim 9346 am__untar!$am__untar$ac_delim 9347 USE_NLS!$USE_NLS$ac_delim 9348 MSGFMT!$MSGFMT$ac_delim 9349 GMSGFMT!$GMSGFMT$ac_delim 9350 MSGFMT_015!$MSGFMT_015$ac_delim 9351 GMSGFMT_015!$GMSGFMT_015$ac_delim 9352 XGETTEXT!$XGETTEXT$ac_delim 9353 XGETTEXT_015!$XGETTEXT_015$ac_delim 9354 MSGMERGE!$MSGMERGE$ac_delim 9355 CC!$CC$ac_delim 9356 CFLAGS!$CFLAGS$ac_delim 9357 LDFLAGS!$LDFLAGS$ac_delim 9358 CPPFLAGS!$CPPFLAGS$ac_delim 9359 ac_ct_CC!$ac_ct_CC$ac_delim 9360 EXEEXT!$EXEEXT$ac_delim 9361 OBJEXT!$OBJEXT$ac_delim 9362 DEPDIR!$DEPDIR$ac_delim 9363 am__include!$am__include$ac_delim 9364 am__quote!$am__quote$ac_delim 9365 AMDEP_TRUE!$AMDEP_TRUE$ac_delim 9366 AMDEP_FALSE!$AMDEP_FALSE$ac_delim 9367 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 9368 CCDEPMODE!$CCDEPMODE$ac_delim 9369 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 9370 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 9371 build!$build$ac_delim 9372 build_cpu!$build_cpu$ac_delim 9373 build_vendor!$build_vendor$ac_delim 9374 build_os!$build_os$ac_delim 9375 host!$host$ac_delim 9376 host_cpu!$host_cpu$ac_delim 9377 host_vendor!$host_vendor$ac_delim 9378 host_os!$host_os$ac_delim 9379 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim 9380 LIBICONV!$LIBICONV$ac_delim 9381 LTLIBICONV!$LTLIBICONV$ac_delim 9382 INTLLIBS!$INTLLIBS$ac_delim 9383 LIBINTL!$LIBINTL$ac_delim 9384 LTLIBINTL!$LTLIBINTL$ac_delim 9385 POSUB!$POSUB$ac_delim 9386 _ACEOF 9387 9388 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 9389 break 9390 elif $ac_last_try; then 9391 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9392 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9393 { (exit 1); exit 1; }; } 9394 else 9395 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9396 fi 9397 done 9398 9399 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 9400 if test -n "$ac_eof"; then 9401 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 9402 ac_eof=`expr $ac_eof + 1` 9403 fi 9404 9405 cat >>$CONFIG_STATUS <<_ACEOF 9406 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 9407 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9408 _ACEOF 9409 sed ' 9410 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 9411 s/^/s,@/; s/!/@,|#_!!_#|/ 9412 :n 9413 t n 9414 s/'"$ac_delim"'$/,g/; t 9415 s/$/\\/; p 9416 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9417 ' >>$CONFIG_STATUS <conf$$subs.sed 9418 rm -f conf$$subs.sed 9419 cat >>$CONFIG_STATUS <<_ACEOF 9420 CEOF$ac_eof 9421 _ACEOF 9422 9423 9424 ac_delim='%!_!# ' 9425 for ac_last_try in false false false false false :; do 9426 cat >conf$$subs.sed <<_ACEOF 9427 LN_S!$LN_S$ac_delim 9428 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim 9429 ALSA_LIBS!$ALSA_LIBS$ac_delim 9430 ALSAMIXER_TRUE!$ALSAMIXER_TRUE$ac_delim 9431 ALSAMIXER_FALSE!$ALSAMIXER_FALSE$ac_delim 9432 ALSACONF_TRUE!$ALSACONF_TRUE$ac_delim 9433 ALSACONF_FALSE!$ALSACONF_FALSE$ac_delim 9434 xmlto!$xmlto$ac_delim 9435 USE_XMLTO_TRUE!$USE_XMLTO_TRUE$ac_delim 9436 USE_XMLTO_FALSE!$USE_XMLTO_FALSE$ac_delim 9437 CPP!$CPP$ac_delim 9438 GREP!$GREP$ac_delim 9439 EGREP!$EGREP$ac_delim 9440 ncursesw5_config!$ncursesw5_config$ac_delim 9441 ncurses5_config!$ncurses5_config$ac_delim 9442 CURSESINC!$CURSESINC$ac_delim 9443 CURSESLIB!$CURSESLIB$ac_delim 9444 CURSES_CFLAGS!$CURSES_CFLAGS$ac_delim 9445 TESTSOUND!$TESTSOUND$ac_delim 9446 SND_UTIL_VERSION!$SND_UTIL_VERSION$ac_delim 9447 SND_UTIL_MAJOR!$SND_UTIL_MAJOR$ac_delim 9448 SND_UTIL_MINOR!$SND_UTIL_MINOR$ac_delim 9449 SND_UTIL_SUBMINOR!$SND_UTIL_SUBMINOR$ac_delim 9450 LIBOBJS!$LIBOBJS$ac_delim 9451 LTLIBOBJS!$LTLIBOBJS$ac_delim 9452 _ACEOF 9453 9454 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then 9455 break 9456 elif $ac_last_try; then 9457 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9458 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9459 { (exit 1); exit 1; }; } 9460 else 9461 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9462 fi 9463 done 9464 9465 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 9466 if test -n "$ac_eof"; then 9467 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 9468 ac_eof=`expr $ac_eof + 1` 9469 fi 9470 9471 cat >>$CONFIG_STATUS <<_ACEOF 9472 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 9473 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 9474 _ACEOF 9475 sed ' 9476 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 9477 s/^/s,@/; s/!/@,|#_!!_#|/ 9478 :n 9479 t n 9480 s/'"$ac_delim"'$/,g/; t 9481 s/$/\\/; p 9482 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9483 ' >>$CONFIG_STATUS <conf$$subs.sed 9484 rm -f conf$$subs.sed 9485 cat >>$CONFIG_STATUS <<_ACEOF 9486 :end 9487 s/|#_!!_#|//g 9488 CEOF$ac_eof 9489 _ACEOF 9490 9491 9492 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9493 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9494 # trailing colons and then remove the whole line if VPATH becomes empty 9495 # (actually we leave an empty line to preserve line numbers). 9496 if test "x$srcdir" = x.; then 9497 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9498 s/:*\$(srcdir):*/:/ 9499 s/:*\${srcdir}:*/:/ 9500 s/:*@srcdir@:*/:/ 9501 s/^\([^=]*=[ ]*\):*/\1/ 9502 s/:*$// 9503 s/^[^=]*=[ ]*$// 9504 }' 9505 fi 9506 9507 cat >>$CONFIG_STATUS <<\_ACEOF 9508 fi # test -n "$CONFIG_FILES" 9509 9510 9511 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 9512 do 9513 case $ac_tag in 9514 :[FHLC]) ac_mode=$ac_tag; continue;; 9515 esac 9516 case $ac_mode$ac_tag in 9517 :[FHL]*:*);; 9518 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 9519 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 9520 { (exit 1); exit 1; }; };; 9521 :[FH]-) ac_tag=-:-;; 9522 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9523 esac 9524 ac_save_IFS=$IFS 9525 IFS=: 9526 set x $ac_tag 9527 IFS=$ac_save_IFS 9528 shift 9529 ac_file=$1 9530 shift 9531 9532 case $ac_mode in 9533 :L) ac_source=$1;; 9534 :[FH]) 9535 ac_file_inputs= 9536 for ac_f 9537 do 9538 case $ac_f in 9539 -) ac_f="$tmp/stdin";; 9540 *) # Look for the file first in the build tree, then in the source tree 9541 # (if the path is not absolute). The absolute path cannot be DOS-style, 9542 # because $ac_f cannot contain `:'. 9543 test -f "$ac_f" || 9544 case $ac_f in 9545 [\\/$]*) false;; 9546 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9547 esac || 9548 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9549 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9550 { (exit 1); exit 1; }; };; 9551 esac 9552 ac_file_inputs="$ac_file_inputs $ac_f" 9553 done 9554 9555 # Let's still pretend it is `configure' which instantiates (i.e., don't 9556 # use $as_me), people would be surprised to read: 9557 # /* config.h. Generated by config.status. */ 9558 configure_input="Generated from "`IFS=: 9559 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 9560 if test x"$ac_file" != x-; then 9561 configure_input="$ac_file. $configure_input" 9562 { echo "$as_me:$LINENO: creating $ac_file" >&5 9563 echo "$as_me: creating $ac_file" >&6;} 9564 fi 9565 9566 case $ac_tag in 9567 *:-:* | *:-) cat >"$tmp/stdin";; 9568 esac 9569 ;; 9570 esac 9571 9572 ac_dir=`$as_dirname -- "$ac_file" || 9573 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9574 X"$ac_file" : 'X\(//\)[^/]' \| \ 9575 X"$ac_file" : 'X\(//\)$' \| \ 9576 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9577 echo X"$ac_file" | 9578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9579 s//\1/ 9580 q 9581 } 9582 /^X\(\/\/\)[^/].*/{ 9583 s//\1/ 9584 q 9585 } 9586 /^X\(\/\/\)$/{ 9587 s//\1/ 9588 q 9589 } 9590 /^X\(\/\).*/{ 9591 s//\1/ 9592 q 9593 } 9594 s/.*/./; q'` 9595 { as_dir="$ac_dir" 9596 case $as_dir in #( 9597 -*) as_dir=./$as_dir;; 9598 esac 9599 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9600 as_dirs= 9601 while :; do 9602 case $as_dir in #( 9603 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 9604 *) as_qdir=$as_dir;; 9605 esac 9606 as_dirs="'$as_qdir' $as_dirs" 9607 as_dir=`$as_dirname -- "$as_dir" || 9608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9609 X"$as_dir" : 'X\(//\)[^/]' \| \ 9610 X"$as_dir" : 'X\(//\)$' \| \ 9611 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9612 echo X"$as_dir" | 9613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9614 s//\1/ 9615 q 9616 } 9617 /^X\(\/\/\)[^/].*/{ 9618 s//\1/ 9619 q 9620 } 9621 /^X\(\/\/\)$/{ 9622 s//\1/ 9623 q 9624 } 9625 /^X\(\/\).*/{ 9626 s//\1/ 9627 q 9628 } 9629 s/.*/./; q'` 9630 test -d "$as_dir" && break 9631 done 9632 test -z "$as_dirs" || eval "mkdir $as_dirs" 9633 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9634 echo "$as_me: error: cannot create directory $as_dir" >&2;} 9635 { (exit 1); exit 1; }; }; } 9636 ac_builddir=. 9637 9638 case "$ac_dir" in 9639 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9640 *) 9641 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9642 # A ".." for each directory in $ac_dir_suffix. 9643 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 9644 case $ac_top_builddir_sub in 9645 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9646 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9647 esac ;; 9648 esac 9649 ac_abs_top_builddir=$ac_pwd 9650 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9651 # for backward compatibility: 9652 ac_top_builddir=$ac_top_build_prefix 9653 9654 case $srcdir in 9655 .) # We are building in place. 9656 ac_srcdir=. 9657 ac_top_srcdir=$ac_top_builddir_sub 9658 ac_abs_top_srcdir=$ac_pwd ;; 9659 [\\/]* | ?:[\\/]* ) # Absolute name. 9660 ac_srcdir=$srcdir$ac_dir_suffix; 9661 ac_top_srcdir=$srcdir 9662 ac_abs_top_srcdir=$srcdir ;; 9663 *) # Relative name. 9664 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9665 ac_top_srcdir=$ac_top_build_prefix$srcdir 9666 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9667 esac 9668 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9669 9670 9671 case $ac_mode in 9672 :F) 9673 # 9674 # CONFIG_FILE 9675 # 9676 9677 case $INSTALL in 9678 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9679 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9680 esac 9681 _ACEOF 9682 9683 cat >>$CONFIG_STATUS <<\_ACEOF 9684 # If the template does not know about datarootdir, expand it. 9685 # FIXME: This hack should be removed a few years after 2.60. 9686 ac_datarootdir_hack=; ac_datarootdir_seen= 9687 9688 case `sed -n '/datarootdir/ { 9689 p 9690 q 9691 } 9692 /@datadir@/p 9693 /@docdir@/p 9694 /@infodir@/p 9695 /@localedir@/p 9696 /@mandir@/p 9697 ' $ac_file_inputs` in 9698 *datarootdir*) ac_datarootdir_seen=yes;; 9699 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9700 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9701 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9702 _ACEOF 9703 cat >>$CONFIG_STATUS <<_ACEOF 9704 ac_datarootdir_hack=' 9705 s&@datadir@&$datadir&g 9706 s&@docdir@&$docdir&g 9707 s&@infodir@&$infodir&g 9708 s&@localedir@&$localedir&g 9709 s&@mandir@&$mandir&g 9710 s&\\\${datarootdir}&$datarootdir&g' ;; 9711 esac 9712 _ACEOF 9713 9714 # Neutralize VPATH when `$srcdir' = `.'. 9715 # Shell code in configure.ac might set extrasub. 9716 # FIXME: do we really want to maintain this feature? 9717 cat >>$CONFIG_STATUS <<_ACEOF 9718 sed "$ac_vpsub 9719 $extrasub 9720 _ACEOF 9721 cat >>$CONFIG_STATUS <<\_ACEOF 9722 :t 9723 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9724 s&@configure_input@&$configure_input&;t t 9725 s&@top_builddir@&$ac_top_builddir_sub&;t t 9726 s&@srcdir@&$ac_srcdir&;t t 9727 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9728 s&@top_srcdir@&$ac_top_srcdir&;t t 9729 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9730 s&@builddir@&$ac_builddir&;t t 9731 s&@abs_builddir@&$ac_abs_builddir&;t t 9732 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9733 s&@INSTALL@&$ac_INSTALL&;t t 9734 $ac_datarootdir_hack 9735 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 9736 9737 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9738 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9739 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9740 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9741 which seems to be undefined. Please make sure it is defined." >&5 9742 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9743 which seems to be undefined. Please make sure it is defined." >&2;} 9744 9745 rm -f "$tmp/stdin" 9746 case $ac_file in 9747 -) cat "$tmp/out"; rm -f "$tmp/out";; 9748 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 9749 esac 9750 ;; 9751 :H) 9752 # 9753 # CONFIG_HEADER 9754 # 9755 _ACEOF 9756 9757 # Transform confdefs.h into a sed script `conftest.defines', that 9758 # substitutes the proper values into config.h.in to produce config.h. 9759 rm -f conftest.defines conftest.tail 9760 # First, append a space to every undef/define line, to ease matching. 9761 echo 's/$/ /' >conftest.defines 9762 # Then, protect against being on the right side of a sed subst, or in 9763 # an unquoted here document, in config.status. If some macros were 9764 # called several times there might be several #defines for the same 9765 # symbol, which is useless. But do not sort them, since the last 9766 # AC_DEFINE must be honored. 9767 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9768 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 9769 # NAME is the cpp macro being defined, VALUE is the value it is being given. 9770 # PARAMS is the parameter list in the macro definition--in most cases, it's 9771 # just an empty string. 9772 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 9773 ac_dB='\\)[ (].*,\\1define\\2' 9774 ac_dC=' ' 9775 ac_dD=' ,' 9776 9777 uniq confdefs.h | 9778 sed -n ' 9779 t rset 9780 :rset 9781 s/^[ ]*#[ ]*define[ ][ ]*// 9782 t ok 9783 d 9784 :ok 9785 s/[\\&,]/\\&/g 9786 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 9787 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 9788 ' >>conftest.defines 9789 9790 # Remove the space that was appended to ease matching. 9791 # Then replace #undef with comments. This is necessary, for 9792 # example, in the case of _POSIX_SOURCE, which is predefined and required 9793 # on some systems where configure will not decide to define it. 9794 # (The regexp can be short, since the line contains either #define or #undef.) 9795 echo 's/ $// 9796 s,^[ #]*u.*,/* & */,' >>conftest.defines 9797 9798 # Break up conftest.defines: 9799 ac_max_sed_lines=50 9800 9801 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 9802 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 9803 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 9804 # et cetera. 9805 ac_in='$ac_file_inputs' 9806 ac_out='"$tmp/out1"' 9807 ac_nxt='"$tmp/out2"' 9808 9809 while : 9810 do 9811 # Write a here document: 9812 cat >>$CONFIG_STATUS <<_ACEOF 9813 # First, check the format of the line: 9814 cat >"\$tmp/defines.sed" <<\\CEOF 9815 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 9816 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 9817 b 9818 :def 9819 _ACEOF 9820 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 9821 echo 'CEOF 9822 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 9823 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 9824 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 9825 grep . conftest.tail >/dev/null || break 9826 rm -f conftest.defines 9827 mv conftest.tail conftest.defines 9828 done 9829 rm -f conftest.defines conftest.tail 9830 9831 echo "ac_result=$ac_in" >>$CONFIG_STATUS 9832 cat >>$CONFIG_STATUS <<\_ACEOF 9833 if test x"$ac_file" != x-; then 9834 echo "/* $configure_input */" >"$tmp/config.h" 9835 cat "$ac_result" >>"$tmp/config.h" 9836 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 9837 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9838 echo "$as_me: $ac_file is unchanged" >&6;} 9839 else 9840 rm -f $ac_file 9841 mv "$tmp/config.h" $ac_file 9842 fi 9843 else 9844 echo "/* $configure_input */" 9845 cat "$ac_result" 9846 fi 9847 rm -f "$tmp/out12" 9848 # Compute $ac_file's index in $config_headers. 9849 _am_stamp_count=1 9850 for _am_header in $config_headers :; do 9851 case $_am_header in 9852 $ac_file | $ac_file:* ) 9853 break ;; 9854 * ) 9855 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9856 esac 9857 done 9858 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 9859 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9860 X$ac_file : 'X\(//\)[^/]' \| \ 9861 X$ac_file : 'X\(//\)$' \| \ 9862 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 9863 echo X$ac_file | 9864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9865 s//\1/ 9866 q 9867 } 9868 /^X\(\/\/\)[^/].*/{ 9869 s//\1/ 9870 q 9871 } 9872 /^X\(\/\/\)$/{ 9873 s//\1/ 9874 q 9875 } 9876 /^X\(\/\).*/{ 9877 s//\1/ 9878 q 9879 } 9880 s/.*/./; q'`/stamp-h$_am_stamp_count 9881 ;; 9882 9883 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 9884 echo "$as_me: executing $ac_file commands" >&6;} 9885 ;; 9886 esac 9887 9888 9889 case $ac_file$ac_mode in 9890 "po-directories":C) 9891 for ac_file in $CONFIG_FILES; do 9892 # Support "outfile[:infile[:infile...]]" 9893 case "$ac_file" in 9894 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 9895 esac 9896 # PO directories have a Makefile.in generated from Makefile.in.in. 9897 case "$ac_file" in */Makefile.in) 9898 # Adjust a relative srcdir. 9899 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 9900 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 9901 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 9902 # In autoconf-2.13 it is called $ac_given_srcdir. 9903 # In autoconf-2.50 it is called $srcdir. 9904 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 9905 case "$ac_given_srcdir" in 9906 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 9907 /*) top_srcdir="$ac_given_srcdir" ;; 9908 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 9909 esac 9910 # Treat a directory as a PO directory if and only if it has a 9911 # POTFILES.in file. This allows packages to have multiple PO 9912 # directories under different names or in different locations. 9913 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 9914 rm -f "$ac_dir/POTFILES" 9915 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 9916 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 9917 POMAKEFILEDEPS="POTFILES.in" 9918 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 9919 # on $ac_dir but don't depend on user-specified configuration 9920 # parameters. 9921 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 9922 # The LINGUAS file contains the set of available languages. 9923 if test -n "$OBSOLETE_ALL_LINGUAS"; then 9924 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 9925 fi 9926 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 9927 # Hide the ALL_LINGUAS assigment from automake < 1.5. 9928 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 9929 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 9930 else 9931 # The set of available languages was given in configure.in. 9932 # Hide the ALL_LINGUAS assigment from automake < 1.5. 9933 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 9934 fi 9935 # Compute POFILES 9936 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 9937 # Compute UPDATEPOFILES 9938 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 9939 # Compute DUMMYPOFILES 9940 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 9941 # Compute GMOFILES 9942 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 9943 case "$ac_given_srcdir" in 9944 .) srcdirpre= ;; 9945 *) srcdirpre='$(srcdir)/' ;; 9946 esac 9947 POFILES= 9948 UPDATEPOFILES= 9949 DUMMYPOFILES= 9950 GMOFILES= 9951 for lang in $ALL_LINGUAS; do 9952 POFILES="$POFILES $srcdirpre$lang.po" 9953 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 9954 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 9955 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 9956 done 9957 # CATALOGS depends on both $ac_dir and the user's LINGUAS 9958 # environment variable. 9959 INST_LINGUAS= 9960 if test -n "$ALL_LINGUAS"; then 9961 for presentlang in $ALL_LINGUAS; do 9962 useit=no 9963 if test "%UNSET%" != "$LINGUAS"; then 9964 desiredlanguages="$LINGUAS" 9965 else 9966 desiredlanguages="$ALL_LINGUAS" 9967 fi 9968 for desiredlang in $desiredlanguages; do 9969 # Use the presentlang catalog if desiredlang is 9970 # a. equal to presentlang, or 9971 # b. a variant of presentlang (because in this case, 9972 # presentlang can be used as a fallback for messages 9973 # which are not translated in the desiredlang catalog). 9974 case "$desiredlang" in 9975 "$presentlang"*) useit=yes;; 9976 esac 9977 done 9978 if test $useit = yes; then 9979 INST_LINGUAS="$INST_LINGUAS $presentlang" 9980 fi 9981 done 9982 fi 9983 CATALOGS= 9984 if test -n "$INST_LINGUAS"; then 9985 for lang in $INST_LINGUAS; do 9986 CATALOGS="$CATALOGS $lang.gmo" 9987 done 9988 fi 9989 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 9990 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 9991 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 9992 if test -f "$f"; then 9993 case "$f" in 9994 *.orig | *.bak | *~) ;; 9995 *) cat "$f" >> "$ac_dir/Makefile" ;; 9996 esac 9997 fi 9998 done 9999 fi 10000 ;; 10001 esac 10002 done ;; 10003 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 10004 # Strip MF so we end up with the name of the file. 10005 mf=`echo "$mf" | sed -e 's/:.*$//'` 10006 # Check whether this is an Automake generated Makefile or not. 10007 # We used to match only the files named `Makefile.in', but 10008 # some people rename them; so instead we look at the file content. 10009 # Grep'ing the first line is not enough: some people post-process 10010 # each Makefile.in and add a new line on top of each file to say so. 10011 # So let's grep whole file. 10012 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 10013 dirpart=`$as_dirname -- "$mf" || 10014 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10015 X"$mf" : 'X\(//\)[^/]' \| \ 10016 X"$mf" : 'X\(//\)$' \| \ 10017 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 10018 echo X"$mf" | 10019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10020 s//\1/ 10021 q 10022 } 10023 /^X\(\/\/\)[^/].*/{ 10024 s//\1/ 10025 q 10026 } 10027 /^X\(\/\/\)$/{ 10028 s//\1/ 10029 q 10030 } 10031 /^X\(\/\).*/{ 10032 s//\1/ 10033 q 10034 } 10035 s/.*/./; q'` 10036 else 10037 continue 10038 fi 10039 # Extract the definition of DEPDIR, am__include, and am__quote 10040 # from the Makefile without running `make'. 10041 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10042 test -z "$DEPDIR" && continue 10043 am__include=`sed -n 's/^am__include = //p' < "$mf"` 10044 test -z "am__include" && continue 10045 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 10046 # When using ansi2knr, U may be empty or an underscore; expand it 10047 U=`sed -n 's/^U = //p' < "$mf"` 10048 # Find all dependency output files, they are included files with 10049 # $(DEPDIR) in their names. We invoke sed twice because it is the 10050 # simplest approach to changing $(DEPDIR) to its actual value in the 10051 # expansion. 10052 for file in `sed -n " 10053 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10054 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10055 # Make sure the directory exists. 10056 test -f "$dirpart/$file" && continue 10057 fdir=`$as_dirname -- "$file" || 10058 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10059 X"$file" : 'X\(//\)[^/]' \| \ 10060 X"$file" : 'X\(//\)$' \| \ 10061 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10062 echo X"$file" | 10063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10064 s//\1/ 10065 q 10066 } 10067 /^X\(\/\/\)[^/].*/{ 10068 s//\1/ 10069 q 10070 } 10071 /^X\(\/\/\)$/{ 10072 s//\1/ 10073 q 10074 } 10075 /^X\(\/\).*/{ 10076 s//\1/ 10077 q 10078 } 10079 s/.*/./; q'` 10080 { as_dir=$dirpart/$fdir 10081 case $as_dir in #( 10082 -*) as_dir=./$as_dir;; 10083 esac 10084 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10085 as_dirs= 10086 while :; do 10087 case $as_dir in #( 10088 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 10089 *) as_qdir=$as_dir;; 10090 esac 10091 as_dirs="'$as_qdir' $as_dirs" 10092 as_dir=`$as_dirname -- "$as_dir" || 10093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10094 X"$as_dir" : 'X\(//\)[^/]' \| \ 10095 X"$as_dir" : 'X\(//\)$' \| \ 10096 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10097 echo X"$as_dir" | 10098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10099 s//\1/ 10100 q 10101 } 10102 /^X\(\/\/\)[^/].*/{ 10103 s//\1/ 10104 q 10105 } 10106 /^X\(\/\/\)$/{ 10107 s//\1/ 10108 q 10109 } 10110 /^X\(\/\).*/{ 10111 s//\1/ 10112 q 10113 } 10114 s/.*/./; q'` 10115 test -d "$as_dir" && break 10116 done 10117 test -z "$as_dirs" || eval "mkdir $as_dirs" 10118 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10119 echo "$as_me: error: cannot create directory $as_dir" >&2;} 10120 { (exit 1); exit 1; }; }; } 10121 # echo "creating $dirpart/$file" 10122 echo '# dummy' > "$dirpart/$file" 10123 done 10124 done 10125 ;; 10126 10127 esac 10128 done # for ac_tag 10129 10130 10131 { (exit 0); exit 0; } 10132 _ACEOF 10133 chmod +x $CONFIG_STATUS 10134 ac_clean_files=$ac_clean_files_save 10135 10136 10137 # configure is writing to config.log, and then calls config.status. 10138 # config.status does its own redirection, appending to config.log. 10139 # Unfortunately, on DOS this fails, as config.log is still kept open 10140 # by configure, so config.status won't be able to write to it; its 10141 # output is simply discarded. So we exec the FD to /dev/null, 10142 # effectively closing config.log, so it can be properly (re)opened and 10143 # appended to by config.status. When coming back to configure, we 10144 # need to make the FD available again. 10145 if test "$no_create" != yes; then 10146 ac_cs_success=: 10147 ac_config_status_args= 10148 test "$silent" = yes && 10149 ac_config_status_args="$ac_config_status_args --quiet" 10150 exec 5>/dev/null 10151 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 10152 exec 5>>config.log 10153 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10154 # would make configure fail if this is the last instruction. 10155 $ac_cs_success || { (exit 1); exit 1; } 10156 fi 10157 10158