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