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