A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61 for authforce 0.9.9. 4 # 5 # Report bugs to <kapheine@divineinvasion.net>. 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9 # This configure script is free software; the Free Software Foundation 10 # gives unlimited permission to copy, distribute and modify it. 11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 14 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42 # The user is always right. 43 if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53 fi 54 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 60 fi 61 62 63 # IFS 64 # We need space, tab and new line, in precisely that order. Quoting is 65 # there to prevent editors from complaining about space-tab. 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 # splitting by setting IFS to empty value.) 68 as_nl=' 69 ' 70 IFS=" "" $as_nl" 71 72 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 74 *[\\/]* ) as_myself=$0 ;; 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 76 for as_dir in $PATH 77 do 78 IFS=$as_save_IFS 79 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81 done 82 IFS=$as_save_IFS 83 84 ;; 85 esac 86 # We did not find ourselves, most probably we were run as `sh COMMAND' 87 # in which case we are not to be found in the path. 88 if test "x$as_myself" = x; then 89 as_myself=$0 90 fi 91 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99 done 100 PS1='$ ' 101 PS2='> ' 102 PS4='+ ' 103 104 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115 done 116 117 # Required to use basename. 118 if expr a : '\(a\)' >/dev/null 2>&1 && 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 120 as_expr=expr 121 else 122 as_expr=false 123 fi 124 125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126 as_basename=basename 127 else 128 as_basename=false 129 fi 130 131 132 # Name of the executable. 133 as_me=`$as_basename -- "$0" || 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 X"$0" : 'X\(//\)$' \| \ 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" | 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 s//\1/ 140 q 141 } 142 /^X\/\(\/\/\)$/{ 143 s//\1/ 144 q 145 } 146 /^X\/\(\/\).*/{ 147 s//\1/ 148 q 149 } 150 s/.*/./; q'` 151 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225 do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 440 sed -n ' 441 p 442 /[$]LINENO/= 443 ' <$as_myself | 444 sed ' 445 s/[$]LINENO.*/&-/ 446 t lineno 447 b 448 :lineno 449 N 450 :loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 452 t loop 453 s/-\n.*// 454 ' >$as_me.lineno && 455 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 458 459 # Don't try to exec as it changes $[0], causing all sort of problems 460 # (the dirname of $[0] is not the place where we might find the 461 # original and so on. Autoconf is especially sensitive to this). 462 . "./$as_me.lineno" 463 # Exit status is that of the last command. 464 exit 465 } 466 467 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470 else 471 as_dirname=false 472 fi 473 474 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 476 -n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481 *) 482 ECHO_N='-n';; 483 esac 484 485 if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 487 as_expr=expr 488 else 489 as_expr=false 490 fi 491 492 rm -f conf$$ conf$$.exe conf$$.file 493 if test -d conf$$.dir; then 494 rm -f conf$$.dir/conf$$.file 495 else 496 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 499 echo >conf$$.file 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 507 as_ln_s='cp -p' 508 elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 510 else 511 as_ln_s='cp -p' 512 fi 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514 rmdir conf$$.dir 2>/dev/null 515 516 if mkdir -p . 2>/dev/null; then 517 as_mkdir_p=: 518 else 519 test -d ./-p && rmdir ./-p 520 as_mkdir_p=false 521 fi 522 523 if test -x / >/dev/null 2>&1; then 524 as_test_x='test -x' 525 else 526 if ls -dL / >/dev/null 2>&1; then 527 as_ls_L_option=L 528 else 529 as_ls_L_option= 530 fi 531 as_test_x=' 532 eval sh -c '\'' 533 if test -d "$1"; then 534 test -d "$1/."; 535 else 536 case $1 in 537 -*)set "./$1";; 538 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540 ???[sx]*):;;*)false;;esac;fi 541 '\'' sh 542 ' 543 fi 544 as_executable_p=$as_test_x 545 546 # Sed expression to map a string onto a valid CPP name. 547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 548 549 # Sed expression to map a string onto a valid variable name. 550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 551 552 553 554 exec 7<&0 </dev/null 6>&1 555 556 # Name of the host. 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 558 # so uname gets run too. 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560 561 # 562 # Initializations. 563 # 564 ac_default_prefix=/usr/local 565 ac_clean_files= 566 ac_config_libobj_dir=. 567 LIBOBJS= 568 cross_compiling=no 569 subdirs= 570 MFLAGS= 571 MAKEFLAGS= 572 SHELL=${CONFIG_SHELL-/bin/sh} 573 574 # Identity of this package. 575 PACKAGE_NAME='authforce' 576 PACKAGE_TARNAME='authforce' 577 PACKAGE_VERSION='0.9.9' 578 PACKAGE_STRING='authforce 0.9.9' 579 PACKAGE_BUGREPORT='kapheine@divineinvasion.net' 580 581 gt_needs= 582 # Factoring default headers for most tests. 583 ac_includes_default="\ 584 #include <stdio.h> 585 #ifdef HAVE_SYS_TYPES_H 586 # include <sys/types.h> 587 #endif 588 #ifdef HAVE_SYS_STAT_H 589 # include <sys/stat.h> 590 #endif 591 #ifdef STDC_HEADERS 592 # include <stdlib.h> 593 # include <stddef.h> 594 #else 595 # ifdef HAVE_STDLIB_H 596 # include <stdlib.h> 597 # endif 598 #endif 599 #ifdef HAVE_STRING_H 600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 601 # include <memory.h> 602 # endif 603 # include <string.h> 604 #endif 605 #ifdef HAVE_STRINGS_H 606 # include <strings.h> 607 #endif 608 #ifdef HAVE_INTTYPES_H 609 # include <inttypes.h> 610 #endif 611 #ifdef HAVE_STDINT_H 612 # include <stdint.h> 613 #endif 614 #ifdef HAVE_UNISTD_H 615 # include <unistd.h> 616 #endif" 617 618 ac_subst_vars='SHELL 619 PATH_SEPARATOR 620 PACKAGE_NAME 621 PACKAGE_TARNAME 622 PACKAGE_VERSION 623 PACKAGE_STRING 624 PACKAGE_BUGREPORT 625 exec_prefix 626 prefix 627 program_transform_name 628 bindir 629 sbindir 630 libexecdir 631 datarootdir 632 datadir 633 sysconfdir 634 sharedstatedir 635 localstatedir 636 includedir 637 oldincludedir 638 docdir 639 infodir 640 htmldir 641 dvidir 642 pdfdir 643 psdir 644 libdir 645 localedir 646 mandir 647 DEFS 648 ECHO_C 649 ECHO_N 650 ECHO_T 651 LIBS 652 build_alias 653 host_alias 654 target_alias 655 build 656 build_cpu 657 build_vendor 658 build_os 659 host 660 host_cpu 661 host_vendor 662 host_os 663 target 664 target_cpu 665 target_vendor 666 target_os 667 INSTALL_PROGRAM 668 INSTALL_SCRIPT 669 INSTALL_DATA 670 CYGPATH_W 671 PACKAGE 672 VERSION 673 ACLOCAL 674 AUTOCONF 675 AUTOMAKE 676 AUTOHEADER 677 MAKEINFO 678 install_sh 679 STRIP 680 INSTALL_STRIP_PROGRAM 681 mkdir_p 682 AWK 683 SET_MAKE 684 am__leading_dot 685 AMTAR 686 am__tar 687 am__untar 688 USE_NLS 689 MSGFMT 690 GMSGFMT 691 MSGFMT_015 692 GMSGFMT_015 693 XGETTEXT 694 XGETTEXT_015 695 MSGMERGE 696 CC 697 CFLAGS 698 LDFLAGS 699 CPPFLAGS 700 ac_ct_CC 701 EXEEXT 702 OBJEXT 703 DEPDIR 704 am__include 705 am__quote 706 AMDEP_TRUE 707 AMDEP_FALSE 708 AMDEPBACKSLASH 709 CCDEPMODE 710 am__fastdepCC_TRUE 711 am__fastdepCC_FALSE 712 INTL_MACOSX_LIBS 713 LIBICONV 714 LTLIBICONV 715 INTLLIBS 716 LIBINTL 717 LTLIBINTL 718 POSUB 719 CPP 720 GREP 721 EGREP 722 LIBOBJS 723 LTLIBOBJS' 724 ac_subst_files='' 725 ac_precious_vars='build_alias 726 host_alias 727 target_alias 728 CC 729 CFLAGS 730 LDFLAGS 731 LIBS 732 CPPFLAGS 733 CPP' 734 735 736 # Initialize some variables set by options. 737 ac_init_help= 738 ac_init_version=false 739 # The variables have the same names as the options, with 740 # dashes changed to underlines. 741 cache_file=/dev/null 742 exec_prefix=NONE 743 no_create= 744 no_recursion= 745 prefix=NONE 746 program_prefix=NONE 747 program_suffix=NONE 748 program_transform_name=s,x,x, 749 silent= 750 site= 751 srcdir= 752 verbose= 753 x_includes=NONE 754 x_libraries=NONE 755 756 # Installation directory options. 757 # These are left unexpanded so users can "make install exec_prefix=/foo" 758 # and all the variables that are supposed to be based on exec_prefix 759 # by default will actually change. 760 # Use braces instead of parens because sh, perl, etc. also accept them. 761 # (The list follows the same order as the GNU Coding Standards.) 762 bindir='${exec_prefix}/bin' 763 sbindir='${exec_prefix}/sbin' 764 libexecdir='${exec_prefix}/libexec' 765 datarootdir='${prefix}/share' 766 datadir='${datarootdir}' 767 sysconfdir='${prefix}/etc' 768 sharedstatedir='${prefix}/com' 769 localstatedir='${prefix}/var' 770 includedir='${prefix}/include' 771 oldincludedir='/usr/include' 772 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 773 infodir='${datarootdir}/info' 774 htmldir='${docdir}' 775 dvidir='${docdir}' 776 pdfdir='${docdir}' 777 psdir='${docdir}' 778 libdir='${exec_prefix}/lib' 779 localedir='${datarootdir}/locale' 780 mandir='${datarootdir}/man' 781 782 ac_prev= 783 ac_dashdash= 784 for ac_option 785 do 786 # If the previous option needs an argument, assign it. 787 if test -n "$ac_prev"; then 788 eval $ac_prev=\$ac_option 789 ac_prev= 790 continue 791 fi 792 793 case $ac_option in 794 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 795 *) ac_optarg=yes ;; 796 esac 797 798 # Accept the important Cygnus configure options, so we can diagnose typos. 799 800 case $ac_dashdash$ac_option in 801 --) 802 ac_dashdash=yes ;; 803 804 -bindir | --bindir | --bindi | --bind | --bin | --bi) 805 ac_prev=bindir ;; 806 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 807 bindir=$ac_optarg ;; 808 809 -build | --build | --buil | --bui | --bu) 810 ac_prev=build_alias ;; 811 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 812 build_alias=$ac_optarg ;; 813 814 -cache-file | --cache-file | --cache-fil | --cache-fi \ 815 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 816 ac_prev=cache_file ;; 817 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 818 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 819 cache_file=$ac_optarg ;; 820 821 --config-cache | -C) 822 cache_file=config.cache ;; 823 824 -datadir | --datadir | --datadi | --datad) 825 ac_prev=datadir ;; 826 -datadir=* | --datadir=* | --datadi=* | --datad=*) 827 datadir=$ac_optarg ;; 828 829 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 830 | --dataroo | --dataro | --datar) 831 ac_prev=datarootdir ;; 832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 834 datarootdir=$ac_optarg ;; 835 836 -disable-* | --disable-*) 837 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 838 # Reject names that are not valid shell variable names. 839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 841 { (exit 1); exit 1; }; } 842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 843 eval enable_$ac_feature=no ;; 844 845 -docdir | --docdir | --docdi | --doc | --do) 846 ac_prev=docdir ;; 847 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 848 docdir=$ac_optarg ;; 849 850 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 851 ac_prev=dvidir ;; 852 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 853 dvidir=$ac_optarg ;; 854 855 -enable-* | --enable-*) 856 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 857 # Reject names that are not valid shell variable names. 858 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 860 { (exit 1); exit 1; }; } 861 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 862 eval enable_$ac_feature=\$ac_optarg ;; 863 864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 866 | --exec | --exe | --ex) 867 ac_prev=exec_prefix ;; 868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 870 | --exec=* | --exe=* | --ex=*) 871 exec_prefix=$ac_optarg ;; 872 873 -gas | --gas | --ga | --g) 874 # Obsolete; use --with-gas. 875 with_gas=yes ;; 876 877 -help | --help | --hel | --he | -h) 878 ac_init_help=long ;; 879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 880 ac_init_help=recursive ;; 881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 882 ac_init_help=short ;; 883 884 -host | --host | --hos | --ho) 885 ac_prev=host_alias ;; 886 -host=* | --host=* | --hos=* | --ho=*) 887 host_alias=$ac_optarg ;; 888 889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 890 ac_prev=htmldir ;; 891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 892 | --ht=*) 893 htmldir=$ac_optarg ;; 894 895 -includedir | --includedir | --includedi | --included | --include \ 896 | --includ | --inclu | --incl | --inc) 897 ac_prev=includedir ;; 898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 899 | --includ=* | --inclu=* | --incl=* | --inc=*) 900 includedir=$ac_optarg ;; 901 902 -infodir | --infodir | --infodi | --infod | --info | --inf) 903 ac_prev=infodir ;; 904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 905 infodir=$ac_optarg ;; 906 907 -libdir | --libdir | --libdi | --libd) 908 ac_prev=libdir ;; 909 -libdir=* | --libdir=* | --libdi=* | --libd=*) 910 libdir=$ac_optarg ;; 911 912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 913 | --libexe | --libex | --libe) 914 ac_prev=libexecdir ;; 915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 916 | --libexe=* | --libex=* | --libe=*) 917 libexecdir=$ac_optarg ;; 918 919 -localedir | --localedir | --localedi | --localed | --locale) 920 ac_prev=localedir ;; 921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 922 localedir=$ac_optarg ;; 923 924 -localstatedir | --localstatedir | --localstatedi | --localstated \ 925 | --localstate | --localstat | --localsta | --localst | --locals) 926 ac_prev=localstatedir ;; 927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 929 localstatedir=$ac_optarg ;; 930 931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 932 ac_prev=mandir ;; 933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 934 mandir=$ac_optarg ;; 935 936 -nfp | --nfp | --nf) 937 # Obsolete; use --without-fp. 938 with_fp=no ;; 939 940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 941 | --no-cr | --no-c | -n) 942 no_create=yes ;; 943 944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 946 no_recursion=yes ;; 947 948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 950 | --oldin | --oldi | --old | --ol | --o) 951 ac_prev=oldincludedir ;; 952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 955 oldincludedir=$ac_optarg ;; 956 957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 958 ac_prev=prefix ;; 959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 960 prefix=$ac_optarg ;; 961 962 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 963 | --program-pre | --program-pr | --program-p) 964 ac_prev=program_prefix ;; 965 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 967 program_prefix=$ac_optarg ;; 968 969 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 970 | --program-suf | --program-su | --program-s) 971 ac_prev=program_suffix ;; 972 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 974 program_suffix=$ac_optarg ;; 975 976 -program-transform-name | --program-transform-name \ 977 | --program-transform-nam | --program-transform-na \ 978 | --program-transform-n | --program-transform- \ 979 | --program-transform | --program-transfor \ 980 | --program-transfo | --program-transf \ 981 | --program-trans | --program-tran \ 982 | --progr-tra | --program-tr | --program-t) 983 ac_prev=program_transform_name ;; 984 -program-transform-name=* | --program-transform-name=* \ 985 | --program-transform-nam=* | --program-transform-na=* \ 986 | --program-transform-n=* | --program-transform-=* \ 987 | --program-transform=* | --program-transfor=* \ 988 | --program-transfo=* | --program-transf=* \ 989 | --program-trans=* | --program-tran=* \ 990 | --progr-tra=* | --program-tr=* | --program-t=*) 991 program_transform_name=$ac_optarg ;; 992 993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 994 ac_prev=pdfdir ;; 995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 996 pdfdir=$ac_optarg ;; 997 998 -psdir | --psdir | --psdi | --psd | --ps) 999 ac_prev=psdir ;; 1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1001 psdir=$ac_optarg ;; 1002 1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1004 | -silent | --silent | --silen | --sile | --sil) 1005 silent=yes ;; 1006 1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1008 ac_prev=sbindir ;; 1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1010 | --sbi=* | --sb=*) 1011 sbindir=$ac_optarg ;; 1012 1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1015 | --sharedst | --shareds | --shared | --share | --shar \ 1016 | --sha | --sh) 1017 ac_prev=sharedstatedir ;; 1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1021 | --sha=* | --sh=*) 1022 sharedstatedir=$ac_optarg ;; 1023 1024 -site | --site | --sit) 1025 ac_prev=site ;; 1026 -site=* | --site=* | --sit=*) 1027 site=$ac_optarg ;; 1028 1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1030 ac_prev=srcdir ;; 1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1032 srcdir=$ac_optarg ;; 1033 1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1035 | --syscon | --sysco | --sysc | --sys | --sy) 1036 ac_prev=sysconfdir ;; 1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1039 sysconfdir=$ac_optarg ;; 1040 1041 -target | --target | --targe | --targ | --tar | --ta | --t) 1042 ac_prev=target_alias ;; 1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1044 target_alias=$ac_optarg ;; 1045 1046 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1047 verbose=yes ;; 1048 1049 -version | --version | --versio | --versi | --vers | -V) 1050 ac_init_version=: ;; 1051 1052 -with-* | --with-*) 1053 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1054 # Reject names that are not valid shell variable names. 1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1056 { echo "$as_me: error: invalid package name: $ac_package" >&2 1057 { (exit 1); exit 1; }; } 1058 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1059 eval with_$ac_package=\$ac_optarg ;; 1060 1061 -without-* | --without-*) 1062 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1063 # Reject names that are not valid shell variable names. 1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1065 { echo "$as_me: error: invalid package name: $ac_package" >&2 1066 { (exit 1); exit 1; }; } 1067 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1068 eval with_$ac_package=no ;; 1069 1070 --x) 1071 # Obsolete; use --with-x. 1072 with_x=yes ;; 1073 1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1075 | --x-incl | --x-inc | --x-in | --x-i) 1076 ac_prev=x_includes ;; 1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1079 x_includes=$ac_optarg ;; 1080 1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1083 ac_prev=x_libraries ;; 1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1086 x_libraries=$ac_optarg ;; 1087 1088 -*) { echo "$as_me: error: unrecognized option: $ac_option 1089 Try \`$0 --help' for more information." >&2 1090 { (exit 1); exit 1; }; } 1091 ;; 1092 1093 *=*) 1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1095 # Reject names that are not valid shell variable names. 1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1098 { (exit 1); exit 1; }; } 1099 eval $ac_envvar=\$ac_optarg 1100 export $ac_envvar ;; 1101 1102 *) 1103 # FIXME: should be removed in autoconf 3.0. 1104 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1108 ;; 1109 1110 esac 1111 done 1112 1113 if test -n "$ac_prev"; then 1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1115 { echo "$as_me: error: missing argument to $ac_option" >&2 1116 { (exit 1); exit 1; }; } 1117 fi 1118 1119 # Be sure to have absolute directory names. 1120 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1121 datadir sysconfdir sharedstatedir localstatedir includedir \ 1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1123 libdir localedir mandir 1124 do 1125 eval ac_val=\$$ac_var 1126 case $ac_val in 1127 [\\/$]* | ?:[\\/]* ) continue;; 1128 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1129 esac 1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1131 { (exit 1); exit 1; }; } 1132 done 1133 1134 # There might be people who depend on the old broken behavior: `$host' 1135 # used to hold the argument of --host etc. 1136 # FIXME: To remove some day. 1137 build=$build_alias 1138 host=$host_alias 1139 target=$target_alias 1140 1141 # FIXME: To remove some day. 1142 if test "x$host_alias" != x; then 1143 if test "x$build_alias" = x; then 1144 cross_compiling=maybe 1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1146 If a cross compiler is detected then cross compile mode will be used." >&2 1147 elif test "x$build_alias" != "x$host_alias"; then 1148 cross_compiling=yes 1149 fi 1150 fi 1151 1152 ac_tool_prefix= 1153 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1154 1155 test "$silent" = yes && exec 6>/dev/null 1156 1157 1158 ac_pwd=`pwd` && test -n "$ac_pwd" && 1159 ac_ls_di=`ls -di .` && 1160 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1161 { echo "$as_me: error: Working directory cannot be determined" >&2 1162 { (exit 1); exit 1; }; } 1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1164 { echo "$as_me: error: pwd does not report name of working directory" >&2 1165 { (exit 1); exit 1; }; } 1166 1167 1168 # Find the source files, if location was not specified. 1169 if test -z "$srcdir"; then 1170 ac_srcdir_defaulted=yes 1171 # Try the directory containing this script, then the parent directory. 1172 ac_confdir=`$as_dirname -- "$0" || 1173 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1174 X"$0" : 'X\(//\)[^/]' \| \ 1175 X"$0" : 'X\(//\)$' \| \ 1176 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1177 echo X"$0" | 1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1179 s//\1/ 1180 q 1181 } 1182 /^X\(\/\/\)[^/].*/{ 1183 s//\1/ 1184 q 1185 } 1186 /^X\(\/\/\)$/{ 1187 s//\1/ 1188 q 1189 } 1190 /^X\(\/\).*/{ 1191 s//\1/ 1192 q 1193 } 1194 s/.*/./; q'` 1195 srcdir=$ac_confdir 1196 if test ! -r "$srcdir/$ac_unique_file"; then 1197 srcdir=.. 1198 fi 1199 else 1200 ac_srcdir_defaulted=no 1201 fi 1202 if test ! -r "$srcdir/$ac_unique_file"; then 1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1205 { (exit 1); exit 1; }; } 1206 fi 1207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1208 ac_abs_confdir=`( 1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1210 { (exit 1); exit 1; }; } 1211 pwd)` 1212 # When building in place, set srcdir=. 1213 if test "$ac_abs_confdir" = "$ac_pwd"; then 1214 srcdir=. 1215 fi 1216 # Remove unnecessary trailing slashes from srcdir. 1217 # Double slashes in file names in object file debugging info 1218 # mess up M-x gdb in Emacs. 1219 case $srcdir in 1220 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1221 esac 1222 for ac_var in $ac_precious_vars; do 1223 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1224 eval ac_env_${ac_var}_value=\$${ac_var} 1225 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1226 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1227 done 1228 1229 # 1230 # Report the --help message. 1231 # 1232 if test "$ac_init_help" = "long"; then 1233 # Omit some internal or obsolete options to make the list less imposing. 1234 # This message is too long to be a string in the A/UX 3.1 sh. 1235 cat <<_ACEOF 1236 \`configure' configures authforce 0.9.9 to adapt to many kinds of systems. 1237 1238 Usage: $0 [OPTION]... [VAR=VALUE]... 1239 1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1241 VAR=VALUE. See below for descriptions of some of the useful variables. 1242 1243 Defaults for the options are specified in brackets. 1244 1245 Configuration: 1246 -h, --help display this help and exit 1247 --help=short display options specific to this package 1248 --help=recursive display the short help of all the included packages 1249 -V, --version display version information and exit 1250 -q, --quiet, --silent do not print \`checking...' messages 1251 --cache-file=FILE cache test results in FILE [disabled] 1252 -C, --config-cache alias for \`--cache-file=config.cache' 1253 -n, --no-create do not create output files 1254 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1255 1256 Installation directories: 1257 --prefix=PREFIX install architecture-independent files in PREFIX 1258 [$ac_default_prefix] 1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1260 [PREFIX] 1261 1262 By default, \`make install' will install all the files in 1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1265 for instance \`--prefix=\$HOME'. 1266 1267 For better control, use the options below. 1268 1269 Fine tuning of the installation directories: 1270 --bindir=DIR user executables [EPREFIX/bin] 1271 --sbindir=DIR system admin executables [EPREFIX/sbin] 1272 --libexecdir=DIR program executables [EPREFIX/libexec] 1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1276 --libdir=DIR object code libraries [EPREFIX/lib] 1277 --includedir=DIR C header files [PREFIX/include] 1278 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1281 --infodir=DIR info documentation [DATAROOTDIR/info] 1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1283 --mandir=DIR man documentation [DATAROOTDIR/man] 1284 --docdir=DIR documentation root [DATAROOTDIR/doc/authforce] 1285 --htmldir=DIR html documentation [DOCDIR] 1286 --dvidir=DIR dvi documentation [DOCDIR] 1287 --pdfdir=DIR pdf documentation [DOCDIR] 1288 --psdir=DIR ps documentation [DOCDIR] 1289 _ACEOF 1290 1291 cat <<\_ACEOF 1292 1293 Program names: 1294 --program-prefix=PREFIX prepend PREFIX to installed program names 1295 --program-suffix=SUFFIX append SUFFIX to installed program names 1296 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1297 1298 System types: 1299 --build=BUILD configure for building on BUILD [guessed] 1300 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1301 --target=TARGET configure for building compilers for TARGET [HOST] 1302 _ACEOF 1303 fi 1304 1305 if test -n "$ac_init_help"; then 1306 case $ac_init_help in 1307 short | recursive ) echo "Configuration of authforce 0.9.9:";; 1308 esac 1309 cat <<\_ACEOF 1310 1311 Optional Features: 1312 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1313 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1314 --disable-nls do not use Native Language Support 1315 --disable-dependency-tracking speeds up one-time build 1316 --enable-dependency-tracking do not reject slow dependency extractors 1317 --disable-rpath do not hardcode runtime library paths 1318 1319 Optional Packages: 1320 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1321 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1322 --with-dmalloc use dmalloc, as in 1323 http://www.dmalloc.com/dmalloc.tar.gz 1324 --with-gnu-ld assume the C compiler uses GNU ld default=no 1325 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1326 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1327 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1328 --without-libintl-prefix don't search for libintl in includedir and libdir 1329 --with-curl attempt compiling using CURL default=yes 1330 CURL is available at http://curl.haxx.se/ 1331 --with-path=PATH change default path 1332 1333 Some influential environment variables: 1334 CC C compiler command 1335 CFLAGS C compiler flags 1336 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1337 nonstandard directory <lib dir> 1338 LIBS libraries to pass to the linker, e.g. -l<library> 1339 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1340 you have headers in a nonstandard directory <include dir> 1341 CPP C preprocessor 1342 1343 Use these variables to override the choices made by `configure' or to help 1344 it to find libraries and programs with nonstandard names/locations. 1345 1346 Report bugs to <kapheine@divineinvasion.net>. 1347 _ACEOF 1348 ac_status=$? 1349 fi 1350 1351 if test "$ac_init_help" = "recursive"; then 1352 # If there are subdirs, report their specific --help. 1353 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1354 test -d "$ac_dir" || continue 1355 ac_builddir=. 1356 1357 case "$ac_dir" in 1358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1359 *) 1360 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1361 # A ".." for each directory in $ac_dir_suffix. 1362 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1363 case $ac_top_builddir_sub in 1364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1366 esac ;; 1367 esac 1368 ac_abs_top_builddir=$ac_pwd 1369 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1370 # for backward compatibility: 1371 ac_top_builddir=$ac_top_build_prefix 1372 1373 case $srcdir in 1374 .) # We are building in place. 1375 ac_srcdir=. 1376 ac_top_srcdir=$ac_top_builddir_sub 1377 ac_abs_top_srcdir=$ac_pwd ;; 1378 [\\/]* | ?:[\\/]* ) # Absolute name. 1379 ac_srcdir=$srcdir$ac_dir_suffix; 1380 ac_top_srcdir=$srcdir 1381 ac_abs_top_srcdir=$srcdir ;; 1382 *) # Relative name. 1383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1384 ac_top_srcdir=$ac_top_build_prefix$srcdir 1385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1386 esac 1387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1388 1389 cd "$ac_dir" || { ac_status=$?; continue; } 1390 # Check for guested configure. 1391 if test -f "$ac_srcdir/configure.gnu"; then 1392 echo && 1393 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1394 elif test -f "$ac_srcdir/configure"; then 1395 echo && 1396 $SHELL "$ac_srcdir/configure" --help=recursive 1397 else 1398 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1399 fi || ac_status=$? 1400 cd "$ac_pwd" || { ac_status=$?; break; } 1401 done 1402 fi 1403 1404 test -n "$ac_init_help" && exit $ac_status 1405 if $ac_init_version; then 1406 cat <<\_ACEOF 1407 authforce configure 0.9.9 1408 generated by GNU Autoconf 2.61 1409 1410 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1411 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1412 This configure script is free software; the Free Software Foundation 1413 gives unlimited permission to copy, distribute and modify it. 1414 _ACEOF 1415 exit 1416 fi 1417 cat >config.log <<_ACEOF 1418 This file contains any messages produced by compilers while 1419 running configure, to aid debugging if configure makes a mistake. 1420 1421 It was created by authforce $as_me 0.9.9, which was 1422 generated by GNU Autoconf 2.61. Invocation command line was 1423 1424 $ $0 $@ 1425 1426 _ACEOF 1427 exec 5>>config.log 1428 { 1429 cat <<_ASUNAME 1430 ## --------- ## 1431 ## Platform. ## 1432 ## --------- ## 1433 1434 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1435 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1436 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1437 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1438 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1439 1440 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1441 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1442 1443 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1444 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1445 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1446 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1447 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1448 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1449 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1450 1451 _ASUNAME 1452 1453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1454 for as_dir in $PATH 1455 do 1456 IFS=$as_save_IFS 1457 test -z "$as_dir" && as_dir=. 1458 echo "PATH: $as_dir" 1459 done 1460 IFS=$as_save_IFS 1461 1462 } >&5 1463 1464 cat >&5 <<_ACEOF 1465 1466 1467 ## ----------- ## 1468 ## Core tests. ## 1469 ## ----------- ## 1470 1471 _ACEOF 1472 1473 1474 # Keep a trace of the command line. 1475 # Strip out --no-create and --no-recursion so they do not pile up. 1476 # Strip out --silent because we don't want to record it for future runs. 1477 # Also quote any args containing shell meta-characters. 1478 # Make two passes to allow for proper duplicate-argument suppression. 1479 ac_configure_args= 1480 ac_configure_args0= 1481 ac_configure_args1= 1482 ac_must_keep_next=false 1483 for ac_pass in 1 2 1484 do 1485 for ac_arg 1486 do 1487 case $ac_arg in 1488 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1490 | -silent | --silent | --silen | --sile | --sil) 1491 continue ;; 1492 *\'*) 1493 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1494 esac 1495 case $ac_pass in 1496 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1497 2) 1498 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1499 if test $ac_must_keep_next = true; then 1500 ac_must_keep_next=false # Got value, back to normal. 1501 else 1502 case $ac_arg in 1503 *=* | --config-cache | -C | -disable-* | --disable-* \ 1504 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1505 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1506 | -with-* | --with-* | -without-* | --without-* | --x) 1507 case "$ac_configure_args0 " in 1508 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1509 esac 1510 ;; 1511 -* ) ac_must_keep_next=true ;; 1512 esac 1513 fi 1514 ac_configure_args="$ac_configure_args '$ac_arg'" 1515 ;; 1516 esac 1517 done 1518 done 1519 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1520 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1521 1522 # When interrupted or exit'd, cleanup temporary files, and complete 1523 # config.log. We remove comments because anyway the quotes in there 1524 # would cause problems or look ugly. 1525 # WARNING: Use '\'' to represent an apostrophe within the trap. 1526 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1527 trap 'exit_status=$? 1528 # Save into config.log some information that might help in debugging. 1529 { 1530 echo 1531 1532 cat <<\_ASBOX 1533 ## ---------------- ## 1534 ## Cache variables. ## 1535 ## ---------------- ## 1536 _ASBOX 1537 echo 1538 # The following way of writing the cache mishandles newlines in values, 1539 ( 1540 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1541 eval ac_val=\$$ac_var 1542 case $ac_val in #( 1543 *${as_nl}*) 1544 case $ac_var in #( 1545 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1546 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1547 esac 1548 case $ac_var in #( 1549 _ | IFS | as_nl) ;; #( 1550 *) $as_unset $ac_var ;; 1551 esac ;; 1552 esac 1553 done 1554 (set) 2>&1 | 1555 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1556 *${as_nl}ac_space=\ *) 1557 sed -n \ 1558 "s/'\''/'\''\\\\'\'''\''/g; 1559 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1560 ;; #( 1561 *) 1562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1563 ;; 1564 esac | 1565 sort 1566 ) 1567 echo 1568 1569 cat <<\_ASBOX 1570 ## ----------------- ## 1571 ## Output variables. ## 1572 ## ----------------- ## 1573 _ASBOX 1574 echo 1575 for ac_var in $ac_subst_vars 1576 do 1577 eval ac_val=\$$ac_var 1578 case $ac_val in 1579 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1580 esac 1581 echo "$ac_var='\''$ac_val'\''" 1582 done | sort 1583 echo 1584 1585 if test -n "$ac_subst_files"; then 1586 cat <<\_ASBOX 1587 ## ------------------- ## 1588 ## File substitutions. ## 1589 ## ------------------- ## 1590 _ASBOX 1591 echo 1592 for ac_var in $ac_subst_files 1593 do 1594 eval ac_val=\$$ac_var 1595 case $ac_val in 1596 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1597 esac 1598 echo "$ac_var='\''$ac_val'\''" 1599 done | sort 1600 echo 1601 fi 1602 1603 if test -s confdefs.h; then 1604 cat <<\_ASBOX 1605 ## ----------- ## 1606 ## confdefs.h. ## 1607 ## ----------- ## 1608 _ASBOX 1609 echo 1610 cat confdefs.h 1611 echo 1612 fi 1613 test "$ac_signal" != 0 && 1614 echo "$as_me: caught signal $ac_signal" 1615 echo "$as_me: exit $exit_status" 1616 } >&5 1617 rm -f core *.core core.conftest.* && 1618 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1619 exit $exit_status 1620 ' 0 1621 for ac_signal in 1 2 13 15; do 1622 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1623 done 1624 ac_signal=0 1625 1626 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1627 rm -f -r conftest* confdefs.h 1628 1629 # Predefined preprocessor variables. 1630 1631 cat >>confdefs.h <<_ACEOF 1632 #define PACKAGE_NAME "$PACKAGE_NAME" 1633 _ACEOF 1634 1635 1636 cat >>confdefs.h <<_ACEOF 1637 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1638 _ACEOF 1639 1640 1641 cat >>confdefs.h <<_ACEOF 1642 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1643 _ACEOF 1644 1645 1646 cat >>confdefs.h <<_ACEOF 1647 #define PACKAGE_STRING "$PACKAGE_STRING" 1648 _ACEOF 1649 1650 1651 cat >>confdefs.h <<_ACEOF 1652 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1653 _ACEOF 1654 1655 1656 # Let the site file select an alternate cache file if it wants to. 1657 # Prefer explicitly selected file to automatically selected ones. 1658 if test -n "$CONFIG_SITE"; then 1659 set x "$CONFIG_SITE" 1660 elif test "x$prefix" != xNONE; then 1661 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1662 else 1663 set x "$ac_default_prefix/share/config.site" \ 1664 "$ac_default_prefix/etc/config.site" 1665 fi 1666 shift 1667 for ac_site_file 1668 do 1669 if test -r "$ac_site_file"; then 1670 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1671 echo "$as_me: loading site script $ac_site_file" >&6;} 1672 sed 's/^/| /' "$ac_site_file" >&5 1673 . "$ac_site_file" 1674 fi 1675 done 1676 1677 if test -r "$cache_file"; then 1678 # Some versions of bash will fail to source /dev/null (special 1679 # files actually), so we avoid doing that. 1680 if test -f "$cache_file"; then 1681 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1682 echo "$as_me: loading cache $cache_file" >&6;} 1683 case $cache_file in 1684 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1685 *) . "./$cache_file";; 1686 esac 1687 fi 1688 else 1689 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1690 echo "$as_me: creating cache $cache_file" >&6;} 1691 >$cache_file 1692 fi 1693 1694 gt_needs="$gt_needs " 1695 # Check that the precious variables saved in the cache have kept the same 1696 # value. 1697 ac_cache_corrupted=false 1698 for ac_var in $ac_precious_vars; do 1699 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1700 eval ac_new_set=\$ac_env_${ac_var}_set 1701 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1702 eval ac_new_val=\$ac_env_${ac_var}_value 1703 case $ac_old_set,$ac_new_set in 1704 set,) 1705 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1706 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1707 ac_cache_corrupted=: ;; 1708 ,set) 1709 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1710 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1711 ac_cache_corrupted=: ;; 1712 ,);; 1713 *) 1714 if test "x$ac_old_val" != "x$ac_new_val"; then 1715 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1716 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1717 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1718 echo "$as_me: former value: $ac_old_val" >&2;} 1719 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1720 echo "$as_me: current value: $ac_new_val" >&2;} 1721 ac_cache_corrupted=: 1722 fi;; 1723 esac 1724 # Pass precious variables to config.status. 1725 if test "$ac_new_set" = set; then 1726 case $ac_new_val in 1727 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1728 *) ac_arg=$ac_var=$ac_new_val ;; 1729 esac 1730 case " $ac_configure_args " in 1731 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1732 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1733 esac 1734 fi 1735 done 1736 if $ac_cache_corrupted; then 1737 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1738 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1739 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1740 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1741 { (exit 1); exit 1; }; } 1742 fi 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 ac_ext=c 1769 ac_cpp='$CPP $CPPFLAGS' 1770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1772 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1773 1774 1775 ac_aux_dir= 1776 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1777 if test -f "$ac_dir/install-sh"; then 1778 ac_aux_dir=$ac_dir 1779 ac_install_sh="$ac_aux_dir/install-sh -c" 1780 break 1781 elif test -f "$ac_dir/install.sh"; then 1782 ac_aux_dir=$ac_dir 1783 ac_install_sh="$ac_aux_dir/install.sh -c" 1784 break 1785 elif test -f "$ac_dir/shtool"; then 1786 ac_aux_dir=$ac_dir 1787 ac_install_sh="$ac_aux_dir/shtool install -c" 1788 break 1789 fi 1790 done 1791 if test -z "$ac_aux_dir"; then 1792 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1793 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1794 { (exit 1); exit 1; }; } 1795 fi 1796 1797 # These three variables are undocumented and unsupported, 1798 # and are intended to be withdrawn in a future Autoconf release. 1799 # They can cause serious problems if a builder's source tree is in a directory 1800 # whose full name contains unusual characters. 1801 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1802 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1803 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1804 1805 1806 # Make sure we can run config.sub. 1807 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1808 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1809 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1810 { (exit 1); exit 1; }; } 1811 1812 { echo "$as_me:$LINENO: checking build system type" >&5 1813 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1814 if test "${ac_cv_build+set}" = set; then 1815 echo $ECHO_N "(cached) $ECHO_C" >&6 1816 else 1817 ac_build_alias=$build_alias 1818 test "x$ac_build_alias" = x && 1819 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1820 test "x$ac_build_alias" = x && 1821 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1822 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1823 { (exit 1); exit 1; }; } 1824 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1825 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1826 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1827 { (exit 1); exit 1; }; } 1828 1829 fi 1830 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1831 echo "${ECHO_T}$ac_cv_build" >&6; } 1832 case $ac_cv_build in 1833 *-*-*) ;; 1834 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1835 echo "$as_me: error: invalid value of canonical build" >&2;} 1836 { (exit 1); exit 1; }; };; 1837 esac 1838 build=$ac_cv_build 1839 ac_save_IFS=$IFS; IFS='-' 1840 set x $ac_cv_build 1841 shift 1842 build_cpu=$1 1843 build_vendor=$2 1844 shift; shift 1845 # Remember, the first character of IFS is used to create $*, 1846 # except with old shells: 1847 build_os=$* 1848 IFS=$ac_save_IFS 1849 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1850 1851 1852 { echo "$as_me:$LINENO: checking host system type" >&5 1853 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1854 if test "${ac_cv_host+set}" = set; then 1855 echo $ECHO_N "(cached) $ECHO_C" >&6 1856 else 1857 if test "x$host_alias" = x; then 1858 ac_cv_host=$ac_cv_build 1859 else 1860 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1861 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1862 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1863 { (exit 1); exit 1; }; } 1864 fi 1865 1866 fi 1867 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1868 echo "${ECHO_T}$ac_cv_host" >&6; } 1869 case $ac_cv_host in 1870 *-*-*) ;; 1871 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1872 echo "$as_me: error: invalid value of canonical host" >&2;} 1873 { (exit 1); exit 1; }; };; 1874 esac 1875 host=$ac_cv_host 1876 ac_save_IFS=$IFS; IFS='-' 1877 set x $ac_cv_host 1878 shift 1879 host_cpu=$1 1880 host_vendor=$2 1881 shift; shift 1882 # Remember, the first character of IFS is used to create $*, 1883 # except with old shells: 1884 host_os=$* 1885 IFS=$ac_save_IFS 1886 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1887 1888 1889 { echo "$as_me:$LINENO: checking target system type" >&5 1890 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1891 if test "${ac_cv_target+set}" = set; then 1892 echo $ECHO_N "(cached) $ECHO_C" >&6 1893 else 1894 if test "x$target_alias" = x; then 1895 ac_cv_target=$ac_cv_host 1896 else 1897 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1898 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1899 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1900 { (exit 1); exit 1; }; } 1901 fi 1902 1903 fi 1904 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1905 echo "${ECHO_T}$ac_cv_target" >&6; } 1906 case $ac_cv_target in 1907 *-*-*) ;; 1908 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1909 echo "$as_me: error: invalid value of canonical target" >&2;} 1910 { (exit 1); exit 1; }; };; 1911 esac 1912 target=$ac_cv_target 1913 ac_save_IFS=$IFS; IFS='-' 1914 set x $ac_cv_target 1915 shift 1916 target_cpu=$1 1917 target_vendor=$2 1918 shift; shift 1919 # Remember, the first character of IFS is used to create $*, 1920 # except with old shells: 1921 target_os=$* 1922 IFS=$ac_save_IFS 1923 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1924 1925 1926 # The aliases save the names the user supplied, while $host etc. 1927 # will get canonicalized. 1928 test -n "$target_alias" && 1929 test "$program_prefix$program_suffix$program_transform_name" = \ 1930 NONENONEs,x,x, && 1931 program_prefix=${target_alias}- 1932 am__api_version="1.9" 1933 # Find a good install program. We prefer a C program (faster), 1934 # so one script is as good as another. But avoid the broken or 1935 # incompatible versions: 1936 # SysV /etc/install, /usr/sbin/install 1937 # SunOS /usr/etc/install 1938 # IRIX /sbin/install 1939 # AIX /bin/install 1940 # AmigaOS /C/install, which installs bootblocks on floppy discs 1941 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1942 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1943 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1944 # OS/2's system install, which has a completely different semantic 1945 # ./install, which can be erroneously created by make from ./install.sh. 1946 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1947 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1948 if test -z "$INSTALL"; then 1949 if test "${ac_cv_path_install+set}" = set; then 1950 echo $ECHO_N "(cached) $ECHO_C" >&6 1951 else 1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1953 for as_dir in $PATH 1954 do 1955 IFS=$as_save_IFS 1956 test -z "$as_dir" && as_dir=. 1957 # Account for people who put trailing slashes in PATH elements. 1958 case $as_dir/ in 1959 ./ | .// | /cC/* | \ 1960 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1961 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1962 /usr/ucb/* ) ;; 1963 *) 1964 # OSF1 and SCO ODT 3.0 have their own names for install. 1965 # Don't use installbsd from OSF since it installs stuff as root 1966 # by default. 1967 for ac_prog in ginstall scoinst install; do 1968 for ac_exec_ext in '' $ac_executable_extensions; do 1969 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1970 if test $ac_prog = install && 1971 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1972 # AIX install. It has an incompatible calling convention. 1973 : 1974 elif test $ac_prog = install && 1975 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1976 # program-specific install script used by HP pwplus--don't use. 1977 : 1978 else 1979 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1980 break 3 1981 fi 1982 fi 1983 done 1984 done 1985 ;; 1986 esac 1987 done 1988 IFS=$as_save_IFS 1989 1990 1991 fi 1992 if test "${ac_cv_path_install+set}" = set; then 1993 INSTALL=$ac_cv_path_install 1994 else 1995 # As a last resort, use the slow shell script. Don't cache a 1996 # value for INSTALL within a source directory, because that will 1997 # break other packages using the cache if that directory is 1998 # removed, or if the value is a relative name. 1999 INSTALL=$ac_install_sh 2000 fi 2001 fi 2002 { echo "$as_me:$LINENO: result: $INSTALL" >&5 2003 echo "${ECHO_T}$INSTALL" >&6; } 2004 2005 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2006 # It thinks the first close brace ends the variable substitution. 2007 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2008 2009 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2010 2011 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2012 2013 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2014 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2015 # Just in case 2016 sleep 1 2017 echo timestamp > conftest.file 2018 # Do `set' in a subshell so we don't clobber the current shell's 2019 # arguments. Must try -L first in case configure is actually a 2020 # symlink; some systems play weird games with the mod time of symlinks 2021 # (eg FreeBSD returns the mod time of the symlink's containing 2022 # directory). 2023 if ( 2024 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2025 if test "$*" = "X"; then 2026 # -L didn't work. 2027 set X `ls -t $srcdir/configure conftest.file` 2028 fi 2029 rm -f conftest.file 2030 if test "$*" != "X $srcdir/configure conftest.file" \ 2031 && test "$*" != "X conftest.file $srcdir/configure"; then 2032 2033 # If neither matched, then we have a broken ls. This can happen 2034 # if, for instance, CONFIG_SHELL is bash and it inherits a 2035 # broken ls alias from the environment. This has actually 2036 # happened. Such a system could not be considered "sane". 2037 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2038 alias in your environment" >&5 2039 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2040 alias in your environment" >&2;} 2041 { (exit 1); exit 1; }; } 2042 fi 2043 2044 test "$2" = conftest.file 2045 ) 2046 then 2047 # Ok. 2048 : 2049 else 2050 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2051 Check your system clock" >&5 2052 echo "$as_me: error: newly created file is older than distributed files! 2053 Check your system clock" >&2;} 2054 { (exit 1); exit 1; }; } 2055 fi 2056 { echo "$as_me:$LINENO: result: yes" >&5 2057 echo "${ECHO_T}yes" >&6; } 2058 test "$program_prefix" != NONE && 2059 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2060 # Use a double $ so make ignores it. 2061 test "$program_suffix" != NONE && 2062 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2063 # Double any \ or $. echo might interpret backslashes. 2064 # By default was `s,x,x', remove it if useless. 2065 cat <<\_ACEOF >conftest.sed 2066 s/[\\$]/&&/g;s/;s,x,x,$// 2067 _ACEOF 2068 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2069 rm -f conftest.sed 2070 2071 # expand $ac_aux_dir to an absolute path 2072 am_aux_dir=`cd $ac_aux_dir && pwd` 2073 2074 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2075 # Use eval to expand $SHELL 2076 if eval "$MISSING --run true"; then 2077 am_missing_run="$MISSING --run " 2078 else 2079 am_missing_run= 2080 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2081 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2082 fi 2083 2084 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2085 # We used to keeping the `.' as first argument, in order to 2086 # allow $(mkdir_p) to be used without argument. As in 2087 # $(mkdir_p) $(somedir) 2088 # where $(somedir) is conditionally defined. However this is wrong 2089 # for two reasons: 2090 # 1. if the package is installed by a user who cannot write `.' 2091 # make install will fail, 2092 # 2. the above comment should most certainly read 2093 # $(mkdir_p) $(DESTDIR)$(somedir) 2094 # so it does not work when $(somedir) is undefined and 2095 # $(DESTDIR) is not. 2096 # To support the latter case, we have to write 2097 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 2098 # so the `.' trick is pointless. 2099 mkdir_p='mkdir -p --' 2100 else 2101 # On NextStep and OpenStep, the `mkdir' command does not 2102 # recognize any option. It will interpret all options as 2103 # directories to create, and then abort because `.' already 2104 # exists. 2105 for d in ./-p ./--version; 2106 do 2107 test -d $d && rmdir $d 2108 done 2109 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 2110 if test -f "$ac_aux_dir/mkinstalldirs"; then 2111 mkdir_p='$(mkinstalldirs)' 2112 else 2113 mkdir_p='$(install_sh) -d' 2114 fi 2115 fi 2116 2117 for ac_prog in gawk mawk nawk awk 2118 do 2119 # Extract the first word of "$ac_prog", so it can be a program name with args. 2120 set dummy $ac_prog; ac_word=$2 2121 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2123 if test "${ac_cv_prog_AWK+set}" = set; then 2124 echo $ECHO_N "(cached) $ECHO_C" >&6 2125 else 2126 if test -n "$AWK"; then 2127 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2128 else 2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2130 for as_dir in $PATH 2131 do 2132 IFS=$as_save_IFS 2133 test -z "$as_dir" && as_dir=. 2134 for ac_exec_ext in '' $ac_executable_extensions; do 2135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2136 ac_cv_prog_AWK="$ac_prog" 2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2138 break 2 2139 fi 2140 done 2141 done 2142 IFS=$as_save_IFS 2143 2144 fi 2145 fi 2146 AWK=$ac_cv_prog_AWK 2147 if test -n "$AWK"; then 2148 { echo "$as_me:$LINENO: result: $AWK" >&5 2149 echo "${ECHO_T}$AWK" >&6; } 2150 else 2151 { echo "$as_me:$LINENO: result: no" >&5 2152 echo "${ECHO_T}no" >&6; } 2153 fi 2154 2155 2156 test -n "$AWK" && break 2157 done 2158 2159 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2160 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2161 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2162 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2163 echo $ECHO_N "(cached) $ECHO_C" >&6 2164 else 2165 cat >conftest.make <<\_ACEOF 2166 SHELL = /bin/sh 2167 all: 2168 @echo '@@@%%%=$(MAKE)=@@@%%%' 2169 _ACEOF 2170 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2171 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2172 *@@@%%%=?*=@@@%%%*) 2173 eval ac_cv_prog_make_${ac_make}_set=yes;; 2174 *) 2175 eval ac_cv_prog_make_${ac_make}_set=no;; 2176 esac 2177 rm -f conftest.make 2178 fi 2179 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2180 { echo "$as_me:$LINENO: result: yes" >&5 2181 echo "${ECHO_T}yes" >&6; } 2182 SET_MAKE= 2183 else 2184 { echo "$as_me:$LINENO: result: no" >&5 2185 echo "${ECHO_T}no" >&6; } 2186 SET_MAKE="MAKE=${MAKE-make}" 2187 fi 2188 2189 rm -rf .tst 2>/dev/null 2190 mkdir .tst 2>/dev/null 2191 if test -d .tst; then 2192 am__leading_dot=. 2193 else 2194 am__leading_dot=_ 2195 fi 2196 rmdir .tst 2>/dev/null 2197 2198 # test to see if srcdir already configured 2199 if test "`cd $srcdir && pwd`" != "`pwd`" && 2200 test -f $srcdir/config.status; then 2201 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2202 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2203 { (exit 1); exit 1; }; } 2204 fi 2205 2206 # test whether we have cygpath 2207 if test -z "$CYGPATH_W"; then 2208 if (cygpath --version) >/dev/null 2>/dev/null; then 2209 CYGPATH_W='cygpath -w' 2210 else 2211 CYGPATH_W=echo 2212 fi 2213 fi 2214 2215 2216 # Define the identity of the package. 2217 PACKAGE='authforce' 2218 VERSION='0.9.9' 2219 2220 2221 cat >>confdefs.h <<_ACEOF 2222 #define PACKAGE "$PACKAGE" 2223 _ACEOF 2224 2225 2226 cat >>confdefs.h <<_ACEOF 2227 #define VERSION "$VERSION" 2228 _ACEOF 2229 2230 # Some tools Automake needs. 2231 2232 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2233 2234 2235 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2236 2237 2238 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2239 2240 2241 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2242 2243 2244 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2245 2246 install_sh=${install_sh-"$am_aux_dir/install-sh"} 2247 2248 # Installed binaries are usually stripped using `strip' when the user 2249 # run `make install-strip'. However `strip' might not be the right 2250 # tool to use in cross-compilation environments, therefore Automake 2251 # will honor the `STRIP' environment variable to overrule this program. 2252 if test "$cross_compiling" != no; then 2253 if test -n "$ac_tool_prefix"; then 2254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2255 set dummy ${ac_tool_prefix}strip; ac_word=$2 2256 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2258 if test "${ac_cv_prog_STRIP+set}" = set; then 2259 echo $ECHO_N "(cached) $ECHO_C" >&6 2260 else 2261 if test -n "$STRIP"; then 2262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2263 else 2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2265 for as_dir in $PATH 2266 do 2267 IFS=$as_save_IFS 2268 test -z "$as_dir" && as_dir=. 2269 for ac_exec_ext in '' $ac_executable_extensions; do 2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2271 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2273 break 2 2274 fi 2275 done 2276 done 2277 IFS=$as_save_IFS 2278 2279 fi 2280 fi 2281 STRIP=$ac_cv_prog_STRIP 2282 if test -n "$STRIP"; then 2283 { echo "$as_me:$LINENO: result: $STRIP" >&5 2284 echo "${ECHO_T}$STRIP" >&6; } 2285 else 2286 { echo "$as_me:$LINENO: result: no" >&5 2287 echo "${ECHO_T}no" >&6; } 2288 fi 2289 2290 2291 fi 2292 if test -z "$ac_cv_prog_STRIP"; then 2293 ac_ct_STRIP=$STRIP 2294 # Extract the first word of "strip", so it can be a program name with args. 2295 set dummy strip; ac_word=$2 2296 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2298 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2299 echo $ECHO_N "(cached) $ECHO_C" >&6 2300 else 2301 if test -n "$ac_ct_STRIP"; then 2302 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2303 else 2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2305 for as_dir in $PATH 2306 do 2307 IFS=$as_save_IFS 2308 test -z "$as_dir" && as_dir=. 2309 for ac_exec_ext in '' $ac_executable_extensions; do 2310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2311 ac_cv_prog_ac_ct_STRIP="strip" 2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2313 break 2 2314 fi 2315 done 2316 done 2317 IFS=$as_save_IFS 2318 2319 fi 2320 fi 2321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2322 if test -n "$ac_ct_STRIP"; then 2323 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2324 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2325 else 2326 { echo "$as_me:$LINENO: result: no" >&5 2327 echo "${ECHO_T}no" >&6; } 2328 fi 2329 2330 if test "x$ac_ct_STRIP" = x; then 2331 STRIP=":" 2332 else 2333 case $cross_compiling:$ac_tool_warned in 2334 yes:) 2335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2336 whose name does not start with the host triplet. If you think this 2337 configuration is useful to you, please write to autoconf@gnu.org." >&5 2338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2339 whose name does not start with the host triplet. If you think this 2340 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2341 ac_tool_warned=yes ;; 2342 esac 2343 STRIP=$ac_ct_STRIP 2344 fi 2345 else 2346 STRIP="$ac_cv_prog_STRIP" 2347 fi 2348 2349 fi 2350 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2351 2352 # We need awk for the "check" target. The system "awk" is bad on 2353 # some platforms. 2354 # Always define AMTAR for backward compatibility. 2355 2356 AMTAR=${AMTAR-"${am_missing_run}tar"} 2357 2358 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2359 2360 2361 2362 2363 2364 2365 ac_config_headers="$ac_config_headers config.h" 2366 2367 2368 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 2369 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; } 2370 2371 # Check whether --with-dmalloc was given. 2372 if test "${with_dmalloc+set}" = set; then 2373 withval=$with_dmalloc; if test "$withval" = yes; then 2374 { echo "$as_me:$LINENO: result: yes" >&5 2375 echo "${ECHO_T}yes" >&6; } 2376 2377 cat >>confdefs.h <<\_ACEOF 2378 #define WITH_DMALLOC 1 2379 _ACEOF 2380 2381 LIBS="$LIBS -ldmalloc" 2382 LDFLAGS="$LDFLAGS -g" 2383 else 2384 { echo "$as_me:$LINENO: result: no" >&5 2385 echo "${ECHO_T}no" >&6; } 2386 fi 2387 else 2388 { echo "$as_me:$LINENO: result: no" >&5 2389 echo "${ECHO_T}no" >&6; } 2390 fi 2391 2392 2393 2394 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 2395 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } 2396 # Check whether --enable-nls was given. 2397 if test "${enable_nls+set}" = set; then 2398 enableval=$enable_nls; USE_NLS=$enableval 2399 else 2400 USE_NLS=yes 2401 fi 2402 2403 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 2404 echo "${ECHO_T}$USE_NLS" >&6; } 2405 2406 2407 2408 2409 2410 2411 # Prepare PATH_SEPARATOR. 2412 # The user is always right. 2413 if test "${PATH_SEPARATOR+set}" != set; then 2414 echo "#! /bin/sh" >conf$$.sh 2415 echo "exit 0" >>conf$$.sh 2416 chmod +x conf$$.sh 2417 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2418 PATH_SEPARATOR=';' 2419 else 2420 PATH_SEPARATOR=: 2421 fi 2422 rm -f conf$$.sh 2423 fi 2424 2425 # Find out how to test for executable files. Don't use a zero-byte file, 2426 # as systems may use methods other than mode bits to determine executability. 2427 cat >conf$$.file <<_ASEOF 2428 #! /bin/sh 2429 exit 0 2430 _ASEOF 2431 chmod +x conf$$.file 2432 if test -x conf$$.file >/dev/null 2>&1; then 2433 ac_executable_p="test -x" 2434 else 2435 ac_executable_p="test -f" 2436 fi 2437 rm -f conf$$.file 2438 2439 # Extract the first word of "msgfmt", so it can be a program name with args. 2440 set dummy msgfmt; ac_word=$2 2441 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2443 if test "${ac_cv_path_MSGFMT+set}" = set; then 2444 echo $ECHO_N "(cached) $ECHO_C" >&6 2445 else 2446 case "$MSGFMT" in 2447 [\\/]* | ?:[\\/]*) 2448 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 2449 ;; 2450 *) 2451 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2452 for ac_dir in $PATH; do 2453 IFS="$ac_save_IFS" 2454 test -z "$ac_dir" && ac_dir=. 2455 for ac_exec_ext in '' $ac_executable_extensions; do 2456 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2457 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2458 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 2459 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2460 ac_cv_path_MSGFMT="$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_MSGFMT" && ac_cv_path_MSGFMT=":" 2468 ;; 2469 esac 2470 fi 2471 MSGFMT="$ac_cv_path_MSGFMT" 2472 if test "$MSGFMT" != ":"; then 2473 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 2474 echo "${ECHO_T}$MSGFMT" >&6; } 2475 else 2476 { echo "$as_me:$LINENO: result: no" >&5 2477 echo "${ECHO_T}no" >&6; } 2478 fi 2479 2480 # Extract the first word of "gmsgfmt", so it can be a program name with args. 2481 set dummy gmsgfmt; ac_word=$2 2482 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2484 if test "${ac_cv_path_GMSGFMT+set}" = set; then 2485 echo $ECHO_N "(cached) $ECHO_C" >&6 2486 else 2487 case $GMSGFMT in 2488 [\\/]* | ?:[\\/]*) 2489 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 2490 ;; 2491 *) 2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2493 for as_dir in $PATH 2494 do 2495 IFS=$as_save_IFS 2496 test -z "$as_dir" && as_dir=. 2497 for ac_exec_ext in '' $ac_executable_extensions; do 2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2499 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2501 break 2 2502 fi 2503 done 2504 done 2505 IFS=$as_save_IFS 2506 2507 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 2508 ;; 2509 esac 2510 fi 2511 GMSGFMT=$ac_cv_path_GMSGFMT 2512 if test -n "$GMSGFMT"; then 2513 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 2514 echo "${ECHO_T}$GMSGFMT" >&6; } 2515 else 2516 { echo "$as_me:$LINENO: result: no" >&5 2517 echo "${ECHO_T}no" >&6; } 2518 fi 2519 2520 2521 2522 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2523 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 2524 *) MSGFMT_015=$MSGFMT ;; 2525 esac 2526 2527 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2528 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2529 *) GMSGFMT_015=$GMSGFMT ;; 2530 esac 2531 2532 2533 2534 # Prepare PATH_SEPARATOR. 2535 # The user is always right. 2536 if test "${PATH_SEPARATOR+set}" != set; then 2537 echo "#! /bin/sh" >conf$$.sh 2538 echo "exit 0" >>conf$$.sh 2539 chmod +x conf$$.sh 2540 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2541 PATH_SEPARATOR=';' 2542 else 2543 PATH_SEPARATOR=: 2544 fi 2545 rm -f conf$$.sh 2546 fi 2547 2548 # Find out how to test for executable files. Don't use a zero-byte file, 2549 # as systems may use methods other than mode bits to determine executability. 2550 cat >conf$$.file <<_ASEOF 2551 #! /bin/sh 2552 exit 0 2553 _ASEOF 2554 chmod +x conf$$.file 2555 if test -x conf$$.file >/dev/null 2>&1; then 2556 ac_executable_p="test -x" 2557 else 2558 ac_executable_p="test -f" 2559 fi 2560 rm -f conf$$.file 2561 2562 # Extract the first word of "xgettext", so it can be a program name with args. 2563 set dummy xgettext; ac_word=$2 2564 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2566 if test "${ac_cv_path_XGETTEXT+set}" = set; then 2567 echo $ECHO_N "(cached) $ECHO_C" >&6 2568 else 2569 case "$XGETTEXT" in 2570 [\\/]* | ?:[\\/]*) 2571 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 2572 ;; 2573 *) 2574 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2575 for ac_dir in $PATH; do 2576 IFS="$ac_save_IFS" 2577 test -z "$ac_dir" && ac_dir=. 2578 for ac_exec_ext in '' $ac_executable_extensions; do 2579 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2580 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2581 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 2582 (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 2583 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 2584 break 2 2585 fi 2586 fi 2587 done 2588 done 2589 IFS="$ac_save_IFS" 2590 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 2591 ;; 2592 esac 2593 fi 2594 XGETTEXT="$ac_cv_path_XGETTEXT" 2595 if test "$XGETTEXT" != ":"; then 2596 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 2597 echo "${ECHO_T}$XGETTEXT" >&6; } 2598 else 2599 { echo "$as_me:$LINENO: result: no" >&5 2600 echo "${ECHO_T}no" >&6; } 2601 fi 2602 2603 rm -f messages.po 2604 2605 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2606 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2607 *) XGETTEXT_015=$XGETTEXT ;; 2608 esac 2609 2610 2611 2612 # Prepare PATH_SEPARATOR. 2613 # The user is always right. 2614 if test "${PATH_SEPARATOR+set}" != set; then 2615 echo "#! /bin/sh" >conf$$.sh 2616 echo "exit 0" >>conf$$.sh 2617 chmod +x conf$$.sh 2618 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2619 PATH_SEPARATOR=';' 2620 else 2621 PATH_SEPARATOR=: 2622 fi 2623 rm -f conf$$.sh 2624 fi 2625 2626 # Find out how to test for executable files. Don't use a zero-byte file, 2627 # as systems may use methods other than mode bits to determine executability. 2628 cat >conf$$.file <<_ASEOF 2629 #! /bin/sh 2630 exit 0 2631 _ASEOF 2632 chmod +x conf$$.file 2633 if test -x conf$$.file >/dev/null 2>&1; then 2634 ac_executable_p="test -x" 2635 else 2636 ac_executable_p="test -f" 2637 fi 2638 rm -f conf$$.file 2639 2640 # Extract the first word of "msgmerge", so it can be a program name with args. 2641 set dummy msgmerge; ac_word=$2 2642 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2644 if test "${ac_cv_path_MSGMERGE+set}" = set; then 2645 echo $ECHO_N "(cached) $ECHO_C" >&6 2646 else 2647 case "$MSGMERGE" in 2648 [\\/]* | ?:[\\/]*) 2649 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 2650 ;; 2651 *) 2652 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2653 for ac_dir in $PATH; do 2654 IFS="$ac_save_IFS" 2655 test -z "$ac_dir" && ac_dir=. 2656 for ac_exec_ext in '' $ac_executable_extensions; do 2657 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2658 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2659 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 2660 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 2661 break 2 2662 fi 2663 fi 2664 done 2665 done 2666 IFS="$ac_save_IFS" 2667 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 2668 ;; 2669 esac 2670 fi 2671 MSGMERGE="$ac_cv_path_MSGMERGE" 2672 if test "$MSGMERGE" != ":"; then 2673 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 2674 echo "${ECHO_T}$MSGMERGE" >&6; } 2675 else 2676 { echo "$as_me:$LINENO: result: no" >&5 2677 echo "${ECHO_T}no" >&6; } 2678 fi 2679 2680 2681 test -n "$localedir" || localedir='${datadir}/locale' 2682 2683 2684 ac_config_commands="$ac_config_commands po-directories" 2685 2686 2687 2688 if test "X$prefix" = "XNONE"; then 2689 acl_final_prefix="$ac_default_prefix" 2690 else 2691 acl_final_prefix="$prefix" 2692 fi 2693 if test "X$exec_prefix" = "XNONE"; then 2694 acl_final_exec_prefix='${prefix}' 2695 else 2696 acl_final_exec_prefix="$exec_prefix" 2697 fi 2698 acl_save_prefix="$prefix" 2699 prefix="$acl_final_prefix" 2700 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 2701 prefix="$acl_save_prefix" 2702 2703 DEPDIR="${am__leading_dot}deps" 2704 2705 ac_config_commands="$ac_config_commands depfiles" 2706 2707 2708 am_make=${MAKE-make} 2709 cat > confinc << 'END' 2710 am__doit: 2711 @echo done 2712 .PHONY: am__doit 2713 END 2714 # If we don't find an include directive, just comment out the code. 2715 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2716 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2717 am__include="#" 2718 am__quote= 2719 _am_result=none 2720 # First try GNU make style include. 2721 echo "include confinc" > confmf 2722 # We grep out `Entering directory' and `Leaving directory' 2723 # messages which can occur if `w' ends up in MAKEFLAGS. 2724 # In particular we don't look at `^make:' because GNU make might 2725 # be invoked under some other name (usually "gmake"), in which 2726 # case it prints its new name instead of `make'. 2727 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2728 am__include=include 2729 am__quote= 2730 _am_result=GNU 2731 fi 2732 # Now try BSD make style include. 2733 if test "$am__include" = "#"; then 2734 echo '.include "confinc"' > confmf 2735 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2736 am__include=.include 2737 am__quote="\"" 2738 _am_result=BSD 2739 fi 2740 fi 2741 2742 2743 { echo "$as_me:$LINENO: result: $_am_result" >&5 2744 echo "${ECHO_T}$_am_result" >&6; } 2745 rm -f confinc confmf 2746 2747 # Check whether --enable-dependency-tracking was given. 2748 if test "${enable_dependency_tracking+set}" = set; then 2749 enableval=$enable_dependency_tracking; 2750 fi 2751 2752 if test "x$enable_dependency_tracking" != xno; then 2753 am_depcomp="$ac_aux_dir/depcomp" 2754 AMDEPBACKSLASH='\' 2755 fi 2756 2757 2758 if test "x$enable_dependency_tracking" != xno; then 2759 AMDEP_TRUE= 2760 AMDEP_FALSE='#' 2761 else 2762 AMDEP_TRUE='#' 2763 AMDEP_FALSE= 2764 fi 2765 2766 2767 2768 ac_ext=c 2769 ac_cpp='$CPP $CPPFLAGS' 2770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2772 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2773 if test -n "$ac_tool_prefix"; then 2774 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2775 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2776 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2778 if test "${ac_cv_prog_CC+set}" = set; then 2779 echo $ECHO_N "(cached) $ECHO_C" >&6 2780 else 2781 if test -n "$CC"; then 2782 ac_cv_prog_CC="$CC" # Let the user override the test. 2783 else 2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2785 for as_dir in $PATH 2786 do 2787 IFS=$as_save_IFS 2788 test -z "$as_dir" && as_dir=. 2789 for ac_exec_ext in '' $ac_executable_extensions; do 2790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2791 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2793 break 2 2794 fi 2795 done 2796 done 2797 IFS=$as_save_IFS 2798 2799 fi 2800 fi 2801 CC=$ac_cv_prog_CC 2802 if test -n "$CC"; then 2803 { echo "$as_me:$LINENO: result: $CC" >&5 2804 echo "${ECHO_T}$CC" >&6; } 2805 else 2806 { echo "$as_me:$LINENO: result: no" >&5 2807 echo "${ECHO_T}no" >&6; } 2808 fi 2809 2810 2811 fi 2812 if test -z "$ac_cv_prog_CC"; then 2813 ac_ct_CC=$CC 2814 # Extract the first word of "gcc", so it can be a program name with args. 2815 set dummy gcc; 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2831 ac_cv_prog_ac_ct_CC="gcc" 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 if test "x$ac_ct_CC" = x; then 2851 CC="" 2852 else 2853 case $cross_compiling:$ac_tool_warned in 2854 yes:) 2855 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2856 whose name does not start with the host triplet. If you think this 2857 configuration is useful to you, please write to autoconf@gnu.org." >&5 2858 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2859 whose name does not start with the host triplet. If you think this 2860 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2861 ac_tool_warned=yes ;; 2862 esac 2863 CC=$ac_ct_CC 2864 fi 2865 else 2866 CC="$ac_cv_prog_CC" 2867 fi 2868 2869 if test -z "$CC"; then 2870 if test -n "$ac_tool_prefix"; then 2871 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2872 set dummy ${ac_tool_prefix}cc; ac_word=$2 2873 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2875 if test "${ac_cv_prog_CC+set}" = set; then 2876 echo $ECHO_N "(cached) $ECHO_C" >&6 2877 else 2878 if test -n "$CC"; then 2879 ac_cv_prog_CC="$CC" # Let the user override the test. 2880 else 2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2882 for as_dir in $PATH 2883 do 2884 IFS=$as_save_IFS 2885 test -z "$as_dir" && as_dir=. 2886 for ac_exec_ext in '' $ac_executable_extensions; do 2887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2888 ac_cv_prog_CC="${ac_tool_prefix}cc" 2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2890 break 2 2891 fi 2892 done 2893 done 2894 IFS=$as_save_IFS 2895 2896 fi 2897 fi 2898 CC=$ac_cv_prog_CC 2899 if test -n "$CC"; then 2900 { echo "$as_me:$LINENO: result: $CC" >&5 2901 echo "${ECHO_T}$CC" >&6; } 2902 else 2903 { echo "$as_me:$LINENO: result: no" >&5 2904 echo "${ECHO_T}no" >&6; } 2905 fi 2906 2907 2908 fi 2909 fi 2910 if test -z "$CC"; then 2911 # Extract the first word of "cc", so it can be a program name with args. 2912 set dummy cc; ac_word=$2 2913 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2915 if test "${ac_cv_prog_CC+set}" = set; then 2916 echo $ECHO_N "(cached) $ECHO_C" >&6 2917 else 2918 if test -n "$CC"; then 2919 ac_cv_prog_CC="$CC" # Let the user override the test. 2920 else 2921 ac_prog_rejected=no 2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2923 for as_dir in $PATH 2924 do 2925 IFS=$as_save_IFS 2926 test -z "$as_dir" && as_dir=. 2927 for ac_exec_ext in '' $ac_executable_extensions; do 2928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2929 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2930 ac_prog_rejected=yes 2931 continue 2932 fi 2933 ac_cv_prog_CC="cc" 2934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2935 break 2 2936 fi 2937 done 2938 done 2939 IFS=$as_save_IFS 2940 2941 if test $ac_prog_rejected = yes; then 2942 # We found a bogon in the path, so make sure we never use it. 2943 set dummy $ac_cv_prog_CC 2944 shift 2945 if test $# != 0; then 2946 # We chose a different compiler from the bogus one. 2947 # However, it has the same basename, so the bogon will be chosen 2948 # first if we set CC to just the basename; use the full file name. 2949 shift 2950 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2951 fi 2952 fi 2953 fi 2954 fi 2955 CC=$ac_cv_prog_CC 2956 if test -n "$CC"; then 2957 { echo "$as_me:$LINENO: result: $CC" >&5 2958 echo "${ECHO_T}$CC" >&6; } 2959 else 2960 { echo "$as_me:$LINENO: result: no" >&5 2961 echo "${ECHO_T}no" >&6; } 2962 fi 2963 2964 2965 fi 2966 if test -z "$CC"; then 2967 if test -n "$ac_tool_prefix"; then 2968 for ac_prog in cl.exe 2969 do 2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2974 if test "${ac_cv_prog_CC+set}" = set; then 2975 echo $ECHO_N "(cached) $ECHO_C" >&6 2976 else 2977 if test -n "$CC"; then 2978 ac_cv_prog_CC="$CC" # Let the user override the test. 2979 else 2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2981 for as_dir in $PATH 2982 do 2983 IFS=$as_save_IFS 2984 test -z "$as_dir" && as_dir=. 2985 for ac_exec_ext in '' $ac_executable_extensions; do 2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2987 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2989 break 2 2990 fi 2991 done 2992 done 2993 IFS=$as_save_IFS 2994 2995 fi 2996 fi 2997 CC=$ac_cv_prog_CC 2998 if test -n "$CC"; then 2999 { echo "$as_me:$LINENO: result: $CC" >&5 3000 echo "${ECHO_T}$CC" >&6; } 3001 else 3002 { echo "$as_me:$LINENO: result: no" >&5 3003 echo "${ECHO_T}no" >&6; } 3004 fi 3005 3006 3007 test -n "$CC" && break 3008 done 3009 fi 3010 if test -z "$CC"; then 3011 ac_ct_CC=$CC 3012 for ac_prog in cl.exe 3013 do 3014 # Extract the first word of "$ac_prog", so it can be a program name with args. 3015 set dummy $ac_prog; ac_word=$2 3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3019 echo $ECHO_N "(cached) $ECHO_C" >&6 3020 else 3021 if test -n "$ac_ct_CC"; then 3022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3023 else 3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3025 for as_dir in $PATH 3026 do 3027 IFS=$as_save_IFS 3028 test -z "$as_dir" && as_dir=. 3029 for ac_exec_ext in '' $ac_executable_extensions; do 3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3031 ac_cv_prog_ac_ct_CC="$ac_prog" 3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3033 break 2 3034 fi 3035 done 3036 done 3037 IFS=$as_save_IFS 3038 3039 fi 3040 fi 3041 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3042 if test -n "$ac_ct_CC"; then 3043 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3044 echo "${ECHO_T}$ac_ct_CC" >&6; } 3045 else 3046 { echo "$as_me:$LINENO: result: no" >&5 3047 echo "${ECHO_T}no" >&6; } 3048 fi 3049 3050 3051 test -n "$ac_ct_CC" && break 3052 done 3053 3054 if test "x$ac_ct_CC" = x; then 3055 CC="" 3056 else 3057 case $cross_compiling:$ac_tool_warned in 3058 yes:) 3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3060 whose name does not start with the host triplet. If you think this 3061 configuration is useful to you, please write to autoconf@gnu.org." >&5 3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3063 whose name does not start with the host triplet. If you think this 3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3065 ac_tool_warned=yes ;; 3066 esac 3067 CC=$ac_ct_CC 3068 fi 3069 fi 3070 3071 fi 3072 3073 3074 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3075 See \`config.log' for more details." >&5 3076 echo "$as_me: error: no acceptable C compiler found in \$PATH 3077 See \`config.log' for more details." >&2;} 3078 { (exit 1); exit 1; }; } 3079 3080 # Provide some information about the compiler. 3081 echo "$as_me:$LINENO: checking for C compiler version" >&5 3082 ac_compiler=`set X $ac_compile; echo $2` 3083 { (ac_try="$ac_compiler --version >&5" 3084 case "(($ac_try" in 3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3086 *) ac_try_echo=$ac_try;; 3087 esac 3088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3089 (eval "$ac_compiler --version >&5") 2>&5 3090 ac_status=$? 3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3092 (exit $ac_status); } 3093 { (ac_try="$ac_compiler -v >&5" 3094 case "(($ac_try" in 3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3096 *) ac_try_echo=$ac_try;; 3097 esac 3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3099 (eval "$ac_compiler -v >&5") 2>&5 3100 ac_status=$? 3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3102 (exit $ac_status); } 3103 { (ac_try="$ac_compiler -V >&5" 3104 case "(($ac_try" in 3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3106 *) ac_try_echo=$ac_try;; 3107 esac 3108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3109 (eval "$ac_compiler -V >&5") 2>&5 3110 ac_status=$? 3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3112 (exit $ac_status); } 3113 3114 cat >conftest.$ac_ext <<_ACEOF 3115 /* confdefs.h. */ 3116 _ACEOF 3117 cat confdefs.h >>conftest.$ac_ext 3118 cat >>conftest.$ac_ext <<_ACEOF 3119 /* end confdefs.h. */ 3120 3121 int 3122 main () 3123 { 3124 3125 ; 3126 return 0; 3127 } 3128 _ACEOF 3129 ac_clean_files_save=$ac_clean_files 3130 ac_clean_files="$ac_clean_files a.out a.exe b.out" 3131 # Try to create an executable without -o first, disregard a.out. 3132 # It will help us diagnose broken compilers, and finding out an intuition 3133 # of exeext. 3134 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3135 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 3136 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3137 # 3138 # List of possible output files, starting from the most likely. 3139 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 3140 # only as a last resort. b.out is created by i960 compilers. 3141 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 3142 # 3143 # The IRIX 6 linker writes into existing files which may not be 3144 # executable, retaining their permissions. Remove them first so a 3145 # subsequent execution test works. 3146 ac_rmfiles= 3147 for ac_file in $ac_files 3148 do 3149 case $ac_file in 3150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3151 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3152 esac 3153 done 3154 rm -f $ac_rmfiles 3155 3156 if { (ac_try="$ac_link_default" 3157 case "(($ac_try" in 3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3159 *) ac_try_echo=$ac_try;; 3160 esac 3161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3162 (eval "$ac_link_default") 2>&5 3163 ac_status=$? 3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3165 (exit $ac_status); }; then 3166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3167 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3168 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3169 # so that the user can short-circuit this test for compilers unknown to 3170 # Autoconf. 3171 for ac_file in $ac_files '' 3172 do 3173 test -f "$ac_file" || continue 3174 case $ac_file in 3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3176 ;; 3177 [ab].out ) 3178 # We found the default executable, but exeext='' is most 3179 # certainly right. 3180 break;; 3181 *.* ) 3182 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3183 then :; else 3184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3185 fi 3186 # We set ac_cv_exeext here because the later test for it is not 3187 # safe: cross compilers may not add the suffix if given an `-o' 3188 # argument, so we may need to know it at that point already. 3189 # Even if this section looks crufty: it has the advantage of 3190 # actually working. 3191 break;; 3192 * ) 3193 break;; 3194 esac 3195 done 3196 test "$ac_cv_exeext" = no && ac_cv_exeext= 3197 3198 else 3199 ac_file='' 3200 fi 3201 3202 { echo "$as_me:$LINENO: result: $ac_file" >&5 3203 echo "${ECHO_T}$ac_file" >&6; } 3204 if test -z "$ac_file"; then 3205 echo "$as_me: failed program was:" >&5 3206 sed 's/^/| /' conftest.$ac_ext >&5 3207 3208 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 3209 See \`config.log' for more details." >&5 3210 echo "$as_me: error: C compiler cannot create executables 3211 See \`config.log' for more details." >&2;} 3212 { (exit 77); exit 77; }; } 3213 fi 3214 3215 ac_exeext=$ac_cv_exeext 3216 3217 # Check that the compiler produces executables we can run. If not, either 3218 # the compiler is broken, or we cross compile. 3219 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3220 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 3221 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3222 # If not cross compiling, check that we can run a simple program. 3223 if test "$cross_compiling" != yes; then 3224 if { ac_try='./$ac_file' 3225 { (case "(($ac_try" in 3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3227 *) ac_try_echo=$ac_try;; 3228 esac 3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3230 (eval "$ac_try") 2>&5 3231 ac_status=$? 3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3233 (exit $ac_status); }; }; then 3234 cross_compiling=no 3235 else 3236 if test "$cross_compiling" = maybe; then 3237 cross_compiling=yes 3238 else 3239 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3240 If you meant to cross compile, use \`--host'. 3241 See \`config.log' for more details." >&5 3242 echo "$as_me: error: cannot run C compiled programs. 3243 If you meant to cross compile, use \`--host'. 3244 See \`config.log' for more details." >&2;} 3245 { (exit 1); exit 1; }; } 3246 fi 3247 fi 3248 fi 3249 { echo "$as_me:$LINENO: result: yes" >&5 3250 echo "${ECHO_T}yes" >&6; } 3251 3252 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3253 ac_clean_files=$ac_clean_files_save 3254 # Check that the compiler produces executables we can run. If not, either 3255 # the compiler is broken, or we cross compile. 3256 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3257 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3258 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 3259 echo "${ECHO_T}$cross_compiling" >&6; } 3260 3261 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 3262 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3263 if { (ac_try="$ac_link" 3264 case "(($ac_try" in 3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3266 *) ac_try_echo=$ac_try;; 3267 esac 3268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3269 (eval "$ac_link") 2>&5 3270 ac_status=$? 3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3272 (exit $ac_status); }; then 3273 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3274 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3275 # work properly (i.e., refer to `conftest.exe'), while it won't with 3276 # `rm'. 3277 for ac_file in conftest.exe conftest conftest.*; do 3278 test -f "$ac_file" || continue 3279 case $ac_file in 3280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3281 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3282 break;; 3283 * ) break;; 3284 esac 3285 done 3286 else 3287 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3288 See \`config.log' for more details." >&5 3289 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3290 See \`config.log' for more details." >&2;} 3291 { (exit 1); exit 1; }; } 3292 fi 3293 3294 rm -f conftest$ac_cv_exeext 3295 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3296 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3297 3298 rm -f conftest.$ac_ext 3299 EXEEXT=$ac_cv_exeext 3300 ac_exeext=$EXEEXT 3301 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 3302 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 3303 if test "${ac_cv_objext+set}" = set; then 3304 echo $ECHO_N "(cached) $ECHO_C" >&6 3305 else 3306 cat >conftest.$ac_ext <<_ACEOF 3307 /* confdefs.h. */ 3308 _ACEOF 3309 cat confdefs.h >>conftest.$ac_ext 3310 cat >>conftest.$ac_ext <<_ACEOF 3311 /* end confdefs.h. */ 3312 3313 int 3314 main () 3315 { 3316 3317 ; 3318 return 0; 3319 } 3320 _ACEOF 3321 rm -f conftest.o conftest.obj 3322 if { (ac_try="$ac_compile" 3323 case "(($ac_try" in 3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3325 *) ac_try_echo=$ac_try;; 3326 esac 3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3328 (eval "$ac_compile") 2>&5 3329 ac_status=$? 3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3331 (exit $ac_status); }; then 3332 for ac_file in conftest.o conftest.obj conftest.*; do 3333 test -f "$ac_file" || continue; 3334 case $ac_file in 3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3336 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3337 break;; 3338 esac 3339 done 3340 else 3341 echo "$as_me: failed program was:" >&5 3342 sed 's/^/| /' conftest.$ac_ext >&5 3343 3344 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3345 See \`config.log' for more details." >&5 3346 echo "$as_me: error: cannot compute suffix of object files: cannot compile 3347 See \`config.log' for more details." >&2;} 3348 { (exit 1); exit 1; }; } 3349 fi 3350 3351 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3352 fi 3353 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3354 echo "${ECHO_T}$ac_cv_objext" >&6; } 3355 OBJEXT=$ac_cv_objext 3356 ac_objext=$OBJEXT 3357 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3358 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3359 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3360 echo $ECHO_N "(cached) $ECHO_C" >&6 3361 else 3362 cat >conftest.$ac_ext <<_ACEOF 3363 /* confdefs.h. */ 3364 _ACEOF 3365 cat confdefs.h >>conftest.$ac_ext 3366 cat >>conftest.$ac_ext <<_ACEOF 3367 /* end confdefs.h. */ 3368 3369 int 3370 main () 3371 { 3372 #ifndef __GNUC__ 3373 choke me 3374 #endif 3375 3376 ; 3377 return 0; 3378 } 3379 _ACEOF 3380 rm -f conftest.$ac_objext 3381 if { (ac_try="$ac_compile" 3382 case "(($ac_try" in 3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3384 *) ac_try_echo=$ac_try;; 3385 esac 3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3387 (eval "$ac_compile") 2>conftest.er1 3388 ac_status=$? 3389 grep -v '^ *+' conftest.er1 >conftest.err 3390 rm -f conftest.er1 3391 cat conftest.err >&5 3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3393 (exit $ac_status); } && { 3394 test -z "$ac_c_werror_flag" || 3395 test ! -s conftest.err 3396 } && test -s conftest.$ac_objext; then 3397 ac_compiler_gnu=yes 3398 else 3399 echo "$as_me: failed program was:" >&5 3400 sed 's/^/| /' conftest.$ac_ext >&5 3401 3402 ac_compiler_gnu=no 3403 fi 3404 3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3406 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3407 3408 fi 3409 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3410 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3411 GCC=`test $ac_compiler_gnu = yes && echo yes` 3412 ac_test_CFLAGS=${CFLAGS+set} 3413 ac_save_CFLAGS=$CFLAGS 3414 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3415 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3416 if test "${ac_cv_prog_cc_g+set}" = set; then 3417 echo $ECHO_N "(cached) $ECHO_C" >&6 3418 else 3419 ac_save_c_werror_flag=$ac_c_werror_flag 3420 ac_c_werror_flag=yes 3421 ac_cv_prog_cc_g=no 3422 CFLAGS="-g" 3423 cat >conftest.$ac_ext <<_ACEOF 3424 /* confdefs.h. */ 3425 _ACEOF 3426 cat confdefs.h >>conftest.$ac_ext 3427 cat >>conftest.$ac_ext <<_ACEOF 3428 /* end confdefs.h. */ 3429 3430 int 3431 main () 3432 { 3433 3434 ; 3435 return 0; 3436 } 3437 _ACEOF 3438 rm -f conftest.$ac_objext 3439 if { (ac_try="$ac_compile" 3440 case "(($ac_try" in 3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3442 *) ac_try_echo=$ac_try;; 3443 esac 3444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3445 (eval "$ac_compile") 2>conftest.er1 3446 ac_status=$? 3447 grep -v '^ *+' conftest.er1 >conftest.err 3448 rm -f conftest.er1 3449 cat conftest.err >&5 3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 (exit $ac_status); } && { 3452 test -z "$ac_c_werror_flag" || 3453 test ! -s conftest.err 3454 } && test -s conftest.$ac_objext; then 3455 ac_cv_prog_cc_g=yes 3456 else 3457 echo "$as_me: failed program was:" >&5 3458 sed 's/^/| /' conftest.$ac_ext >&5 3459 3460 CFLAGS="" 3461 cat >conftest.$ac_ext <<_ACEOF 3462 /* confdefs.h. */ 3463 _ACEOF 3464 cat confdefs.h >>conftest.$ac_ext 3465 cat >>conftest.$ac_ext <<_ACEOF 3466 /* end confdefs.h. */ 3467 3468 int 3469 main () 3470 { 3471 3472 ; 3473 return 0; 3474 } 3475 _ACEOF 3476 rm -f conftest.$ac_objext 3477 if { (ac_try="$ac_compile" 3478 case "(($ac_try" in 3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3480 *) ac_try_echo=$ac_try;; 3481 esac 3482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3483 (eval "$ac_compile") 2>conftest.er1 3484 ac_status=$? 3485 grep -v '^ *+' conftest.er1 >conftest.err 3486 rm -f conftest.er1 3487 cat conftest.err >&5 3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3489 (exit $ac_status); } && { 3490 test -z "$ac_c_werror_flag" || 3491 test ! -s conftest.err 3492 } && test -s conftest.$ac_objext; then 3493 : 3494 else 3495 echo "$as_me: failed program was:" >&5 3496 sed 's/^/| /' conftest.$ac_ext >&5 3497 3498 ac_c_werror_flag=$ac_save_c_werror_flag 3499 CFLAGS="-g" 3500 cat >conftest.$ac_ext <<_ACEOF 3501 /* confdefs.h. */ 3502 _ACEOF 3503 cat confdefs.h >>conftest.$ac_ext 3504 cat >>conftest.$ac_ext <<_ACEOF 3505 /* end confdefs.h. */ 3506 3507 int 3508 main () 3509 { 3510 3511 ; 3512 return 0; 3513 } 3514 _ACEOF 3515 rm -f conftest.$ac_objext 3516 if { (ac_try="$ac_compile" 3517 case "(($ac_try" in 3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3519 *) ac_try_echo=$ac_try;; 3520 esac 3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3522 (eval "$ac_compile") 2>conftest.er1 3523 ac_status=$? 3524 grep -v '^ *+' conftest.er1 >conftest.err 3525 rm -f conftest.er1 3526 cat conftest.err >&5 3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3528 (exit $ac_status); } && { 3529 test -z "$ac_c_werror_flag" || 3530 test ! -s conftest.err 3531 } && test -s conftest.$ac_objext; then 3532 ac_cv_prog_cc_g=yes 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 conftest.$ac_ext 3541 fi 3542 3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3544 fi 3545 3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3547 ac_c_werror_flag=$ac_save_c_werror_flag 3548 fi 3549 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3550 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3551 if test "$ac_test_CFLAGS" = set; then 3552 CFLAGS=$ac_save_CFLAGS 3553 elif test $ac_cv_prog_cc_g = yes; then 3554 if test "$GCC" = yes; then 3555 CFLAGS="-g -O2" 3556 else 3557 CFLAGS="-g" 3558 fi 3559 else 3560 if test "$GCC" = yes; then 3561 CFLAGS="-O2" 3562 else 3563 CFLAGS= 3564 fi 3565 fi 3566 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3567 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3568 if test "${ac_cv_prog_cc_c89+set}" = set; then 3569 echo $ECHO_N "(cached) $ECHO_C" >&6 3570 else 3571 ac_cv_prog_cc_c89=no 3572 ac_save_CC=$CC 3573 cat >conftest.$ac_ext <<_ACEOF 3574 /* confdefs.h. */ 3575 _ACEOF 3576 cat confdefs.h >>conftest.$ac_ext 3577 cat >>conftest.$ac_ext <<_ACEOF 3578 /* end confdefs.h. */ 3579 #include <stdarg.h> 3580 #include <stdio.h> 3581 #include <sys/types.h> 3582 #include <sys/stat.h> 3583 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3584 struct buf { int x; }; 3585 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3586 static char *e (p, i) 3587 char **p; 3588 int i; 3589 { 3590 return p[i]; 3591 } 3592 static char *f (char * (*g) (char **, int), char **p, ...) 3593 { 3594 char *s; 3595 va_list v; 3596 va_start (v,p); 3597 s = g (p, va_arg (v,int)); 3598 va_end (v); 3599 return s; 3600 } 3601 3602 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3603 function prototypes and stuff, but not '\xHH' hex character constants. 3604 These don't provoke an error unfortunately, instead are silently treated 3605 as 'x'. The following induces an error, until -std is added to get 3606 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3607 array size at least. It's necessary to write '\x00'==0 to get something 3608 that's true only with -std. */ 3609 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3610 3611 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3612 inside strings and character constants. */ 3613 #define FOO(x) 'x' 3614 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3615 3616 int test (int i, double x); 3617 struct s1 {int (*f) (int a);}; 3618 struct s2 {int (*f) (double a);}; 3619 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3620 int argc; 3621 char **argv; 3622 int 3623 main () 3624 { 3625 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3626 ; 3627 return 0; 3628 } 3629 _ACEOF 3630 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3631 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3632 do 3633 CC="$ac_save_CC $ac_arg" 3634 rm -f conftest.$ac_objext 3635 if { (ac_try="$ac_compile" 3636 case "(($ac_try" in 3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3638 *) ac_try_echo=$ac_try;; 3639 esac 3640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3641 (eval "$ac_compile") 2>conftest.er1 3642 ac_status=$? 3643 grep -v '^ *+' conftest.er1 >conftest.err 3644 rm -f conftest.er1 3645 cat conftest.err >&5 3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3647 (exit $ac_status); } && { 3648 test -z "$ac_c_werror_flag" || 3649 test ! -s conftest.err 3650 } && test -s conftest.$ac_objext; then 3651 ac_cv_prog_cc_c89=$ac_arg 3652 else 3653 echo "$as_me: failed program was:" >&5 3654 sed 's/^/| /' conftest.$ac_ext >&5 3655 3656 3657 fi 3658 3659 rm -f core conftest.err conftest.$ac_objext 3660 test "x$ac_cv_prog_cc_c89" != "xno" && break 3661 done 3662 rm -f conftest.$ac_ext 3663 CC=$ac_save_CC 3664 3665 fi 3666 # AC_CACHE_VAL 3667 case "x$ac_cv_prog_cc_c89" in 3668 x) 3669 { echo "$as_me:$LINENO: result: none needed" >&5 3670 echo "${ECHO_T}none needed" >&6; } ;; 3671 xno) 3672 { echo "$as_me:$LINENO: result: unsupported" >&5 3673 echo "${ECHO_T}unsupported" >&6; } ;; 3674 *) 3675 CC="$CC $ac_cv_prog_cc_c89" 3676 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3677 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3678 esac 3679 3680 3681 ac_ext=c 3682 ac_cpp='$CPP $CPPFLAGS' 3683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3685 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3686 3687 depcc="$CC" am_compiler_list= 3688 3689 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3690 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3691 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3692 echo $ECHO_N "(cached) $ECHO_C" >&6 3693 else 3694 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3695 # We make a subdir and do the tests there. Otherwise we can end up 3696 # making bogus files that we don't know about and never remove. For 3697 # instance it was reported that on HP-UX the gcc test will end up 3698 # making a dummy file named `D' -- because `-MD' means `put the output 3699 # in D'. 3700 mkdir conftest.dir 3701 # Copy depcomp to subdir because otherwise we won't find it if we're 3702 # using a relative directory. 3703 cp "$am_depcomp" conftest.dir 3704 cd conftest.dir 3705 # We will build objects and dependencies in a subdirectory because 3706 # it helps to detect inapplicable dependency modes. For instance 3707 # both Tru64's cc and ICC support -MD to output dependencies as a 3708 # side effect of compilation, but ICC will put the dependencies in 3709 # the current directory while Tru64 will put them in the object 3710 # directory. 3711 mkdir sub 3712 3713 am_cv_CC_dependencies_compiler_type=none 3714 if test "$am_compiler_list" = ""; then 3715 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3716 fi 3717 for depmode in $am_compiler_list; do 3718 # Setup a source with many dependencies, because some compilers 3719 # like to wrap large dependency lists on column 80 (with \), and 3720 # we should not choose a depcomp mode which is confused by this. 3721 # 3722 # We need to recreate these files for each test, as the compiler may 3723 # overwrite some of them when testing with obscure command lines. 3724 # This happens at least with the AIX C compiler. 3725 : > sub/conftest.c 3726 for i in 1 2 3 4 5 6; do 3727 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3728 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3729 # Solaris 8's {/usr,}/bin/sh. 3730 touch sub/conftst$i.h 3731 done 3732 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3733 3734 case $depmode in 3735 nosideeffect) 3736 # after this tag, mechanisms are not by side-effect, so they'll 3737 # only be used when explicitly requested 3738 if test "x$enable_dependency_tracking" = xyes; then 3739 continue 3740 else 3741 break 3742 fi 3743 ;; 3744 none) break ;; 3745 esac 3746 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3747 # mode. It turns out that the SunPro C++ compiler does not properly 3748 # handle `-M -o', and we need to detect this. 3749 if depmode=$depmode \ 3750 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3751 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3752 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3753 >/dev/null 2>conftest.err && 3754 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3755 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3756 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3757 # icc doesn't choke on unknown options, it will just issue warnings 3758 # or remarks (even with -Werror). So we grep stderr for any message 3759 # that says an option was ignored or not supported. 3760 # When given -MP, icc 7.0 and 7.1 complain thusly: 3761 # icc: Command line warning: ignoring option '-M'; no argument required 3762 # The diagnosis changed in icc 8.0: 3763 # icc: Command line remark: option '-MP' not supported 3764 if (grep 'ignoring option' conftest.err || 3765 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3766 am_cv_CC_dependencies_compiler_type=$depmode 3767 break 3768 fi 3769 fi 3770 done 3771 3772 cd .. 3773 rm -rf conftest.dir 3774 else 3775 am_cv_CC_dependencies_compiler_type=none 3776 fi 3777 3778 fi 3779 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3780 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3781 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3782 3783 3784 3785 if 3786 test "x$enable_dependency_tracking" != xno \ 3787 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3788 am__fastdepCC_TRUE= 3789 am__fastdepCC_FALSE='#' 3790 else 3791 am__fastdepCC_TRUE='#' 3792 am__fastdepCC_FALSE= 3793 fi 3794 3795 3796 3797 # Check whether --with-gnu-ld was given. 3798 if test "${with_gnu_ld+set}" = set; then 3799 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 3800 else 3801 with_gnu_ld=no 3802 fi 3803 3804 # Prepare PATH_SEPARATOR. 3805 # The user is always right. 3806 if test "${PATH_SEPARATOR+set}" != set; then 3807 echo "#! /bin/sh" >conf$$.sh 3808 echo "exit 0" >>conf$$.sh 3809 chmod +x conf$$.sh 3810 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3811 PATH_SEPARATOR=';' 3812 else 3813 PATH_SEPARATOR=: 3814 fi 3815 rm -f conf$$.sh 3816 fi 3817 ac_prog=ld 3818 if test "$GCC" = yes; then 3819 # Check if gcc -print-prog-name=ld gives a path. 3820 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3821 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } 3822 case $host in 3823 *-*-mingw*) 3824 # gcc leaves a trailing carriage return which upsets mingw 3825 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3826 *) 3827 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3828 esac 3829 case $ac_prog in 3830 # Accept absolute paths. 3831 [\\/]* | [A-Za-z]:[\\/]*) 3832 re_direlt='/[^/][^/]*/\.\./' 3833 # Canonicalize the path of ld 3834 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 3835 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 3836 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 3837 done 3838 test -z "$LD" && LD="$ac_prog" 3839 ;; 3840 "") 3841 # If it fails, then pretend we aren't using GCC. 3842 ac_prog=ld 3843 ;; 3844 *) 3845 # If it is relative, then search for the first ld in PATH. 3846 with_gnu_ld=unknown 3847 ;; 3848 esac 3849 elif test "$with_gnu_ld" = yes; then 3850 { echo "$as_me:$LINENO: checking for GNU ld" >&5 3851 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 3852 else 3853 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3854 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 3855 fi 3856 if test "${acl_cv_path_LD+set}" = set; then 3857 echo $ECHO_N "(cached) $ECHO_C" >&6 3858 else 3859 if test -z "$LD"; then 3860 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 3861 for ac_dir in $PATH; do 3862 test -z "$ac_dir" && ac_dir=. 3863 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3864 acl_cv_path_LD="$ac_dir/$ac_prog" 3865 # Check to see if the program is GNU ld. I'd rather use --version, 3866 # but apparently some GNU ld's only accept -v. 3867 # Break only if it was the GNU/non-GNU ld that we prefer. 3868 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 3869 *GNU* | *'with BFD'*) 3870 test "$with_gnu_ld" != no && break ;; 3871 *) 3872 test "$with_gnu_ld" != yes && break ;; 3873 esac 3874 fi 3875 done 3876 IFS="$ac_save_ifs" 3877 else 3878 acl_cv_path_LD="$LD" # Let the user override the test with a path. 3879 fi 3880 fi 3881 3882 LD="$acl_cv_path_LD" 3883 if test -n "$LD"; then 3884 { echo "$as_me:$LINENO: result: $LD" >&5 3885 echo "${ECHO_T}$LD" >&6; } 3886 else 3887 { echo "$as_me:$LINENO: result: no" >&5 3888 echo "${ECHO_T}no" >&6; } 3889 fi 3890 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3891 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3892 { (exit 1); exit 1; }; } 3893 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3894 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 3895 if test "${acl_cv_prog_gnu_ld+set}" = set; then 3896 echo $ECHO_N "(cached) $ECHO_C" >&6 3897 else 3898 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3899 case `$LD -v 2>&1 </dev/null` in 3900 *GNU* | *'with BFD'*) 3901 acl_cv_prog_gnu_ld=yes ;; 3902 *) 3903 acl_cv_prog_gnu_ld=no ;; 3904 esac 3905 fi 3906 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 3907 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } 3908 with_gnu_ld=$acl_cv_prog_gnu_ld 3909 3910 3911 3912 3913 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 3914 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } 3915 if test "${acl_cv_rpath+set}" = set; then 3916 echo $ECHO_N "(cached) $ECHO_C" >&6 3917 else 3918 3919 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 3920 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 3921 . ./conftest.sh 3922 rm -f ./conftest.sh 3923 acl_cv_rpath=done 3924 3925 fi 3926 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 3927 echo "${ECHO_T}$acl_cv_rpath" >&6; } 3928 wl="$acl_cv_wl" 3929 libext="$acl_cv_libext" 3930 shlibext="$acl_cv_shlibext" 3931 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 3932 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 3933 hardcode_direct="$acl_cv_hardcode_direct" 3934 hardcode_minus_L="$acl_cv_hardcode_minus_L" 3935 # Check whether --enable-rpath was given. 3936 if test "${enable_rpath+set}" = set; then 3937 enableval=$enable_rpath; : 3938 else 3939 enable_rpath=yes 3940 fi 3941 3942 3943 3944 acl_libdirstem=lib 3945 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 3946 if test -n "$searchpath"; then 3947 acl_save_IFS="${IFS= }"; IFS=":" 3948 for searchdir in $searchpath; do 3949 if test -d "$searchdir"; then 3950 case "$searchdir" in 3951 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 3952 *) searchdir=`cd "$searchdir" && pwd` 3953 case "$searchdir" in 3954 */lib64 ) acl_libdirstem=lib64 ;; 3955 esac ;; 3956 esac 3957 fi 3958 done 3959 IFS="$acl_save_IFS" 3960 fi 3961 3962 3963 3964 3965 3966 3967 3968 3969 use_additional=yes 3970 3971 acl_save_prefix="$prefix" 3972 prefix="$acl_final_prefix" 3973 acl_save_exec_prefix="$exec_prefix" 3974 exec_prefix="$acl_final_exec_prefix" 3975 3976 eval additional_includedir=\"$includedir\" 3977 eval additional_libdir=\"$libdir\" 3978 3979 exec_prefix="$acl_save_exec_prefix" 3980 prefix="$acl_save_prefix" 3981 3982 3983 # Check whether --with-libiconv-prefix was given. 3984 if test "${with_libiconv_prefix+set}" = set; then 3985 withval=$with_libiconv_prefix; 3986 if test "X$withval" = "Xno"; then 3987 use_additional=no 3988 else 3989 if test "X$withval" = "X"; then 3990 3991 acl_save_prefix="$prefix" 3992 prefix="$acl_final_prefix" 3993 acl_save_exec_prefix="$exec_prefix" 3994 exec_prefix="$acl_final_exec_prefix" 3995 3996 eval additional_includedir=\"$includedir\" 3997 eval additional_libdir=\"$libdir\" 3998 3999 exec_prefix="$acl_save_exec_prefix" 4000 prefix="$acl_save_prefix" 4001 4002 else 4003 additional_includedir="$withval/include" 4004 additional_libdir="$withval/$acl_libdirstem" 4005 fi 4006 fi 4007 4008 fi 4009 4010 LIBICONV= 4011 LTLIBICONV= 4012 INCICONV= 4013 rpathdirs= 4014 ltrpathdirs= 4015 names_already_handled= 4016 names_next_round='iconv ' 4017 while test -n "$names_next_round"; do 4018 names_this_round="$names_next_round" 4019 names_next_round= 4020 for name in $names_this_round; do 4021 already_handled= 4022 for n in $names_already_handled; do 4023 if test "$n" = "$name"; then 4024 already_handled=yes 4025 break 4026 fi 4027 done 4028 if test -z "$already_handled"; then 4029 names_already_handled="$names_already_handled $name" 4030 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4031 eval value=\"\$HAVE_LIB$uppername\" 4032 if test -n "$value"; then 4033 if test "$value" = yes; then 4034 eval value=\"\$LIB$uppername\" 4035 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 4036 eval value=\"\$LTLIB$uppername\" 4037 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 4038 else 4039 : 4040 fi 4041 else 4042 found_dir= 4043 found_la= 4044 found_so= 4045 found_a= 4046 if test $use_additional = yes; then 4047 if test -n "$shlibext" \ 4048 && { test -f "$additional_libdir/lib$name.$shlibext" \ 4049 || { test "$shlibext" = dll \ 4050 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then 4051 found_dir="$additional_libdir" 4052 if test -f "$additional_libdir/lib$name.$shlibext"; then 4053 found_so="$additional_libdir/lib$name.$shlibext" 4054 else 4055 found_so="$additional_libdir/lib$name.dll.a" 4056 fi 4057 if test -f "$additional_libdir/lib$name.la"; then 4058 found_la="$additional_libdir/lib$name.la" 4059 fi 4060 else 4061 if test -f "$additional_libdir/lib$name.$libext"; then 4062 found_dir="$additional_libdir" 4063 found_a="$additional_libdir/lib$name.$libext" 4064 if test -f "$additional_libdir/lib$name.la"; then 4065 found_la="$additional_libdir/lib$name.la" 4066 fi 4067 fi 4068 fi 4069 fi 4070 if test "X$found_dir" = "X"; then 4071 for x in $LDFLAGS $LTLIBICONV; do 4072 4073 acl_save_prefix="$prefix" 4074 prefix="$acl_final_prefix" 4075 acl_save_exec_prefix="$exec_prefix" 4076 exec_prefix="$acl_final_exec_prefix" 4077 eval x=\"$x\" 4078 exec_prefix="$acl_save_exec_prefix" 4079 prefix="$acl_save_prefix" 4080 4081 case "$x" in 4082 -L*) 4083 dir=`echo "X$x" | sed -e 's/^X-L//'` 4084 if test -n "$shlibext" \ 4085 && { test -f "$dir/lib$name.$shlibext" \ 4086 || { test "$shlibext" = dll \ 4087 && test -f "$dir/lib$name.dll.a"; }; }; then 4088 found_dir="$dir" 4089 if test -f "$dir/lib$name.$shlibext"; then 4090 found_so="$dir/lib$name.$shlibext" 4091 else 4092 found_so="$dir/lib$name.dll.a" 4093 fi 4094 if test -f "$dir/lib$name.la"; then 4095 found_la="$dir/lib$name.la" 4096 fi 4097 else 4098 if test -f "$dir/lib$name.$libext"; then 4099 found_dir="$dir" 4100 found_a="$dir/lib$name.$libext" 4101 if test -f "$dir/lib$name.la"; then 4102 found_la="$dir/lib$name.la" 4103 fi 4104 fi 4105 fi 4106 ;; 4107 esac 4108 if test "X$found_dir" != "X"; then 4109 break 4110 fi 4111 done 4112 fi 4113 if test "X$found_dir" != "X"; then 4114 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 4115 if test "X$found_so" != "X"; then 4116 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 4117 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4118 else 4119 haveit= 4120 for x in $ltrpathdirs; do 4121 if test "X$x" = "X$found_dir"; then 4122 haveit=yes 4123 break 4124 fi 4125 done 4126 if test -z "$haveit"; then 4127 ltrpathdirs="$ltrpathdirs $found_dir" 4128 fi 4129 if test "$hardcode_direct" = yes; then 4130 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4131 else 4132 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4133 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4134 haveit= 4135 for x in $rpathdirs; do 4136 if test "X$x" = "X$found_dir"; then 4137 haveit=yes 4138 break 4139 fi 4140 done 4141 if test -z "$haveit"; then 4142 rpathdirs="$rpathdirs $found_dir" 4143 fi 4144 else 4145 haveit= 4146 for x in $LDFLAGS $LIBICONV; do 4147 4148 acl_save_prefix="$prefix" 4149 prefix="$acl_final_prefix" 4150 acl_save_exec_prefix="$exec_prefix" 4151 exec_prefix="$acl_final_exec_prefix" 4152 eval x=\"$x\" 4153 exec_prefix="$acl_save_exec_prefix" 4154 prefix="$acl_save_prefix" 4155 4156 if test "X$x" = "X-L$found_dir"; then 4157 haveit=yes 4158 break 4159 fi 4160 done 4161 if test -z "$haveit"; then 4162 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 4163 fi 4164 if test "$hardcode_minus_L" != no; then 4165 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4166 else 4167 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4168 fi 4169 fi 4170 fi 4171 fi 4172 else 4173 if test "X$found_a" != "X"; then 4174 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 4175 else 4176 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 4177 fi 4178 fi 4179 additional_includedir= 4180 case "$found_dir" in 4181 */$acl_libdirstem | */$acl_libdirstem/) 4182 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4183 additional_includedir="$basedir/include" 4184 ;; 4185 esac 4186 if test "X$additional_includedir" != "X"; then 4187 if test "X$additional_includedir" != "X/usr/include"; then 4188 haveit= 4189 if test "X$additional_includedir" = "X/usr/local/include"; then 4190 if test -n "$GCC"; then 4191 case $host_os in 4192 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4193 esac 4194 fi 4195 fi 4196 if test -z "$haveit"; then 4197 for x in $CPPFLAGS $INCICONV; do 4198 4199 acl_save_prefix="$prefix" 4200 prefix="$acl_final_prefix" 4201 acl_save_exec_prefix="$exec_prefix" 4202 exec_prefix="$acl_final_exec_prefix" 4203 eval x=\"$x\" 4204 exec_prefix="$acl_save_exec_prefix" 4205 prefix="$acl_save_prefix" 4206 4207 if test "X$x" = "X-I$additional_includedir"; then 4208 haveit=yes 4209 break 4210 fi 4211 done 4212 if test -z "$haveit"; then 4213 if test -d "$additional_includedir"; then 4214 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 4215 fi 4216 fi 4217 fi 4218 fi 4219 fi 4220 if test -n "$found_la"; then 4221 save_libdir="$libdir" 4222 case "$found_la" in 4223 */* | *\\*) . "$found_la" ;; 4224 *) . "./$found_la" ;; 4225 esac 4226 libdir="$save_libdir" 4227 for dep in $dependency_libs; do 4228 case "$dep" in 4229 -L*) 4230 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 4231 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 4232 haveit= 4233 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 4234 if test -n "$GCC"; then 4235 case $host_os in 4236 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4237 esac 4238 fi 4239 fi 4240 if test -z "$haveit"; then 4241 haveit= 4242 for x in $LDFLAGS $LIBICONV; do 4243 4244 acl_save_prefix="$prefix" 4245 prefix="$acl_final_prefix" 4246 acl_save_exec_prefix="$exec_prefix" 4247 exec_prefix="$acl_final_exec_prefix" 4248 eval x=\"$x\" 4249 exec_prefix="$acl_save_exec_prefix" 4250 prefix="$acl_save_prefix" 4251 4252 if test "X$x" = "X-L$additional_libdir"; then 4253 haveit=yes 4254 break 4255 fi 4256 done 4257 if test -z "$haveit"; then 4258 if test -d "$additional_libdir"; then 4259 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 4260 fi 4261 fi 4262 haveit= 4263 for x in $LDFLAGS $LTLIBICONV; do 4264 4265 acl_save_prefix="$prefix" 4266 prefix="$acl_final_prefix" 4267 acl_save_exec_prefix="$exec_prefix" 4268 exec_prefix="$acl_final_exec_prefix" 4269 eval x=\"$x\" 4270 exec_prefix="$acl_save_exec_prefix" 4271 prefix="$acl_save_prefix" 4272 4273 if test "X$x" = "X-L$additional_libdir"; then 4274 haveit=yes 4275 break 4276 fi 4277 done 4278 if test -z "$haveit"; then 4279 if test -d "$additional_libdir"; then 4280 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 4281 fi 4282 fi 4283 fi 4284 fi 4285 ;; 4286 -R*) 4287 dir=`echo "X$dep" | sed -e 's/^X-R//'` 4288 if test "$enable_rpath" != no; then 4289 haveit= 4290 for x in $rpathdirs; do 4291 if test "X$x" = "X$dir"; then 4292 haveit=yes 4293 break 4294 fi 4295 done 4296 if test -z "$haveit"; then 4297 rpathdirs="$rpathdirs $dir" 4298 fi 4299 haveit= 4300 for x in $ltrpathdirs; do 4301 if test "X$x" = "X$dir"; then 4302 haveit=yes 4303 break 4304 fi 4305 done 4306 if test -z "$haveit"; then 4307 ltrpathdirs="$ltrpathdirs $dir" 4308 fi 4309 fi 4310 ;; 4311 -l*) 4312 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 4313 ;; 4314 *.la) 4315 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 4316 ;; 4317 *) 4318 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 4319 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 4320 ;; 4321 esac 4322 done 4323 fi 4324 else 4325 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4326 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 4327 fi 4328 fi 4329 fi 4330 done 4331 done 4332 if test "X$rpathdirs" != "X"; then 4333 if test -n "$hardcode_libdir_separator"; then 4334 alldirs= 4335 for found_dir in $rpathdirs; do 4336 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 4337 done 4338 acl_save_libdir="$libdir" 4339 libdir="$alldirs" 4340 eval flag=\"$hardcode_libdir_flag_spec\" 4341 libdir="$acl_save_libdir" 4342 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 4343 else 4344 for found_dir in $rpathdirs; do 4345 acl_save_libdir="$libdir" 4346 libdir="$found_dir" 4347 eval flag=\"$hardcode_libdir_flag_spec\" 4348 libdir="$acl_save_libdir" 4349 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 4350 done 4351 fi 4352 fi 4353 if test "X$ltrpathdirs" != "X"; then 4354 for found_dir in $ltrpathdirs; do 4355 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 4356 done 4357 fi 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 4385 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } 4386 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then 4387 echo $ECHO_N "(cached) $ECHO_C" >&6 4388 else 4389 gt_save_LIBS="$LIBS" 4390 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 4391 cat >conftest.$ac_ext <<_ACEOF 4392 /* confdefs.h. */ 4393 _ACEOF 4394 cat confdefs.h >>conftest.$ac_ext 4395 cat >>conftest.$ac_ext <<_ACEOF 4396 /* end confdefs.h. */ 4397 #include <CoreFoundation/CFPreferences.h> 4398 int 4399 main () 4400 { 4401 CFPreferencesCopyAppValue(NULL, NULL) 4402 ; 4403 return 0; 4404 } 4405 _ACEOF 4406 rm -f conftest.$ac_objext conftest$ac_exeext 4407 if { (ac_try="$ac_link" 4408 case "(($ac_try" in 4409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4410 *) ac_try_echo=$ac_try;; 4411 esac 4412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4413 (eval "$ac_link") 2>conftest.er1 4414 ac_status=$? 4415 grep -v '^ *+' conftest.er1 >conftest.err 4416 rm -f conftest.er1 4417 cat conftest.err >&5 4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4419 (exit $ac_status); } && { 4420 test -z "$ac_c_werror_flag" || 4421 test ! -s conftest.err 4422 } && test -s conftest$ac_exeext && 4423 $as_test_x conftest$ac_exeext; then 4424 gt_cv_func_CFPreferencesCopyAppValue=yes 4425 else 4426 echo "$as_me: failed program was:" >&5 4427 sed 's/^/| /' conftest.$ac_ext >&5 4428 4429 gt_cv_func_CFPreferencesCopyAppValue=no 4430 fi 4431 4432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4433 conftest$ac_exeext conftest.$ac_ext 4434 LIBS="$gt_save_LIBS" 4435 fi 4436 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 4437 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 4438 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 4439 4440 cat >>confdefs.h <<\_ACEOF 4441 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1 4442 _ACEOF 4443 4444 fi 4445 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 4446 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; } 4447 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then 4448 echo $ECHO_N "(cached) $ECHO_C" >&6 4449 else 4450 gt_save_LIBS="$LIBS" 4451 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 4452 cat >conftest.$ac_ext <<_ACEOF 4453 /* confdefs.h. */ 4454 _ACEOF 4455 cat confdefs.h >>conftest.$ac_ext 4456 cat >>conftest.$ac_ext <<_ACEOF 4457 /* end confdefs.h. */ 4458 #include <CoreFoundation/CFLocale.h> 4459 int 4460 main () 4461 { 4462 CFLocaleCopyCurrent(); 4463 ; 4464 return 0; 4465 } 4466 _ACEOF 4467 rm -f conftest.$ac_objext conftest$ac_exeext 4468 if { (ac_try="$ac_link" 4469 case "(($ac_try" in 4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4471 *) ac_try_echo=$ac_try;; 4472 esac 4473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4474 (eval "$ac_link") 2>conftest.er1 4475 ac_status=$? 4476 grep -v '^ *+' conftest.er1 >conftest.err 4477 rm -f conftest.er1 4478 cat conftest.err >&5 4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4480 (exit $ac_status); } && { 4481 test -z "$ac_c_werror_flag" || 4482 test ! -s conftest.err 4483 } && test -s conftest$ac_exeext && 4484 $as_test_x conftest$ac_exeext; then 4485 gt_cv_func_CFLocaleCopyCurrent=yes 4486 else 4487 echo "$as_me: failed program was:" >&5 4488 sed 's/^/| /' conftest.$ac_ext >&5 4489 4490 gt_cv_func_CFLocaleCopyCurrent=no 4491 fi 4492 4493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4494 conftest$ac_exeext conftest.$ac_ext 4495 LIBS="$gt_save_LIBS" 4496 fi 4497 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 4498 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; } 4499 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 4500 4501 cat >>confdefs.h <<\_ACEOF 4502 #define HAVE_CFLOCALECOPYCURRENT 1 4503 _ACEOF 4504 4505 fi 4506 INTL_MACOSX_LIBS= 4507 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 4508 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 4509 fi 4510 4511 4512 4513 4514 4515 4516 LIBINTL= 4517 LTLIBINTL= 4518 POSUB= 4519 4520 case " $gt_needs " in 4521 *" need-formatstring-macros "*) gt_api_version=3 ;; 4522 *" need-ngettext "*) gt_api_version=2 ;; 4523 *) gt_api_version=1 ;; 4524 esac 4525 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 4526 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 4527 4528 if test "$USE_NLS" = "yes"; then 4529 gt_use_preinstalled_gnugettext=no 4530 4531 4532 if test $gt_api_version -ge 3; then 4533 gt_revision_test_code=' 4534 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION 4535 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 4536 #endif 4537 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 4538 ' 4539 else 4540 gt_revision_test_code= 4541 fi 4542 if test $gt_api_version -ge 2; then 4543 gt_expression_test_code=' + * ngettext ("", "", 0)' 4544 else 4545 gt_expression_test_code= 4546 fi 4547 4548 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 4549 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } 4550 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then 4551 echo $ECHO_N "(cached) $ECHO_C" >&6 4552 else 4553 cat >conftest.$ac_ext <<_ACEOF 4554 /* confdefs.h. */ 4555 _ACEOF 4556 cat confdefs.h >>conftest.$ac_ext 4557 cat >>conftest.$ac_ext <<_ACEOF 4558 /* end confdefs.h. */ 4559 #include <libintl.h> 4560 $gt_revision_test_code 4561 extern int _nl_msg_cat_cntr; 4562 extern int *_nl_domain_bindings; 4563 int 4564 main () 4565 { 4566 bindtextdomain ("", ""); 4567 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 4568 ; 4569 return 0; 4570 } 4571 _ACEOF 4572 rm -f conftest.$ac_objext conftest$ac_exeext 4573 if { (ac_try="$ac_link" 4574 case "(($ac_try" in 4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4576 *) ac_try_echo=$ac_try;; 4577 esac 4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4579 (eval "$ac_link") 2>conftest.er1 4580 ac_status=$? 4581 grep -v '^ *+' conftest.er1 >conftest.err 4582 rm -f conftest.er1 4583 cat conftest.err >&5 4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4585 (exit $ac_status); } && { 4586 test -z "$ac_c_werror_flag" || 4587 test ! -s conftest.err 4588 } && test -s conftest$ac_exeext && 4589 $as_test_x conftest$ac_exeext; then 4590 eval "$gt_func_gnugettext_libc=yes" 4591 else 4592 echo "$as_me: failed program was:" >&5 4593 sed 's/^/| /' conftest.$ac_ext >&5 4594 4595 eval "$gt_func_gnugettext_libc=no" 4596 fi 4597 4598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4599 conftest$ac_exeext conftest.$ac_ext 4600 fi 4601 ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` 4602 { echo "$as_me:$LINENO: result: $ac_res" >&5 4603 echo "${ECHO_T}$ac_res" >&6; } 4604 4605 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 4606 4607 4608 4609 4610 4611 am_save_CPPFLAGS="$CPPFLAGS" 4612 4613 for element in $INCICONV; do 4614 haveit= 4615 for x in $CPPFLAGS; do 4616 4617 acl_save_prefix="$prefix" 4618 prefix="$acl_final_prefix" 4619 acl_save_exec_prefix="$exec_prefix" 4620 exec_prefix="$acl_final_exec_prefix" 4621 eval x=\"$x\" 4622 exec_prefix="$acl_save_exec_prefix" 4623 prefix="$acl_save_prefix" 4624 4625 if test "X$x" = "X$element"; then 4626 haveit=yes 4627 break 4628 fi 4629 done 4630 if test -z "$haveit"; then 4631 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4632 fi 4633 done 4634 4635 4636 { echo "$as_me:$LINENO: checking for iconv" >&5 4637 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } 4638 if test "${am_cv_func_iconv+set}" = set; then 4639 echo $ECHO_N "(cached) $ECHO_C" >&6 4640 else 4641 4642 am_cv_func_iconv="no, consider installing GNU libiconv" 4643 am_cv_lib_iconv=no 4644 cat >conftest.$ac_ext <<_ACEOF 4645 /* confdefs.h. */ 4646 _ACEOF 4647 cat confdefs.h >>conftest.$ac_ext 4648 cat >>conftest.$ac_ext <<_ACEOF 4649 /* end confdefs.h. */ 4650 #include <stdlib.h> 4651 #include <iconv.h> 4652 int 4653 main () 4654 { 4655 iconv_t cd = iconv_open("",""); 4656 iconv(cd,NULL,NULL,NULL,NULL); 4657 iconv_close(cd); 4658 ; 4659 return 0; 4660 } 4661 _ACEOF 4662 rm -f conftest.$ac_objext conftest$ac_exeext 4663 if { (ac_try="$ac_link" 4664 case "(($ac_try" in 4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4666 *) ac_try_echo=$ac_try;; 4667 esac 4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4669 (eval "$ac_link") 2>conftest.er1 4670 ac_status=$? 4671 grep -v '^ *+' conftest.er1 >conftest.err 4672 rm -f conftest.er1 4673 cat conftest.err >&5 4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4675 (exit $ac_status); } && { 4676 test -z "$ac_c_werror_flag" || 4677 test ! -s conftest.err 4678 } && test -s conftest$ac_exeext && 4679 $as_test_x conftest$ac_exeext; then 4680 am_cv_func_iconv=yes 4681 else 4682 echo "$as_me: failed program was:" >&5 4683 sed 's/^/| /' conftest.$ac_ext >&5 4684 4685 4686 fi 4687 4688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4689 conftest$ac_exeext conftest.$ac_ext 4690 if test "$am_cv_func_iconv" != yes; then 4691 am_save_LIBS="$LIBS" 4692 LIBS="$LIBS $LIBICONV" 4693 cat >conftest.$ac_ext <<_ACEOF 4694 /* confdefs.h. */ 4695 _ACEOF 4696 cat confdefs.h >>conftest.$ac_ext 4697 cat >>conftest.$ac_ext <<_ACEOF 4698 /* end confdefs.h. */ 4699 #include <stdlib.h> 4700 #include <iconv.h> 4701 int 4702 main () 4703 { 4704 iconv_t cd = iconv_open("",""); 4705 iconv(cd,NULL,NULL,NULL,NULL); 4706 iconv_close(cd); 4707 ; 4708 return 0; 4709 } 4710 _ACEOF 4711 rm -f conftest.$ac_objext conftest$ac_exeext 4712 if { (ac_try="$ac_link" 4713 case "(($ac_try" in 4714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4715 *) ac_try_echo=$ac_try;; 4716 esac 4717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4718 (eval "$ac_link") 2>conftest.er1 4719 ac_status=$? 4720 grep -v '^ *+' conftest.er1 >conftest.err 4721 rm -f conftest.er1 4722 cat conftest.err >&5 4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4724 (exit $ac_status); } && { 4725 test -z "$ac_c_werror_flag" || 4726 test ! -s conftest.err 4727 } && test -s conftest$ac_exeext && 4728 $as_test_x conftest$ac_exeext; then 4729 am_cv_lib_iconv=yes 4730 am_cv_func_iconv=yes 4731 else 4732 echo "$as_me: failed program was:" >&5 4733 sed 's/^/| /' conftest.$ac_ext >&5 4734 4735 4736 fi 4737 4738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4739 conftest$ac_exeext conftest.$ac_ext 4740 LIBS="$am_save_LIBS" 4741 fi 4742 4743 fi 4744 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 4745 echo "${ECHO_T}$am_cv_func_iconv" >&6; } 4746 if test "$am_cv_func_iconv" = yes; then 4747 4748 cat >>confdefs.h <<\_ACEOF 4749 #define HAVE_ICONV 1 4750 _ACEOF 4751 4752 fi 4753 if test "$am_cv_lib_iconv" = yes; then 4754 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 4755 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } 4756 { echo "$as_me:$LINENO: result: $LIBICONV" >&5 4757 echo "${ECHO_T}$LIBICONV" >&6; } 4758 else 4759 CPPFLAGS="$am_save_CPPFLAGS" 4760 LIBICONV= 4761 LTLIBICONV= 4762 fi 4763 4764 4765 4766 4767 4768 4769 4770 use_additional=yes 4771 4772 acl_save_prefix="$prefix" 4773 prefix="$acl_final_prefix" 4774 acl_save_exec_prefix="$exec_prefix" 4775 exec_prefix="$acl_final_exec_prefix" 4776 4777 eval additional_includedir=\"$includedir\" 4778 eval additional_libdir=\"$libdir\" 4779 4780 exec_prefix="$acl_save_exec_prefix" 4781 prefix="$acl_save_prefix" 4782 4783 4784 # Check whether --with-libintl-prefix was given. 4785 if test "${with_libintl_prefix+set}" = set; then 4786 withval=$with_libintl_prefix; 4787 if test "X$withval" = "Xno"; then 4788 use_additional=no 4789 else 4790 if test "X$withval" = "X"; then 4791 4792 acl_save_prefix="$prefix" 4793 prefix="$acl_final_prefix" 4794 acl_save_exec_prefix="$exec_prefix" 4795 exec_prefix="$acl_final_exec_prefix" 4796 4797 eval additional_includedir=\"$includedir\" 4798 eval additional_libdir=\"$libdir\" 4799 4800 exec_prefix="$acl_save_exec_prefix" 4801 prefix="$acl_save_prefix" 4802 4803 else 4804 additional_includedir="$withval/include" 4805 additional_libdir="$withval/$acl_libdirstem" 4806 fi 4807 fi 4808 4809 fi 4810 4811 LIBINTL= 4812 LTLIBINTL= 4813 INCINTL= 4814 rpathdirs= 4815 ltrpathdirs= 4816 names_already_handled= 4817 names_next_round='intl ' 4818 while test -n "$names_next_round"; do 4819 names_this_round="$names_next_round" 4820 names_next_round= 4821 for name in $names_this_round; do 4822 already_handled= 4823 for n in $names_already_handled; do 4824 if test "$n" = "$name"; then 4825 already_handled=yes 4826 break 4827 fi 4828 done 4829 if test -z "$already_handled"; then 4830 names_already_handled="$names_already_handled $name" 4831 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4832 eval value=\"\$HAVE_LIB$uppername\" 4833 if test -n "$value"; then 4834 if test "$value" = yes; then 4835 eval value=\"\$LIB$uppername\" 4836 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 4837 eval value=\"\$LTLIB$uppername\" 4838 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 4839 else 4840 : 4841 fi 4842 else 4843 found_dir= 4844 found_la= 4845 found_so= 4846 found_a= 4847 if test $use_additional = yes; then 4848 if test -n "$shlibext" \ 4849 && { test -f "$additional_libdir/lib$name.$shlibext" \ 4850 || { test "$shlibext" = dll \ 4851 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then 4852 found_dir="$additional_libdir" 4853 if test -f "$additional_libdir/lib$name.$shlibext"; then 4854 found_so="$additional_libdir/lib$name.$shlibext" 4855 else 4856 found_so="$additional_libdir/lib$name.dll.a" 4857 fi 4858 if test -f "$additional_libdir/lib$name.la"; then 4859 found_la="$additional_libdir/lib$name.la" 4860 fi 4861 else 4862 if test -f "$additional_libdir/lib$name.$libext"; then 4863 found_dir="$additional_libdir" 4864 found_a="$additional_libdir/lib$name.$libext" 4865 if test -f "$additional_libdir/lib$name.la"; then 4866 found_la="$additional_libdir/lib$name.la" 4867 fi 4868 fi 4869 fi 4870 fi 4871 if test "X$found_dir" = "X"; then 4872 for x in $LDFLAGS $LTLIBINTL; do 4873 4874 acl_save_prefix="$prefix" 4875 prefix="$acl_final_prefix" 4876 acl_save_exec_prefix="$exec_prefix" 4877 exec_prefix="$acl_final_exec_prefix" 4878 eval x=\"$x\" 4879 exec_prefix="$acl_save_exec_prefix" 4880 prefix="$acl_save_prefix" 4881 4882 case "$x" in 4883 -L*) 4884 dir=`echo "X$x" | sed -e 's/^X-L//'` 4885 if test -n "$shlibext" \ 4886 && { test -f "$dir/lib$name.$shlibext" \ 4887 || { test "$shlibext" = dll \ 4888 && test -f "$dir/lib$name.dll.a"; }; }; then 4889 found_dir="$dir" 4890 if test -f "$dir/lib$name.$shlibext"; then 4891 found_so="$dir/lib$name.$shlibext" 4892 else 4893 found_so="$dir/lib$name.dll.a" 4894 fi 4895 if test -f "$dir/lib$name.la"; then 4896 found_la="$dir/lib$name.la" 4897 fi 4898 else 4899 if test -f "$dir/lib$name.$libext"; then 4900 found_dir="$dir" 4901 found_a="$dir/lib$name.$libext" 4902 if test -f "$dir/lib$name.la"; then 4903 found_la="$dir/lib$name.la" 4904 fi 4905 fi 4906 fi 4907 ;; 4908 esac 4909 if test "X$found_dir" != "X"; then 4910 break 4911 fi 4912 done 4913 fi 4914 if test "X$found_dir" != "X"; then 4915 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 4916 if test "X$found_so" != "X"; then 4917 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 4918 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4919 else 4920 haveit= 4921 for x in $ltrpathdirs; do 4922 if test "X$x" = "X$found_dir"; then 4923 haveit=yes 4924 break 4925 fi 4926 done 4927 if test -z "$haveit"; then 4928 ltrpathdirs="$ltrpathdirs $found_dir" 4929 fi 4930 if test "$hardcode_direct" = yes; then 4931 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4932 else 4933 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4934 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4935 haveit= 4936 for x in $rpathdirs; do 4937 if test "X$x" = "X$found_dir"; then 4938 haveit=yes 4939 break 4940 fi 4941 done 4942 if test -z "$haveit"; then 4943 rpathdirs="$rpathdirs $found_dir" 4944 fi 4945 else 4946 haveit= 4947 for x in $LDFLAGS $LIBINTL; do 4948 4949 acl_save_prefix="$prefix" 4950 prefix="$acl_final_prefix" 4951 acl_save_exec_prefix="$exec_prefix" 4952 exec_prefix="$acl_final_exec_prefix" 4953 eval x=\"$x\" 4954 exec_prefix="$acl_save_exec_prefix" 4955 prefix="$acl_save_prefix" 4956 4957 if test "X$x" = "X-L$found_dir"; then 4958 haveit=yes 4959 break 4960 fi 4961 done 4962 if test -z "$haveit"; then 4963 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 4964 fi 4965 if test "$hardcode_minus_L" != no; then 4966 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4967 else 4968 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 4969 fi 4970 fi 4971 fi 4972 fi 4973 else 4974 if test "X$found_a" != "X"; then 4975 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 4976 else 4977 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 4978 fi 4979 fi 4980 additional_includedir= 4981 case "$found_dir" in 4982 */$acl_libdirstem | */$acl_libdirstem/) 4983 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4984 additional_includedir="$basedir/include" 4985 ;; 4986 esac 4987 if test "X$additional_includedir" != "X"; then 4988 if test "X$additional_includedir" != "X/usr/include"; then 4989 haveit= 4990 if test "X$additional_includedir" = "X/usr/local/include"; then 4991 if test -n "$GCC"; then 4992 case $host_os in 4993 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4994 esac 4995 fi 4996 fi 4997 if test -z "$haveit"; then 4998 for x in $CPPFLAGS $INCINTL; do 4999 5000 acl_save_prefix="$prefix" 5001 prefix="$acl_final_prefix" 5002 acl_save_exec_prefix="$exec_prefix" 5003 exec_prefix="$acl_final_exec_prefix" 5004 eval x=\"$x\" 5005 exec_prefix="$acl_save_exec_prefix" 5006 prefix="$acl_save_prefix" 5007 5008 if test "X$x" = "X-I$additional_includedir"; then 5009 haveit=yes 5010 break 5011 fi 5012 done 5013 if test -z "$haveit"; then 5014 if test -d "$additional_includedir"; then 5015 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 5016 fi 5017 fi 5018 fi 5019 fi 5020 fi 5021 if test -n "$found_la"; then 5022 save_libdir="$libdir" 5023 case "$found_la" in 5024 */* | *\\*) . "$found_la" ;; 5025 *) . "./$found_la" ;; 5026 esac 5027 libdir="$save_libdir" 5028 for dep in $dependency_libs; do 5029 case "$dep" in 5030 -L*) 5031 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5032 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 5033 haveit= 5034 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 5035 if test -n "$GCC"; then 5036 case $host_os in 5037 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5038 esac 5039 fi 5040 fi 5041 if test -z "$haveit"; then 5042 haveit= 5043 for x in $LDFLAGS $LIBINTL; do 5044 5045 acl_save_prefix="$prefix" 5046 prefix="$acl_final_prefix" 5047 acl_save_exec_prefix="$exec_prefix" 5048 exec_prefix="$acl_final_exec_prefix" 5049 eval x=\"$x\" 5050 exec_prefix="$acl_save_exec_prefix" 5051 prefix="$acl_save_prefix" 5052 5053 if test "X$x" = "X-L$additional_libdir"; then 5054 haveit=yes 5055 break 5056 fi 5057 done 5058 if test -z "$haveit"; then 5059 if test -d "$additional_libdir"; then 5060 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 5061 fi 5062 fi 5063 haveit= 5064 for x in $LDFLAGS $LTLIBINTL; do 5065 5066 acl_save_prefix="$prefix" 5067 prefix="$acl_final_prefix" 5068 acl_save_exec_prefix="$exec_prefix" 5069 exec_prefix="$acl_final_exec_prefix" 5070 eval x=\"$x\" 5071 exec_prefix="$acl_save_exec_prefix" 5072 prefix="$acl_save_prefix" 5073 5074 if test "X$x" = "X-L$additional_libdir"; then 5075 haveit=yes 5076 break 5077 fi 5078 done 5079 if test -z "$haveit"; then 5080 if test -d "$additional_libdir"; then 5081 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 5082 fi 5083 fi 5084 fi 5085 fi 5086 ;; 5087 -R*) 5088 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5089 if test "$enable_rpath" != no; then 5090 haveit= 5091 for x in $rpathdirs; do 5092 if test "X$x" = "X$dir"; then 5093 haveit=yes 5094 break 5095 fi 5096 done 5097 if test -z "$haveit"; then 5098 rpathdirs="$rpathdirs $dir" 5099 fi 5100 haveit= 5101 for x in $ltrpathdirs; do 5102 if test "X$x" = "X$dir"; then 5103 haveit=yes 5104 break 5105 fi 5106 done 5107 if test -z "$haveit"; then 5108 ltrpathdirs="$ltrpathdirs $dir" 5109 fi 5110 fi 5111 ;; 5112 -l*) 5113 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5114 ;; 5115 *.la) 5116 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5117 ;; 5118 *) 5119 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 5120 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 5121 ;; 5122 esac 5123 done 5124 fi 5125 else 5126 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 5127 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 5128 fi 5129 fi 5130 fi 5131 done 5132 done 5133 if test "X$rpathdirs" != "X"; then 5134 if test -n "$hardcode_libdir_separator"; then 5135 alldirs= 5136 for found_dir in $rpathdirs; do 5137 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 5138 done 5139 acl_save_libdir="$libdir" 5140 libdir="$alldirs" 5141 eval flag=\"$hardcode_libdir_flag_spec\" 5142 libdir="$acl_save_libdir" 5143 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 5144 else 5145 for found_dir in $rpathdirs; do 5146 acl_save_libdir="$libdir" 5147 libdir="$found_dir" 5148 eval flag=\"$hardcode_libdir_flag_spec\" 5149 libdir="$acl_save_libdir" 5150 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 5151 done 5152 fi 5153 fi 5154 if test "X$ltrpathdirs" != "X"; then 5155 for found_dir in $ltrpathdirs; do 5156 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 5157 done 5158 fi 5159 5160 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 5161 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } 5162 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then 5163 echo $ECHO_N "(cached) $ECHO_C" >&6 5164 else 5165 gt_save_CPPFLAGS="$CPPFLAGS" 5166 CPPFLAGS="$CPPFLAGS $INCINTL" 5167 gt_save_LIBS="$LIBS" 5168 LIBS="$LIBS $LIBINTL" 5169 cat >conftest.$ac_ext <<_ACEOF 5170 /* confdefs.h. */ 5171 _ACEOF 5172 cat confdefs.h >>conftest.$ac_ext 5173 cat >>conftest.$ac_ext <<_ACEOF 5174 /* end confdefs.h. */ 5175 #include <libintl.h> 5176 $gt_revision_test_code 5177 extern int _nl_msg_cat_cntr; 5178 extern 5179 #ifdef __cplusplus 5180 "C" 5181 #endif 5182 const char *_nl_expand_alias (const char *); 5183 int 5184 main () 5185 { 5186 bindtextdomain ("", ""); 5187 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 5188 ; 5189 return 0; 5190 } 5191 _ACEOF 5192 rm -f conftest.$ac_objext conftest$ac_exeext 5193 if { (ac_try="$ac_link" 5194 case "(($ac_try" in 5195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5196 *) ac_try_echo=$ac_try;; 5197 esac 5198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5199 (eval "$ac_link") 2>conftest.er1 5200 ac_status=$? 5201 grep -v '^ *+' conftest.er1 >conftest.err 5202 rm -f conftest.er1 5203 cat conftest.err >&5 5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5205 (exit $ac_status); } && { 5206 test -z "$ac_c_werror_flag" || 5207 test ! -s conftest.err 5208 } && test -s conftest$ac_exeext && 5209 $as_test_x conftest$ac_exeext; then 5210 eval "$gt_func_gnugettext_libintl=yes" 5211 else 5212 echo "$as_me: failed program was:" >&5 5213 sed 's/^/| /' conftest.$ac_ext >&5 5214 5215 eval "$gt_func_gnugettext_libintl=no" 5216 fi 5217 5218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5219 conftest$ac_exeext conftest.$ac_ext 5220 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 5221 LIBS="$LIBS $LIBICONV" 5222 cat >conftest.$ac_ext <<_ACEOF 5223 /* confdefs.h. */ 5224 _ACEOF 5225 cat confdefs.h >>conftest.$ac_ext 5226 cat >>conftest.$ac_ext <<_ACEOF 5227 /* end confdefs.h. */ 5228 #include <libintl.h> 5229 $gt_revision_test_code 5230 extern int _nl_msg_cat_cntr; 5231 extern 5232 #ifdef __cplusplus 5233 "C" 5234 #endif 5235 const char *_nl_expand_alias (const char *); 5236 int 5237 main () 5238 { 5239 bindtextdomain ("", ""); 5240 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 5241 ; 5242 return 0; 5243 } 5244 _ACEOF 5245 rm -f conftest.$ac_objext conftest$ac_exeext 5246 if { (ac_try="$ac_link" 5247 case "(($ac_try" in 5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5249 *) ac_try_echo=$ac_try;; 5250 esac 5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5252 (eval "$ac_link") 2>conftest.er1 5253 ac_status=$? 5254 grep -v '^ *+' conftest.er1 >conftest.err 5255 rm -f conftest.er1 5256 cat conftest.err >&5 5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5258 (exit $ac_status); } && { 5259 test -z "$ac_c_werror_flag" || 5260 test ! -s conftest.err 5261 } && test -s conftest$ac_exeext && 5262 $as_test_x conftest$ac_exeext; then 5263 LIBINTL="$LIBINTL $LIBICONV" 5264 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 5265 eval "$gt_func_gnugettext_libintl=yes" 5266 5267 else 5268 echo "$as_me: failed program was:" >&5 5269 sed 's/^/| /' conftest.$ac_ext >&5 5270 5271 5272 fi 5273 5274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5275 conftest$ac_exeext conftest.$ac_ext 5276 fi 5277 CPPFLAGS="$gt_save_CPPFLAGS" 5278 LIBS="$gt_save_LIBS" 5279 fi 5280 ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` 5281 { echo "$as_me:$LINENO: result: $ac_res" >&5 5282 echo "${ECHO_T}$ac_res" >&6; } 5283 fi 5284 5285 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 5286 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 5287 && test "$PACKAGE" != gettext-runtime \ 5288 && test "$PACKAGE" != gettext-tools; }; then 5289 gt_use_preinstalled_gnugettext=yes 5290 else 5291 LIBINTL= 5292 LTLIBINTL= 5293 INCINTL= 5294 fi 5295 5296 5297 5298 if test -n "$INTL_MACOSX_LIBS"; then 5299 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 5300 || test "$nls_cv_use_gnu_gettext" = "yes"; then 5301