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 LIB@&t@OBJS= 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 LIB@&t@OBJS 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 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 5302 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 5303 fi 5304 fi 5305 5306 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 5307 || test "$nls_cv_use_gnu_gettext" = "yes"; then 5308 5309 cat >>confdefs.h <<\_ACEOF 5310 @%:@define ENABLE_NLS 1 5311 _ACEOF 5312 5313 else 5314 USE_NLS=no 5315 fi 5316 fi 5317 5318 { echo "$as_me:$LINENO: checking whether to use NLS" >&5 5319 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; } 5320 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 5321 echo "${ECHO_T}$USE_NLS" >&6; } 5322 if test "$USE_NLS" = "yes"; then 5323 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 5324 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } 5325 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 5326 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 5327 gt_source="external libintl" 5328 else 5329 gt_source="libc" 5330 fi 5331 else 5332 gt_source="included intl directory" 5333 fi 5334 { echo "$as_me:$LINENO: result: $gt_source" >&5 5335 echo "${ECHO_T}$gt_source" >&6; } 5336 fi 5337 5338 if test "$USE_NLS" = "yes"; then 5339 5340 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 5341 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 5342 { echo "$as_me:$LINENO: checking how to link with libintl" >&5 5343 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } 5344 { echo "$as_me:$LINENO: result: $LIBINTL" >&5 5345 echo "${ECHO_T}$LIBINTL" >&6; } 5346 5347 for element in $INCINTL; do 5348 haveit= 5349 for x in $CPPFLAGS; do 5350 5351 acl_save_prefix="$prefix" 5352 prefix="$acl_final_prefix" 5353 acl_save_exec_prefix="$exec_prefix" 5354 exec_prefix="$acl_final_exec_prefix" 5355 eval x=\"$x\" 5356 exec_prefix="$acl_save_exec_prefix" 5357 prefix="$acl_save_prefix" 5358 5359 if test "X$x" = "X$element"; then 5360 haveit=yes 5361 break 5362 fi 5363 done 5364 if test -z "$haveit"; then 5365 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5366 fi 5367 done 5368 5369 fi 5370 5371 5372 cat >>confdefs.h <<\_ACEOF 5373 @%:@define HAVE_GETTEXT 1 5374 _ACEOF 5375 5376 5377 cat >>confdefs.h <<\_ACEOF 5378 @%:@define HAVE_DCGETTEXT 1 5379 _ACEOF 5380 5381 fi 5382 5383 POSUB=po 5384 fi 5385 5386 5387 5388 INTLLIBS="$LIBINTL" 5389 5390 5391 5392 5393 5394 5395 5396 ALL_LINGUAS="nl" 5397 5398 5399 ac_ext=c 5400 ac_cpp='$CPP $CPPFLAGS' 5401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5404 if test -n "$ac_tool_prefix"; then 5405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5406 set dummy ${ac_tool_prefix}gcc; ac_word=$2 5407 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5409 if test "${ac_cv_prog_CC+set}" = set; then 5410 echo $ECHO_N "(cached) $ECHO_C" >&6 5411 else 5412 if test -n "$CC"; then 5413 ac_cv_prog_CC="$CC" # Let the user override the test. 5414 else 5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5416 for as_dir in $PATH 5417 do 5418 IFS=$as_save_IFS 5419 test -z "$as_dir" && as_dir=. 5420 for ac_exec_ext in '' $ac_executable_extensions; do 5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5422 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5424 break 2 5425 fi 5426 done 5427 done 5428 IFS=$as_save_IFS 5429 5430 fi 5431 fi 5432 CC=$ac_cv_prog_CC 5433 if test -n "$CC"; then 5434 { echo "$as_me:$LINENO: result: $CC" >&5 5435 echo "${ECHO_T}$CC" >&6; } 5436 else 5437 { echo "$as_me:$LINENO: result: no" >&5 5438 echo "${ECHO_T}no" >&6; } 5439 fi 5440 5441 5442 fi 5443 if test -z "$ac_cv_prog_CC"; then 5444 ac_ct_CC=$CC 5445 # Extract the first word of "gcc", so it can be a program name with args. 5446 set dummy gcc; ac_word=$2 5447 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5450 echo $ECHO_N "(cached) $ECHO_C" >&6 5451 else 5452 if test -n "$ac_ct_CC"; then 5453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5454 else 5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5456 for as_dir in $PATH 5457 do 5458 IFS=$as_save_IFS 5459 test -z "$as_dir" && as_dir=. 5460 for ac_exec_ext in '' $ac_executable_extensions; do 5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5462 ac_cv_prog_ac_ct_CC="gcc" 5463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5464 break 2 5465 fi 5466 done 5467 done 5468 IFS=$as_save_IFS 5469 5470 fi 5471 fi 5472 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5473 if test -n "$ac_ct_CC"; then 5474 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5475 echo "${ECHO_T}$ac_ct_CC" >&6; } 5476 else 5477 { echo "$as_me:$LINENO: result: no" >&5 5478 echo "${ECHO_T}no" >&6; } 5479 fi 5480 5481 if test "x$ac_ct_CC" = x; then 5482 CC="" 5483 else 5484 case $cross_compiling:$ac_tool_warned in 5485 yes:) 5486 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5487 whose name does not start with the host triplet. If you think this 5488 configuration is useful to you, please write to autoconf@gnu.org." >&5 5489 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5490 whose name does not start with the host triplet. If you think this 5491 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5492 ac_tool_warned=yes ;; 5493 esac 5494 CC=$ac_ct_CC 5495 fi 5496 else 5497 CC="$ac_cv_prog_CC" 5498 fi 5499 5500 if test -z "$CC"; then 5501 if test -n "$ac_tool_prefix"; then 5502 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5503 set dummy ${ac_tool_prefix}cc; ac_word=$2 5504 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5506 if test "${ac_cv_prog_CC+set}" = set; then 5507 echo $ECHO_N "(cached) $ECHO_C" >&6 5508 else 5509 if test -n "$CC"; then 5510 ac_cv_prog_CC="$CC" # Let the user override the test. 5511 else 5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5513 for as_dir in $PATH 5514 do 5515 IFS=$as_save_IFS 5516 test -z "$as_dir" && as_dir=. 5517 for ac_exec_ext in '' $ac_executable_extensions; do 5518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5519 ac_cv_prog_CC="${ac_tool_prefix}cc" 5520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5521 break 2 5522 fi 5523 done 5524 done 5525 IFS=$as_save_IFS 5526 5527 fi 5528 fi 5529 CC=$ac_cv_prog_CC 5530 if test -n "$CC"; then 5531 { echo "$as_me:$LINENO: result: $CC" >&5 5532 echo "${ECHO_T}$CC" >&6; } 5533 else 5534 { echo "$as_me:$LINENO: result: no" >&5 5535 echo "${ECHO_T}no" >&6; } 5536 fi 5537 5538 5539 fi 5540 fi 5541 if test -z "$CC"; then 5542 # Extract the first word of "cc", so it can be a program name with args. 5543 set dummy cc; ac_word=$2 5544 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5546 if test "${ac_cv_prog_CC+set}" = set; then 5547 echo $ECHO_N "(cached) $ECHO_C" >&6 5548 else 5549 if test -n "$CC"; then 5550 ac_cv_prog_CC="$CC" # Let the user override the test. 5551 else 5552 ac_prog_rejected=no 5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5554 for as_dir in $PATH 5555 do 5556 IFS=$as_save_IFS 5557 test -z "$as_dir" && as_dir=. 5558 for ac_exec_ext in '' $ac_executable_extensions; do 5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5560 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5561 ac_prog_rejected=yes 5562 continue 5563 fi 5564 ac_cv_prog_CC="cc" 5565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5566 break 2 5567 fi 5568 done 5569 done 5570 IFS=$as_save_IFS 5571 5572 if test $ac_prog_rejected = yes; then 5573 # We found a bogon in the path, so make sure we never use it. 5574 set dummy $ac_cv_prog_CC 5575 shift 5576 if test $@%:@ != 0; then 5577 # We chose a different compiler from the bogus one. 5578 # However, it has the same basename, so the bogon will be chosen 5579 # first if we set CC to just the basename; use the full file name. 5580 shift 5581 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5582 fi 5583 fi 5584 fi 5585 fi 5586 CC=$ac_cv_prog_CC 5587 if test -n "$CC"; then 5588 { echo "$as_me:$LINENO: result: $CC" >&5 5589 echo "${ECHO_T}$CC" >&6; } 5590 else 5591 { echo "$as_me:$LINENO: result: no" >&5 5592 echo "${ECHO_T}no" >&6; } 5593 fi 5594 5595 5596 fi 5597 if test -z "$CC"; then 5598 if test -n "$ac_tool_prefix"; then 5599 for ac_prog in cl.exe 5600 do 5601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5603 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5605 if test "${ac_cv_prog_CC+set}" = set; then 5606 echo $ECHO_N "(cached) $ECHO_C" >&6 5607 else 5608 if test -n "$CC"; then 5609 ac_cv_prog_CC="$CC" # Let the user override the test. 5610 else 5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5612 for as_dir in $PATH 5613 do 5614 IFS=$as_save_IFS 5615 test -z "$as_dir" && as_dir=. 5616 for ac_exec_ext in '' $ac_executable_extensions; do 5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5618 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5620 break 2 5621 fi 5622 done 5623 done 5624 IFS=$as_save_IFS 5625 5626 fi 5627 fi 5628 CC=$ac_cv_prog_CC 5629 if test -n "$CC"; then 5630 { echo "$as_me:$LINENO: result: $CC" >&5 5631 echo "${ECHO_T}$CC" >&6; } 5632 else 5633 { echo "$as_me:$LINENO: result: no" >&5 5634 echo "${ECHO_T}no" >&6; } 5635 fi 5636 5637 5638 test -n "$CC" && break 5639 done 5640 fi 5641 if test -z "$CC"; then 5642 ac_ct_CC=$CC 5643 for ac_prog in cl.exe 5644 do 5645 # Extract the first word of "$ac_prog", so it can be a program name with args. 5646 set dummy $ac_prog; ac_word=$2 5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5650 echo $ECHO_N "(cached) $ECHO_C" >&6 5651 else 5652 if test -n "$ac_ct_CC"; then 5653 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5654 else 5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5656 for as_dir in $PATH 5657 do 5658 IFS=$as_save_IFS 5659 test -z "$as_dir" && as_dir=. 5660 for ac_exec_ext in '' $ac_executable_extensions; do 5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5662 ac_cv_prog_ac_ct_CC="$ac_prog" 5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5664 break 2 5665 fi 5666 done 5667 done 5668 IFS=$as_save_IFS 5669 5670 fi 5671 fi 5672 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5673 if test -n "$ac_ct_CC"; then 5674 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5675 echo "${ECHO_T}$ac_ct_CC" >&6; } 5676 else 5677 { echo "$as_me:$LINENO: result: no" >&5 5678 echo "${ECHO_T}no" >&6; } 5679 fi 5680 5681 5682 test -n "$ac_ct_CC" && break 5683 done 5684 5685 if test "x$ac_ct_CC" = x; then 5686 CC="" 5687 else 5688 case $cross_compiling:$ac_tool_warned in 5689 yes:) 5690 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5691 whose name does not start with the host triplet. If you think this 5692 configuration is useful to you, please write to autoconf@gnu.org." >&5 5693 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5694 whose name does not start with the host triplet. If you think this 5695 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5696 ac_tool_warned=yes ;; 5697 esac 5698 CC=$ac_ct_CC 5699 fi 5700 fi 5701 5702 fi 5703 5704 5705 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 5706 See \`config.log' for more details." >&5 5707 echo "$as_me: error: no acceptable C compiler found in \$PATH 5708 See \`config.log' for more details." >&2;} 5709 { (exit 1); exit 1; }; } 5710 5711 # Provide some information about the compiler. 5712 echo "$as_me:$LINENO: checking for C compiler version" >&5 5713 ac_compiler=`set X $ac_compile; echo $2` 5714 { (ac_try="$ac_compiler --version >&5" 5715 case "(($ac_try" in 5716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5717 *) ac_try_echo=$ac_try;; 5718 esac 5719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5720 (eval "$ac_compiler --version >&5") 2>&5 5721 ac_status=$? 5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5723 (exit $ac_status); } 5724 { (ac_try="$ac_compiler -v >&5" 5725 case "(($ac_try" in 5726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5727 *) ac_try_echo=$ac_try;; 5728 esac 5729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5730 (eval "$ac_compiler -v >&5") 2>&5 5731 ac_status=$? 5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); } 5734 { (ac_try="$ac_compiler -V >&5" 5735 case "(($ac_try" in 5736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5737 *) ac_try_echo=$ac_try;; 5738 esac 5739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5740 (eval "$ac_compiler -V >&5") 2>&5 5741 ac_status=$? 5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5743 (exit $ac_status); } 5744 5745 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 5746 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 5747 if test "${ac_cv_c_compiler_gnu+set}" = set; then 5748 echo $ECHO_N "(cached) $ECHO_C" >&6 5749 else 5750 cat >conftest.$ac_ext <<_ACEOF 5751 /* confdefs.h. */ 5752 _ACEOF 5753 cat confdefs.h >>conftest.$ac_ext 5754 cat >>conftest.$ac_ext <<_ACEOF 5755 /* end confdefs.h. */ 5756 5757 int 5758 main () 5759 { 5760 #ifndef __GNUC__ 5761 choke me 5762 #endif 5763 5764 ; 5765 return 0; 5766 } 5767 _ACEOF 5768 rm -f conftest.$ac_objext 5769 if { (ac_try="$ac_compile" 5770 case "(($ac_try" in 5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5772 *) ac_try_echo=$ac_try;; 5773 esac 5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5775 (eval "$ac_compile") 2>conftest.er1 5776 ac_status=$? 5777 grep -v '^ *+' conftest.er1 >conftest.err 5778 rm -f conftest.er1 5779 cat conftest.err >&5 5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5781 (exit $ac_status); } && { 5782 test -z "$ac_c_werror_flag" || 5783 test ! -s conftest.err 5784 } && test -s conftest.$ac_objext; then 5785 ac_compiler_gnu=yes 5786 else 5787 echo "$as_me: failed program was:" >&5 5788 sed 's/^/| /' conftest.$ac_ext >&5 5789 5790 ac_compiler_gnu=no 5791 fi 5792 5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5794 ac_cv_c_compiler_gnu=$ac_compiler_gnu 5795 5796 fi 5797 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 5798 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 5799 GCC=`test $ac_compiler_gnu = yes && echo yes` 5800 ac_test_CFLAGS=${CFLAGS+set} 5801 ac_save_CFLAGS=$CFLAGS 5802 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 5803 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 5804 if test "${ac_cv_prog_cc_g+set}" = set; then 5805 echo $ECHO_N "(cached) $ECHO_C" >&6 5806 else 5807 ac_save_c_werror_flag=$ac_c_werror_flag 5808 ac_c_werror_flag=yes 5809 ac_cv_prog_cc_g=no 5810 CFLAGS="-g" 5811 cat >conftest.$ac_ext <<_ACEOF 5812 /* confdefs.h. */ 5813 _ACEOF 5814 cat confdefs.h >>conftest.$ac_ext 5815 cat >>conftest.$ac_ext <<_ACEOF 5816 /* end confdefs.h. */ 5817 5818 int 5819 main () 5820 { 5821 5822 ; 5823 return 0; 5824 } 5825 _ACEOF 5826 rm -f conftest.$ac_objext 5827 if { (ac_try="$ac_compile" 5828 case "(($ac_try" in 5829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5830 *) ac_try_echo=$ac_try;; 5831 esac 5832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5833 (eval "$ac_compile") 2>conftest.er1 5834 ac_status=$? 5835 grep -v '^ *+' conftest.er1 >conftest.err 5836 rm -f conftest.er1 5837 cat conftest.err >&5 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5839 (exit $ac_status); } && { 5840 test -z "$ac_c_werror_flag" || 5841 test ! -s conftest.err 5842 } && test -s conftest.$ac_objext; then 5843 ac_cv_prog_cc_g=yes 5844 else 5845 echo "$as_me: failed program was:" >&5 5846 sed 's/^/| /' conftest.$ac_ext >&5 5847 5848 CFLAGS="" 5849 cat >conftest.$ac_ext <<_ACEOF 5850 /* confdefs.h. */ 5851 _ACEOF 5852 cat confdefs.h >>conftest.$ac_ext 5853 cat >>conftest.$ac_ext <<_ACEOF 5854 /* end confdefs.h. */ 5855 5856 int 5857 main () 5858 { 5859 5860 ; 5861 return 0; 5862 } 5863 _ACEOF 5864 rm -f conftest.$ac_objext 5865 if { (ac_try="$ac_compile" 5866 case "(($ac_try" in 5867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5868 *) ac_try_echo=$ac_try;; 5869 esac 5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5871 (eval "$ac_compile") 2>conftest.er1 5872 ac_status=$? 5873 grep -v '^ *+' conftest.er1 >conftest.err 5874 rm -f conftest.er1 5875 cat conftest.err >&5 5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5877 (exit $ac_status); } && { 5878 test -z "$ac_c_werror_flag" || 5879 test ! -s conftest.err 5880 } && test -s conftest.$ac_objext; then 5881 : 5882 else 5883 echo "$as_me: failed program was:" >&5 5884 sed 's/^/| /' conftest.$ac_ext >&5 5885 5886 ac_c_werror_flag=$ac_save_c_werror_flag 5887 CFLAGS="-g" 5888 cat >conftest.$ac_ext <<_ACEOF 5889 /* confdefs.h. */ 5890 _ACEOF 5891 cat confdefs.h >>conftest.$ac_ext 5892 cat >>conftest.$ac_ext <<_ACEOF 5893 /* end confdefs.h. */ 5894 5895 int 5896 main () 5897 { 5898 5899 ; 5900 return 0; 5901 } 5902 _ACEOF 5903 rm -f conftest.$ac_objext 5904 if { (ac_try="$ac_compile" 5905 case "(($ac_try" in 5906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5907 *) ac_try_echo=$ac_try;; 5908 esac 5909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5910 (eval "$ac_compile") 2>conftest.er1 5911 ac_status=$? 5912 grep -v '^ *+' conftest.er1 >conftest.err 5913 rm -f conftest.er1 5914 cat conftest.err >&5 5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5916 (exit $ac_status); } && { 5917 test -z "$ac_c_werror_flag" || 5918 test ! -s conftest.err 5919 } && test -s conftest.$ac_objext; then 5920 ac_cv_prog_cc_g=yes 5921 else 5922 echo "$as_me: failed program was:" >&5 5923 sed 's/^/| /' conftest.$ac_ext >&5 5924 5925 5926 fi 5927 5928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5929 fi 5930 5931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5932 fi 5933 5934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5935 ac_c_werror_flag=$ac_save_c_werror_flag 5936 fi 5937 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5938 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 5939 if test "$ac_test_CFLAGS" = set; then 5940 CFLAGS=$ac_save_CFLAGS 5941 elif test $ac_cv_prog_cc_g = yes; then 5942 if test "$GCC" = yes; then 5943 CFLAGS="-g -O2" 5944 else 5945 CFLAGS="-g" 5946 fi 5947 else 5948 if test "$GCC" = yes; then 5949 CFLAGS="-O2" 5950 else 5951 CFLAGS= 5952 fi 5953 fi 5954 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 5955 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 5956 if test "${ac_cv_prog_cc_c89+set}" = set; then 5957 echo $ECHO_N "(cached) $ECHO_C" >&6 5958 else 5959 ac_cv_prog_cc_c89=no 5960 ac_save_CC=$CC 5961 cat >conftest.$ac_ext <<_ACEOF 5962 /* confdefs.h. */ 5963 _ACEOF 5964 cat confdefs.h >>conftest.$ac_ext 5965 cat >>conftest.$ac_ext <<_ACEOF 5966 /* end confdefs.h. */ 5967 #include <stdarg.h> 5968 #include <stdio.h> 5969 #include <sys/types.h> 5970 #include <sys/stat.h> 5971 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5972 struct buf { int x; }; 5973 FILE * (*rcsopen) (struct buf *, struct stat *, int); 5974 static char *e (p, i) 5975 char **p; 5976 int i; 5977 { 5978 return p[i]; 5979 } 5980 static char *f (char * (*g) (char **, int), char **p, ...) 5981 { 5982 char *s; 5983 va_list v; 5984 va_start (v,p); 5985 s = g (p, va_arg (v,int)); 5986 va_end (v); 5987 return s; 5988 } 5989 5990 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5991 function prototypes and stuff, but not '\xHH' hex character constants. 5992 These don't provoke an error unfortunately, instead are silently treated 5993 as 'x'. The following induces an error, until -std is added to get 5994 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5995 array size at least. It's necessary to write '\x00'==0 to get something 5996 that's true only with -std. */ 5997 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5998 5999 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6000 inside strings and character constants. */ 6001 #define FOO(x) 'x' 6002 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6003 6004 int test (int i, double x); 6005 struct s1 {int (*f) (int a);}; 6006 struct s2 {int (*f) (double a);}; 6007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6008 int argc; 6009 char **argv; 6010 int 6011 main () 6012 { 6013 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6014 ; 6015 return 0; 6016 } 6017 _ACEOF 6018 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6019 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6020 do 6021 CC="$ac_save_CC $ac_arg" 6022 rm -f conftest.$ac_objext 6023 if { (ac_try="$ac_compile" 6024 case "(($ac_try" in 6025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6026 *) ac_try_echo=$ac_try;; 6027 esac 6028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6029 (eval "$ac_compile") 2>conftest.er1 6030 ac_status=$? 6031 grep -v '^ *+' conftest.er1 >conftest.err 6032 rm -f conftest.er1 6033 cat conftest.err >&5 6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6035 (exit $ac_status); } && { 6036 test -z "$ac_c_werror_flag" || 6037 test ! -s conftest.err 6038 } && test -s conftest.$ac_objext; then 6039 ac_cv_prog_cc_c89=$ac_arg 6040 else 6041 echo "$as_me: failed program was:" >&5 6042 sed 's/^/| /' conftest.$ac_ext >&5 6043 6044 6045 fi 6046 6047 rm -f core conftest.err conftest.$ac_objext 6048 test "x$ac_cv_prog_cc_c89" != "xno" && break 6049 done 6050 rm -f conftest.$ac_ext 6051 CC=$ac_save_CC 6052 6053 fi 6054 # AC_CACHE_VAL 6055 case "x$ac_cv_prog_cc_c89" in 6056 x) 6057 { echo "$as_me:$LINENO: result: none needed" >&5 6058 echo "${ECHO_T}none needed" >&6; } ;; 6059 xno) 6060 { echo "$as_me:$LINENO: result: unsupported" >&5 6061 echo "${ECHO_T}unsupported" >&6; } ;; 6062 *) 6063 CC="$CC $ac_cv_prog_cc_c89" 6064 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6065 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 6066 esac 6067 6068 6069 ac_ext=c 6070 ac_cpp='$CPP $CPPFLAGS' 6071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6073 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6074 6075 depcc="$CC" am_compiler_list= 6076 6077 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 6078 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 6079 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 6080 echo $ECHO_N "(cached) $ECHO_C" >&6 6081 else 6082 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6083 # We make a subdir and do the tests there. Otherwise we can end up 6084 # making bogus files that we don't know about and never remove. For 6085 # instance it was reported that on HP-UX the gcc test will end up 6086 # making a dummy file named `D' -- because `-MD' means `put the output 6087 # in D'. 6088 mkdir conftest.dir 6089 # Copy depcomp to subdir because otherwise we won't find it if we're 6090 # using a relative directory. 6091 cp "$am_depcomp" conftest.dir 6092 cd conftest.dir 6093 # We will build objects and dependencies in a subdirectory because 6094 # it helps to detect inapplicable dependency modes. For instance 6095 # both Tru64's cc and ICC support -MD to output dependencies as a 6096 # side effect of compilation, but ICC will put the dependencies in 6097 # the current directory while Tru64 will put them in the object 6098 # directory. 6099 mkdir sub 6100 6101 am_cv_CC_dependencies_compiler_type=none 6102 if test "$am_compiler_list" = ""; then 6103 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6104 fi 6105 for depmode in $am_compiler_list; do 6106 # Setup a source with many dependencies, because some compilers 6107 # like to wrap large dependency lists on column 80 (with \), and 6108 # we should not choose a depcomp mode which is confused by this. 6109 # 6110 # We need to recreate these files for each test, as the compiler may 6111 # overwrite some of them when testing with obscure command lines. 6112 # This happens at least with the AIX C compiler. 6113 : > sub/conftest.c 6114 for i in 1 2 3 4 5 6; do 6115 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6116 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 6117 # Solaris 8's {/usr,}/bin/sh. 6118 touch sub/conftst$i.h 6119 done 6120 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6121 6122 case $depmode in 6123 nosideeffect) 6124 # after this tag, mechanisms are not by side-effect, so they'll 6125 # only be used when explicitly requested 6126 if test "x$enable_dependency_tracking" = xyes; then 6127 continue 6128 else 6129 break 6130 fi 6131 ;; 6132 none) break ;; 6133 esac 6134 # We check with `-c' and `-o' for the sake of the "dashmstdout" 6135 # mode. It turns out that the SunPro C++ compiler does not properly 6136 # handle `-M -o', and we need to detect this. 6137 if depmode=$depmode \ 6138 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 6139 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6140 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 6141 >/dev/null 2>conftest.err && 6142 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6143 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6144 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6145 # icc doesn't choke on unknown options, it will just issue warnings 6146 # or remarks (even with -Werror). So we grep stderr for any message 6147 # that says an option was ignored or not supported. 6148 # When given -MP, icc 7.0 and 7.1 complain thusly: 6149 # icc: Command line warning: ignoring option '-M'; no argument required 6150 # The diagnosis changed in icc 8.0: 6151 # icc: Command line remark: option '-MP' not supported 6152 if (grep 'ignoring option' conftest.err || 6153 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6154 am_cv_CC_dependencies_compiler_type=$depmode 6155 break 6156 fi 6157 fi 6158 done 6159 6160 cd .. 6161 rm -rf conftest.dir 6162 else 6163 am_cv_CC_dependencies_compiler_type=none 6164 fi 6165 6166 fi 6167 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 6168 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 6169 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 6170 6171 6172 6173 if 6174 test "x$enable_dependency_tracking" != xno \ 6175 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 6176 am__fastdepCC_TRUE= 6177 am__fastdepCC_FALSE='#' 6178 else 6179 am__fastdepCC_TRUE='#' 6180 am__fastdepCC_FALSE= 6181 fi 6182 6183 6184 # Find a good install program. We prefer a C program (faster), 6185 # so one script is as good as another. But avoid the broken or 6186 # incompatible versions: 6187 # SysV /etc/install, /usr/sbin/install 6188 # SunOS /usr/etc/install 6189 # IRIX /sbin/install 6190 # AIX /bin/install 6191 # AmigaOS /C/install, which installs bootblocks on floppy discs 6192 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6193 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 6194 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6195 # OS/2's system install, which has a completely different semantic 6196 # ./install, which can be erroneously created by make from ./install.sh. 6197 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6198 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 6199 if test -z "$INSTALL"; then 6200 if test "${ac_cv_path_install+set}" = set; then 6201 echo $ECHO_N "(cached) $ECHO_C" >&6 6202 else 6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6204 for as_dir in $PATH 6205 do 6206 IFS=$as_save_IFS 6207 test -z "$as_dir" && as_dir=. 6208 # Account for people who put trailing slashes in PATH elements. 6209 case $as_dir/ in 6210 ./ | .// | /cC/* | \ 6211 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6212 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6213 /usr/ucb/* ) ;; 6214 *) 6215 # OSF1 and SCO ODT 3.0 have their own names for install. 6216 # Don't use installbsd from OSF since it installs stuff as root 6217 # by default. 6218 for ac_prog in ginstall scoinst install; do 6219 for ac_exec_ext in '' $ac_executable_extensions; do 6220 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 6221 if test $ac_prog = install && 6222 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6223 # AIX install. It has an incompatible calling convention. 6224 : 6225 elif test $ac_prog = install && 6226 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6227 # program-specific install script used by HP pwplus--don't use. 6228 : 6229 else 6230 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6231 break 3 6232 fi 6233 fi 6234 done 6235 done 6236 ;; 6237 esac 6238 done 6239 IFS=$as_save_IFS 6240 6241 6242 fi 6243 if test "${ac_cv_path_install+set}" = set; then 6244 INSTALL=$ac_cv_path_install 6245 else 6246 # As a last resort, use the slow shell script. Don't cache a 6247 # value for INSTALL within a source directory, because that will 6248 # break other packages using the cache if that directory is 6249 # removed, or if the value is a relative name. 6250 INSTALL=$ac_install_sh 6251 fi 6252 fi 6253 { echo "$as_me:$LINENO: result: $INSTALL" >&5 6254 echo "${ECHO_T}$INSTALL" >&6; } 6255 6256 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 6257 # It thinks the first close brace ends the variable substitution. 6258 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 6259 6260 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 6261 6262 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 6263 6264 6265 6266 curl=yes 6267 6268 # Check whether --with-curl was given. 6269 if test "${with_curl+set}" = set; then 6270 withval=$with_curl; 6271 if test x$withval = xno; then 6272 curl=no 6273 fi 6274 6275 6276 fi 6277 6278 6279 if test x$curl = xyes; then 6280 { echo "$as_me:$LINENO: checking for curl_easy_init in -lcurl" >&5 6281 echo $ECHO_N "checking for curl_easy_init in -lcurl... $ECHO_C" >&6; } 6282 if test "${ac_cv_lib_curl_curl_easy_init+set}" = set; then 6283 echo $ECHO_N "(cached) $ECHO_C" >&6 6284 else 6285 ac_check_lib_save_LIBS=$LIBS 6286 LIBS="-lcurl $LIBS" 6287 cat >conftest.$ac_ext <<_ACEOF 6288 /* confdefs.h. */ 6289 _ACEOF 6290 cat confdefs.h >>conftest.$ac_ext 6291 cat >>conftest.$ac_ext <<_ACEOF 6292 /* end confdefs.h. */ 6293 6294 /* Override any GCC internal prototype to avoid an error. 6295 Use char because int might match the return type of a GCC 6296 builtin and then its argument prototype would still apply. */ 6297 #ifdef __cplusplus 6298 extern "C" 6299 #endif 6300 char curl_easy_init (); 6301 int 6302 main () 6303 { 6304 return curl_easy_init (); 6305 ; 6306 return 0; 6307 } 6308 _ACEOF 6309 rm -f conftest.$ac_objext conftest$ac_exeext 6310 if { (ac_try="$ac_link" 6311 case "(($ac_try" in 6312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6313 *) ac_try_echo=$ac_try;; 6314 esac 6315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6316 (eval "$ac_link") 2>conftest.er1 6317 ac_status=$? 6318 grep -v '^ *+' conftest.er1 >conftest.err 6319 rm -f conftest.er1 6320 cat conftest.err >&5 6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6322 (exit $ac_status); } && { 6323 test -z "$ac_c_werror_flag" || 6324 test ! -s conftest.err 6325 } && test -s conftest$ac_exeext && 6326 $as_test_x conftest$ac_exeext; then 6327 ac_cv_lib_curl_curl_easy_init=yes 6328 else 6329 echo "$as_me: failed program was:" >&5 6330 sed 's/^/| /' conftest.$ac_ext >&5 6331 6332 ac_cv_lib_curl_curl_easy_init=no 6333 fi 6334 6335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6336 conftest$ac_exeext conftest.$ac_ext 6337 LIBS=$ac_check_lib_save_LIBS 6338 fi 6339 { echo "$as_me:$LINENO: result: $ac_cv_lib_curl_curl_easy_init" >&5 6340 echo "${ECHO_T}$ac_cv_lib_curl_curl_easy_init" >&6; } 6341 if test $ac_cv_lib_curl_curl_easy_init = yes; then 6342 curl=yes 6343 else 6344 6345 echo "" 6346 echo "WARNING: Configure tried to use the CURL library but couldn't" 6347 echo "find it. Continuing with the dummy functions instead. You can" 6348 echo "download the CURL library at: http://curl.haxx.se/" 6349 echo "" 6350 curl=no 6351 6352 fi 6353 6354 fi 6355 6356 if test x$curl = xyes; then 6357 6358 cat >>confdefs.h <<\_ACEOF 6359 @%:@define USE_CURL 1 6360 _ACEOF 6361 6362 LIBS="$LIBS -lcurl" 6363 else 6364 6365 cat >>confdefs.h <<\_ACEOF 6366 @%:@define USE_DUMMY 1 6367 _ACEOF 6368 6369 fi 6370 6371 6372 6373 { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 6374 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; } 6375 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then 6376 echo $ECHO_N "(cached) $ECHO_C" >&6 6377 else 6378 ac_check_lib_save_LIBS=$LIBS 6379 LIBS="-lncurses $LIBS" 6380 cat >conftest.$ac_ext <<_ACEOF 6381 /* confdefs.h. */ 6382 _ACEOF 6383 cat confdefs.h >>conftest.$ac_ext 6384 cat >>conftest.$ac_ext <<_ACEOF 6385 /* end confdefs.h. */ 6386 6387 /* Override any GCC internal prototype to avoid an error. 6388 Use char because int might match the return type of a GCC 6389 builtin and then its argument prototype would still apply. */ 6390 #ifdef __cplusplus 6391 extern "C" 6392 #endif 6393 char initscr (); 6394 int 6395 main () 6396 { 6397 return initscr (); 6398 ; 6399 return 0; 6400 } 6401 _ACEOF 6402 rm -f conftest.$ac_objext conftest$ac_exeext 6403 if { (ac_try="$ac_link" 6404 case "(($ac_try" in 6405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6406 *) ac_try_echo=$ac_try;; 6407 esac 6408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6409 (eval "$ac_link") 2>conftest.er1 6410 ac_status=$? 6411 grep -v '^ *+' conftest.er1 >conftest.err 6412 rm -f conftest.er1 6413 cat conftest.err >&5 6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6415 (exit $ac_status); } && { 6416 test -z "$ac_c_werror_flag" || 6417 test ! -s conftest.err 6418 } && test -s conftest$ac_exeext && 6419 $as_test_x conftest$ac_exeext; then 6420 ac_cv_lib_ncurses_initscr=yes 6421 else 6422 echo "$as_me: failed program was:" >&5 6423 sed 's/^/| /' conftest.$ac_ext >&5 6424 6425 ac_cv_lib_ncurses_initscr=no 6426 fi 6427 6428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6429 conftest$ac_exeext conftest.$ac_ext 6430 LIBS=$ac_check_lib_save_LIBS 6431 fi 6432 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 6433 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; } 6434 if test $ac_cv_lib_ncurses_initscr = yes; then 6435 cat >>confdefs.h <<_ACEOF 6436 @%:@define HAVE_LIBNCURSES 1 6437 _ACEOF 6438 6439 LIBS="-lncurses $LIBS" 6440 6441 fi 6442 6443 6444 { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 6445 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; } 6446 if test "${ac_cv_lib_readline_readline+set}" = set; then 6447 echo $ECHO_N "(cached) $ECHO_C" >&6 6448 else 6449 ac_check_lib_save_LIBS=$LIBS 6450 LIBS="-lreadline $LIBS" 6451 cat >conftest.$ac_ext <<_ACEOF 6452 /* confdefs.h. */ 6453 _ACEOF 6454 cat confdefs.h >>conftest.$ac_ext 6455 cat >>conftest.$ac_ext <<_ACEOF 6456 /* end confdefs.h. */ 6457 6458 /* Override any GCC internal prototype to avoid an error. 6459 Use char because int might match the return type of a GCC 6460 builtin and then its argument prototype would still apply. */ 6461 #ifdef __cplusplus 6462 extern "C" 6463 #endif 6464 char readline (); 6465 int 6466 main () 6467 { 6468 return readline (); 6469 ; 6470 return 0; 6471 } 6472 _ACEOF 6473 rm -f conftest.$ac_objext conftest$ac_exeext 6474 if { (ac_try="$ac_link" 6475 case "(($ac_try" in 6476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6477 *) ac_try_echo=$ac_try;; 6478 esac 6479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6480 (eval "$ac_link") 2>conftest.er1 6481 ac_status=$? 6482 grep -v '^ *+' conftest.er1 >conftest.err 6483 rm -f conftest.er1 6484 cat conftest.err >&5 6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6486 (exit $ac_status); } && { 6487 test -z "$ac_c_werror_flag" || 6488 test ! -s conftest.err 6489 } && test -s conftest$ac_exeext && 6490 $as_test_x conftest$ac_exeext; then 6491 ac_cv_lib_readline_readline=yes 6492 else 6493 echo "$as_me: failed program was:" >&5 6494 sed 's/^/| /' conftest.$ac_ext >&5 6495 6496 ac_cv_lib_readline_readline=no 6497 fi 6498 6499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6500 conftest$ac_exeext conftest.$ac_ext 6501 LIBS=$ac_check_lib_save_LIBS 6502 fi 6503 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5 6504 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; } 6505 if test $ac_cv_lib_readline_readline = yes; then 6506 cat >>confdefs.h <<_ACEOF 6507 @%:@define HAVE_LIBREADLINE 1 6508 _ACEOF 6509 6510 LIBS="-lreadline $LIBS" 6511 6512 fi 6513 6514 6515 ac_ext=c 6516 ac_cpp='$CPP $CPPFLAGS' 6517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6519 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6520 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6521 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 6522 # On Suns, sometimes $CPP names a directory. 6523 if test -n "$CPP" && test -d "$CPP"; then 6524 CPP= 6525 fi 6526 if test -z "$CPP"; then 6527 if test "${ac_cv_prog_CPP+set}" = set; then 6528 echo $ECHO_N "(cached) $ECHO_C" >&6 6529 else 6530 # Double quotes because CPP needs to be expanded 6531 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6532 do 6533 ac_preproc_ok=false 6534 for ac_c_preproc_warn_flag in '' yes 6535 do 6536 # Use a header file that comes with gcc, so configuring glibc 6537 # with a fresh cross-compiler works. 6538 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6539 # <limits.h> exists even on freestanding compilers. 6540 # On the NeXT, cc -E runs the code through the compiler's parser, 6541 # not just through cpp. "Syntax error" is here to catch this case. 6542 cat >conftest.$ac_ext <<_ACEOF 6543 /* confdefs.h. */ 6544 _ACEOF 6545 cat confdefs.h >>conftest.$ac_ext 6546 cat >>conftest.$ac_ext <<_ACEOF 6547 /* end confdefs.h. */ 6548 @%:@ifdef __STDC__ 6549 @%:@ include <limits.h> 6550 @%:@else 6551 @%:@ include <assert.h> 6552 @%:@endif 6553 Syntax error 6554 _ACEOF 6555 if { (ac_try="$ac_cpp conftest.$ac_ext" 6556 case "(($ac_try" in 6557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6558 *) ac_try_echo=$ac_try;; 6559 esac 6560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6562 ac_status=$? 6563 grep -v '^ *+' conftest.er1 >conftest.err 6564 rm -f conftest.er1 6565 cat conftest.err >&5 6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6567 (exit $ac_status); } >/dev/null && { 6568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6569 test ! -s conftest.err 6570 }; then 6571 : 6572 else 6573 echo "$as_me: failed program was:" >&5 6574 sed 's/^/| /' conftest.$ac_ext >&5 6575 6576 # Broken: fails on valid input. 6577 continue 6578 fi 6579 6580 rm -f conftest.err conftest.$ac_ext 6581 6582 # OK, works on sane cases. Now check whether nonexistent headers 6583 # can be detected and how. 6584 cat >conftest.$ac_ext <<_ACEOF 6585 /* confdefs.h. */ 6586 _ACEOF 6587 cat confdefs.h >>conftest.$ac_ext 6588 cat >>conftest.$ac_ext <<_ACEOF 6589 /* end confdefs.h. */ 6590 @%:@include <ac_nonexistent.h> 6591 _ACEOF 6592 if { (ac_try="$ac_cpp conftest.$ac_ext" 6593 case "(($ac_try" in 6594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6595 *) ac_try_echo=$ac_try;; 6596 esac 6597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6599 ac_status=$? 6600 grep -v '^ *+' conftest.er1 >conftest.err 6601 rm -f conftest.er1 6602 cat conftest.err >&5 6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6604 (exit $ac_status); } >/dev/null && { 6605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6606 test ! -s conftest.err 6607 }; then 6608 # Broken: success on invalid input. 6609 continue 6610 else 6611 echo "$as_me: failed program was:" >&5 6612 sed 's/^/| /' conftest.$ac_ext >&5 6613 6614 # Passes both tests. 6615 ac_preproc_ok=: 6616 break 6617 fi 6618 6619 rm -f conftest.err conftest.$ac_ext 6620 6621 done 6622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6623 rm -f conftest.err conftest.$ac_ext 6624 if $ac_preproc_ok; then 6625 break 6626 fi 6627 6628 done 6629 ac_cv_prog_CPP=$CPP 6630 6631 fi 6632 CPP=$ac_cv_prog_CPP 6633 else 6634 ac_cv_prog_CPP=$CPP 6635 fi 6636 { echo "$as_me:$LINENO: result: $CPP" >&5 6637 echo "${ECHO_T}$CPP" >&6; } 6638 ac_preproc_ok=false 6639 for ac_c_preproc_warn_flag in '' yes 6640 do 6641 # Use a header file that comes with gcc, so configuring glibc 6642 # with a fresh cross-compiler works. 6643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6644 # <limits.h> exists even on freestanding compilers. 6645 # On the NeXT, cc -E runs the code through the compiler's parser, 6646 # not just through cpp. "Syntax error" is here to catch this case. 6647 cat >conftest.$ac_ext <<_ACEOF 6648 /* confdefs.h. */ 6649 _ACEOF 6650 cat confdefs.h >>conftest.$ac_ext 6651 cat >>conftest.$ac_ext <<_ACEOF 6652 /* end confdefs.h. */ 6653 @%:@ifdef __STDC__ 6654 @%:@ include <limits.h> 6655 @%:@else 6656 @%:@ include <assert.h> 6657 @%:@endif 6658 Syntax error 6659 _ACEOF 6660 if { (ac_try="$ac_cpp conftest.$ac_ext" 6661 case "(($ac_try" in 6662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6663 *) ac_try_echo=$ac_try;; 6664 esac 6665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6667 ac_status=$? 6668 grep -v '^ *+' conftest.er1 >conftest.err 6669 rm -f conftest.er1 6670 cat conftest.err >&5 6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6672 (exit $ac_status); } >/dev/null && { 6673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6674 test ! -s conftest.err 6675 }; then 6676 : 6677 else 6678 echo "$as_me: failed program was:" >&5 6679 sed 's/^/| /' conftest.$ac_ext >&5 6680 6681 # Broken: fails on valid input. 6682 continue 6683 fi 6684 6685 rm -f conftest.err conftest.$ac_ext 6686 6687 # OK, works on sane cases. Now check whether nonexistent headers 6688 # can be detected and how. 6689 cat >conftest.$ac_ext <<_ACEOF 6690 /* confdefs.h. */ 6691 _ACEOF 6692 cat confdefs.h >>conftest.$ac_ext 6693 cat >>conftest.$ac_ext <<_ACEOF 6694 /* end confdefs.h. */ 6695 @%:@include <ac_nonexistent.h> 6696 _ACEOF 6697 if { (ac_try="$ac_cpp conftest.$ac_ext" 6698 case "(($ac_try" in 6699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6700 *) ac_try_echo=$ac_try;; 6701 esac 6702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6704 ac_status=$? 6705 grep -v '^ *+' conftest.er1 >conftest.err 6706 rm -f conftest.er1 6707 cat conftest.err >&5 6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6709 (exit $ac_status); } >/dev/null && { 6710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6711 test ! -s conftest.err 6712 }; then 6713 # Broken: success on invalid input. 6714 continue 6715 else 6716 echo "$as_me: failed program was:" >&5 6717 sed 's/^/| /' conftest.$ac_ext >&5 6718 6719 # Passes both tests. 6720 ac_preproc_ok=: 6721 break 6722 fi 6723 6724 rm -f conftest.err conftest.$ac_ext 6725 6726 done 6727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6728 rm -f conftest.err conftest.$ac_ext 6729 if $ac_preproc_ok; then 6730 : 6731 else 6732 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 6733 See \`config.log' for more details." >&5 6734 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 6735 See \`config.log' for more details." >&2;} 6736 { (exit 1); exit 1; }; } 6737 fi 6738 6739 ac_ext=c 6740 ac_cpp='$CPP $CPPFLAGS' 6741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6743 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6744 6745 6746 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 6747 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 6748 if test "${ac_cv_path_GREP+set}" = set; then 6749 echo $ECHO_N "(cached) $ECHO_C" >&6 6750 else 6751 # Extract the first word of "grep ggrep" to use in msg output 6752 if test -z "$GREP"; then 6753 set dummy grep ggrep; ac_prog_name=$2 6754 if test "${ac_cv_path_GREP+set}" = set; then 6755 echo $ECHO_N "(cached) $ECHO_C" >&6 6756 else 6757 ac_path_GREP_found=false 6758 # Loop through the user's path and test for each of PROGNAME-LIST 6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6760 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6761 do 6762 IFS=$as_save_IFS 6763 test -z "$as_dir" && as_dir=. 6764 for ac_prog in grep ggrep; do 6765 for ac_exec_ext in '' $ac_executable_extensions; do 6766 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6767 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6768 # Check for GNU ac_path_GREP and select it if it is found. 6769 # Check for GNU $ac_path_GREP 6770 case `"$ac_path_GREP" --version 2>&1` in 6771 *GNU*) 6772 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6773 *) 6774 ac_count=0 6775 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 6776 while : 6777 do 6778 cat "conftest.in" "conftest.in" >"conftest.tmp" 6779 mv "conftest.tmp" "conftest.in" 6780 cp "conftest.in" "conftest.nl" 6781 echo 'GREP' >> "conftest.nl" 6782 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6783 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6784 ac_count=`expr $ac_count + 1` 6785 if test $ac_count -gt ${ac_path_GREP_max-0}; then 6786 # Best one so far, save it but keep looking for a better one 6787 ac_cv_path_GREP="$ac_path_GREP" 6788 ac_path_GREP_max=$ac_count 6789 fi 6790 # 10*(2^10) chars as input seems more than enough 6791 test $ac_count -gt 10 && break 6792 done 6793 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6794 esac 6795 6796 6797 $ac_path_GREP_found && break 3 6798 done 6799 done 6800 6801 done 6802 IFS=$as_save_IFS 6803 6804 6805 fi 6806 6807 GREP="$ac_cv_path_GREP" 6808 if test -z "$GREP"; then 6809 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 6810 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 6811 { (exit 1); exit 1; }; } 6812 fi 6813 6814 else 6815 ac_cv_path_GREP=$GREP 6816 fi 6817 6818 6819 fi 6820 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 6821 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 6822 GREP="$ac_cv_path_GREP" 6823 6824 6825 { echo "$as_me:$LINENO: checking for egrep" >&5 6826 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 6827 if test "${ac_cv_path_EGREP+set}" = set; then 6828 echo $ECHO_N "(cached) $ECHO_C" >&6 6829 else 6830 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6831 then ac_cv_path_EGREP="$GREP -E" 6832 else 6833 # Extract the first word of "egrep" to use in msg output 6834 if test -z "$EGREP"; then 6835 set dummy egrep; ac_prog_name=$2 6836 if test "${ac_cv_path_EGREP+set}" = set; then 6837 echo $ECHO_N "(cached) $ECHO_C" >&6 6838 else 6839 ac_path_EGREP_found=false 6840 # Loop through the user's path and test for each of PROGNAME-LIST 6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6843 do 6844 IFS=$as_save_IFS 6845 test -z "$as_dir" && as_dir=. 6846 for ac_prog in egrep; do 6847 for ac_exec_ext in '' $ac_executable_extensions; do 6848 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6849 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6850 # Check for GNU ac_path_EGREP and select it if it is found. 6851 # Check for GNU $ac_path_EGREP 6852 case `"$ac_path_EGREP" --version 2>&1` in 6853 *GNU*) 6854 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6855 *) 6856 ac_count=0 6857 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 6858 while : 6859 do 6860 cat "conftest.in" "conftest.in" >"conftest.tmp" 6861 mv "conftest.tmp" "conftest.in" 6862 cp "conftest.in" "conftest.nl" 6863 echo 'EGREP' >> "conftest.nl" 6864 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6866 ac_count=`expr $ac_count + 1` 6867 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 6868 # Best one so far, save it but keep looking for a better one 6869 ac_cv_path_EGREP="$ac_path_EGREP" 6870 ac_path_EGREP_max=$ac_count 6871 fi 6872 # 10*(2^10) chars as input seems more than enough 6873 test $ac_count -gt 10 && break 6874 done 6875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6876 esac 6877 6878 6879 $ac_path_EGREP_found && break 3 6880 done 6881 done 6882 6883 done 6884 IFS=$as_save_IFS 6885 6886 6887 fi 6888 6889 EGREP="$ac_cv_path_EGREP" 6890 if test -z "$EGREP"; then 6891 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 6892 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 6893 { (exit 1); exit 1; }; } 6894 fi 6895 6896 else 6897 ac_cv_path_EGREP=$EGREP 6898 fi 6899 6900 6901 fi 6902 fi 6903 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 6904 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 6905 EGREP="$ac_cv_path_EGREP" 6906 6907 6908 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6909 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 6910 if test "${ac_cv_header_stdc+set}" = set; then 6911 echo $ECHO_N "(cached) $ECHO_C" >&6 6912 else 6913 cat >conftest.$ac_ext <<_ACEOF 6914 /* confdefs.h. */ 6915 _ACEOF 6916 cat confdefs.h >>conftest.$ac_ext 6917 cat >>conftest.$ac_ext <<_ACEOF 6918 /* end confdefs.h. */ 6919 #include <stdlib.h> 6920 #include <stdarg.h> 6921 #include <string.h> 6922 #include <float.h> 6923 6924 int 6925 main () 6926 { 6927 6928 ; 6929 return 0; 6930 } 6931 _ACEOF 6932 rm -f conftest.$ac_objext 6933 if { (ac_try="$ac_compile" 6934 case "(($ac_try" in 6935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6936 *) ac_try_echo=$ac_try;; 6937 esac 6938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6939 (eval "$ac_compile") 2>conftest.er1 6940 ac_status=$? 6941 grep -v '^ *+' conftest.er1 >conftest.err 6942 rm -f conftest.er1 6943 cat conftest.err >&5 6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6945 (exit $ac_status); } && { 6946 test -z "$ac_c_werror_flag" || 6947 test ! -s conftest.err 6948 } && test -s conftest.$ac_objext; then 6949 ac_cv_header_stdc=yes 6950 else 6951 echo "$as_me: failed program was:" >&5 6952 sed 's/^/| /' conftest.$ac_ext >&5 6953 6954 ac_cv_header_stdc=no 6955 fi 6956 6957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6958 6959 if test $ac_cv_header_stdc = yes; then 6960 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6961 cat >conftest.$ac_ext <<_ACEOF 6962 /* confdefs.h. */ 6963 _ACEOF 6964 cat confdefs.h >>conftest.$ac_ext 6965 cat >>conftest.$ac_ext <<_ACEOF 6966 /* end confdefs.h. */ 6967 #include <string.h> 6968 6969 _ACEOF 6970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6971 $EGREP "memchr" >/dev/null 2>&1; then 6972 : 6973 else 6974 ac_cv_header_stdc=no 6975 fi 6976 rm -f conftest* 6977 6978 fi 6979 6980 if test $ac_cv_header_stdc = yes; then 6981 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6982 cat >conftest.$ac_ext <<_ACEOF 6983 /* confdefs.h. */ 6984 _ACEOF 6985 cat confdefs.h >>conftest.$ac_ext 6986 cat >>conftest.$ac_ext <<_ACEOF 6987 /* end confdefs.h. */ 6988 #include <stdlib.h> 6989 6990 _ACEOF 6991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6992 $EGREP "free" >/dev/null 2>&1; then 6993 : 6994 else 6995 ac_cv_header_stdc=no 6996 fi 6997 rm -f conftest* 6998 6999 fi 7000 7001 if test $ac_cv_header_stdc = yes; then 7002 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7003 if test "$cross_compiling" = yes; then 7004 : 7005 else 7006 cat >conftest.$ac_ext <<_ACEOF 7007 /* confdefs.h. */ 7008 _ACEOF 7009 cat confdefs.h >>conftest.$ac_ext 7010 cat >>conftest.$ac_ext <<_ACEOF 7011 /* end confdefs.h. */ 7012 #include <ctype.h> 7013 #include <stdlib.h> 7014 #if ((' ' & 0x0FF) == 0x020) 7015 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7016 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7017 #else 7018 # define ISLOWER(c) \ 7019 (('a' <= (c) && (c) <= 'i') \ 7020 || ('j' <= (c) && (c) <= 'r') \ 7021 || ('s' <= (c) && (c) <= 'z')) 7022 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7023 #endif 7024 7025 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7026 int 7027 main () 7028 { 7029 int i; 7030 for (i = 0; i < 256; i++) 7031 if (XOR (islower (i), ISLOWER (i)) 7032 || toupper (i) != TOUPPER (i)) 7033 return 2; 7034 return 0; 7035 } 7036 _ACEOF 7037 rm -f conftest$ac_exeext 7038 if { (ac_try="$ac_link" 7039 case "(($ac_try" in 7040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7041 *) ac_try_echo=$ac_try;; 7042 esac 7043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7044 (eval "$ac_link") 2>&5 7045 ac_status=$? 7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7048 { (case "(($ac_try" in 7049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7050 *) ac_try_echo=$ac_try;; 7051 esac 7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7053 (eval "$ac_try") 2>&5 7054 ac_status=$? 7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7056 (exit $ac_status); }; }; then 7057 : 7058 else 7059 echo "$as_me: program exited with status $ac_status" >&5 7060 echo "$as_me: failed program was:" >&5 7061 sed 's/^/| /' conftest.$ac_ext >&5 7062 7063 ( exit $ac_status ) 7064 ac_cv_header_stdc=no 7065 fi 7066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7067 fi 7068 7069 7070 fi 7071 fi 7072 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7073 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 7074 if test $ac_cv_header_stdc = yes; then 7075 7076 cat >>confdefs.h <<\_ACEOF 7077 @%:@define STDC_HEADERS 1 7078 _ACEOF 7079 7080 fi 7081 7082 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7093 inttypes.h stdint.h unistd.h 7094 do 7095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7096 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7099 echo $ECHO_N "(cached) $ECHO_C" >&6 7100 else 7101 cat >conftest.$ac_ext <<_ACEOF 7102 /* confdefs.h. */ 7103 _ACEOF 7104 cat confdefs.h >>conftest.$ac_ext 7105 cat >>conftest.$ac_ext <<_ACEOF 7106 /* end confdefs.h. */ 7107 $ac_includes_default 7108 7109 @%:@include <$ac_header> 7110 _ACEOF 7111 rm -f conftest.$ac_objext 7112 if { (ac_try="$ac_compile" 7113 case "(($ac_try" in 7114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7115 *) ac_try_echo=$ac_try;; 7116 esac 7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7118 (eval "$ac_compile") 2>conftest.er1 7119 ac_status=$? 7120 grep -v '^ *+' conftest.er1 >conftest.err 7121 rm -f conftest.er1 7122 cat conftest.err >&5 7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7124 (exit $ac_status); } && { 7125 test -z "$ac_c_werror_flag" || 7126 test ! -s conftest.err 7127 } && test -s conftest.$ac_objext; then 7128 eval "$as_ac_Header=yes" 7129 else 7130 echo "$as_me: failed program was:" >&5 7131 sed 's/^/| /' conftest.$ac_ext >&5 7132 7133 eval "$as_ac_Header=no" 7134 fi 7135 7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7137 fi 7138 ac_res=`eval echo '${'$as_ac_Header'}'` 7139 { echo "$as_me:$LINENO: result: $ac_res" >&5 7140 echo "${ECHO_T}$ac_res" >&6; } 7141 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7142 cat >>confdefs.h <<_ACEOF 7143 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7144 _ACEOF 7145 7146 fi 7147 7148 done 7149 7150 7151 7152 7153 for ac_header in malloc.h unistd.h 7154 do 7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7157 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7160 echo $ECHO_N "(cached) $ECHO_C" >&6 7161 fi 7162 ac_res=`eval echo '${'$as_ac_Header'}'` 7163 { echo "$as_me:$LINENO: result: $ac_res" >&5 7164 echo "${ECHO_T}$ac_res" >&6; } 7165 else 7166 # Is the header compilable? 7167 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7168 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7169 cat >conftest.$ac_ext <<_ACEOF 7170 /* confdefs.h. */ 7171 _ACEOF 7172 cat confdefs.h >>conftest.$ac_ext 7173 cat >>conftest.$ac_ext <<_ACEOF 7174 /* end confdefs.h. */ 7175 $ac_includes_default 7176 @%:@include <$ac_header> 7177 _ACEOF 7178 rm -f conftest.$ac_objext 7179 if { (ac_try="$ac_compile" 7180 case "(($ac_try" in 7181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7182 *) ac_try_echo=$ac_try;; 7183 esac 7184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7185 (eval "$ac_compile") 2>conftest.er1 7186 ac_status=$? 7187 grep -v '^ *+' conftest.er1 >conftest.err 7188 rm -f conftest.er1 7189 cat conftest.err >&5 7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7191 (exit $ac_status); } && { 7192 test -z "$ac_c_werror_flag" || 7193 test ! -s conftest.err 7194 } && test -s conftest.$ac_objext; then 7195 ac_header_compiler=yes 7196 else 7197 echo "$as_me: failed program was:" >&5 7198 sed 's/^/| /' conftest.$ac_ext >&5 7199 7200 ac_header_compiler=no 7201 fi 7202 7203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7205 echo "${ECHO_T}$ac_header_compiler" >&6; } 7206 7207 # Is the header present? 7208 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7210 cat >conftest.$ac_ext <<_ACEOF 7211 /* confdefs.h. */ 7212 _ACEOF 7213 cat confdefs.h >>conftest.$ac_ext 7214 cat >>conftest.$ac_ext <<_ACEOF 7215 /* end confdefs.h. */ 7216 @%:@include <$ac_header> 7217 _ACEOF 7218 if { (ac_try="$ac_cpp conftest.$ac_ext" 7219 case "(($ac_try" in 7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7221 *) ac_try_echo=$ac_try;; 7222 esac 7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7225 ac_status=$? 7226 grep -v '^ *+' conftest.er1 >conftest.err 7227 rm -f conftest.er1 7228 cat conftest.err >&5 7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7230 (exit $ac_status); } >/dev/null && { 7231 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7232 test ! -s conftest.err 7233 }; then 7234 ac_header_preproc=yes 7235 else 7236 echo "$as_me: failed program was:" >&5 7237 sed 's/^/| /' conftest.$ac_ext >&5 7238 7239 ac_header_preproc=no 7240 fi 7241 7242 rm -f conftest.err conftest.$ac_ext 7243 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7244 echo "${ECHO_T}$ac_header_preproc" >&6; } 7245 7246 # So? What about this header? 7247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7248 yes:no: ) 7249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7253 ac_header_preproc=yes 7254 ;; 7255 no:yes:* ) 7256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7268 ( cat <<\_ASBOX 7269 @%:@@%:@ ------------------------------------------ @%:@@%:@ 7270 @%:@@%:@ Report this to kapheine@divineinvasion.net @%:@@%:@ 7271 @%:@@%:@ ------------------------------------------ @%:@@%:@ 7272 _ASBOX 7273 ) | sed "s/^/$as_me: WARNING: /" >&2 7274 ;; 7275 esac 7276 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7279 echo $ECHO_N "(cached) $ECHO_C" >&6 7280 else 7281 eval "$as_ac_Header=\$ac_header_preproc" 7282 fi 7283 ac_res=`eval echo '${'$as_ac_Header'}'` 7284 { echo "$as_me:$LINENO: result: $ac_res" >&5 7285 echo "${ECHO_T}$ac_res" >&6; } 7286 7287 fi 7288 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7289 cat >>confdefs.h <<_ACEOF 7290 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7291 _ACEOF 7292 7293 fi 7294 7295 done 7296 7297 7298 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7299 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 7300 if test "${ac_cv_c_const+set}" = set; then 7301 echo $ECHO_N "(cached) $ECHO_C" >&6 7302 else 7303 cat >conftest.$ac_ext <<_ACEOF 7304 /* confdefs.h. */ 7305 _ACEOF 7306 cat confdefs.h >>conftest.$ac_ext 7307 cat >>conftest.$ac_ext <<_ACEOF 7308 /* end confdefs.h. */ 7309 7310 int 7311 main () 7312 { 7313 /* FIXME: Include the comments suggested by Paul. */ 7314 #ifndef __cplusplus 7315 /* Ultrix mips cc rejects this. */ 7316 typedef int charset[2]; 7317 const charset cs; 7318 /* SunOS 4.1.1 cc rejects this. */ 7319 char const *const *pcpcc; 7320 char **ppc; 7321 /* NEC SVR4.0.2 mips cc rejects this. */ 7322 struct point {int x, y;}; 7323 static struct point const zero = {0,0}; 7324 /* AIX XL C 1.02.0.0 rejects this. 7325 It does not let you subtract one const X* pointer from another in 7326 an arm of an if-expression whose if-part is not a constant 7327 expression */ 7328 const char *g = "string"; 7329 pcpcc = &g + (g ? g-g : 0); 7330 /* HPUX 7.0 cc rejects these. */ 7331 ++pcpcc; 7332 ppc = (char**) pcpcc; 7333 pcpcc = (char const *const *) ppc; 7334 { /* SCO 3.2v4 cc rejects this. */ 7335 char *t; 7336 char const *s = 0 ? (char *) 0 : (char const *) 0; 7337 7338 *t++ = 0; 7339 if (s) return 0; 7340 } 7341 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 7342 int x[] = {25, 17}; 7343 const int *foo = &x[0]; 7344 ++foo; 7345 } 7346 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7347 typedef const int *iptr; 7348 iptr p = 0; 7349 ++p; 7350 } 7351 { /* AIX XL C 1.02.0.0 rejects this saying 7352 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7353 struct s { int j; const int *ap[3]; }; 7354 struct s *b; b->j = 5; 7355 } 7356 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7357 const int foo = 10; 7358 if (!foo) return 0; 7359 } 7360 return !cs[0] && !zero.x; 7361 #endif 7362 7363 ; 7364 return 0; 7365 } 7366 _ACEOF 7367 rm -f conftest.$ac_objext 7368 if { (ac_try="$ac_compile" 7369 case "(($ac_try" in 7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7371 *) ac_try_echo=$ac_try;; 7372 esac 7373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7374 (eval "$ac_compile") 2>conftest.er1 7375 ac_status=$? 7376 grep -v '^ *+' conftest.er1 >conftest.err 7377 rm -f conftest.er1 7378 cat conftest.err >&5 7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7380 (exit $ac_status); } && { 7381 test -z "$ac_c_werror_flag" || 7382 test ! -s conftest.err 7383 } && test -s conftest.$ac_objext; then 7384 ac_cv_c_const=yes 7385 else 7386 echo "$as_me: failed program was:" >&5 7387 sed 's/^/| /' conftest.$ac_ext >&5 7388 7389 ac_cv_c_const=no 7390 fi 7391 7392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7393 fi 7394 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7395 echo "${ECHO_T}$ac_cv_c_const" >&6; } 7396 if test $ac_cv_c_const = no; then 7397 7398 cat >>confdefs.h <<\_ACEOF 7399 @%:@define const 7400 _ACEOF 7401 7402 fi 7403 7404 { echo "$as_me:$LINENO: checking for size_t" >&5 7405 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 7406 if test "${ac_cv_type_size_t+set}" = set; then 7407 echo $ECHO_N "(cached) $ECHO_C" >&6 7408 else 7409 cat >conftest.$ac_ext <<_ACEOF 7410 /* confdefs.h. */ 7411 _ACEOF 7412 cat confdefs.h >>conftest.$ac_ext 7413 cat >>conftest.$ac_ext <<_ACEOF 7414 /* end confdefs.h. */ 7415 $ac_includes_default 7416 typedef size_t ac__type_new_; 7417 int 7418 main () 7419 { 7420 if ((ac__type_new_ *) 0) 7421 return 0; 7422 if (sizeof (ac__type_new_)) 7423 return 0; 7424 ; 7425 return 0; 7426 } 7427 _ACEOF 7428 rm -f conftest.$ac_objext 7429 if { (ac_try="$ac_compile" 7430 case "(($ac_try" in 7431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7432 *) ac_try_echo=$ac_try;; 7433 esac 7434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7435 (eval "$ac_compile") 2>conftest.er1 7436 ac_status=$? 7437 grep -v '^ *+' conftest.er1 >conftest.err 7438 rm -f conftest.er1 7439 cat conftest.err >&5 7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7441 (exit $ac_status); } && { 7442 test -z "$ac_c_werror_flag" || 7443 test ! -s conftest.err 7444 } && test -s conftest.$ac_objext; then 7445 ac_cv_type_size_t=yes 7446 else 7447 echo "$as_me: failed program was:" >&5 7448 sed 's/^/| /' conftest.$ac_ext >&5 7449 7450 ac_cv_type_size_t=no 7451 fi 7452 7453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7454 fi 7455 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7456 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 7457 if test $ac_cv_type_size_t = yes; then 7458 : 7459 else 7460 7461 cat >>confdefs.h <<_ACEOF 7462 @%:@define size_t unsigned int 7463 _ACEOF 7464 7465 fi 7466 7467 7468 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7469 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 7470 if test "${ac_cv_type_signal+set}" = set; then 7471 echo $ECHO_N "(cached) $ECHO_C" >&6 7472 else 7473 cat >conftest.$ac_ext <<_ACEOF 7474 /* confdefs.h. */ 7475 _ACEOF 7476 cat confdefs.h >>conftest.$ac_ext 7477 cat >>conftest.$ac_ext <<_ACEOF 7478 /* end confdefs.h. */ 7479 #include <sys/types.h> 7480 #include <signal.h> 7481 7482 int 7483 main () 7484 { 7485 return *(signal (0, 0)) (0) == 1; 7486 ; 7487 return 0; 7488 } 7489 _ACEOF 7490 rm -f conftest.$ac_objext 7491 if { (ac_try="$ac_compile" 7492 case "(($ac_try" in 7493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7494 *) ac_try_echo=$ac_try;; 7495 esac 7496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7497 (eval "$ac_compile") 2>conftest.er1 7498 ac_status=$? 7499 grep -v '^ *+' conftest.er1 >conftest.err 7500 rm -f conftest.er1 7501 cat conftest.err >&5 7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7503 (exit $ac_status); } && { 7504 test -z "$ac_c_werror_flag" || 7505 test ! -s conftest.err 7506 } && test -s conftest.$ac_objext; then 7507 ac_cv_type_signal=int 7508 else 7509 echo "$as_me: failed program was:" >&5 7510 sed 's/^/| /' conftest.$ac_ext >&5 7511 7512 ac_cv_type_signal=void 7513 fi 7514 7515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7516 fi 7517 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7518 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 7519 7520 cat >>confdefs.h <<_ACEOF 7521 @%:@define RETSIGTYPE $ac_cv_type_signal 7522 _ACEOF 7523 7524 7525 7526 7527 for ac_func in strdup strstr 7528 do 7529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7530 { echo "$as_me:$LINENO: checking for $ac_func" >&5 7531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 7532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7533 echo $ECHO_N "(cached) $ECHO_C" >&6 7534 else 7535 cat >conftest.$ac_ext <<_ACEOF 7536 /* confdefs.h. */ 7537 _ACEOF 7538 cat confdefs.h >>conftest.$ac_ext 7539 cat >>conftest.$ac_ext <<_ACEOF 7540 /* end confdefs.h. */ 7541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7542 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7543 #define $ac_func innocuous_$ac_func 7544 7545 /* System header to define __stub macros and hopefully few prototypes, 7546 which can conflict with char $ac_func (); below. 7547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7548 <limits.h> exists even on freestanding compilers. */ 7549 7550 #ifdef __STDC__ 7551 # include <limits.h> 7552 #else 7553 # include <assert.h> 7554 #endif 7555 7556 #undef $ac_func 7557 7558 /* Override any GCC internal prototype to avoid an error. 7559 Use char because int might match the return type of a GCC 7560 builtin and then its argument prototype would still apply. */ 7561 #ifdef __cplusplus 7562 extern "C" 7563 #endif 7564 char $ac_func (); 7565 /* The GNU C library defines this for functions which it implements 7566 to always fail with ENOSYS. Some functions are actually named 7567 something starting with __ and the normal name is an alias. */ 7568 #if defined __stub_$ac_func || defined __stub___$ac_func 7569 choke me 7570 #endif 7571 7572 int 7573 main () 7574 { 7575 return $ac_func (); 7576 ; 7577 return 0; 7578 } 7579 _ACEOF 7580 rm -f conftest.$ac_objext conftest$ac_exeext 7581 if { (ac_try="$ac_link" 7582 case "(($ac_try" in 7583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7584 *) ac_try_echo=$ac_try;; 7585 esac 7586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7587 (eval "$ac_link") 2>conftest.er1 7588 ac_status=$? 7589 grep -v '^ *+' conftest.er1 >conftest.err 7590 rm -f conftest.er1 7591 cat conftest.err >&5 7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7593 (exit $ac_status); } && { 7594 test -z "$ac_c_werror_flag" || 7595 test ! -s conftest.err 7596 } && test -s conftest$ac_exeext && 7597 $as_test_x conftest$ac_exeext; then 7598 eval "$as_ac_var=yes" 7599 else 7600 echo "$as_me: failed program was:" >&5 7601 sed 's/^/| /' conftest.$ac_ext >&5 7602 7603 eval "$as_ac_var=no" 7604 fi 7605 7606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7607 conftest$ac_exeext conftest.$ac_ext 7608 fi 7609 ac_res=`eval echo '${'$as_ac_var'}'` 7610 { echo "$as_me:$LINENO: result: $ac_res" >&5 7611 echo "${ECHO_T}$ac_res" >&6; } 7612 if test `eval echo '${'$as_ac_var'}'` = yes; then 7613 cat >>confdefs.h <<_ACEOF 7614 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7615 _ACEOF 7616 7617 fi 7618 done 7619 7620 7621 AUTHFORCE_PATH=".:/usr/local/share/authforce/data:../data" 7622 AUTHFORCE_CONFIG="/usr/local/etc/authforcerc:~/.authforcerc" 7623 7624 cat >>confdefs.h <<_ACEOF 7625 @%:@define DEFAULT_CONFIG "${AUTHFORCE_CONFIG}" 7626 _ACEOF 7627 7628 7629 7630 # Check whether --with-path was given. 7631 if test "${with_path+set}" = set; then 7632 withval=$with_path; 7633 fi 7634 7635 7636 7637 if test "x$with_path" != "x" 7638 then 7639 7640 cat >>confdefs.h <<_ACEOF 7641 @%:@define DEFAULT_PATH "$with_path" 7642 _ACEOF 7643 7644 else 7645 cat >>confdefs.h <<_ACEOF 7646 @%:@define DEFAULT_PATH "${AUTHFORCE_PATH}" 7647 _ACEOF 7648 7649 fi 7650 7651 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile po/Makefile.in data/Makefile authforce.spec" 7652 7653 cat >confcache <<\_ACEOF 7654 # This file is a shell script that caches the results of configure 7655 # tests run on this system so they can be shared between configure 7656 # scripts and configure runs, see configure's option --config-cache. 7657 # It is not useful on other systems. If it contains results you don't 7658 # want to keep, you may remove or edit it. 7659 # 7660 # config.status only pays attention to the cache file if you give it 7661 # the --recheck option to rerun configure. 7662 # 7663 # `ac_cv_env_foo' variables (set or unset) will be overridden when 7664 # loading this file, other *unset* `ac_cv_foo' will be assigned the 7665 # following values. 7666 7667 _ACEOF 7668 7669 # The following way of writing the cache mishandles newlines in values, 7670 # but we know of no workaround that is simple, portable, and efficient. 7671 # So, we kill variables containing newlines. 7672 # Ultrix sh set writes to stderr and can't be redirected directly, 7673 # and sets the high bit in the cache file unless we assign to the vars. 7674 ( 7675 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7676 eval ac_val=\$$ac_var 7677 case $ac_val in #( 7678 *${as_nl}*) 7679 case $ac_var in #( 7680 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 7681 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 7682 esac 7683 case $ac_var in #( 7684 _ | IFS | as_nl) ;; #( 7685 *) $as_unset $ac_var ;; 7686 esac ;; 7687 esac 7688 done 7689 7690 (set) 2>&1 | 7691 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7692 *${as_nl}ac_space=\ *) 7693 # `set' does not quote correctly, so add quotes (double-quote 7694 # substitution turns \\\\ into \\, and sed turns \\ into \). 7695 sed -n \ 7696 "s/'/'\\\\''/g; 7697 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7698 ;; #( 7699 *) 7700 # `set' quotes correctly as required by POSIX, so do not add quotes. 7701 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7702 ;; 7703 esac | 7704 sort 7705 ) | 7706 sed ' 7707 /^ac_cv_env_/b end 7708 t clear 7709 :clear 7710 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7711 t end 7712 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7713 :end' >>confcache 7714 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7715 if test -w "$cache_file"; then 7716 test "x$cache_file" != "x/dev/null" && 7717 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 7718 echo "$as_me: updating cache $cache_file" >&6;} 7719 cat confcache >$cache_file 7720 else 7721 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 7722 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7723 fi 7724 fi 7725 rm -f confcache 7726 7727 test "x$prefix" = xNONE && prefix=$ac_default_prefix 7728 # Let make expand exec_prefix. 7729 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7730 7731 DEFS=-DHAVE_CONFIG_H 7732 7733 ac_libobjs= 7734 ac_ltlibobjs= 7735 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 7736 # 1. Remove the extension, and $U if already installed. 7737 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7738 ac_i=`echo "$ac_i" | sed "$ac_script"` 7739 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7740 # will be set to the directory where LIBOBJS objects are built. 7741 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7742 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7743 done 7744 LIB@&t@OBJS=$ac_libobjs 7745 7746 LTLIBOBJS=$ac_ltlibobjs 7747 7748 7749 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7750 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 7751 Usually this means the macro was only invoked conditionally." >&5 7752 echo "$as_me: error: conditional \"AMDEP\" was never defined. 7753 Usually this means the macro was only invoked conditionally." >&2;} 7754 { (exit 1); exit 1; }; } 7755 fi 7756 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7757 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 7758 Usually this means the macro was only invoked conditionally." >&5 7759 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 7760 Usually this means the macro was only invoked conditionally." >&2;} 7761 { (exit 1); exit 1; }; } 7762 fi 7763 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7764 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 7765 Usually this means the macro was only invoked conditionally." >&5 7766 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 7767 Usually this means the macro was only invoked conditionally." >&2;} 7768 { (exit 1); exit 1; }; } 7769 fi 7770 7771 : ${CONFIG_STATUS=./config.status} 7772 ac_clean_files_save=$ac_clean_files 7773 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7774 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7775 echo "$as_me: creating $CONFIG_STATUS" >&6;} 7776 cat >$CONFIG_STATUS <<_ACEOF 7777 #! $SHELL 7778 # Generated by $as_me. 7779 # Run this file to recreate the current configuration. 7780 # Compiler output produced by configure, useful for debugging 7781 # configure, is in config.log if it exists. 7782 7783 debug=false 7784 ac_cs_recheck=false 7785 ac_cs_silent=false 7786 SHELL=\${CONFIG_SHELL-$SHELL} 7787 _ACEOF 7788 7789 cat >>$CONFIG_STATUS <<\_ACEOF 7790 ## --------------------- ## 7791 ## M4sh Initialization. ## 7792 ## --------------------- ## 7793 7794 # Be more Bourne compatible 7795 DUALCASE=1; export DUALCASE # for MKS sh 7796 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7797 emulate sh 7798 NULLCMD=: 7799 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 7800 # is contrary to our usage. Disable this feature. 7801 alias -g '${1+"$@"}'='"$@"' 7802 setopt NO_GLOB_SUBST 7803 else 7804 case `(set -o) 2>/dev/null` in 7805 *posix*) set -o posix ;; 7806 esac 7807 7808 fi 7809 7810 7811 7812 7813 # PATH needs CR 7814 # Avoid depending upon Character Ranges. 7815 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7816 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7817 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7818 as_cr_digits='0123456789' 7819 as_cr_alnum=$as_cr_Letters$as_cr_digits 7820 7821 # The user is always right. 7822 if test "${PATH_SEPARATOR+set}" != set; then 7823 echo "#! /bin/sh" >conf$$.sh 7824 echo "exit 0" >>conf$$.sh 7825 chmod +x conf$$.sh 7826 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7827 PATH_SEPARATOR=';' 7828 else 7829 PATH_SEPARATOR=: 7830 fi 7831 rm -f conf$$.sh 7832 fi 7833 7834 # Support unset when possible. 7835 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7836 as_unset=unset 7837 else 7838 as_unset=false 7839 fi 7840 7841 7842 # IFS 7843 # We need space, tab and new line, in precisely that order. Quoting is 7844 # there to prevent editors from complaining about space-tab. 7845 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 7846 # splitting by setting IFS to empty value.) 7847 as_nl=' 7848 ' 7849 IFS=" "" $as_nl" 7850 7851 # Find who we are. Look in the path if we contain no directory separator. 7852 case $0 in 7853 *[\\/]* ) as_myself=$0 ;; 7854 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7855 for as_dir in $PATH 7856 do 7857 IFS=$as_save_IFS 7858 test -z "$as_dir" && as_dir=. 7859 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7860 done 7861 IFS=$as_save_IFS 7862 7863 ;; 7864 esac 7865 # We did not find ourselves, most probably we were run as `sh COMMAND' 7866 # in which case we are not to be found in the path. 7867 if test "x$as_myself" = x; then 7868 as_myself=$0 7869 fi 7870 if test ! -f "$as_myself"; then 7871 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7872 { (exit 1); exit 1; } 7873 fi 7874 7875 # Work around bugs in pre-3.0 UWIN ksh. 7876 for as_var in ENV MAIL MAILPATH 7877 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7878 done 7879 PS1='$ ' 7880 PS2='> ' 7881 PS4='+ ' 7882 7883 # NLS nuisances. 7884 for as_var in \ 7885 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7886 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7887 LC_TELEPHONE LC_TIME 7888 do 7889 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7890 eval $as_var=C; export $as_var 7891 else 7892 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7893 fi 7894 done 7895 7896 # Required to use basename. 7897 if expr a : '\(a\)' >/dev/null 2>&1 && 7898 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7899 as_expr=expr 7900 else 7901 as_expr=false 7902 fi 7903 7904 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7905 as_basename=basename 7906 else 7907 as_basename=false 7908 fi 7909 7910 7911 # Name of the executable. 7912 as_me=`$as_basename -- "$0" || 7913 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7914 X"$0" : 'X\(//\)$' \| \ 7915 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7916 echo X/"$0" | 7917 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7918 s//\1/ 7919 q 7920 } 7921 /^X\/\(\/\/\)$/{ 7922 s//\1/ 7923 q 7924 } 7925 /^X\/\(\/\).*/{ 7926 s//\1/ 7927 q 7928 } 7929 s/.*/./; q'` 7930 7931 # CDPATH. 7932 $as_unset CDPATH 7933 7934 7935 7936 as_lineno_1=$LINENO 7937 as_lineno_2=$LINENO 7938 test "x$as_lineno_1" != "x$as_lineno_2" && 7939 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7940 7941 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7942 # uniformly replaced by the line number. The first 'sed' inserts a 7943 # line-number line after each line using $LINENO; the second 'sed' 7944 # does the real work. The second script uses 'N' to pair each 7945 # line-number line with the line containing $LINENO, and appends 7946 # trailing '-' during substitution so that $LINENO is not a special 7947 # case at line end. 7948 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7949 # scripts with optimization help from Paolo Bonzini. Blame Lee 7950 # E. McMahon (1931-1989) for sed's syntax. :-) 7951 sed -n ' 7952 p 7953 /[$]LINENO/= 7954 ' <$as_myself | 7955 sed ' 7956 s/[$]LINENO.*/&-/ 7957 t lineno 7958 b 7959 :lineno 7960 N 7961 :loop 7962 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7963 t loop 7964 s/-\n.*// 7965 ' >$as_me.lineno && 7966 chmod +x "$as_me.lineno" || 7967 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7968 { (exit 1); exit 1; }; } 7969 7970 # Don't try to exec as it changes $[0], causing all sort of problems 7971 # (the dirname of $[0] is not the place where we might find the 7972 # original and so on. Autoconf is especially sensitive to this). 7973 . "./$as_me.lineno" 7974 # Exit status is that of the last command. 7975 exit 7976 } 7977 7978 7979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7980 as_dirname=dirname 7981 else 7982 as_dirname=false 7983 fi 7984 7985 ECHO_C= ECHO_N= ECHO_T= 7986 case `echo -n x` in 7987 -n*) 7988 case `echo 'x\c'` in 7989 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7990 *) ECHO_C='\c';; 7991 esac;; 7992 *) 7993 ECHO_N='-n';; 7994 esac 7995 7996 if expr a : '\(a\)' >/dev/null 2>&1 && 7997 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7998 as_expr=expr 7999 else 8000 as_expr=false 8001 fi 8002 8003 rm -f conf$$ conf$$.exe conf$$.file 8004 if test -d conf$$.dir; then 8005 rm -f conf$$.dir/conf$$.file 8006 else 8007 rm -f conf$$.dir 8008 mkdir conf$$.dir 8009 fi 8010 echo >conf$$.file 8011 if ln -s conf$$.file conf$$ 2>/dev/null; then 8012 as_ln_s='ln -s' 8013 # ... but there are two gotchas: 8014 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8015 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8016 # In both cases, we have to default to `cp -p'. 8017 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8018 as_ln_s='cp -p' 8019 elif ln conf$$.file conf$$ 2>/dev/null; then 8020 as_ln_s=ln 8021 else 8022 as_ln_s='cp -p' 8023 fi 8024 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8025 rmdir conf$$.dir 2>/dev/null 8026 8027 if mkdir -p . 2>/dev/null; then 8028 as_mkdir_p=: 8029 else 8030 test -d ./-p && rmdir ./-p 8031 as_mkdir_p=false 8032 fi 8033 8034 if test -x / >/dev/null 2>&1; then 8035 as_test_x='test -x' 8036 else 8037 if ls -dL / >/dev/null 2>&1; then 8038 as_ls_L_option=L 8039 else 8040 as_ls_L_option= 8041 fi 8042 as_test_x=' 8043 eval sh -c '\'' 8044 if test -d "$1"; then 8045 test -d "$1/."; 8046 else 8047 case $1 in 8048 -*)set "./$1";; 8049 esac; 8050 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8051 ???[sx]*):;;*)false;;esac;fi 8052 '\'' sh 8053 ' 8054 fi 8055 as_executable_p=$as_test_x 8056 8057 # Sed expression to map a string onto a valid CPP name. 8058 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8059 8060 # Sed expression to map a string onto a valid variable name. 8061 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8062 8063 8064 exec 6>&1 8065 8066 # Save the log message, to keep $[0] and so on meaningful, and to 8067 # report actual input values of CONFIG_FILES etc. instead of their 8068 # values after options handling. 8069 ac_log=" 8070 This file was extended by authforce $as_me 0.9.9, which was 8071 generated by GNU Autoconf 2.61. Invocation command line was 8072 8073 CONFIG_FILES = $CONFIG_FILES 8074 CONFIG_HEADERS = $CONFIG_HEADERS 8075 CONFIG_LINKS = $CONFIG_LINKS 8076 CONFIG_COMMANDS = $CONFIG_COMMANDS 8077 $ $0 $@ 8078 8079 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8080 " 8081 8082 _ACEOF 8083 8084 cat >>$CONFIG_STATUS <<_ACEOF 8085 # Files that config.status was made for. 8086 config_files="$ac_config_files" 8087 config_headers="$ac_config_headers" 8088 config_commands="$ac_config_commands" 8089 8090 _ACEOF 8091 8092 cat >>$CONFIG_STATUS <<\_ACEOF 8093 ac_cs_usage="\ 8094 \`$as_me' instantiates files from templates according to the 8095 current configuration. 8096 8097 Usage: $0 [OPTIONS] [FILE]... 8098 8099 -h, --help print this help, then exit 8100 -V, --version print version number and configuration settings, then exit 8101 -q, --quiet do not print progress messages 8102 -d, --debug don't remove temporary files 8103 --recheck update $as_me by reconfiguring in the same conditions 8104 --file=FILE[:TEMPLATE] 8105 instantiate the configuration file FILE 8106 --header=FILE[:TEMPLATE] 8107 instantiate the configuration header FILE 8108 8109 Configuration files: 8110 $config_files 8111 8112 Configuration headers: 8113 $config_headers 8114 8115 Configuration commands: 8116 $config_commands 8117 8118 Report bugs to <bug-autoconf@gnu.org>." 8119 8120 _ACEOF 8121 cat >>$CONFIG_STATUS <<_ACEOF 8122 ac_cs_version="\\ 8123 authforce config.status 0.9.9 8124 configured by $0, generated by GNU Autoconf 2.61, 8125 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8126 8127 Copyright (C) 2006 Free Software Foundation, Inc. 8128 This config.status script is free software; the Free Software Foundation 8129 gives unlimited permission to copy, distribute and modify it." 8130 8131 ac_pwd='$ac_pwd' 8132 srcdir='$srcdir' 8133 INSTALL='$INSTALL' 8134 _ACEOF 8135 8136 cat >>$CONFIG_STATUS <<\_ACEOF 8137 # If no file are specified by the user, then we need to provide default 8138 # value. By we need to know if files were specified by the user. 8139 ac_need_defaults=: 8140 while test $# != 0 8141 do 8142 case $1 in 8143 --*=*) 8144 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8145 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8146 ac_shift=: 8147 ;; 8148 *) 8149 ac_option=$1 8150 ac_optarg=$2 8151 ac_shift=shift 8152 ;; 8153 esac 8154 8155 case $ac_option in 8156 # Handling of the options. 8157 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8158 ac_cs_recheck=: ;; 8159 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8160 echo "$ac_cs_version"; exit ;; 8161 --debug | --debu | --deb | --de | --d | -d ) 8162 debug=: ;; 8163 --file | --fil | --fi | --f ) 8164 $ac_shift 8165 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8166 ac_need_defaults=false;; 8167 --header | --heade | --head | --hea ) 8168 $ac_shift 8169 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8170 ac_need_defaults=false;; 8171 --he | --h) 8172 # Conflict between --help and --header 8173 { echo "$as_me: error: ambiguous option: $1 8174 Try \`$0 --help' for more information." >&2 8175 { (exit 1); exit 1; }; };; 8176 --help | --hel | -h ) 8177 echo "$ac_cs_usage"; exit ;; 8178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8179 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8180 ac_cs_silent=: ;; 8181 8182 # This is an error. 8183 -*) { echo "$as_me: error: unrecognized option: $1 8184 Try \`$0 --help' for more information." >&2 8185 { (exit 1); exit 1; }; } ;; 8186 8187 *) ac_config_targets="$ac_config_targets $1" 8188 ac_need_defaults=false ;; 8189 8190 esac 8191 shift 8192 done 8193 8194 ac_configure_extra_args= 8195 8196 if $ac_cs_silent; then 8197 exec 6>/dev/null 8198 ac_configure_extra_args="$ac_configure_extra_args --silent" 8199 fi 8200 8201 _ACEOF 8202 cat >>$CONFIG_STATUS <<_ACEOF 8203 if \$ac_cs_recheck; then 8204 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8205 CONFIG_SHELL=$SHELL 8206 export CONFIG_SHELL 8207 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8208 fi 8209 8210 _ACEOF 8211 cat >>$CONFIG_STATUS <<\_ACEOF 8212 exec 5>>config.log 8213 { 8214 echo 8215 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 8216 @%:@@%:@ Running $as_me. @%:@@%:@ 8217 _ASBOX 8218 echo "$ac_log" 8219 } >&5 8220 8221 _ACEOF 8222 cat >>$CONFIG_STATUS <<_ACEOF 8223 # 8224 # INIT-COMMANDS 8225 # 8226 # Capture the value of obsolete ALL_LINGUAS because we need it to compute 8227 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 8228 # from automake < 1.5. 8229 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 8230 # Capture the value of LINGUAS because we need it to compute CATALOGS. 8231 LINGUAS="${LINGUAS-%UNSET%}" 8232 8233 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 8234 8235 _ACEOF 8236 8237 cat >>$CONFIG_STATUS <<\_ACEOF 8238 8239 # Handling of arguments. 8240 for ac_config_target in $ac_config_targets 8241 do 8242 case $ac_config_target in 8243 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8244 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 8245 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8246 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8247 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8248 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8249 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 8250 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 8251 "authforce.spec") CONFIG_FILES="$CONFIG_FILES authforce.spec" ;; 8252 8253 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8254 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8255 { (exit 1); exit 1; }; };; 8256 esac 8257 done 8258 8259 8260 # If the user did not use the arguments to specify the items to instantiate, 8261 # then the envvar interface is used. Set only those that are not. 8262 # We use the long form for the default assignment because of an extremely 8263 # bizarre bug on SunOS 4.1.3. 8264 if $ac_need_defaults; then 8265 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8266 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8267 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 8268 fi 8269 8270 # Have a temporary directory for convenience. Make it in the build tree 8271 # simply because there is no reason against having it here, and in addition, 8272 # creating and moving files from /tmp can sometimes cause problems. 8273 # Hook for its removal unless debugging. 8274 # Note that there is a small window in which the directory will not be cleaned: 8275 # after its creation but before its name has been assigned to `$tmp'. 8276 $debug || 8277 { 8278 tmp= 8279 trap 'exit_status=$? 8280 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8281 ' 0 8282 trap '{ (exit 1); exit 1; }' 1 2 13 15 8283 } 8284 # Create a (secure) tmp directory for tmp files. 8285 8286 { 8287 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8288 test -n "$tmp" && test -d "$tmp" 8289 } || 8290 { 8291 tmp=./conf$$-$RANDOM 8292 (umask 077 && mkdir "$tmp") 8293 } || 8294 { 8295 echo "$me: cannot create a temporary directory in ." >&2 8296 { (exit 1); exit 1; } 8297 } 8298 8299 # 8300 # Set up the sed scripts for CONFIG_FILES section. 8301 # 8302 8303 # No need to generate the scripts if there are no CONFIG_FILES. 8304 # This happens for instance when ./config.status config.h 8305 if test -n "$CONFIG_FILES"; then 8306 8307 _ACEOF 8308 8309 8310 8311 ac_delim='%!_!# ' 8312 for ac_last_try in false false false false false :; do 8313 cat >conf$$subs.sed <<_ACEOF 8314 SHELL!$SHELL$ac_delim 8315 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8316 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8317 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8318 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8319 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8320 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8321 exec_prefix!$exec_prefix$ac_delim 8322 prefix!$prefix$ac_delim 8323 program_transform_name!$program_transform_name$ac_delim 8324 bindir!$bindir$ac_delim 8325 sbindir!$sbindir$ac_delim 8326 libexecdir!$libexecdir$ac_delim 8327 datarootdir!$datarootdir$ac_delim 8328 datadir!$datadir$ac_delim 8329 sysconfdir!$sysconfdir$ac_delim 8330 sharedstatedir!$sharedstatedir$ac_delim 8331 localstatedir!$localstatedir$ac_delim 8332 includedir!$includedir$ac_delim 8333 oldincludedir!$oldincludedir$ac_delim 8334 docdir!$docdir$ac_delim 8335 infodir!$infodir$ac_delim 8336 htmldir!$htmldir$ac_delim 8337 dvidir!$dvidir$ac_delim 8338 pdfdir!$pdfdir$ac_delim 8339 psdir!$psdir$ac_delim 8340 libdir!$libdir$ac_delim 8341 localedir!$localedir$ac_delim 8342 mandir!$mandir$ac_delim 8343 DEFS!$DEFS$ac_delim 8344 ECHO_C!$ECHO_C$ac_delim 8345 ECHO_N!$ECHO_N$ac_delim 8346 ECHO_T!$ECHO_T$ac_delim 8347 LIBS!$LIBS$ac_delim 8348 build_alias!$build_alias$ac_delim 8349 host_alias!$host_alias$ac_delim 8350 target_alias!$target_alias$ac_delim 8351 build!$build$ac_delim 8352 build_cpu!$build_cpu$ac_delim 8353 build_vendor!$build_vendor$ac_delim 8354 build_os!$build_os$ac_delim 8355 host!$host$ac_delim 8356 host_cpu!$host_cpu$ac_delim 8357 host_vendor!$host_vendor$ac_delim 8358 host_os!$host_os$ac_delim 8359 target!$target$ac_delim 8360 target_cpu!$target_cpu$ac_delim 8361 target_vendor!$target_vendor$ac_delim 8362 target_os!$target_os$ac_delim 8363 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8364 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8365 INSTALL_DATA!$INSTALL_DATA$ac_delim 8366 CYGPATH_W!$CYGPATH_W$ac_delim 8367 PACKAGE!$PACKAGE$ac_delim 8368 VERSION!$VERSION$ac_delim 8369 ACLOCAL!$ACLOCAL$ac_delim 8370 AUTOCONF!$AUTOCONF$ac_delim 8371 AUTOMAKE!$AUTOMAKE$ac_delim 8372 AUTOHEADER!$AUTOHEADER$ac_delim 8373 MAKEINFO!$MAKEINFO$ac_delim 8374 install_sh!$install_sh$ac_delim 8375 STRIP!$STRIP$ac_delim 8376 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 8377 mkdir_p!$mkdir_p$ac_delim 8378 AWK!$AWK$ac_delim 8379 SET_MAKE!$SET_MAKE$ac_delim 8380 am__leading_dot!$am__leading_dot$ac_delim 8381 AMTAR!$AMTAR$ac_delim 8382 am__tar!$am__tar$ac_delim 8383 am__untar!$am__untar$ac_delim 8384 USE_NLS!$USE_NLS$ac_delim 8385 MSGFMT!$MSGFMT$ac_delim 8386 GMSGFMT!$GMSGFMT$ac_delim 8387 MSGFMT_015!$MSGFMT_015$ac_delim 8388 GMSGFMT_015!$GMSGFMT_015$ac_delim 8389 XGETTEXT!$XGETTEXT$ac_delim 8390 XGETTEXT_015!$XGETTEXT_015$ac_delim 8391 MSGMERGE!$MSGMERGE$ac_delim 8392 CC!$CC$ac_delim 8393 CFLAGS!$CFLAGS$ac_delim 8394 LDFLAGS!$LDFLAGS$ac_delim 8395 CPPFLAGS!$CPPFLAGS$ac_delim 8396 ac_ct_CC!$ac_ct_CC$ac_delim 8397 EXEEXT!$EXEEXT$ac_delim 8398 OBJEXT!$OBJEXT$ac_delim 8399 DEPDIR!$DEPDIR$ac_delim 8400 am__include!$am__include$ac_delim 8401 am__quote!$am__quote$ac_delim 8402 AMDEP_TRUE!$AMDEP_TRUE$ac_delim 8403 AMDEP_FALSE!$AMDEP_FALSE$ac_delim 8404 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 8405 CCDEPMODE!$CCDEPMODE$ac_delim 8406 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 8407 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 8408 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim 8409 LIBICONV!$LIBICONV$ac_delim 8410 LTLIBICONV!$LTLIBICONV$ac_delim 8411 _ACEOF 8412 8413 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 8414 break 8415 elif $ac_last_try; then 8416 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8417 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8418 { (exit 1); exit 1; }; } 8419 else 8420 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8421 fi 8422 done 8423 8424 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8425 if test -n "$ac_eof"; then 8426 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8427 ac_eof=`expr $ac_eof + 1` 8428 fi 8429 8430 cat >>$CONFIG_STATUS <<_ACEOF 8431 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8432 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8433 _ACEOF 8434 sed ' 8435 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8436 s/^/s,@/; s/!/@,|#_!!_#|/ 8437 :n 8438 t n 8439 s/'"$ac_delim"'$/,g/; t 8440 s/$/\\/; p 8441 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8442 ' >>$CONFIG_STATUS <conf$$subs.sed 8443 rm -f conf$$subs.sed 8444 cat >>$CONFIG_STATUS <<_ACEOF 8445 CEOF$ac_eof 8446 _ACEOF 8447 8448 8449 ac_delim='%!_!# ' 8450 for ac_last_try in false false false false false :; do 8451 cat >conf$$subs.sed <<_ACEOF 8452 INTLLIBS!$INTLLIBS$ac_delim 8453 LIBINTL!$LIBINTL$ac_delim 8454 LTLIBINTL!$LTLIBINTL$ac_delim 8455 POSUB!$POSUB$ac_delim 8456 CPP!$CPP$ac_delim 8457 GREP!$GREP$ac_delim 8458 EGREP!$EGREP$ac_delim 8459 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim 8460 LTLIBOBJS!$LTLIBOBJS$ac_delim 8461 _ACEOF 8462 8463 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then 8464 break 8465 elif $ac_last_try; then 8466 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8467 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8468 { (exit 1); exit 1; }; } 8469 else 8470 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8471 fi 8472 done 8473 8474 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8475 if test -n "$ac_eof"; then 8476 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8477 ac_eof=`expr $ac_eof + 1` 8478 fi 8479 8480 cat >>$CONFIG_STATUS <<_ACEOF 8481 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 8482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8483 _ACEOF 8484 sed ' 8485 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8486 s/^/s,@/; s/!/@,|#_!!_#|/ 8487 :n 8488 t n 8489 s/'"$ac_delim"'$/,g/; t 8490 s/$/\\/; p 8491 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8492 ' >>$CONFIG_STATUS <conf$$subs.sed 8493 rm -f conf$$subs.sed 8494 cat >>$CONFIG_STATUS <<_ACEOF 8495 :end 8496 s/|#_!!_#|//g 8497 CEOF$ac_eof 8498 _ACEOF 8499 8500 8501 # VPATH may cause trouble with some makes, so we remove $(srcdir), 8502 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8503 # trailing colons and then remove the whole line if VPATH becomes empty 8504 # (actually we leave an empty line to preserve line numbers). 8505 if test "x$srcdir" = x.; then 8506 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8507 s/:*\$(srcdir):*/:/ 8508 s/:*\${srcdir}:*/:/ 8509 s/:*@srcdir@:*/:/ 8510 s/^\([^=]*=[ ]*\):*/\1/ 8511 s/:*$// 8512 s/^[^=]*=[ ]*$// 8513 }' 8514 fi 8515 8516 cat >>$CONFIG_STATUS <<\_ACEOF 8517 fi # test -n "$CONFIG_FILES" 8518 8519 8520 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 8521 do 8522 case $ac_tag in 8523 :[FHLC]) ac_mode=$ac_tag; continue;; 8524 esac 8525 case $ac_mode$ac_tag in 8526 :[FHL]*:*);; 8527 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8528 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 8529 { (exit 1); exit 1; }; };; 8530 :[FH]-) ac_tag=-:-;; 8531 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8532 esac 8533 ac_save_IFS=$IFS 8534 IFS=: 8535 set x $ac_tag 8536 IFS=$ac_save_IFS 8537 shift 8538 ac_file=$1 8539 shift 8540 8541 case $ac_mode in 8542 :L) ac_source=$1;; 8543 :[FH]) 8544 ac_file_inputs= 8545 for ac_f 8546 do 8547 case $ac_f in 8548 -) ac_f="$tmp/stdin";; 8549 *) # Look for the file first in the build tree, then in the source tree 8550 # (if the path is not absolute). The absolute path cannot be DOS-style, 8551 # because $ac_f cannot contain `:'. 8552 test -f "$ac_f" || 8553 case $ac_f in 8554 [\\/$]*) false;; 8555 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8556 esac || 8557 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8558 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 8559 { (exit 1); exit 1; }; };; 8560 esac 8561 ac_file_inputs="$ac_file_inputs $ac_f" 8562 done 8563 8564 # Let's still pretend it is `configure' which instantiates (i.e., don't 8565 # use $as_me), people would be surprised to read: 8566 # /* config.h. Generated by config.status. */ 8567 configure_input="Generated from "`IFS=: 8568 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8569 if test x"$ac_file" != x-; then 8570 configure_input="$ac_file. $configure_input" 8571 { echo "$as_me:$LINENO: creating $ac_file" >&5 8572 echo "$as_me: creating $ac_file" >&6;} 8573 fi 8574 8575 case $ac_tag in 8576 *:-:* | *:-) cat >"$tmp/stdin";; 8577 esac 8578 ;; 8579 esac 8580 8581 ac_dir=`$as_dirname -- "$ac_file" || 8582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8583 X"$ac_file" : 'X\(//\)[^/]' \| \ 8584 X"$ac_file" : 'X\(//\)$' \| \ 8585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8586 echo X"$ac_file" | 8587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8588 s//\1/ 8589 q 8590 } 8591 /^X\(\/\/\)[^/].*/{ 8592 s//\1/ 8593 q 8594 } 8595 /^X\(\/\/\)$/{ 8596 s//\1/ 8597 q 8598 } 8599 /^X\(\/\).*/{ 8600 s//\1/ 8601 q 8602 } 8603 s/.*/./; q'` 8604 { as_dir="$ac_dir" 8605 case $as_dir in #( 8606 -*) as_dir=./$as_dir;; 8607 esac 8608 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8609 as_dirs= 8610 while :; do 8611 case $as_dir in #( 8612 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8613 *) as_qdir=$as_dir;; 8614 esac 8615 as_dirs="'$as_qdir' $as_dirs" 8616 as_dir=`$as_dirname -- "$as_dir" || 8617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8618 X"$as_dir" : 'X\(//\)[^/]' \| \ 8619 X"$as_dir" : 'X\(//\)$' \| \ 8620 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8621 echo X"$as_dir" | 8622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8623 s//\1/ 8624 q 8625 } 8626 /^X\(\/\/\)[^/].*/{ 8627 s//\1/ 8628 q 8629 } 8630 /^X\(\/\/\)$/{ 8631 s//\1/ 8632 q 8633 } 8634 /^X\(\/\).*/{ 8635 s//\1/ 8636 q 8637 } 8638 s/.*/./; q'` 8639 test -d "$as_dir" && break 8640 done 8641 test -z "$as_dirs" || eval "mkdir $as_dirs" 8642 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8643 echo "$as_me: error: cannot create directory $as_dir" >&2;} 8644 { (exit 1); exit 1; }; }; } 8645 ac_builddir=. 8646 8647 case "$ac_dir" in 8648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8649 *) 8650 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8651 # A ".." for each directory in $ac_dir_suffix. 8652 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8653 case $ac_top_builddir_sub in 8654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8656 esac ;; 8657 esac 8658 ac_abs_top_builddir=$ac_pwd 8659 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8660 # for backward compatibility: 8661 ac_top_builddir=$ac_top_build_prefix 8662 8663 case $srcdir in 8664 .) # We are building in place. 8665 ac_srcdir=. 8666 ac_top_srcdir=$ac_top_builddir_sub 8667 ac_abs_top_srcdir=$ac_pwd ;; 8668 [\\/]* | ?:[\\/]* ) # Absolute name. 8669 ac_srcdir=$srcdir$ac_dir_suffix; 8670 ac_top_srcdir=$srcdir 8671 ac_abs_top_srcdir=$srcdir ;; 8672 *) # Relative name. 8673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8674 ac_top_srcdir=$ac_top_build_prefix$srcdir 8675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8676 esac 8677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8678 8679 8680 case $ac_mode in 8681 :F) 8682 # 8683 # CONFIG_FILE 8684 # 8685 8686 case $INSTALL in 8687 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8688 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8689 esac 8690 _ACEOF 8691 8692 cat >>$CONFIG_STATUS <<\_ACEOF 8693 # If the template does not know about datarootdir, expand it. 8694 # FIXME: This hack should be removed a few years after 2.60. 8695 ac_datarootdir_hack=; ac_datarootdir_seen= 8696 8697 case `sed -n '/datarootdir/ { 8698 p 8699 q 8700 } 8701 /@datadir@/p 8702 /@docdir@/p 8703 /@infodir@/p 8704 /@localedir@/p 8705 /@mandir@/p 8706 ' $ac_file_inputs` in 8707 *datarootdir*) ac_datarootdir_seen=yes;; 8708 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8709 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8710 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8711 _ACEOF 8712 cat >>$CONFIG_STATUS <<_ACEOF 8713 ac_datarootdir_hack=' 8714 s&@datadir@&$datadir&g 8715 s&@docdir@&$docdir&g 8716 s&@infodir@&$infodir&g 8717 s&@localedir@&$localedir&g 8718 s&@mandir@&$mandir&g 8719 s&\\\${datarootdir}&$datarootdir&g' ;; 8720 esac 8721 _ACEOF 8722 8723 # Neutralize VPATH when `$srcdir' = `.'. 8724 # Shell code in configure.ac might set extrasub. 8725 # FIXME: do we really want to maintain this feature? 8726 cat >>$CONFIG_STATUS <<_ACEOF 8727 sed "$ac_vpsub 8728 $extrasub 8729 _ACEOF 8730 cat >>$CONFIG_STATUS <<\_ACEOF 8731 :t 8732 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8733 s&@configure_input@&$configure_input&;t t 8734 s&@top_builddir@&$ac_top_builddir_sub&;t t 8735 s&@srcdir@&$ac_srcdir&;t t 8736 s&@abs_srcdir@&$ac_abs_srcdir&;t t 8737 s&@top_srcdir@&$ac_top_srcdir&;t t 8738 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8739 s&@builddir@&$ac_builddir&;t t 8740 s&@abs_builddir@&$ac_abs_builddir&;t t 8741 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8742 s&@INSTALL@&$ac_INSTALL&;t t 8743 $ac_datarootdir_hack 8744 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 8745 8746 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8747 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8748 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8749 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8750 which seems to be undefined. Please make sure it is defined." >&5 8751 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8752 which seems to be undefined. Please make sure it is defined." >&2;} 8753 8754 rm -f "$tmp/stdin" 8755 case $ac_file in 8756 -) cat "$tmp/out"; rm -f "$tmp/out";; 8757 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 8758 esac 8759 ;; 8760 :H) 8761 # 8762 # CONFIG_HEADER 8763 # 8764 _ACEOF 8765 8766 # Transform confdefs.h into a sed script `conftest.defines', that 8767 # substitutes the proper values into config.h.in to produce config.h. 8768 rm -f conftest.defines conftest.tail 8769 # First, append a space to every undef/define line, to ease matching. 8770 echo 's/$/ /' >conftest.defines 8771 # Then, protect against being on the right side of a sed subst, or in 8772 # an unquoted here document, in config.status. If some macros were 8773 # called several times there might be several #defines for the same 8774 # symbol, which is useless. But do not sort them, since the last 8775 # AC_DEFINE must be honored. 8776 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8777 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 8778 # NAME is the cpp macro being defined, VALUE is the value it is being given. 8779 # PARAMS is the parameter list in the macro definition--in most cases, it's 8780 # just an empty string. 8781 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 8782 ac_dB='\\)[ (].*,\\1define\\2' 8783 ac_dC=' ' 8784 ac_dD=' ,' 8785 8786 uniq confdefs.h | 8787 sed -n ' 8788 t rset 8789 :rset 8790 s/^[ ]*#[ ]*define[ ][ ]*// 8791 t ok 8792 d 8793 :ok 8794 s/[\\&,]/\\&/g 8795 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 8796 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 8797 ' >>conftest.defines 8798 8799 # Remove the space that was appended to ease matching. 8800 # Then replace #undef with comments. This is necessary, for 8801 # example, in the case of _POSIX_SOURCE, which is predefined and required 8802 # on some systems where configure will not decide to define it. 8803 # (The regexp can be short, since the line contains either #define or #undef.) 8804 echo 's/ $// 8805 s,^[ #]*u.*,/* & */,' >>conftest.defines 8806 8807 # Break up conftest.defines: 8808 ac_max_sed_lines=50 8809 8810 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 8811 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 8812 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 8813 # et cetera. 8814 ac_in='$ac_file_inputs' 8815 ac_out='"$tmp/out1"' 8816 ac_nxt='"$tmp/out2"' 8817 8818 while : 8819 do 8820 # Write a here document: 8821 cat >>$CONFIG_STATUS <<_ACEOF 8822 # First, check the format of the line: 8823 cat >"\$tmp/defines.sed" <<\\CEOF 8824 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 8825 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 8826 b 8827 :def 8828 _ACEOF 8829 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 8830 echo 'CEOF 8831 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 8832 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 8833 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 8834 grep . conftest.tail >/dev/null || break 8835 rm -f conftest.defines 8836 mv conftest.tail conftest.defines 8837 done 8838 rm -f conftest.defines conftest.tail 8839 8840 echo "ac_result=$ac_in" >>$CONFIG_STATUS 8841 cat >>$CONFIG_STATUS <<\_ACEOF 8842 if test x"$ac_file" != x-; then 8843 echo "/* $configure_input */" >"$tmp/config.h" 8844 cat "$ac_result" >>"$tmp/config.h" 8845 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 8846 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8847 echo "$as_me: $ac_file is unchanged" >&6;} 8848 else 8849 rm -f $ac_file 8850 mv "$tmp/config.h" $ac_file 8851 fi 8852 else 8853 echo "/* $configure_input */" 8854 cat "$ac_result" 8855 fi 8856 rm -f "$tmp/out12" 8857 # Compute $ac_file's index in $config_headers. 8858 _am_stamp_count=1 8859 for _am_header in $config_headers :; do 8860 case $_am_header in 8861 $ac_file | $ac_file:* ) 8862 break ;; 8863 * ) 8864 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 8865 esac 8866 done 8867 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 8868 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8869 X$ac_file : 'X\(//\)[^/]' \| \ 8870 X$ac_file : 'X\(//\)$' \| \ 8871 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 8872 echo X$ac_file | 8873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8874 s//\1/ 8875 q 8876 } 8877 /^X\(\/\/\)[^/].*/{ 8878 s//\1/ 8879 q 8880 } 8881 /^X\(\/\/\)$/{ 8882 s//\1/ 8883 q 8884 } 8885 /^X\(\/\).*/{ 8886 s//\1/ 8887 q 8888 } 8889 s/.*/./; q'`/stamp-h$_am_stamp_count 8890 ;; 8891 8892 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 8893 echo "$as_me: executing $ac_file commands" >&6;} 8894 ;; 8895 esac 8896 8897 8898 case $ac_file$ac_mode in 8899 "po-directories":C) 8900 for ac_file in $CONFIG_FILES; do 8901 # Support "outfile[:infile[:infile...]]" 8902 case "$ac_file" in 8903 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 8904 esac 8905 # PO directories have a Makefile.in generated from Makefile.in.in. 8906 case "$ac_file" in */Makefile.in) 8907 # Adjust a relative srcdir. 8908 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 8909 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 8910 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 8911 # In autoconf-2.13 it is called $ac_given_srcdir. 8912 # In autoconf-2.50 it is called $srcdir. 8913 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 8914 case "$ac_given_srcdir" in 8915 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 8916 /*) top_srcdir="$ac_given_srcdir" ;; 8917 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 8918 esac 8919 # Treat a directory as a PO directory if and only if it has a 8920 # POTFILES.in file. This allows packages to have multiple PO 8921 # directories under different names or in different locations. 8922 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 8923 rm -f "$ac_dir/POTFILES" 8924 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 8925 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 8926 POMAKEFILEDEPS="POTFILES.in" 8927 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 8928 # on $ac_dir but don't depend on user-specified configuration 8929 # parameters. 8930 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 8931 # The LINGUAS file contains the set of available languages. 8932 if test -n "$OBSOLETE_ALL_LINGUAS"; then 8933 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 8934 fi 8935 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 8936 # Hide the ALL_LINGUAS assigment from automake < 1.5. 8937 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 8938 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 8939 else 8940 # The set of available languages was given in configure.in. 8941 # Hide the ALL_LINGUAS assigment from automake < 1.5. 8942 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 8943 fi 8944 # Compute POFILES 8945 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 8946 # Compute UPDATEPOFILES 8947 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 8948 # Compute DUMMYPOFILES 8949 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 8950 # Compute GMOFILES 8951 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 8952 case "$ac_given_srcdir" in 8953 .) srcdirpre= ;; 8954 *) srcdirpre='$(srcdir)/' ;; 8955 esac 8956 POFILES= 8957 UPDATEPOFILES= 8958 DUMMYPOFILES= 8959 GMOFILES= 8960 for lang in $ALL_LINGUAS; do 8961 POFILES="$POFILES $srcdirpre$lang.po" 8962 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 8963 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 8964 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 8965 done 8966 # CATALOGS depends on both $ac_dir and the user's LINGUAS 8967 # environment variable. 8968 INST_LINGUAS= 8969 if test -n "$ALL_LINGUAS"; then 8970 for presentlang in $ALL_LINGUAS; do 8971 useit=no 8972 if test "%UNSET%" != "$LINGUAS"; then 8973 desiredlanguages="$LINGUAS" 8974 else 8975 desiredlanguages="$ALL_LINGUAS" 8976 fi 8977 for desiredlang in $desiredlanguages; do 8978 # Use the presentlang catalog if desiredlang is 8979 # a. equal to presentlang, or 8980 # b. a variant of presentlang (because in this case, 8981 # presentlang can be used as a fallback for messages 8982 # which are not translated in the desiredlang catalog). 8983 case "$desiredlang" in 8984 "$presentlang"*) useit=yes;; 8985 esac 8986 done 8987 if test $useit = yes; then 8988 INST_LINGUAS="$INST_LINGUAS $presentlang" 8989 fi 8990 done 8991 fi 8992 CATALOGS= 8993 if test -n "$INST_LINGUAS"; then 8994 for lang in $INST_LINGUAS; do 8995 CATALOGS="$CATALOGS $lang.gmo" 8996 done 8997 fi 8998 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 8999 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 9000 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 9001 if test -f "$f"; then 9002 case "$f" in 9003 *.orig | *.bak | *~) ;; 9004 *) cat "$f" >> "$ac_dir/Makefile" ;; 9005 esac 9006 fi 9007 done 9008 fi 9009 ;; 9010 esac 9011 done ;; 9012 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 9013 # Strip MF so we end up with the name of the file. 9014 mf=`echo "$mf" | sed -e 's/:.*$//'` 9015 # Check whether this is an Automake generated Makefile or not. 9016 # We used to match only the files named `Makefile.in', but 9017 # some people rename them; so instead we look at the file content. 9018 # Grep'ing the first line is not enough: some people post-process 9019 # each Makefile.in and add a new line on top of each file to say so. 9020 # So let's grep whole file. 9021 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 9022 dirpart=`$as_dirname -- "$mf" || 9023 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9024 X"$mf" : 'X\(//\)[^/]' \| \ 9025 X"$mf" : 'X\(//\)$' \| \ 9026 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9027 echo X"$mf" | 9028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9029 s//\1/ 9030 q 9031 } 9032 /^X\(\/\/\)[^/].*/{ 9033 s//\1/ 9034 q 9035 } 9036 /^X\(\/\/\)$/{ 9037 s//\1/ 9038 q 9039 } 9040 /^X\(\/\).*/{ 9041 s//\1/ 9042 q 9043 } 9044 s/.*/./; q'` 9045 else 9046 continue 9047 fi 9048 # Extract the definition of DEPDIR, am__include, and am__quote 9049 # from the Makefile without running `make'. 9050 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 9051 test -z "$DEPDIR" && continue 9052 am__include=`sed -n 's/^am__include = //p' < "$mf"` 9053 test -z "am__include" && continue 9054 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 9055 # When using ansi2knr, U may be empty or an underscore; expand it 9056 U=`sed -n 's/^U = //p' < "$mf"` 9057 # Find all dependency output files, they are included files with 9058 # $(DEPDIR) in their names. We invoke sed twice because it is the 9059 # simplest approach to changing $(DEPDIR) to its actual value in the 9060 # expansion. 9061 for file in `sed -n " 9062 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 9063 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 9064 # Make sure the directory exists. 9065 test -f "$dirpart/$file" && continue 9066 fdir=`$as_dirname -- "$file" || 9067 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9068 X"$file" : 'X\(//\)[^/]' \| \ 9069 X"$file" : 'X\(//\)$' \| \ 9070 X"$file" : 'X\(/\)' \| . 2>/dev/null || 9071 echo X"$file" | 9072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9073 s//\1/ 9074 q 9075 } 9076 /^X\(\/\/\)[^/].*/{ 9077 s//\1/ 9078 q 9079 } 9080 /^X\(\/\/\)$/{ 9081 s//\1/ 9082 q 9083 } 9084 /^X\(\/\).*/{ 9085 s//\1/ 9086 q 9087 } 9088 s/.*/./; q'` 9089 { as_dir=$dirpart/$fdir 9090 case $as_dir in #( 9091 -*) as_dir=./$as_dir;; 9092 esac 9093 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9094 as_dirs= 9095 while :; do 9096 case $as_dir in #( 9097 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 9098 *) as_qdir=$as_dir;; 9099 esac 9100 as_dirs="'$as_qdir' $as_dirs" 9101 as_dir=`$as_dirname -- "$as_dir" || 9102 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9103 X"$as_dir" : 'X\(//\)[^/]' \| \ 9104 X"$as_dir" : 'X\(//\)$' \| \ 9105 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9106 echo X"$as_dir" | 9107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9108 s//\1/ 9109 q 9110 } 9111 /^X\(\/\/\)[^/].*/{ 9112 s//\1/ 9113 q 9114 } 9115 /^X\(\/\/\)$/{ 9116 s//\1/ 9117 q 9118 } 9119 /^X\(\/\).*/{ 9120 s//\1/ 9121 q 9122 } 9123 s/.*/./; q'` 9124 test -d "$as_dir" && break 9125 done 9126 test -z "$as_dirs" || eval "mkdir $as_dirs" 9127 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9128 echo "$as_me: error: cannot create directory $as_dir" >&2;} 9129 { (exit 1); exit 1; }; }; } 9130 # echo "creating $dirpart/$file" 9131 echo '# dummy' > "$dirpart/$file" 9132 done 9133 done 9134 ;; 9135 9136 esac 9137 done # for ac_tag 9138 9139 9140 { (exit 0); exit 0; } 9141 _ACEOF 9142 chmod +x $CONFIG_STATUS 9143 ac_clean_files=$ac_clean_files_save 9144 9145 9146 # configure is writing to config.log, and then calls config.status. 9147 # config.status does its own redirection, appending to config.log. 9148 # Unfortunately, on DOS this fails, as config.log is still kept open 9149 # by configure, so config.status won't be able to write to it; its 9150 # output is simply discarded. So we exec the FD to /dev/null, 9151 # effectively closing config.log, so it can be properly (re)opened and 9152 # appended to by config.status. When coming back to configure, we 9153 # need to make the FD available again. 9154 if test "$no_create" != yes; then 9155 ac_cs_success=: 9156 ac_config_status_args= 9157 test "$silent" = yes && 9158 ac_config_status_args="$ac_config_status_args --quiet" 9159 exec 5>/dev/null 9160 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9161 exec 5>>config.log 9162 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9163 # would make configure fail if this is the last instruction. 9164 $ac_cs_success || { (exit 1); exit 1; } 9165 fi 9166 9167 9168 9169