1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61. 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=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572# Identity of this package. 573PACKAGE_NAME= 574PACKAGE_TARNAME= 575PACKAGE_VERSION= 576PACKAGE_STRING= 577PACKAGE_BUGREPORT= 578 579ac_unique_file="./tools/configure.in" 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 617CXX 618CXXFLAGS 619LDFLAGS 620CPPFLAGS 621ac_ct_CXX 622EXEEXT 623OBJEXT 624LIBOBJS 625LTLIBOBJS' 626ac_subst_files='' 627 ac_precious_vars='build_alias 628host_alias 629target_alias 630CXX 631CXXFLAGS 632LDFLAGS 633LIBS 634CPPFLAGS 635CCC' 636 637 638# Initialize some variables set by options. 639ac_init_help= 640ac_init_version=false 641# The variables have the same names as the options, with 642# dashes changed to underlines. 643cache_file=/dev/null 644exec_prefix=NONE 645no_create= 646no_recursion= 647prefix=NONE 648program_prefix=NONE 649program_suffix=NONE 650program_transform_name=s,x,x, 651silent= 652site= 653srcdir= 654verbose= 655x_includes=NONE 656x_libraries=NONE 657 658# Installation directory options. 659# These are left unexpanded so users can "make install exec_prefix=/foo" 660# and all the variables that are supposed to be based on exec_prefix 661# by default will actually change. 662# Use braces instead of parens because sh, perl, etc. also accept them. 663# (The list follows the same order as the GNU Coding Standards.) 664bindir='${exec_prefix}/bin' 665sbindir='${exec_prefix}/sbin' 666libexecdir='${exec_prefix}/libexec' 667datarootdir='${prefix}/share' 668datadir='${datarootdir}' 669sysconfdir='${prefix}/etc' 670sharedstatedir='${prefix}/com' 671localstatedir='${prefix}/var' 672includedir='${prefix}/include' 673oldincludedir='/usr/include' 674docdir='${datarootdir}/doc/${PACKAGE}' 675infodir='${datarootdir}/info' 676htmldir='${docdir}' 677dvidir='${docdir}' 678pdfdir='${docdir}' 679psdir='${docdir}' 680libdir='${exec_prefix}/lib' 681localedir='${datarootdir}/locale' 682mandir='${datarootdir}/man' 683 684ac_prev= 685ac_dashdash= 686for ac_option 687do 688 # If the previous option needs an argument, assign it. 689 if test -n "$ac_prev"; then 690 eval $ac_prev=\$ac_option 691 ac_prev= 692 continue 693 fi 694 695 case $ac_option in 696 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 697 *) ac_optarg=yes ;; 698 esac 699 700 # Accept the important Cygnus configure options, so we can diagnose typos. 701 702 case $ac_dashdash$ac_option in 703 --) 704 ac_dashdash=yes ;; 705 706 -bindir | --bindir | --bindi | --bind | --bin | --bi) 707 ac_prev=bindir ;; 708 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 709 bindir=$ac_optarg ;; 710 711 -build | --build | --buil | --bui | --bu) 712 ac_prev=build_alias ;; 713 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 714 build_alias=$ac_optarg ;; 715 716 -cache-file | --cache-file | --cache-fil | --cache-fi \ 717 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 718 ac_prev=cache_file ;; 719 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 720 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 721 cache_file=$ac_optarg ;; 722 723 --config-cache | -C) 724 cache_file=config.cache ;; 725 726 -datadir | --datadir | --datadi | --datad) 727 ac_prev=datadir ;; 728 -datadir=* | --datadir=* | --datadi=* | --datad=*) 729 datadir=$ac_optarg ;; 730 731 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 732 | --dataroo | --dataro | --datar) 733 ac_prev=datarootdir ;; 734 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 735 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 736 datarootdir=$ac_optarg ;; 737 738 -disable-* | --disable-*) 739 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 740 # Reject names that are not valid shell variable names. 741 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 742 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 743 { (exit 1); exit 1; }; } 744 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 745 eval enable_$ac_feature=no ;; 746 747 -docdir | --docdir | --docdi | --doc | --do) 748 ac_prev=docdir ;; 749 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 750 docdir=$ac_optarg ;; 751 752 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 753 ac_prev=dvidir ;; 754 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 755 dvidir=$ac_optarg ;; 756 757 -enable-* | --enable-*) 758 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 759 # Reject names that are not valid shell variable names. 760 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 761 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 762 { (exit 1); exit 1; }; } 763 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 764 eval enable_$ac_feature=\$ac_optarg ;; 765 766 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 767 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 768 | --exec | --exe | --ex) 769 ac_prev=exec_prefix ;; 770 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 771 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 772 | --exec=* | --exe=* | --ex=*) 773 exec_prefix=$ac_optarg ;; 774 775 -gas | --gas | --ga | --g) 776 # Obsolete; use --with-gas. 777 with_gas=yes ;; 778 779 -help | --help | --hel | --he | -h) 780 ac_init_help=long ;; 781 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 782 ac_init_help=recursive ;; 783 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 784 ac_init_help=short ;; 785 786 -host | --host | --hos | --ho) 787 ac_prev=host_alias ;; 788 -host=* | --host=* | --hos=* | --ho=*) 789 host_alias=$ac_optarg ;; 790 791 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 792 ac_prev=htmldir ;; 793 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 794 | --ht=*) 795 htmldir=$ac_optarg ;; 796 797 -includedir | --includedir | --includedi | --included | --include \ 798 | --includ | --inclu | --incl | --inc) 799 ac_prev=includedir ;; 800 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 801 | --includ=* | --inclu=* | --incl=* | --inc=*) 802 includedir=$ac_optarg ;; 803 804 -infodir | --infodir | --infodi | --infod | --info | --inf) 805 ac_prev=infodir ;; 806 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 807 infodir=$ac_optarg ;; 808 809 -libdir | --libdir | --libdi | --libd) 810 ac_prev=libdir ;; 811 -libdir=* | --libdir=* | --libdi=* | --libd=*) 812 libdir=$ac_optarg ;; 813 814 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 815 | --libexe | --libex | --libe) 816 ac_prev=libexecdir ;; 817 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 818 | --libexe=* | --libex=* | --libe=*) 819 libexecdir=$ac_optarg ;; 820 821 -localedir | --localedir | --localedi | --localed | --locale) 822 ac_prev=localedir ;; 823 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 824 localedir=$ac_optarg ;; 825 826 -localstatedir | --localstatedir | --localstatedi | --localstated \ 827 | --localstate | --localstat | --localsta | --localst | --locals) 828 ac_prev=localstatedir ;; 829 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 830 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 831 localstatedir=$ac_optarg ;; 832 833 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 834 ac_prev=mandir ;; 835 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 836 mandir=$ac_optarg ;; 837 838 -nfp | --nfp | --nf) 839 # Obsolete; use --without-fp. 840 with_fp=no ;; 841 842 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 843 | --no-cr | --no-c | -n) 844 no_create=yes ;; 845 846 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 847 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 848 no_recursion=yes ;; 849 850 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 851 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 852 | --oldin | --oldi | --old | --ol | --o) 853 ac_prev=oldincludedir ;; 854 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 855 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 856 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 857 oldincludedir=$ac_optarg ;; 858 859 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 860 ac_prev=prefix ;; 861 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 862 prefix=$ac_optarg ;; 863 864 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 865 | --program-pre | --program-pr | --program-p) 866 ac_prev=program_prefix ;; 867 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 868 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 869 program_prefix=$ac_optarg ;; 870 871 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 872 | --program-suf | --program-su | --program-s) 873 ac_prev=program_suffix ;; 874 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 875 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 876 program_suffix=$ac_optarg ;; 877 878 -program-transform-name | --program-transform-name \ 879 | --program-transform-nam | --program-transform-na \ 880 | --program-transform-n | --program-transform- \ 881 | --program-transform | --program-transfor \ 882 | --program-transfo | --program-transf \ 883 | --program-trans | --program-tran \ 884 | --progr-tra | --program-tr | --program-t) 885 ac_prev=program_transform_name ;; 886 -program-transform-name=* | --program-transform-name=* \ 887 | --program-transform-nam=* | --program-transform-na=* \ 888 | --program-transform-n=* | --program-transform-=* \ 889 | --program-transform=* | --program-transfor=* \ 890 | --program-transfo=* | --program-transf=* \ 891 | --program-trans=* | --program-tran=* \ 892 | --progr-tra=* | --program-tr=* | --program-t=*) 893 program_transform_name=$ac_optarg ;; 894 895 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 896 ac_prev=pdfdir ;; 897 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 898 pdfdir=$ac_optarg ;; 899 900 -psdir | --psdir | --psdi | --psd | --ps) 901 ac_prev=psdir ;; 902 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 903 psdir=$ac_optarg ;; 904 905 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 906 | -silent | --silent | --silen | --sile | --sil) 907 silent=yes ;; 908 909 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 910 ac_prev=sbindir ;; 911 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 912 | --sbi=* | --sb=*) 913 sbindir=$ac_optarg ;; 914 915 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 916 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 917 | --sharedst | --shareds | --shared | --share | --shar \ 918 | --sha | --sh) 919 ac_prev=sharedstatedir ;; 920 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 921 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 922 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 923 | --sha=* | --sh=*) 924 sharedstatedir=$ac_optarg ;; 925 926 -site | --site | --sit) 927 ac_prev=site ;; 928 -site=* | --site=* | --sit=*) 929 site=$ac_optarg ;; 930 931 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 932 ac_prev=srcdir ;; 933 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 934 srcdir=$ac_optarg ;; 935 936 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 937 | --syscon | --sysco | --sysc | --sys | --sy) 938 ac_prev=sysconfdir ;; 939 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 940 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 941 sysconfdir=$ac_optarg ;; 942 943 -target | --target | --targe | --targ | --tar | --ta | --t) 944 ac_prev=target_alias ;; 945 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 946 target_alias=$ac_optarg ;; 947 948 -v | -verbose | --verbose | --verbos | --verbo | --verb) 949 verbose=yes ;; 950 951 -version | --version | --versio | --versi | --vers | -V) 952 ac_init_version=: ;; 953 954 -with-* | --with-*) 955 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 956 # Reject names that are not valid shell variable names. 957 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 958 { echo "$as_me: error: invalid package name: $ac_package" >&2 959 { (exit 1); exit 1; }; } 960 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 961 eval with_$ac_package=\$ac_optarg ;; 962 963 -without-* | --without-*) 964 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 965 # Reject names that are not valid shell variable names. 966 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 967 { echo "$as_me: error: invalid package name: $ac_package" >&2 968 { (exit 1); exit 1; }; } 969 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 970 eval with_$ac_package=no ;; 971 972 --x) 973 # Obsolete; use --with-x. 974 with_x=yes ;; 975 976 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 977 | --x-incl | --x-inc | --x-in | --x-i) 978 ac_prev=x_includes ;; 979 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 980 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 981 x_includes=$ac_optarg ;; 982 983 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 984 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 985 ac_prev=x_libraries ;; 986 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 987 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 988 x_libraries=$ac_optarg ;; 989 990 -*) { echo "$as_me: error: unrecognized option: $ac_option 991Try \`$0 --help' for more information." >&2 992 { (exit 1); exit 1; }; } 993 ;; 994 995 *=*) 996 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 997 # Reject names that are not valid shell variable names. 998 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 999 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1000 { (exit 1); exit 1; }; } 1001 eval $ac_envvar=\$ac_optarg 1002 export $ac_envvar ;; 1003 1004 *) 1005 # FIXME: should be removed in autoconf 3.0. 1006 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1007 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1008 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1009 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1010 ;; 1011 1012 esac 1013done 1014 1015if test -n "$ac_prev"; then 1016 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1017 { echo "$as_me: error: missing argument to $ac_option" >&2 1018 { (exit 1); exit 1; }; } 1019fi 1020 1021# Be sure to have absolute directory names. 1022for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1023 datadir sysconfdir sharedstatedir localstatedir includedir \ 1024 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1025 libdir localedir mandir 1026do 1027 eval ac_val=\$$ac_var 1028 case $ac_val in 1029 [\\/$]* | ?:[\\/]* ) continue;; 1030 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1031 esac 1032 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1033 { (exit 1); exit 1; }; } 1034done 1035 1036# There might be people who depend on the old broken behavior: `$host' 1037# used to hold the argument of --host etc. 1038# FIXME: To remove some day. 1039build=$build_alias 1040host=$host_alias 1041target=$target_alias 1042 1043# FIXME: To remove some day. 1044if test "x$host_alias" != x; then 1045 if test "x$build_alias" = x; then 1046 cross_compiling=maybe 1047 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1048 If a cross compiler is detected then cross compile mode will be used." >&2 1049 elif test "x$build_alias" != "x$host_alias"; then 1050 cross_compiling=yes 1051 fi 1052fi 1053 1054ac_tool_prefix= 1055test -n "$host_alias" && ac_tool_prefix=$host_alias- 1056 1057test "$silent" = yes && exec 6>/dev/null 1058 1059 1060ac_pwd=`pwd` && test -n "$ac_pwd" && 1061ac_ls_di=`ls -di .` && 1062ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1063 { echo "$as_me: error: Working directory cannot be determined" >&2 1064 { (exit 1); exit 1; }; } 1065test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1066 { echo "$as_me: error: pwd does not report name of working directory" >&2 1067 { (exit 1); exit 1; }; } 1068 1069 1070# Find the source files, if location was not specified. 1071if test -z "$srcdir"; then 1072 ac_srcdir_defaulted=yes 1073 # Try the directory containing this script, then the parent directory. 1074 ac_confdir=`$as_dirname -- "$0" || 1075$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1076 X"$0" : 'X\(//\)[^/]' \| \ 1077 X"$0" : 'X\(//\)$' \| \ 1078 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1079echo X"$0" | 1080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1081 s//\1/ 1082 q 1083 } 1084 /^X\(\/\/\)[^/].*/{ 1085 s//\1/ 1086 q 1087 } 1088 /^X\(\/\/\)$/{ 1089 s//\1/ 1090 q 1091 } 1092 /^X\(\/\).*/{ 1093 s//\1/ 1094 q 1095 } 1096 s/.*/./; q'` 1097 srcdir=$ac_confdir 1098 if test ! -r "$srcdir/$ac_unique_file"; then 1099 srcdir=.. 1100 fi 1101else 1102 ac_srcdir_defaulted=no 1103fi 1104if test ! -r "$srcdir/$ac_unique_file"; then 1105 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1106 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1107 { (exit 1); exit 1; }; } 1108fi 1109ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1110ac_abs_confdir=`( 1111 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1112 { (exit 1); exit 1; }; } 1113 pwd)` 1114# When building in place, set srcdir=. 1115if test "$ac_abs_confdir" = "$ac_pwd"; then 1116 srcdir=. 1117fi 1118# Remove unnecessary trailing slashes from srcdir. 1119# Double slashes in file names in object file debugging info 1120# mess up M-x gdb in Emacs. 1121case $srcdir in 1122*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1123esac 1124for ac_var in $ac_precious_vars; do 1125 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1126 eval ac_env_${ac_var}_value=\$${ac_var} 1127 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1128 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1129done 1130 1131# 1132# Report the --help message. 1133# 1134if test "$ac_init_help" = "long"; then 1135 # Omit some internal or obsolete options to make the list less imposing. 1136 # This message is too long to be a string in the A/UX 3.1 sh. 1137 cat <<_ACEOF 1138\`configure' configures this package to adapt to many kinds of systems. 1139 1140Usage: $0 [OPTION]... [VAR=VALUE]... 1141 1142To assign environment variables (e.g., CC, CFLAGS...), specify them as 1143VAR=VALUE. See below for descriptions of some of the useful variables. 1144 1145Defaults for the options are specified in brackets. 1146 1147Configuration: 1148 -h, --help display this help and exit 1149 --help=short display options specific to this package 1150 --help=recursive display the short help of all the included packages 1151 -V, --version display version information and exit 1152 -q, --quiet, --silent do not print \`checking...' messages 1153 --cache-file=FILE cache test results in FILE [disabled] 1154 -C, --config-cache alias for \`--cache-file=config.cache' 1155 -n, --no-create do not create output files 1156 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1157 1158Installation directories: 1159 --prefix=PREFIX install architecture-independent files in PREFIX 1160 [$ac_default_prefix] 1161 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1162 [PREFIX] 1163 1164By default, \`make install' will install all the files in 1165\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1166an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1167for instance \`--prefix=\$HOME'. 1168 1169For better control, use the options below. 1170 1171Fine tuning of the installation directories: 1172 --bindir=DIR user executables [EPREFIX/bin] 1173 --sbindir=DIR system admin executables [EPREFIX/sbin] 1174 --libexecdir=DIR program executables [EPREFIX/libexec] 1175 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1176 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1177 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1178 --libdir=DIR object code libraries [EPREFIX/lib] 1179 --includedir=DIR C header files [PREFIX/include] 1180 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1181 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1182 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1183 --infodir=DIR info documentation [DATAROOTDIR/info] 1184 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1185 --mandir=DIR man documentation [DATAROOTDIR/man] 1186 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1187 --htmldir=DIR html documentation [DOCDIR] 1188 --dvidir=DIR dvi documentation [DOCDIR] 1189 --pdfdir=DIR pdf documentation [DOCDIR] 1190 --psdir=DIR ps documentation [DOCDIR] 1191_ACEOF 1192 1193 cat <<\_ACEOF 1194_ACEOF 1195fi 1196 1197if test -n "$ac_init_help"; then 1198 1199 cat <<\_ACEOF 1200 1201Optional Features: 1202 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1203 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1204--enable-test tests current settings rather than defining new ones 1205--enable-extension=<ext> 1206 1207Optional Packages: 1208 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1209 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1210 --with-boost=DIR path to the boost main tree 1211 1212Some influential environment variables: 1213 CXX C++ compiler command 1214 CXXFLAGS C++ compiler flags 1215 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1216 nonstandard directory <lib dir> 1217 LIBS libraries to pass to the linker, e.g. -l<library> 1218 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1219 you have headers in a nonstandard directory <include dir> 1220 1221Use these variables to override the choices made by `configure' or to help 1222it to find libraries and programs with nonstandard names/locations. 1223 1224_ACEOF 1225ac_status=$? 1226fi 1227 1228if test "$ac_init_help" = "recursive"; then 1229 # If there are subdirs, report their specific --help. 1230 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1231 test -d "$ac_dir" || continue 1232 ac_builddir=. 1233 1234case "$ac_dir" in 1235.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1236*) 1237 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1238 # A ".." for each directory in $ac_dir_suffix. 1239 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1240 case $ac_top_builddir_sub in 1241 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1242 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1243 esac ;; 1244esac 1245ac_abs_top_builddir=$ac_pwd 1246ac_abs_builddir=$ac_pwd$ac_dir_suffix 1247# for backward compatibility: 1248ac_top_builddir=$ac_top_build_prefix 1249 1250case $srcdir in 1251 .) # We are building in place. 1252 ac_srcdir=. 1253 ac_top_srcdir=$ac_top_builddir_sub 1254 ac_abs_top_srcdir=$ac_pwd ;; 1255 [\\/]* | ?:[\\/]* ) # Absolute name. 1256 ac_srcdir=$srcdir$ac_dir_suffix; 1257 ac_top_srcdir=$srcdir 1258 ac_abs_top_srcdir=$srcdir ;; 1259 *) # Relative name. 1260 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1261 ac_top_srcdir=$ac_top_build_prefix$srcdir 1262 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1263esac 1264ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1265 1266 cd "$ac_dir" || { ac_status=$?; continue; } 1267 # Check for guested configure. 1268 if test -f "$ac_srcdir/configure.gnu"; then 1269 echo && 1270 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1271 elif test -f "$ac_srcdir/configure"; then 1272 echo && 1273 $SHELL "$ac_srcdir/configure" --help=recursive 1274 else 1275 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1276 fi || ac_status=$? 1277 cd "$ac_pwd" || { ac_status=$?; break; } 1278 done 1279fi 1280 1281test -n "$ac_init_help" && exit $ac_status 1282if $ac_init_version; then 1283 cat <<\_ACEOF 1284configure 1285generated by GNU Autoconf 2.61 1286 1287Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 12882002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1289This configure script is free software; the Free Software Foundation 1290gives unlimited permission to copy, distribute and modify it. 1291_ACEOF 1292 exit 1293fi 1294cat >config.log <<_ACEOF 1295This file contains any messages produced by compilers while 1296running configure, to aid debugging if configure makes a mistake. 1297 1298It was created by $as_me, which was 1299generated by GNU Autoconf 2.61. Invocation command line was 1300 1301 $ $0 $@ 1302 1303_ACEOF 1304exec 5>>config.log 1305{ 1306cat <<_ASUNAME 1307## --------- ## 1308## Platform. ## 1309## --------- ## 1310 1311hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1312uname -m = `(uname -m) 2>/dev/null || echo unknown` 1313uname -r = `(uname -r) 2>/dev/null || echo unknown` 1314uname -s = `(uname -s) 2>/dev/null || echo unknown` 1315uname -v = `(uname -v) 2>/dev/null || echo unknown` 1316 1317/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1318/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1319 1320/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1321/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1322/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1323/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1324/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1325/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1326/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1327 1328_ASUNAME 1329 1330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1331for as_dir in $PATH 1332do 1333 IFS=$as_save_IFS 1334 test -z "$as_dir" && as_dir=. 1335 echo "PATH: $as_dir" 1336done 1337IFS=$as_save_IFS 1338 1339} >&5 1340 1341cat >&5 <<_ACEOF 1342 1343 1344## ----------- ## 1345## Core tests. ## 1346## ----------- ## 1347 1348_ACEOF 1349 1350 1351# Keep a trace of the command line. 1352# Strip out --no-create and --no-recursion so they do not pile up. 1353# Strip out --silent because we don't want to record it for future runs. 1354# Also quote any args containing shell meta-characters. 1355# Make two passes to allow for proper duplicate-argument suppression. 1356ac_configure_args= 1357ac_configure_args0= 1358ac_configure_args1= 1359ac_must_keep_next=false 1360for ac_pass in 1 2 1361do 1362 for ac_arg 1363 do 1364 case $ac_arg in 1365 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1367 | -silent | --silent | --silen | --sile | --sil) 1368 continue ;; 1369 *\'*) 1370 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1371 esac 1372 case $ac_pass in 1373 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1374 2) 1375 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1376 if test $ac_must_keep_next = true; then 1377 ac_must_keep_next=false # Got value, back to normal. 1378 else 1379 case $ac_arg in 1380 *=* | --config-cache | -C | -disable-* | --disable-* \ 1381 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1382 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1383 | -with-* | --with-* | -without-* | --without-* | --x) 1384 case "$ac_configure_args0 " in 1385 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1386 esac 1387 ;; 1388 -* ) ac_must_keep_next=true ;; 1389 esac 1390 fi 1391 ac_configure_args="$ac_configure_args '$ac_arg'" 1392 ;; 1393 esac 1394 done 1395done 1396$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1397$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1398 1399# When interrupted or exit'd, cleanup temporary files, and complete 1400# config.log. We remove comments because anyway the quotes in there 1401# would cause problems or look ugly. 1402# WARNING: Use '\'' to represent an apostrophe within the trap. 1403# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1404trap 'exit_status=$? 1405 # Save into config.log some information that might help in debugging. 1406 { 1407 echo 1408 1409 cat <<\_ASBOX 1410## ---------------- ## 1411## Cache variables. ## 1412## ---------------- ## 1413_ASBOX 1414 echo 1415 # The following way of writing the cache mishandles newlines in values, 1416( 1417 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1418 eval ac_val=\$$ac_var 1419 case $ac_val in #( 1420 *${as_nl}*) 1421 case $ac_var in #( 1422 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1423echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1424 esac 1425 case $ac_var in #( 1426 _ | IFS | as_nl) ;; #( 1427 *) $as_unset $ac_var ;; 1428 esac ;; 1429 esac 1430 done 1431 (set) 2>&1 | 1432 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1433 *${as_nl}ac_space=\ *) 1434 sed -n \ 1435 "s/'\''/'\''\\\\'\'''\''/g; 1436 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1437 ;; #( 1438 *) 1439 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1440 ;; 1441 esac | 1442 sort 1443) 1444 echo 1445 1446 cat <<\_ASBOX 1447## ----------------- ## 1448## Output variables. ## 1449## ----------------- ## 1450_ASBOX 1451 echo 1452 for ac_var in $ac_subst_vars 1453 do 1454 eval ac_val=\$$ac_var 1455 case $ac_val in 1456 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1457 esac 1458 echo "$ac_var='\''$ac_val'\''" 1459 done | sort 1460 echo 1461 1462 if test -n "$ac_subst_files"; then 1463 cat <<\_ASBOX 1464## ------------------- ## 1465## File substitutions. ## 1466## ------------------- ## 1467_ASBOX 1468 echo 1469 for ac_var in $ac_subst_files 1470 do 1471 eval ac_val=\$$ac_var 1472 case $ac_val in 1473 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1474 esac 1475 echo "$ac_var='\''$ac_val'\''" 1476 done | sort 1477 echo 1478 fi 1479 1480 if test -s confdefs.h; then 1481 cat <<\_ASBOX 1482## ----------- ## 1483## confdefs.h. ## 1484## ----------- ## 1485_ASBOX 1486 echo 1487 cat confdefs.h 1488 echo 1489 fi 1490 test "$ac_signal" != 0 && 1491 echo "$as_me: caught signal $ac_signal" 1492 echo "$as_me: exit $exit_status" 1493 } >&5 1494 rm -f core *.core core.conftest.* && 1495 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1496 exit $exit_status 1497' 0 1498for ac_signal in 1 2 13 15; do 1499 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1500done 1501ac_signal=0 1502 1503# confdefs.h avoids OS command line length limits that DEFS can exceed. 1504rm -f -r conftest* confdefs.h 1505 1506# Predefined preprocessor variables. 1507 1508cat >>confdefs.h <<_ACEOF 1509#define PACKAGE_NAME "$PACKAGE_NAME" 1510_ACEOF 1511 1512 1513cat >>confdefs.h <<_ACEOF 1514#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1515_ACEOF 1516 1517 1518cat >>confdefs.h <<_ACEOF 1519#define PACKAGE_VERSION "$PACKAGE_VERSION" 1520_ACEOF 1521 1522 1523cat >>confdefs.h <<_ACEOF 1524#define PACKAGE_STRING "$PACKAGE_STRING" 1525_ACEOF 1526 1527 1528cat >>confdefs.h <<_ACEOF 1529#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1530_ACEOF 1531 1532 1533# Let the site file select an alternate cache file if it wants to. 1534# Prefer explicitly selected file to automatically selected ones. 1535if test -n "$CONFIG_SITE"; then 1536 set x "$CONFIG_SITE" 1537elif test "x$prefix" != xNONE; then 1538 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1539else 1540 set x "$ac_default_prefix/share/config.site" \ 1541 "$ac_default_prefix/etc/config.site" 1542fi 1543shift 1544for ac_site_file 1545do 1546 if test -r "$ac_site_file"; then 1547 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1548echo "$as_me: loading site script $ac_site_file" >&6;} 1549 sed 's/^/| /' "$ac_site_file" >&5 1550 . "$ac_site_file" 1551 fi 1552done 1553 1554 1555# Check that the precious variables saved in the cache have kept the same 1556# value. 1557ac_cache_corrupted=false 1558for ac_var in $ac_precious_vars; do 1559 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1560 eval ac_new_set=\$ac_env_${ac_var}_set 1561 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1562 eval ac_new_val=\$ac_env_${ac_var}_value 1563 case $ac_old_set,$ac_new_set in 1564 set,) 1565 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1566echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1567 ac_cache_corrupted=: ;; 1568 ,set) 1569 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1570echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1571 ac_cache_corrupted=: ;; 1572 ,);; 1573 *) 1574 if test "x$ac_old_val" != "x$ac_new_val"; then 1575 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1576echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1577 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1578echo "$as_me: former value: $ac_old_val" >&2;} 1579 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1580echo "$as_me: current value: $ac_new_val" >&2;} 1581 ac_cache_corrupted=: 1582 fi;; 1583 esac 1584 # Pass precious variables to config.status. 1585 if test "$ac_new_set" = set; then 1586 case $ac_new_val in 1587 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1588 *) ac_arg=$ac_var=$ac_new_val ;; 1589 esac 1590 case " $ac_configure_args " in 1591 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1592 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1593 esac 1594 fi 1595done 1596if $ac_cache_corrupted; then 1597 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1598echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1599 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1600echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1601 { (exit 1); exit 1; }; } 1602fi 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620ac_ext=c 1621ac_cpp='$CPP $CPPFLAGS' 1622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1624ac_compiler_gnu=$ac_cv_c_compiler_gnu 1625 1626 1627 1628 1629# Check whether --enable-test was given. 1630if test "${enable_test+set}" = set; then 1631 enableval=$enable_test; 1632fi 1633 1634 1635if test "foo"$enable_test = "foo"; then 1636 enable_test="no" 1637fi 1638 1639cat << EOF 1640*** $0: boost configuration utility *** 1641 1642Please stand by while exploring compiler capabilities... 1643Be patient - this could take some time... 1644 1645Note that this test script only gives an approximate 1646configuration - you will need to test the results carefully 1647using the boost regression test suite before using the results. 1648EOF 1649 1650if test $enable_test = 'yes'; then 1651 1652cat << EOF 1653 1654This script reports only the difference between the detected 1655configuration, and the existing boost configuration. Its 1656primary aim is to quickly report how well boost is configured 1657for one compiler. 1658 1659*** 1660 1661EOF 1662 1663else 1664 1665cat << EOF 1666 1667*** 1668 1669EOF 1670fi 1671 1672# Check whether --enable-extension was given. 1673if test "${enable_extension+set}" = set; then 1674 enableval=$enable_extension; 1675case "$enableval" in 1676 no) { echo "$as_me:$LINENO: result: Info :.cpp used as extension for tests" >&5 1677echo "${ECHO_T}Info :.cpp used as extension for tests" >&6; } 1678 ac_ext=cpp 1679 ;; 1680 *) { echo "$as_me:$LINENO: result: Argument : .$enableval used as extension" >&5 1681echo "${ECHO_T}Argument : .$enableval used as extension" >&6; } 1682 ac_ext=$enableval 1683esac 1684 1685else 1686 { echo "$as_me:$LINENO: result: Info : .cpp used as extension for tests" >&5 1687echo "${ECHO_T}Info : .cpp used as extension for tests" >&6; } 1688 ac_ext=cpp 1689 1690 1691fi 1692 1693 1694 1695if test -f /bin/sed ; then 1696 SED=/bin/sed 1697else 1698 if test -f /usr/bin/sed ; then 1699 SED=/usr/bin/sed 1700 else 1701 SED=sed 1702 fi 1703fi 1704 1705{ echo "$as_me:$LINENO: checking for boost main tree" >&5 1706echo $ECHO_N "checking for boost main tree... $ECHO_C" >&6; } 1707boost_base= 1708 1709# Check whether --with-boost was given. 1710if test "${with_boost+set}" = set; then 1711 withval=$with_boost; 1712 #echo "--with boost is set" 1713 if test "x$withval" != "x"; then 1714 if test "x$withval" != no; then 1715 boost_base=`echo "$withval" | $SED 's,//*,/,g' | $SED 's,/$,,'` 1716 #echo boost_base=$boost_base 1717 if test -f "$boost_base/boost/config.hpp"; then 1718 if test -f "$boost_base/libs/config/configure"; then :; else 1719 boost_base= 1720 #echo "$boost_base/libs/config/configure" not found 1721 fi 1722 else 1723 #echo "$boost_base/boost/config.hpp" not found 1724 boost_base= 1725 fi 1726 fi 1727 fi 1728 1729 1730fi 1731 1732if test "x$boost_base" = "x"; then 1733 #echo '$0 = ' $0 1734 boost_base=`expr "x$0" : 'x\(.*\)/[/]*' \| '.'` 1735 boost_base="$boost_base/../.." 1736 #echo boost_base=$boost_base 1737 if test -f "$boost_base/boost/config.hpp"; then 1738 if test -f "$boost_base/libs/config/configure"; then :; else 1739 boost_base= 1740 fi 1741 else 1742 boost_base= 1743 fi 1744fi 1745if test "x$boost_base" != "x"; then 1746 { echo "$as_me:$LINENO: result: $boost_base" >&5 1747echo "${ECHO_T}$boost_base" >&6; } 1748else 1749 { echo "$as_me:$LINENO: result: not found" >&5 1750echo "${ECHO_T}not found" >&6; } 1751 { { echo "$as_me:$LINENO: error: The boost main tree was not found. 1752 Specify its location by the --with-boost option." >&5 1753echo "$as_me: error: The boost main tree was not found. 1754 Specify its location by the --with-boost option." >&2;} 1755 { (exit 1); exit 1; }; } 1756fi 1757 1758 1759 1760# Save that, as it is being redefined several times 1761use_ac_ext=$ac_ext 1762 1763ac_ext=cpp 1764ac_cpp='$CXXCPP $CPPFLAGS' 1765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1768if test -z "$CXX"; then 1769 if test -n "$CCC"; then 1770 CXX=$CCC 1771 else 1772 if test -n "$ac_tool_prefix"; then 1773 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1774 do 1775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1776set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1777{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1778echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1779if test "${ac_cv_prog_CXX+set}" = set; then 1780 echo $ECHO_N "(cached) $ECHO_C" >&6 1781else 1782 if test -n "$CXX"; then 1783 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1784else 1785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1786for as_dir in $PATH 1787do 1788 IFS=$as_save_IFS 1789 test -z "$as_dir" && as_dir=. 1790 for ac_exec_ext in '' $ac_executable_extensions; do 1791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1792 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1794 break 2 1795 fi 1796done 1797done 1798IFS=$as_save_IFS 1799 1800fi 1801fi 1802CXX=$ac_cv_prog_CXX 1803if test -n "$CXX"; then 1804 { echo "$as_me:$LINENO: result: $CXX" >&5 1805echo "${ECHO_T}$CXX" >&6; } 1806else 1807 { echo "$as_me:$LINENO: result: no" >&5 1808echo "${ECHO_T}no" >&6; } 1809fi 1810 1811 1812 test -n "$CXX" && break 1813 done 1814fi 1815if test -z "$CXX"; then 1816 ac_ct_CXX=$CXX 1817 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1818do 1819 # Extract the first word of "$ac_prog", so it can be a program name with args. 1820set dummy $ac_prog; ac_word=$2 1821{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1822echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1823if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1824 echo $ECHO_N "(cached) $ECHO_C" >&6 1825else 1826 if test -n "$ac_ct_CXX"; then 1827 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1828else 1829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1830for as_dir in $PATH 1831do 1832 IFS=$as_save_IFS 1833 test -z "$as_dir" && as_dir=. 1834 for ac_exec_ext in '' $ac_executable_extensions; do 1835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1836 ac_cv_prog_ac_ct_CXX="$ac_prog" 1837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1838 break 2 1839 fi 1840done 1841done 1842IFS=$as_save_IFS 1843 1844fi 1845fi 1846ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1847if test -n "$ac_ct_CXX"; then 1848 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1849echo "${ECHO_T}$ac_ct_CXX" >&6; } 1850else 1851 { echo "$as_me:$LINENO: result: no" >&5 1852echo "${ECHO_T}no" >&6; } 1853fi 1854 1855 1856 test -n "$ac_ct_CXX" && break 1857done 1858 1859 if test "x$ac_ct_CXX" = x; then 1860 CXX="g++" 1861 else 1862 case $cross_compiling:$ac_tool_warned in 1863yes:) 1864{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1865whose name does not start with the host triplet. If you think this 1866configuration is useful to you, please write to autoconf@gnu.org." >&5 1867echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1868whose name does not start with the host triplet. If you think this 1869configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1870ac_tool_warned=yes ;; 1871esac 1872 CXX=$ac_ct_CXX 1873 fi 1874fi 1875 1876 fi 1877fi 1878# Provide some information about the compiler. 1879echo "$as_me:$LINENO: checking for C++ compiler version" >&5 1880ac_compiler=`set X $ac_compile; echo $2` 1881{ (ac_try="$ac_compiler --version >&5" 1882case "(($ac_try" in 1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1884 *) ac_try_echo=$ac_try;; 1885esac 1886eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1887 (eval "$ac_compiler --version >&5") 2>&5 1888 ac_status=$? 1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1890 (exit $ac_status); } 1891{ (ac_try="$ac_compiler -v >&5" 1892case "(($ac_try" in 1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1894 *) ac_try_echo=$ac_try;; 1895esac 1896eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1897 (eval "$ac_compiler -v >&5") 2>&5 1898 ac_status=$? 1899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1900 (exit $ac_status); } 1901{ (ac_try="$ac_compiler -V >&5" 1902case "(($ac_try" in 1903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1904 *) ac_try_echo=$ac_try;; 1905esac 1906eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1907 (eval "$ac_compiler -V >&5") 2>&5 1908 ac_status=$? 1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1910 (exit $ac_status); } 1911 1912cat >conftest.$ac_ext <<_ACEOF 1913/* confdefs.h. */ 1914_ACEOF 1915cat confdefs.h >>conftest.$ac_ext 1916cat >>conftest.$ac_ext <<_ACEOF 1917/* end confdefs.h. */ 1918 1919int 1920main () 1921{ 1922 1923 ; 1924 return 0; 1925} 1926_ACEOF 1927ac_clean_files_save=$ac_clean_files 1928ac_clean_files="$ac_clean_files a.out a.exe b.out" 1929# Try to create an executable without -o first, disregard a.out. 1930# It will help us diagnose broken compilers, and finding out an intuition 1931# of exeext. 1932{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1933echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } 1934ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1935# 1936# List of possible output files, starting from the most likely. 1937# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 1938# only as a last resort. b.out is created by i960 compilers. 1939ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 1940# 1941# The IRIX 6 linker writes into existing files which may not be 1942# executable, retaining their permissions. Remove them first so a 1943# subsequent execution test works. 1944ac_rmfiles= 1945for ac_file in $ac_files 1946do 1947 case $ac_file in 1948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1949 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 1950 esac 1951done 1952rm -f $ac_rmfiles 1953 1954if { (ac_try="$ac_link_default" 1955case "(($ac_try" in 1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1957 *) ac_try_echo=$ac_try;; 1958esac 1959eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 1960 (eval "$ac_link_default") 2>&5 1961 ac_status=$? 1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1963 (exit $ac_status); }; then 1964 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 1965# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 1966# in a Makefile. We should not override ac_cv_exeext if it was cached, 1967# so that the user can short-circuit this test for compilers unknown to 1968# Autoconf. 1969for ac_file in $ac_files '' 1970do 1971 test -f "$ac_file" || continue 1972 case $ac_file in 1973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1974 ;; 1975 [ab].out ) 1976 # We found the default executable, but exeext='' is most 1977 # certainly right. 1978 break;; 1979 *.* ) 1980 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 1981 then :; else 1982 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1983 fi 1984 # We set ac_cv_exeext here because the later test for it is not 1985 # safe: cross compilers may not add the suffix if given an `-o' 1986 # argument, so we may need to know it at that point already. 1987 # Even if this section looks crufty: it has the advantage of 1988 # actually working. 1989 break;; 1990 * ) 1991 break;; 1992 esac 1993done 1994test "$ac_cv_exeext" = no && ac_cv_exeext= 1995 1996else 1997 ac_file='' 1998fi 1999 2000{ echo "$as_me:$LINENO: result: $ac_file" >&5 2001echo "${ECHO_T}$ac_file" >&6; } 2002if test -z "$ac_file"; then 2003 echo "$as_me: failed program was:" >&5 2004sed 's/^/| /' conftest.$ac_ext >&5 2005 2006{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables 2007See \`config.log' for more details." >&5 2008echo "$as_me: error: C++ compiler cannot create executables 2009See \`config.log' for more details." >&2;} 2010 { (exit 77); exit 77; }; } 2011fi 2012 2013ac_exeext=$ac_cv_exeext 2014 2015# Check that the compiler produces executables we can run. If not, either 2016# the compiler is broken, or we cross compile. 2017{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 2018echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } 2019# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2020# If not cross compiling, check that we can run a simple program. 2021if test "$cross_compiling" != yes; then 2022 if { ac_try='./$ac_file' 2023 { (case "(($ac_try" in 2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2025 *) ac_try_echo=$ac_try;; 2026esac 2027eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2028 (eval "$ac_try") 2>&5 2029 ac_status=$? 2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 (exit $ac_status); }; }; then 2032 cross_compiling=no 2033 else 2034 if test "$cross_compiling" = maybe; then 2035 cross_compiling=yes 2036 else 2037 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 2038If you meant to cross compile, use \`--host'. 2039See \`config.log' for more details." >&5 2040echo "$as_me: error: cannot run C++ compiled programs. 2041If you meant to cross compile, use \`--host'. 2042See \`config.log' for more details." >&2;} 2043 { (exit 1); exit 1; }; } 2044 fi 2045 fi 2046fi 2047{ echo "$as_me:$LINENO: result: yes" >&5 2048echo "${ECHO_T}yes" >&6; } 2049 2050rm -f a.out a.exe conftest$ac_cv_exeext b.out 2051ac_clean_files=$ac_clean_files_save 2052# Check that the compiler produces executables we can run. If not, either 2053# the compiler is broken, or we cross compile. 2054{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2055echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2056{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2057echo "${ECHO_T}$cross_compiling" >&6; } 2058 2059{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2060echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2061if { (ac_try="$ac_link" 2062case "(($ac_try" in 2063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2064 *) ac_try_echo=$ac_try;; 2065esac 2066eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2067 (eval "$ac_link") 2>&5 2068 ac_status=$? 2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2070 (exit $ac_status); }; then 2071 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2072# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2073# work properly (i.e., refer to `conftest.exe'), while it won't with 2074# `rm'. 2075for ac_file in conftest.exe conftest conftest.*; do 2076 test -f "$ac_file" || continue 2077 case $ac_file in 2078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2079 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2080 break;; 2081 * ) break;; 2082 esac 2083done 2084else 2085 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2086See \`config.log' for more details." >&5 2087echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2088See \`config.log' for more details." >&2;} 2089 { (exit 1); exit 1; }; } 2090fi 2091 2092rm -f conftest$ac_cv_exeext 2093{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2094echo "${ECHO_T}$ac_cv_exeext" >&6; } 2095 2096rm -f conftest.$ac_ext 2097EXEEXT=$ac_cv_exeext 2098ac_exeext=$EXEEXT 2099{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2100echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2101if test "${ac_cv_objext+set}" = set; then 2102 echo $ECHO_N "(cached) $ECHO_C" >&6 2103else 2104 cat >conftest.$ac_ext <<_ACEOF 2105/* confdefs.h. */ 2106_ACEOF 2107cat confdefs.h >>conftest.$ac_ext 2108cat >>conftest.$ac_ext <<_ACEOF 2109/* end confdefs.h. */ 2110 2111int 2112main () 2113{ 2114 2115 ; 2116 return 0; 2117} 2118_ACEOF 2119rm -f conftest.o conftest.obj 2120if { (ac_try="$ac_compile" 2121case "(($ac_try" in 2122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2123 *) ac_try_echo=$ac_try;; 2124esac 2125eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2126 (eval "$ac_compile") 2>&5 2127 ac_status=$? 2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2129 (exit $ac_status); }; then 2130 for ac_file in conftest.o conftest.obj conftest.*; do 2131 test -f "$ac_file" || continue; 2132 case $ac_file in 2133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2134 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2135 break;; 2136 esac 2137done 2138else 2139 echo "$as_me: failed program was:" >&5 2140sed 's/^/| /' conftest.$ac_ext >&5 2141 2142{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2143See \`config.log' for more details." >&5 2144echo "$as_me: error: cannot compute suffix of object files: cannot compile 2145See \`config.log' for more details." >&2;} 2146 { (exit 1); exit 1; }; } 2147fi 2148 2149rm -f conftest.$ac_cv_objext conftest.$ac_ext 2150fi 2151{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2152echo "${ECHO_T}$ac_cv_objext" >&6; } 2153OBJEXT=$ac_cv_objext 2154ac_objext=$OBJEXT 2155{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2156echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2157if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2158 echo $ECHO_N "(cached) $ECHO_C" >&6 2159else 2160 cat >conftest.$ac_ext <<_ACEOF 2161/* confdefs.h. */ 2162_ACEOF 2163cat confdefs.h >>conftest.$ac_ext 2164cat >>conftest.$ac_ext <<_ACEOF 2165/* end confdefs.h. */ 2166 2167int 2168main () 2169{ 2170#ifndef __GNUC__ 2171 choke me 2172#endif 2173 2174 ; 2175 return 0; 2176} 2177_ACEOF 2178rm -f conftest.$ac_objext 2179if { (ac_try="$ac_compile" 2180case "(($ac_try" in 2181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2182 *) ac_try_echo=$ac_try;; 2183esac 2184eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2185 (eval "$ac_compile") 2>conftest.er1 2186 ac_status=$? 2187 grep -v '^ *+' conftest.er1 >conftest.err 2188 rm -f conftest.er1 2189 cat conftest.err >&5 2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2191 (exit $ac_status); } && { 2192 test -z "$ac_cxx_werror_flag" || 2193 test ! -s conftest.err 2194 } && test -s conftest.$ac_objext; then 2195 ac_compiler_gnu=yes 2196else 2197 echo "$as_me: failed program was:" >&5 2198sed 's/^/| /' conftest.$ac_ext >&5 2199 2200 ac_compiler_gnu=no 2201fi 2202 2203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2204ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2205 2206fi 2207{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2208echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2209GXX=`test $ac_compiler_gnu = yes && echo yes` 2210ac_test_CXXFLAGS=${CXXFLAGS+set} 2211ac_save_CXXFLAGS=$CXXFLAGS 2212{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2213echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2214if test "${ac_cv_prog_cxx_g+set}" = set; then 2215 echo $ECHO_N "(cached) $ECHO_C" >&6 2216else 2217 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2218 ac_cxx_werror_flag=yes 2219 ac_cv_prog_cxx_g=no 2220 CXXFLAGS="-g" 2221 cat >conftest.$ac_ext <<_ACEOF 2222/* confdefs.h. */ 2223_ACEOF 2224cat confdefs.h >>conftest.$ac_ext 2225cat >>conftest.$ac_ext <<_ACEOF 2226/* end confdefs.h. */ 2227 2228int 2229main () 2230{ 2231 2232 ; 2233 return 0; 2234} 2235_ACEOF 2236rm -f conftest.$ac_objext 2237if { (ac_try="$ac_compile" 2238case "(($ac_try" in 2239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2240 *) ac_try_echo=$ac_try;; 2241esac 2242eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2243 (eval "$ac_compile") 2>conftest.er1 2244 ac_status=$? 2245 grep -v '^ *+' conftest.er1 >conftest.err 2246 rm -f conftest.er1 2247 cat conftest.err >&5 2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2249 (exit $ac_status); } && { 2250 test -z "$ac_cxx_werror_flag" || 2251 test ! -s conftest.err 2252 } && test -s conftest.$ac_objext; then 2253 ac_cv_prog_cxx_g=yes 2254else 2255 echo "$as_me: failed program was:" >&5 2256sed 's/^/| /' conftest.$ac_ext >&5 2257 2258 CXXFLAGS="" 2259 cat >conftest.$ac_ext <<_ACEOF 2260/* confdefs.h. */ 2261_ACEOF 2262cat confdefs.h >>conftest.$ac_ext 2263cat >>conftest.$ac_ext <<_ACEOF 2264/* end confdefs.h. */ 2265 2266int 2267main () 2268{ 2269 2270 ; 2271 return 0; 2272} 2273_ACEOF 2274rm -f conftest.$ac_objext 2275if { (ac_try="$ac_compile" 2276case "(($ac_try" in 2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2278 *) ac_try_echo=$ac_try;; 2279esac 2280eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2281 (eval "$ac_compile") 2>conftest.er1 2282 ac_status=$? 2283 grep -v '^ *+' conftest.er1 >conftest.err 2284 rm -f conftest.er1 2285 cat conftest.err >&5 2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2287 (exit $ac_status); } && { 2288 test -z "$ac_cxx_werror_flag" || 2289 test ! -s conftest.err 2290 } && test -s conftest.$ac_objext; then 2291 : 2292else 2293 echo "$as_me: failed program was:" >&5 2294sed 's/^/| /' conftest.$ac_ext >&5 2295 2296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2297 CXXFLAGS="-g" 2298 cat >conftest.$ac_ext <<_ACEOF 2299/* confdefs.h. */ 2300_ACEOF 2301cat confdefs.h >>conftest.$ac_ext 2302cat >>conftest.$ac_ext <<_ACEOF 2303/* end confdefs.h. */ 2304 2305int 2306main () 2307{ 2308 2309 ; 2310 return 0; 2311} 2312_ACEOF 2313rm -f conftest.$ac_objext 2314if { (ac_try="$ac_compile" 2315case "(($ac_try" in 2316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2317 *) ac_try_echo=$ac_try;; 2318esac 2319eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2320 (eval "$ac_compile") 2>conftest.er1 2321 ac_status=$? 2322 grep -v '^ *+' conftest.er1 >conftest.err 2323 rm -f conftest.er1 2324 cat conftest.err >&5 2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2326 (exit $ac_status); } && { 2327 test -z "$ac_cxx_werror_flag" || 2328 test ! -s conftest.err 2329 } && test -s conftest.$ac_objext; then 2330 ac_cv_prog_cxx_g=yes 2331else 2332 echo "$as_me: failed program was:" >&5 2333sed 's/^/| /' conftest.$ac_ext >&5 2334 2335 2336fi 2337 2338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2339fi 2340 2341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2342fi 2343 2344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2345 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2346fi 2347{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2348echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2349if test "$ac_test_CXXFLAGS" = set; then 2350 CXXFLAGS=$ac_save_CXXFLAGS 2351elif test $ac_cv_prog_cxx_g = yes; then 2352 if test "$GXX" = yes; then 2353 CXXFLAGS="-g -O2" 2354 else 2355 CXXFLAGS="-g" 2356 fi 2357else 2358 if test "$GXX" = yes; then 2359 CXXFLAGS="-O2" 2360 else 2361 CXXFLAGS= 2362 fi 2363fi 2364ac_ext=c 2365ac_cpp='$CPP $CPPFLAGS' 2366ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2367ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2368ac_compiler_gnu=$ac_cv_c_compiler_gnu 2369 2370ac_ext=$use_ac_ext 2371 2372ac_ext=cpp 2373ac_cpp='$CXXCPP $CPPFLAGS' 2374ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2375ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2376ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2377 2378 2379OLD_CXXFLAGS="$CXXFLAGS" 2380 2381 2382if test $enable_test = 'yes'; then 2383 CXXFLAGS="-I$boost_base -I$boost_base/libs/config/test $CXXFLAGS" 2384else 2385 CXXFLAGS="-I$boost_base -I$boost_base/libs/config/test $CXXFLAGS -DBOOST_NO_CONFIG" 2386fi 2387 2388# add the -AA conformance option to CXXFLAGS for HP aCC only 2389if test $CXX = 'aCC'; then 2390 CXXFLAGS="-AA $CXXFLAGS" 2391fi 2392 2393 2394 2395 2396{ echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5 2397echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6; } 2398if test "${ac_cv_lib_pthread_pthread_exit+set}" = set; then 2399 echo $ECHO_N "(cached) $ECHO_C" >&6 2400else 2401 ac_check_lib_save_LIBS=$LIBS 2402LIBS="-lpthread $LIBS" 2403cat >conftest.$ac_ext <<_ACEOF 2404/* confdefs.h. */ 2405_ACEOF 2406cat confdefs.h >>conftest.$ac_ext 2407cat >>conftest.$ac_ext <<_ACEOF 2408/* end confdefs.h. */ 2409 2410/* Override any GCC internal prototype to avoid an error. 2411 Use char because int might match the return type of a GCC 2412 builtin and then its argument prototype would still apply. */ 2413#ifdef __cplusplus 2414extern "C" 2415#endif 2416char pthread_exit (); 2417int 2418main () 2419{ 2420return pthread_exit (); 2421 ; 2422 return 0; 2423} 2424_ACEOF 2425rm -f conftest.$ac_objext conftest$ac_exeext 2426if { (ac_try="$ac_link" 2427case "(($ac_try" in 2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2429 *) ac_try_echo=$ac_try;; 2430esac 2431eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2432 (eval "$ac_link") 2>conftest.er1 2433 ac_status=$? 2434 grep -v '^ *+' conftest.er1 >conftest.err 2435 rm -f conftest.er1 2436 cat conftest.err >&5 2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2438 (exit $ac_status); } && { 2439 test -z "$ac_cxx_werror_flag" || 2440 test ! -s conftest.err 2441 } && test -s conftest$ac_exeext && 2442 $as_test_x conftest$ac_exeext; then 2443 ac_cv_lib_pthread_pthread_exit=yes 2444else 2445 echo "$as_me: failed program was:" >&5 2446sed 's/^/| /' conftest.$ac_ext >&5 2447 2448 ac_cv_lib_pthread_pthread_exit=no 2449fi 2450 2451rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2452 conftest$ac_exeext conftest.$ac_ext 2453LIBS=$ac_check_lib_save_LIBS 2454fi 2455{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_exit" >&5 2456echo "${ECHO_T}$ac_cv_lib_pthread_pthread_exit" >&6; } 2457if test $ac_cv_lib_pthread_pthread_exit = yes; then 2458 cat >>confdefs.h <<_ACEOF 2459#define HAVE_LIBPTHREAD 1 2460_ACEOF 2461 2462 LIBS="-lpthread $LIBS" 2463 2464fi 2465 2466 2467{ echo "$as_me:$LINENO: checking for cos in -lm" >&5 2468echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; } 2469if test "${ac_cv_lib_m_cos+set}" = set; then 2470 echo $ECHO_N "(cached) $ECHO_C" >&6 2471else 2472 ac_check_lib_save_LIBS=$LIBS 2473LIBS="-lm $LIBS" 2474cat >conftest.$ac_ext <<_ACEOF 2475/* confdefs.h. */ 2476_ACEOF 2477cat confdefs.h >>conftest.$ac_ext 2478cat >>conftest.$ac_ext <<_ACEOF 2479/* end confdefs.h. */ 2480 2481/* Override any GCC internal prototype to avoid an error. 2482 Use char because int might match the return type of a GCC 2483 builtin and then its argument prototype would still apply. */ 2484#ifdef __cplusplus 2485extern "C" 2486#endif 2487char cos (); 2488int 2489main () 2490{ 2491return cos (); 2492 ; 2493 return 0; 2494} 2495_ACEOF 2496rm -f conftest.$ac_objext conftest$ac_exeext 2497if { (ac_try="$ac_link" 2498case "(($ac_try" in 2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2500 *) ac_try_echo=$ac_try;; 2501esac 2502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2503 (eval "$ac_link") 2>conftest.er1 2504 ac_status=$? 2505 grep -v '^ *+' conftest.er1 >conftest.err 2506 rm -f conftest.er1 2507 cat conftest.err >&5 2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2509 (exit $ac_status); } && { 2510 test -z "$ac_cxx_werror_flag" || 2511 test ! -s conftest.err 2512 } && test -s conftest$ac_exeext && 2513 $as_test_x conftest$ac_exeext; then 2514 ac_cv_lib_m_cos=yes 2515else 2516 echo "$as_me: failed program was:" >&5 2517sed 's/^/| /' conftest.$ac_ext >&5 2518 2519 ac_cv_lib_m_cos=no 2520fi 2521 2522rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2523 conftest$ac_exeext conftest.$ac_ext 2524LIBS=$ac_check_lib_save_LIBS 2525fi 2526{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5 2527echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; } 2528if test $ac_cv_lib_m_cos = yes; then 2529 cat >>confdefs.h <<_ACEOF 2530#define HAVE_LIBM 1 2531_ACEOF 2532 2533 LIBS="-lm $LIBS" 2534 2535fi 2536 2537 2538{ echo "$as_me:$LINENO: checking for clock in -lrt" >&5 2539echo $ECHO_N "checking for clock in -lrt... $ECHO_C" >&6; } 2540if test "${ac_cv_lib_rt_clock+set}" = set; then 2541 echo $ECHO_N "(cached) $ECHO_C" >&6 2542else 2543 ac_check_lib_save_LIBS=$LIBS 2544LIBS="-lrt $LIBS" 2545cat >conftest.$ac_ext <<_ACEOF 2546/* confdefs.h. */ 2547_ACEOF 2548cat confdefs.h >>conftest.$ac_ext 2549cat >>conftest.$ac_ext <<_ACEOF 2550/* end confdefs.h. */ 2551 2552/* Override any GCC internal prototype to avoid an error. 2553 Use char because int might match the return type of a GCC 2554 builtin and then its argument prototype would still apply. */ 2555#ifdef __cplusplus 2556extern "C" 2557#endif 2558char clock (); 2559int 2560main () 2561{ 2562return clock (); 2563 ; 2564 return 0; 2565} 2566_ACEOF 2567rm -f conftest.$ac_objext conftest$ac_exeext 2568if { (ac_try="$ac_link" 2569case "(($ac_try" in 2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2571 *) ac_try_echo=$ac_try;; 2572esac 2573eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2574 (eval "$ac_link") 2>conftest.er1 2575 ac_status=$? 2576 grep -v '^ *+' conftest.er1 >conftest.err 2577 rm -f conftest.er1 2578 cat conftest.err >&5 2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2580 (exit $ac_status); } && { 2581 test -z "$ac_cxx_werror_flag" || 2582 test ! -s conftest.err 2583 } && test -s conftest$ac_exeext && 2584 $as_test_x conftest$ac_exeext; then 2585 ac_cv_lib_rt_clock=yes 2586else 2587 echo "$as_me: failed program was:" >&5 2588sed 's/^/| /' conftest.$ac_ext >&5 2589 2590 ac_cv_lib_rt_clock=no 2591fi 2592 2593rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2594 conftest$ac_exeext conftest.$ac_ext 2595LIBS=$ac_check_lib_save_LIBS 2596fi 2597{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock" >&5 2598echo "${ECHO_T}$ac_cv_lib_rt_clock" >&6; } 2599if test $ac_cv_lib_rt_clock = yes; then 2600 cat >>confdefs.h <<_ACEOF 2601#define HAVE_LIBRT 1 2602_ACEOF 2603 2604 LIBS="-lrt $LIBS" 2605 2606fi 2607 2608 2609# 2610# enumerate test files and test each one: 2611# 2612for file in $boost_base/libs/config/test/boost_no*.ipp; do 2613 2614 basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'` 2615 macroname=`cat $file | grep '^//[ ]*MACRO:' | $SED 's/.*MACRO:[ ]*\([_A-Z0-9]*\).*/\1/'` 2616 title=`cat $file | grep '^//[ ]*TITLE:' | $SED 's/.*TITLE:[ ]*\([^ ].*\)/\1/'` 2617 namespace=`echo $macroname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` 2618 2619#echo file = $file 2620#echo basename = $basename 2621#echo macroname = $macroname 2622#echo title = $title 2623#echo namespace = $namespace 2624 2625 ac_ext=$use_ac_ext 2626 if test $enable_test = 'yes'; then 2627 { echo "$as_me:$LINENO: checking $title (pass expected) " >&5 2628echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6; } 2629 else 2630 { echo "$as_me:$LINENO: checking $title " >&5 2631echo $ECHO_N "checking $title ... $ECHO_C" >&6; } 2632 fi 2633 if test "$cross_compiling" = yes; then 2634 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 2635See \`config.log' for more details." >&5 2636echo "$as_me: error: cannot run test program while cross compiling 2637See \`config.log' for more details." >&2;} 2638 { (exit 1); exit 1; }; } 2639else 2640 cat >conftest.$ac_ext <<_ACEOF 2641/* confdefs.h. */ 2642_ACEOF 2643cat confdefs.h >>conftest.$ac_ext 2644cat >>conftest.$ac_ext <<_ACEOF 2645/* end confdefs.h. */ 2646 2647#include <boost/config.hpp> 2648#include "test.hpp" 2649 2650#if !defined($macroname) || defined(BOOST_NO_CONFIG) 2651#include "boost_$basename.ipp" 2652#else 2653namespace ${namespace} = empty_boost; 2654#endif 2655 2656int main(){ return ${namespace}::test(); } 2657 2658_ACEOF 2659rm -f conftest$ac_exeext 2660if { (ac_try="$ac_link" 2661case "(($ac_try" in 2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2663 *) ac_try_echo=$ac_try;; 2664esac 2665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2666 (eval "$ac_link") 2>&5 2667 ac_status=$? 2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2670 { (case "(($ac_try" in 2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2672 *) ac_try_echo=$ac_try;; 2673esac 2674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2675 (eval "$ac_try") 2>&5 2676 ac_status=$? 2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2678 (exit $ac_status); }; }; then 2679 { echo "$as_me:$LINENO: result: OK" >&5 2680echo "${ECHO_T}OK" >&6; } 2681 2682else 2683 echo "$as_me: program exited with status $ac_status" >&5 2684echo "$as_me: failed program was:" >&5 2685sed 's/^/| /' conftest.$ac_ext >&5 2686 2687( exit $ac_status ) 2688{ echo "$as_me:$LINENO: result: Failed" >&5 2689echo "${ECHO_T}Failed" >&6; } 2690 required_defs="$macroname $required_defs" 2691 2692fi 2693rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2694fi 2695 2696 2697 2698 if test $enable_test = 'yes'; then 2699 2700 ac_ext=$use_ac_ext 2701 { echo "$as_me:$LINENO: checking $title (fail expected) " >&5 2702echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6; } 2703 if test "$cross_compiling" = yes; then 2704 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 2705See \`config.log' for more details." >&5 2706echo "$as_me: error: cannot run test program while cross compiling 2707See \`config.log' for more details." >&2;} 2708 { (exit 1); exit 1; }; } 2709else 2710 cat >conftest.$ac_ext <<_ACEOF 2711/* confdefs.h. */ 2712_ACEOF 2713cat confdefs.h >>conftest.$ac_ext 2714cat >>conftest.$ac_ext <<_ACEOF 2715/* end confdefs.h. */ 2716 2717#include <boost/config.hpp> 2718#include "test.hpp" 2719 2720#ifdef $macroname 2721#include "boost_$basename.ipp" 2722#else 2723#error "this file should not compile" 2724#endif 2725 2726int main() { return ${namespace}::test(); } 2727 2728_ACEOF 2729rm -f conftest$ac_exeext 2730if { (ac_try="$ac_link" 2731case "(($ac_try" in 2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2733 *) ac_try_echo=$ac_try;; 2734esac 2735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2736 (eval "$ac_link") 2>&5 2737 ac_status=$? 2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2740 { (case "(($ac_try" in 2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2742 *) ac_try_echo=$ac_try;; 2743esac 2744eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2745 (eval "$ac_try") 2>&5 2746 ac_status=$? 2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2748 (exit $ac_status); }; }; then 2749 { echo "$as_me:$LINENO: result: failed" >&5 2750echo "${ECHO_T}failed" >&6; } 2751 required_undefs="$macroname $required_undefs" 2752 2753else 2754 echo "$as_me: program exited with status $ac_status" >&5 2755echo "$as_me: failed program was:" >&5 2756sed 's/^/| /' conftest.$ac_ext >&5 2757 2758( exit $ac_status ) 2759{ echo "$as_me:$LINENO: result: OK" >&5 2760echo "${ECHO_T}OK" >&6; } 2761 2762fi 2763rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2764fi 2765 2766 2767 2768 fi 2769 2770done 2771 2772# 2773# enumerate optional test files and test each one: 2774# 2775for file in $boost_base/libs/config/test/boost_has*.ipp; do 2776 2777 basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'` 2778 macroname=`cat $file | grep '^//[ ]*MACRO:' | $SED 's/.*MACRO:[ ]*\([_A-Z0-9]*\).*/\1/'` 2779 title=`cat $file | grep '^//[ ]*TITLE:' | $SED 's/.*TITLE:[ ]*\([^ ].*\)/\1/'` 2780 namespace=`echo $macroname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` 2781 2782# echo $file 2783# echo $basename 2784# echo $macroname 2785# echo $title 2786 2787 ac_ext=$use_ac_ext 2788 if test $enable_test = 'yes'; then 2789 { echo "$as_me:$LINENO: checking $title (pass expected) " >&5 2790echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6; } 2791 if test "$cross_compiling" = yes; then 2792 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 2793See \`config.log' for more details." >&5 2794echo "$as_me: error: cannot run test program while cross compiling 2795See \`config.log' for more details." >&2;} 2796 { (exit 1); exit 1; }; } 2797else 2798 cat >conftest.$ac_ext <<_ACEOF 2799/* confdefs.h. */ 2800_ACEOF 2801cat confdefs.h >>conftest.$ac_ext 2802cat >>conftest.$ac_ext <<_ACEOF 2803/* end confdefs.h. */ 2804 2805#include <boost/config.hpp> 2806#include "test.hpp" 2807 2808#ifdef $macroname 2809#include "boost_$basename.ipp" 2810#else 2811namespace ${namespace} = empty_boost; 2812#endif 2813 2814int main(){ return ${namespace}::test(); } 2815 2816_ACEOF 2817rm -f conftest$ac_exeext 2818if { (ac_try="$ac_link" 2819case "(($ac_try" in 2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2821 *) ac_try_echo=$ac_try;; 2822esac 2823eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2824 (eval "$ac_link") 2>&5 2825 ac_status=$? 2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2828 { (case "(($ac_try" in 2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2830 *) ac_try_echo=$ac_try;; 2831esac 2832eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2833 (eval "$ac_try") 2>&5 2834 ac_status=$? 2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2836 (exit $ac_status); }; }; then 2837 { echo "$as_me:$LINENO: result: OK" >&5 2838echo "${ECHO_T}OK" >&6; } 2839 2840else 2841 echo "$as_me: program exited with status $ac_status" >&5 2842echo "$as_me: failed program was:" >&5 2843sed 's/^/| /' conftest.$ac_ext >&5 2844 2845( exit $ac_status ) 2846{ echo "$as_me:$LINENO: result: Failed" >&5 2847echo "${ECHO_T}Failed" >&6; } 2848 required_undefs="$macroname $required_undefs" 2849 2850fi 2851rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2852fi 2853 2854 2855 2856 { echo "$as_me:$LINENO: checking $title (fail expected) " >&5 2857echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6; } 2858 if test "$cross_compiling" = yes; then 2859 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 2860See \`config.log' for more details." >&5 2861echo "$as_me: error: cannot run test program while cross compiling 2862See \`config.log' for more details." >&2;} 2863 { (exit 1); exit 1; }; } 2864else 2865 cat >conftest.$ac_ext <<_ACEOF 2866/* confdefs.h. */ 2867_ACEOF 2868cat confdefs.h >>conftest.$ac_ext 2869cat >>conftest.$ac_ext <<_ACEOF 2870/* end confdefs.h. */ 2871 2872#include <boost/config.hpp> 2873#include "test.hpp" 2874 2875#ifndef $macroname 2876#include "boost_$basename.ipp" 2877#else 2878#error "this file should not compile" 2879#endif 2880 2881int main(){ return ${namespace}::test(); } 2882 2883_ACEOF 2884rm -f conftest$ac_exeext 2885if { (ac_try="$ac_link" 2886case "(($ac_try" in 2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2888 *) ac_try_echo=$ac_try;; 2889esac 2890eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2891 (eval "$ac_link") 2>&5 2892 ac_status=$? 2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2895 { (case "(($ac_try" in 2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2897 *) ac_try_echo=$ac_try;; 2898esac 2899eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2900 (eval "$ac_try") 2>&5 2901 ac_status=$? 2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2903 (exit $ac_status); }; }; then 2904 2905 { echo "$as_me:$LINENO: result: failed" >&5 2906echo "${ECHO_T}failed" >&6; } 2907 required_defs="$macroname $required_defs" 2908 2909 2910else 2911 echo "$as_me: program exited with status $ac_status" >&5 2912echo "$as_me: failed program was:" >&5 2913sed 's/^/| /' conftest.$ac_ext >&5 2914 2915( exit $ac_status ) 2916 2917 { echo "$as_me:$LINENO: result: OK" >&5 2918echo "${ECHO_T}OK" >&6; } 2919 2920 2921fi 2922rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2923fi 2924 2925 2926 2927 else 2928 2929 ac_ext=$use_ac_ext 2930 { echo "$as_me:$LINENO: checking $title" >&5 2931echo $ECHO_N "checking $title... $ECHO_C" >&6; } 2932 if test "$cross_compiling" = yes; then 2933 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 2934See \`config.log' for more details." >&5 2935echo "$as_me: error: cannot run test program while cross compiling 2936See \`config.log' for more details." >&2;} 2937 { (exit 1); exit 1; }; } 2938else 2939 cat >conftest.$ac_ext <<_ACEOF 2940/* confdefs.h. */ 2941_ACEOF 2942cat confdefs.h >>conftest.$ac_ext 2943cat >>conftest.$ac_ext <<_ACEOF 2944/* end confdefs.h. */ 2945 2946#include <boost/config.hpp> 2947#include "test.hpp" 2948 2949#include "boost_$basename.ipp" 2950 2951int main(){ return ${namespace}::test(); } 2952 2953_ACEOF 2954rm -f conftest$ac_exeext 2955if { (ac_try="$ac_link" 2956case "(($ac_try" in 2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2958 *) ac_try_echo=$ac_try;; 2959esac 2960eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2961 (eval "$ac_link") 2>&5 2962 ac_status=$? 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2965 { (case "(($ac_try" in 2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2967 *) ac_try_echo=$ac_try;; 2968esac 2969eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2970 (eval "$ac_try") 2>&5 2971 ac_status=$? 2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2973 (exit $ac_status); }; }; then 2974 2975 { echo "$as_me:$LINENO: result: Yes" >&5 2976echo "${ECHO_T}Yes" >&6; } 2977 required_defs="$macroname $required_defs" 2978 2979 2980else 2981 echo "$as_me: program exited with status $ac_status" >&5 2982echo "$as_me: failed program was:" >&5 2983sed 's/^/| /' conftest.$ac_ext >&5 2984 2985( exit $ac_status ) 2986 2987 { echo "$as_me:$LINENO: result: no" >&5 2988echo "${ECHO_T}no" >&6; } 2989 2990 2991fi 2992rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2993fi 2994 2995 2996 2997 fi 2998 2999done 3000 3001 3002#echo $required_defs 3003#echo $required_undefs 3004 3005if test $enable_test = 'yes'; then 3006 3007if test "$required_defs" = ""; then 3008echo no boost macros need to be defined 3009echo no boost macros need to be defined >&5 3010else 3011echo the following macros need to be defined 3012echo $required_defs 3013echo the following macros need to be defined >&5 3014echo $required_defs >&5 3015fi 3016if test "$required_undefs" = ""; then 3017echo no boost macros need to be undefined 3018echo no boost macros need to be undefined >&5 3019else 3020echo "the following macros need to be undef'ed" 3021echo $required_undefs 3022echo "the following macros need to be undef'ed" >&5 3023echo $required_undefs >&5 3024fi 3025 3026else 3027 3028date_string=`date` 3029 3030echo boost_base=$boost_base 3031 3032cat > user.hpp << EOF 3033// (C) Copyright Boost.org 2001. 3034// Do not check in modified versions of this file, 3035// This file may be customised by the end user, but not by boost. 3036 3037// 3038// Use this file to define a site and compiler specific 3039// configuration policy, this version was auto-generated by 3040// configure on ${date_string} 3041// With the following options: 3042// CXX = ${CXX} 3043// CXXFLAGS = ${CXXFLAGS} 3044// LDFLAGS = ${LDFLAGS} 3045// LIBS = ${LIBS} 3046// 3047 3048// define this to disable all config options, 3049// excluding the user config. Use if your 3050// setup is fully ISO complient, and has no 3051// useful extentions, or for autoconf generated 3052// setups: 3053#ifndef BOOST_NO_CONFIG 3054# define BOOST_NO_CONFIG 3055#endif 3056 3057 3058// define if you want to disable threading support, even 3059// when available: 3060// #define BOOST_DISABLE_THREADS 3061 3062// define if you want the regex library to use the C locale 3063// even on Win32: 3064// #define BOOST_REGEX_USE_C_LOCALE 3065 3066// define this is you want the regex library to use the C++ 3067// locale: 3068// #define BOOST_REGEX_USE_CPP_LOCALE 3069 3070 3071// 3072// options added by configure: 3073// 3074EOF 3075 3076for name in $required_defs; do 3077echo '#define '"$name" >> user.hpp 3078done 3079 3080cat_conts=`cat user.hpp` 3081 3082# 3083# post configuration step: 3084# 3085{ echo "$as_me:$LINENO: checking original configuration " >&5 3086echo $ECHO_N "checking original configuration ... $ECHO_C" >&6; } 3087rm -f conftest$ac_exeext 3088$CXX -I$boost_base $OLD_CXXFLAGS -DBOOST_NO_USER_CONFIG -o conftest$ac_exeext $LDFLAGS $boost_base/libs/config/test/config_info.cpp $LIBS >&5 2>&1 3089./conftest >&5 2>&1 3090{ echo "$as_me:$LINENO: result: done" >&5 3091echo "${ECHO_T}done" >&6; } 3092{ echo "$as_me:$LINENO: checking new configuration " >&5 3093echo $ECHO_N "checking new configuration ... $ECHO_C" >&6; } 3094rm -f conftest$ac_exeext 3095$CXX -I$boost_base -I$boost_base/libs/config $OLD_CXXFLAGS -DBOOST_USER_CONFIG='"user.hpp"' -o conftest$ac_exeext $LDFLAGS $boost_base/libs/config/test/config_info.cpp $LIBS >&5 2>&1 3096./conftest >&5 2>&1 3097{ echo "$as_me:$LINENO: result: done" >&5 3098echo "${ECHO_T}done" >&6; } 3099 3100ac_config_commands="$ac_config_commands default" 3101 3102 3103 3104test "x$prefix" = xNONE && prefix=$ac_default_prefix 3105# Let make expand exec_prefix. 3106test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3107 3108# Transform confdefs.h into DEFS. 3109# Protect against shell expansion while executing Makefile rules. 3110# Protect against Makefile macro expansion. 3111# 3112# If the first sed substitution is executed (which looks for macros that 3113# take arguments), then branch to the quote section. Otherwise, 3114# look for a macro that doesn't take arguments. 3115ac_script=' 3116t clear 3117:clear 3118s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3119t quote 3120s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3121t quote 3122b any 3123:quote 3124s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3125s/\[/\\&/g 3126s/\]/\\&/g 3127s/\$/$$/g 3128H 3129:any 3130${ 3131 g 3132 s/^\n// 3133 s/\n/ /g 3134 p 3135} 3136' 3137DEFS=`sed -n "$ac_script" confdefs.h` 3138 3139 3140ac_libobjs= 3141ac_ltlibobjs= 3142for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3143 # 1. Remove the extension, and $U if already installed. 3144 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3145 ac_i=`echo "$ac_i" | sed "$ac_script"` 3146 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3147 # will be set to the directory where LIBOBJS objects are built. 3148 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3149 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 3150done 3151LIBOBJS=$ac_libobjs 3152 3153LTLIBOBJS=$ac_ltlibobjs 3154 3155 3156 3157: ${CONFIG_STATUS=./config.status} 3158ac_clean_files_save=$ac_clean_files 3159ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3160{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3161echo "$as_me: creating $CONFIG_STATUS" >&6;} 3162cat >$CONFIG_STATUS <<_ACEOF 3163#! $SHELL 3164# Generated by $as_me. 3165# Run this file to recreate the current configuration. 3166# Compiler output produced by configure, useful for debugging 3167# configure, is in config.log if it exists. 3168 3169debug=false 3170ac_cs_recheck=false 3171ac_cs_silent=false 3172SHELL=\${CONFIG_SHELL-$SHELL} 3173_ACEOF 3174 3175cat >>$CONFIG_STATUS <<\_ACEOF 3176## --------------------- ## 3177## M4sh Initialization. ## 3178## --------------------- ## 3179 3180# Be more Bourne compatible 3181DUALCASE=1; export DUALCASE # for MKS sh 3182if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3183 emulate sh 3184 NULLCMD=: 3185 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3186 # is contrary to our usage. Disable this feature. 3187 alias -g '${1+"$@"}'='"$@"' 3188 setopt NO_GLOB_SUBST 3189else 3190 case `(set -o) 2>/dev/null` in 3191 *posix*) set -o posix ;; 3192esac 3193 3194fi 3195 3196 3197 3198 3199# PATH needs CR 3200# Avoid depending upon Character Ranges. 3201as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3202as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3203as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3204as_cr_digits='0123456789' 3205as_cr_alnum=$as_cr_Letters$as_cr_digits 3206 3207# The user is always right. 3208if test "${PATH_SEPARATOR+set}" != set; then 3209 echo "#! /bin/sh" >conf$$.sh 3210 echo "exit 0" >>conf$$.sh 3211 chmod +x conf$$.sh 3212 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3213 PATH_SEPARATOR=';' 3214 else 3215 PATH_SEPARATOR=: 3216 fi 3217 rm -f conf$$.sh 3218fi 3219 3220# Support unset when possible. 3221if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3222 as_unset=unset 3223else 3224 as_unset=false 3225fi 3226 3227 3228# IFS 3229# We need space, tab and new line, in precisely that order. Quoting is 3230# there to prevent editors from complaining about space-tab. 3231# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3232# splitting by setting IFS to empty value.) 3233as_nl=' 3234' 3235IFS=" "" $as_nl" 3236 3237# Find who we are. Look in the path if we contain no directory separator. 3238case $0 in 3239 *[\\/]* ) as_myself=$0 ;; 3240 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3241for as_dir in $PATH 3242do 3243 IFS=$as_save_IFS 3244 test -z "$as_dir" && as_dir=. 3245 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3246done 3247IFS=$as_save_IFS 3248 3249 ;; 3250esac 3251# We did not find ourselves, most probably we were run as `sh COMMAND' 3252# in which case we are not to be found in the path. 3253if test "x$as_myself" = x; then 3254 as_myself=$0 3255fi 3256if test ! -f "$as_myself"; then 3257 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3258 { (exit 1); exit 1; } 3259fi 3260 3261# Work around bugs in pre-3.0 UWIN ksh. 3262for as_var in ENV MAIL MAILPATH 3263do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3264done 3265PS1='$ ' 3266PS2='> ' 3267PS4='+ ' 3268 3269# NLS nuisances. 3270for as_var in \ 3271 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3272 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3273 LC_TELEPHONE LC_TIME 3274do 3275 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3276 eval $as_var=C; export $as_var 3277 else 3278 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3279 fi 3280done 3281 3282# Required to use basename. 3283if expr a : '\(a\)' >/dev/null 2>&1 && 3284 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3285 as_expr=expr 3286else 3287 as_expr=false 3288fi 3289 3290if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3291 as_basename=basename 3292else 3293 as_basename=false 3294fi 3295 3296 3297# Name of the executable. 3298as_me=`$as_basename -- "$0" || 3299$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3300 X"$0" : 'X\(//\)$' \| \ 3301 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3302echo X/"$0" | 3303 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3304 s//\1/ 3305 q 3306 } 3307 /^X\/\(\/\/\)$/{ 3308 s//\1/ 3309 q 3310 } 3311 /^X\/\(\/\).*/{ 3312 s//\1/ 3313 q 3314 } 3315 s/.*/./; q'` 3316 3317# CDPATH. 3318$as_unset CDPATH 3319 3320 3321 3322 as_lineno_1=$LINENO 3323 as_lineno_2=$LINENO 3324 test "x$as_lineno_1" != "x$as_lineno_2" && 3325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 3326 3327 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3328 # uniformly replaced by the line number. The first 'sed' inserts a 3329 # line-number line after each line using $LINENO; the second 'sed' 3330 # does the real work. The second script uses 'N' to pair each 3331 # line-number line with the line containing $LINENO, and appends 3332 # trailing '-' during substitution so that $LINENO is not a special 3333 # case at line end. 3334 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3335 # scripts with optimization help from Paolo Bonzini. Blame Lee 3336 # E. McMahon (1931-1989) for sed's syntax. :-) 3337 sed -n ' 3338 p 3339 /[$]LINENO/= 3340 ' <$as_myself | 3341 sed ' 3342 s/[$]LINENO.*/&-/ 3343 t lineno 3344 b 3345 :lineno 3346 N 3347 :loop 3348 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 3349 t loop 3350 s/-\n.*// 3351 ' >$as_me.lineno && 3352 chmod +x "$as_me.lineno" || 3353 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 3354 { (exit 1); exit 1; }; } 3355 3356 # Don't try to exec as it changes $[0], causing all sort of problems 3357 # (the dirname of $[0] is not the place where we might find the 3358 # original and so on. Autoconf is especially sensitive to this). 3359 . "./$as_me.lineno" 3360 # Exit status is that of the last command. 3361 exit 3362} 3363 3364 3365if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3366 as_dirname=dirname 3367else 3368 as_dirname=false 3369fi 3370 3371ECHO_C= ECHO_N= ECHO_T= 3372case `echo -n x` in 3373-n*) 3374 case `echo 'x\c'` in 3375 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3376 *) ECHO_C='\c';; 3377 esac;; 3378*) 3379 ECHO_N='-n';; 3380esac 3381 3382if expr a : '\(a\)' >/dev/null 2>&1 && 3383 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3384 as_expr=expr 3385else 3386 as_expr=false 3387fi 3388 3389rm -f conf$$ conf$$.exe conf$$.file 3390if test -d conf$$.dir; then 3391 rm -f conf$$.dir/conf$$.file 3392else 3393 rm -f conf$$.dir 3394 mkdir conf$$.dir 3395fi 3396echo >conf$$.file 3397if ln -s conf$$.file conf$$ 2>/dev/null; then 3398 as_ln_s='ln -s' 3399 # ... but there are two gotchas: 3400 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3401 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3402 # In both cases, we have to default to `cp -p'. 3403 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3404 as_ln_s='cp -p' 3405elif ln conf$$.file conf$$ 2>/dev/null; then 3406 as_ln_s=ln 3407else 3408 as_ln_s='cp -p' 3409fi 3410rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3411rmdir conf$$.dir 2>/dev/null 3412 3413if mkdir -p . 2>/dev/null; then 3414 as_mkdir_p=: 3415else 3416 test -d ./-p && rmdir ./-p 3417 as_mkdir_p=false 3418fi 3419 3420if test -x / >/dev/null 2>&1; then 3421 as_test_x='test -x' 3422else 3423 if ls -dL / >/dev/null 2>&1; then 3424 as_ls_L_option=L 3425 else 3426 as_ls_L_option= 3427 fi 3428 as_test_x=' 3429 eval sh -c '\'' 3430 if test -d "$1"; then 3431 test -d "$1/."; 3432 else 3433 case $1 in 3434 -*)set "./$1";; 3435 esac; 3436 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 3437 ???[sx]*):;;*)false;;esac;fi 3438 '\'' sh 3439 ' 3440fi 3441as_executable_p=$as_test_x 3442 3443# Sed expression to map a string onto a valid CPP name. 3444as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3445 3446# Sed expression to map a string onto a valid variable name. 3447as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3448 3449 3450exec 6>&1 3451 3452# Save the log message, to keep $[0] and so on meaningful, and to 3453# report actual input values of CONFIG_FILES etc. instead of their 3454# values after options handling. 3455ac_log=" 3456This file was extended by $as_me, which was 3457generated by GNU Autoconf 2.61. Invocation command line was 3458 3459 CONFIG_FILES = $CONFIG_FILES 3460 CONFIG_HEADERS = $CONFIG_HEADERS 3461 CONFIG_LINKS = $CONFIG_LINKS 3462 CONFIG_COMMANDS = $CONFIG_COMMANDS 3463 $ $0 $@ 3464 3465on `(hostname || uname -n) 2>/dev/null | sed 1q` 3466" 3467 3468_ACEOF 3469 3470cat >>$CONFIG_STATUS <<_ACEOF 3471# Files that config.status was made for. 3472config_commands="$ac_config_commands" 3473 3474_ACEOF 3475 3476cat >>$CONFIG_STATUS <<\_ACEOF 3477ac_cs_usage="\ 3478\`$as_me' instantiates files from templates according to the 3479current configuration. 3480 3481Usage: $0 [OPTIONS] [FILE]... 3482 3483 -h, --help print this help, then exit 3484 -V, --version print version number and configuration settings, then exit 3485 -q, --quiet do not print progress messages 3486 -d, --debug don't remove temporary files 3487 --recheck update $as_me by reconfiguring in the same conditions 3488 3489Configuration commands: 3490$config_commands 3491 3492Report bugs to <bug-autoconf@gnu.org>." 3493 3494_ACEOF 3495cat >>$CONFIG_STATUS <<_ACEOF 3496ac_cs_version="\\ 3497config.status 3498configured by $0, generated by GNU Autoconf 2.61, 3499 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3500 3501Copyright (C) 2006 Free Software Foundation, Inc. 3502This config.status script is free software; the Free Software Foundation 3503gives unlimited permission to copy, distribute and modify it." 3504 3505ac_pwd='$ac_pwd' 3506srcdir='$srcdir' 3507_ACEOF 3508 3509cat >>$CONFIG_STATUS <<\_ACEOF 3510# If no file are specified by the user, then we need to provide default 3511# value. By we need to know if files were specified by the user. 3512ac_need_defaults=: 3513while test $# != 0 3514do 3515 case $1 in 3516 --*=*) 3517 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3518 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3519 ac_shift=: 3520 ;; 3521 *) 3522 ac_option=$1 3523 ac_optarg=$2 3524 ac_shift=shift 3525 ;; 3526 esac 3527 3528 case $ac_option in 3529 # Handling of the options. 3530 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3531 ac_cs_recheck=: ;; 3532 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3533 echo "$ac_cs_version"; exit ;; 3534 --debug | --debu | --deb | --de | --d | -d ) 3535 debug=: ;; 3536 --he | --h | --help | --hel | -h ) 3537 echo "$ac_cs_usage"; exit ;; 3538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3539 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3540 ac_cs_silent=: ;; 3541 3542 # This is an error. 3543 -*) { echo "$as_me: error: unrecognized option: $1 3544Try \`$0 --help' for more information." >&2 3545 { (exit 1); exit 1; }; } ;; 3546 3547 *) ac_config_targets="$ac_config_targets $1" 3548 ac_need_defaults=false ;; 3549 3550 esac 3551 shift 3552done 3553 3554ac_configure_extra_args= 3555 3556if $ac_cs_silent; then 3557 exec 6>/dev/null 3558 ac_configure_extra_args="$ac_configure_extra_args --silent" 3559fi 3560 3561_ACEOF 3562cat >>$CONFIG_STATUS <<_ACEOF 3563if \$ac_cs_recheck; then 3564 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3565 CONFIG_SHELL=$SHELL 3566 export CONFIG_SHELL 3567 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3568fi 3569 3570_ACEOF 3571cat >>$CONFIG_STATUS <<\_ACEOF 3572exec 5>>config.log 3573{ 3574 echo 3575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3576## Running $as_me. ## 3577_ASBOX 3578 echo "$ac_log" 3579} >&5 3580 3581_ACEOF 3582cat >>$CONFIG_STATUS <<_ACEOF 3583# 3584# INIT-COMMANDS 3585# 3586 3587cat_conts="$cat_conts" 3588 3589 3590 3591_ACEOF 3592 3593cat >>$CONFIG_STATUS <<\_ACEOF 3594 3595# Handling of arguments. 3596for ac_config_target in $ac_config_targets 3597do 3598 case $ac_config_target in 3599 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 3600 3601 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3602echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3603 { (exit 1); exit 1; }; };; 3604 esac 3605done 3606 3607 3608# If the user did not use the arguments to specify the items to instantiate, 3609# then the envvar interface is used. Set only those that are not. 3610# We use the long form for the default assignment because of an extremely 3611# bizarre bug on SunOS 4.1.3. 3612if $ac_need_defaults; then 3613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 3614fi 3615 3616# Have a temporary directory for convenience. Make it in the build tree 3617# simply because there is no reason against having it here, and in addition, 3618# creating and moving files from /tmp can sometimes cause problems. 3619# Hook for its removal unless debugging. 3620# Note that there is a small window in which the directory will not be cleaned: 3621# after its creation but before its name has been assigned to `$tmp'. 3622$debug || 3623{ 3624 tmp= 3625 trap 'exit_status=$? 3626 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3627' 0 3628 trap '{ (exit 1); exit 1; }' 1 2 13 15 3629} 3630# Create a (secure) tmp directory for tmp files. 3631 3632{ 3633 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3634 test -n "$tmp" && test -d "$tmp" 3635} || 3636{ 3637 tmp=./conf$$-$RANDOM 3638 (umask 077 && mkdir "$tmp") 3639} || 3640{ 3641 echo "$me: cannot create a temporary directory in ." >&2 3642 { (exit 1); exit 1; } 3643} 3644 3645 3646for ac_tag in :C $CONFIG_COMMANDS 3647do 3648 case $ac_tag in 3649 :[FHLC]) ac_mode=$ac_tag; continue;; 3650 esac 3651 case $ac_mode$ac_tag in 3652 :[FHL]*:*);; 3653 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 3654echo "$as_me: error: Invalid tag $ac_tag." >&2;} 3655 { (exit 1); exit 1; }; };; 3656 :[FH]-) ac_tag=-:-;; 3657 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3658 esac 3659 ac_save_IFS=$IFS 3660 IFS=: 3661 set x $ac_tag 3662 IFS=$ac_save_IFS 3663 shift 3664 ac_file=$1 3665 shift 3666 3667 case $ac_mode in 3668 :L) ac_source=$1;; 3669 :[FH]) 3670 ac_file_inputs= 3671 for ac_f 3672 do 3673 case $ac_f in 3674 -) ac_f="$tmp/stdin";; 3675 *) # Look for the file first in the build tree, then in the source tree 3676 # (if the path is not absolute). The absolute path cannot be DOS-style, 3677 # because $ac_f cannot contain `:'. 3678 test -f "$ac_f" || 3679 case $ac_f in 3680 [\\/$]*) false;; 3681 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3682 esac || 3683 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 3684echo "$as_me: error: cannot find input file: $ac_f" >&2;} 3685 { (exit 1); exit 1; }; };; 3686 esac 3687 ac_file_inputs="$ac_file_inputs $ac_f" 3688 done 3689 3690 # Let's still pretend it is `configure' which instantiates (i.e., don't 3691 # use $as_me), people would be surprised to read: 3692 # /* config.h. Generated by config.status. */ 3693 configure_input="Generated from "`IFS=: 3694 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 3695 if test x"$ac_file" != x-; then 3696 configure_input="$ac_file. $configure_input" 3697 { echo "$as_me:$LINENO: creating $ac_file" >&5 3698echo "$as_me: creating $ac_file" >&6;} 3699 fi 3700 3701 case $ac_tag in 3702 *:-:* | *:-) cat >"$tmp/stdin";; 3703 esac 3704 ;; 3705 esac 3706 3707 ac_dir=`$as_dirname -- "$ac_file" || 3708$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3709 X"$ac_file" : 'X\(//\)[^/]' \| \ 3710 X"$ac_file" : 'X\(//\)$' \| \ 3711 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3712echo X"$ac_file" | 3713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3714 s//\1/ 3715 q 3716 } 3717 /^X\(\/\/\)[^/].*/{ 3718 s//\1/ 3719 q 3720 } 3721 /^X\(\/\/\)$/{ 3722 s//\1/ 3723 q 3724 } 3725 /^X\(\/\).*/{ 3726 s//\1/ 3727 q 3728 } 3729 s/.*/./; q'` 3730 { as_dir="$ac_dir" 3731 case $as_dir in #( 3732 -*) as_dir=./$as_dir;; 3733 esac 3734 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3735 as_dirs= 3736 while :; do 3737 case $as_dir in #( 3738 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 3739 *) as_qdir=$as_dir;; 3740 esac 3741 as_dirs="'$as_qdir' $as_dirs" 3742 as_dir=`$as_dirname -- "$as_dir" || 3743$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3744 X"$as_dir" : 'X\(//\)[^/]' \| \ 3745 X"$as_dir" : 'X\(//\)$' \| \ 3746 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3747echo X"$as_dir" | 3748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3749 s//\1/ 3750 q 3751 } 3752 /^X\(\/\/\)[^/].*/{ 3753 s//\1/ 3754 q 3755 } 3756 /^X\(\/\/\)$/{ 3757 s//\1/ 3758 q 3759 } 3760 /^X\(\/\).*/{ 3761 s//\1/ 3762 q 3763 } 3764 s/.*/./; q'` 3765 test -d "$as_dir" && break 3766 done 3767 test -z "$as_dirs" || eval "mkdir $as_dirs" 3768 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3769echo "$as_me: error: cannot create directory $as_dir" >&2;} 3770 { (exit 1); exit 1; }; }; } 3771 ac_builddir=. 3772 3773case "$ac_dir" in 3774.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3775*) 3776 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3777 # A ".." for each directory in $ac_dir_suffix. 3778 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 3779 case $ac_top_builddir_sub in 3780 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3781 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3782 esac ;; 3783esac 3784ac_abs_top_builddir=$ac_pwd 3785ac_abs_builddir=$ac_pwd$ac_dir_suffix 3786# for backward compatibility: 3787ac_top_builddir=$ac_top_build_prefix 3788 3789case $srcdir in 3790 .) # We are building in place. 3791 ac_srcdir=. 3792 ac_top_srcdir=$ac_top_builddir_sub 3793 ac_abs_top_srcdir=$ac_pwd ;; 3794 [\\/]* | ?:[\\/]* ) # Absolute name. 3795 ac_srcdir=$srcdir$ac_dir_suffix; 3796 ac_top_srcdir=$srcdir 3797 ac_abs_top_srcdir=$srcdir ;; 3798 *) # Relative name. 3799 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3800 ac_top_srcdir=$ac_top_build_prefix$srcdir 3801 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3802esac 3803ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3804 3805 3806 case $ac_mode in 3807 3808 3809 3810 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 3811echo "$as_me: executing $ac_file commands" >&6;} 3812 ;; 3813 esac 3814 3815 3816 case $ac_file$ac_mode in 3817 "default":C) 3818cat > user.hpp << EEEOF 3819${cat_conts} 3820EEEOF 3821cat << EEEOF 3822 3823Adjustments to boost configuration have been written to 3824user.hpp. Copy this to boost/config/user.hpp to use "as is", 3825or define BOOST_SITE_CONFIG to point to its location. 3826 3827TREAT THIS FILE WITH CARE. 3828Autoconf generated options are not infallible! 3829 3830EEEOF 3831 ;; 3832 3833 esac 3834done # for ac_tag 3835 3836 3837{ (exit 0); exit 0; } 3838_ACEOF 3839chmod +x $CONFIG_STATUS 3840ac_clean_files=$ac_clean_files_save 3841 3842 3843# configure is writing to config.log, and then calls config.status. 3844# config.status does its own redirection, appending to config.log. 3845# Unfortunately, on DOS this fails, as config.log is still kept open 3846# by configure, so config.status won't be able to write to it; its 3847# output is simply discarded. So we exec the FD to /dev/null, 3848# effectively closing config.log, so it can be properly (re)opened and 3849# appended to by config.status. When coming back to configure, we 3850# need to make the FD available again. 3851if test "$no_create" != yes; then 3852 ac_cs_success=: 3853 ac_config_status_args= 3854 test "$silent" = yes && 3855 ac_config_status_args="$ac_config_status_args --quiet" 3856 exec 5>/dev/null 3857 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3858 exec 5>>config.log 3859 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3860 # would make configure fail if this is the last instruction. 3861 $ac_cs_success || { (exit 1); exit 1; } 3862fi 3863 3864 3865fi 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895