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="main.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 630INSTALL 631INSTALL_PROGRAM 632INSTALL_DATA 633GPERF_LIBM 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 1650ac_config_headers="$ac_config_headers config.h" 1651 1652{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1653echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1654set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1655if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1656 echo $ECHO_N "(cached) $ECHO_C" >&6 1657else 1658 cat >conftest.make <<\_ACEOF 1659SHELL = /bin/sh 1660all: 1661 @echo '@@@%%%=$(MAKE)=@@@%%%' 1662_ACEOF 1663# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1664case `${MAKE-make} -f conftest.make 2>/dev/null` in 1665 *@@@%%%=?*=@@@%%%*) 1666 eval ac_cv_prog_make_${ac_make}_set=yes;; 1667 *) 1668 eval ac_cv_prog_make_${ac_make}_set=no;; 1669esac 1670rm -f conftest.make 1671fi 1672if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1673 { echo "$as_me:$LINENO: result: yes" >&5 1674echo "${ECHO_T}yes" >&6; } 1675 SET_MAKE= 1676else 1677 { echo "$as_me:$LINENO: result: no" >&5 1678echo "${ECHO_T}no" >&6; } 1679 SET_MAKE="MAKE=${MAKE-make}" 1680fi 1681 1682ac_ext=c 1683ac_cpp='$CPP $CPPFLAGS' 1684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1686ac_compiler_gnu=$ac_cv_c_compiler_gnu 1687if test -n "$ac_tool_prefix"; then 1688 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1689set dummy ${ac_tool_prefix}gcc; ac_word=$2 1690{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1691echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1692if test "${ac_cv_prog_CC+set}" = set; then 1693 echo $ECHO_N "(cached) $ECHO_C" >&6 1694else 1695 if test -n "$CC"; then 1696 ac_cv_prog_CC="$CC" # Let the user override the test. 1697else 1698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1699for as_dir in $PATH 1700do 1701 IFS=$as_save_IFS 1702 test -z "$as_dir" && as_dir=. 1703 for ac_exec_ext in '' $ac_executable_extensions; do 1704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1705 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1707 break 2 1708 fi 1709done 1710done 1711IFS=$as_save_IFS 1712 1713fi 1714fi 1715CC=$ac_cv_prog_CC 1716if test -n "$CC"; then 1717 { echo "$as_me:$LINENO: result: $CC" >&5 1718echo "${ECHO_T}$CC" >&6; } 1719else 1720 { echo "$as_me:$LINENO: result: no" >&5 1721echo "${ECHO_T}no" >&6; } 1722fi 1723 1724 1725fi 1726if test -z "$ac_cv_prog_CC"; then 1727 ac_ct_CC=$CC 1728 # Extract the first word of "gcc", so it can be a program name with args. 1729set dummy gcc; ac_word=$2 1730{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1731echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1732if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1733 echo $ECHO_N "(cached) $ECHO_C" >&6 1734else 1735 if test -n "$ac_ct_CC"; then 1736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1737else 1738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1739for as_dir in $PATH 1740do 1741 IFS=$as_save_IFS 1742 test -z "$as_dir" && as_dir=. 1743 for ac_exec_ext in '' $ac_executable_extensions; do 1744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1745 ac_cv_prog_ac_ct_CC="gcc" 1746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1747 break 2 1748 fi 1749done 1750done 1751IFS=$as_save_IFS 1752 1753fi 1754fi 1755ac_ct_CC=$ac_cv_prog_ac_ct_CC 1756if test -n "$ac_ct_CC"; then 1757 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1758echo "${ECHO_T}$ac_ct_CC" >&6; } 1759else 1760 { echo "$as_me:$LINENO: result: no" >&5 1761echo "${ECHO_T}no" >&6; } 1762fi 1763 1764 if test "x$ac_ct_CC" = x; then 1765 CC="" 1766 else 1767 case $cross_compiling:$ac_tool_warned in 1768yes:) 1769{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1770whose name does not start with the host triplet. If you think this 1771configuration is useful to you, please write to autoconf@gnu.org." >&5 1772echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1773whose name does not start with the host triplet. If you think this 1774configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1775ac_tool_warned=yes ;; 1776esac 1777 CC=$ac_ct_CC 1778 fi 1779else 1780 CC="$ac_cv_prog_CC" 1781fi 1782 1783if test -z "$CC"; then 1784 if test -n "$ac_tool_prefix"; then 1785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1786set dummy ${ac_tool_prefix}cc; ac_word=$2 1787{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1788echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1789if test "${ac_cv_prog_CC+set}" = set; then 1790 echo $ECHO_N "(cached) $ECHO_C" >&6 1791else 1792 if test -n "$CC"; then 1793 ac_cv_prog_CC="$CC" # Let the user override the test. 1794else 1795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1796for as_dir in $PATH 1797do 1798 IFS=$as_save_IFS 1799 test -z "$as_dir" && as_dir=. 1800 for ac_exec_ext in '' $ac_executable_extensions; do 1801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1802 ac_cv_prog_CC="${ac_tool_prefix}cc" 1803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1804 break 2 1805 fi 1806done 1807done 1808IFS=$as_save_IFS 1809 1810fi 1811fi 1812CC=$ac_cv_prog_CC 1813if test -n "$CC"; then 1814 { echo "$as_me:$LINENO: result: $CC" >&5 1815echo "${ECHO_T}$CC" >&6; } 1816else 1817 { echo "$as_me:$LINENO: result: no" >&5 1818echo "${ECHO_T}no" >&6; } 1819fi 1820 1821 1822 fi 1823fi 1824if test -z "$CC"; then 1825 # Extract the first word of "cc", so it can be a program name with args. 1826set dummy cc; ac_word=$2 1827{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1828echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1829if test "${ac_cv_prog_CC+set}" = set; then 1830 echo $ECHO_N "(cached) $ECHO_C" >&6 1831else 1832 if test -n "$CC"; then 1833 ac_cv_prog_CC="$CC" # Let the user override the test. 1834else 1835 ac_prog_rejected=no 1836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1837for as_dir in $PATH 1838do 1839 IFS=$as_save_IFS 1840 test -z "$as_dir" && as_dir=. 1841 for ac_exec_ext in '' $ac_executable_extensions; do 1842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1844 ac_prog_rejected=yes 1845 continue 1846 fi 1847 ac_cv_prog_CC="cc" 1848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1849 break 2 1850 fi 1851done 1852done 1853IFS=$as_save_IFS 1854 1855if test $ac_prog_rejected = yes; then 1856 # We found a bogon in the path, so make sure we never use it. 1857 set dummy $ac_cv_prog_CC 1858 shift 1859 if test $# != 0; then 1860 # We chose a different compiler from the bogus one. 1861 # However, it has the same basename, so the bogon will be chosen 1862 # first if we set CC to just the basename; use the full file name. 1863 shift 1864 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1865 fi 1866fi 1867fi 1868fi 1869CC=$ac_cv_prog_CC 1870if test -n "$CC"; then 1871 { echo "$as_me:$LINENO: result: $CC" >&5 1872echo "${ECHO_T}$CC" >&6; } 1873else 1874 { echo "$as_me:$LINENO: result: no" >&5 1875echo "${ECHO_T}no" >&6; } 1876fi 1877 1878 1879fi 1880if test -z "$CC"; then 1881 if test -n "$ac_tool_prefix"; then 1882 for ac_prog in cl.exe 1883 do 1884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1885set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1886{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1888if test "${ac_cv_prog_CC+set}" = set; then 1889 echo $ECHO_N "(cached) $ECHO_C" >&6 1890else 1891 if test -n "$CC"; then 1892 ac_cv_prog_CC="$CC" # Let the user override the test. 1893else 1894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1895for as_dir in $PATH 1896do 1897 IFS=$as_save_IFS 1898 test -z "$as_dir" && as_dir=. 1899 for ac_exec_ext in '' $ac_executable_extensions; do 1900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1903 break 2 1904 fi 1905done 1906done 1907IFS=$as_save_IFS 1908 1909fi 1910fi 1911CC=$ac_cv_prog_CC 1912if test -n "$CC"; then 1913 { echo "$as_me:$LINENO: result: $CC" >&5 1914echo "${ECHO_T}$CC" >&6; } 1915else 1916 { echo "$as_me:$LINENO: result: no" >&5 1917echo "${ECHO_T}no" >&6; } 1918fi 1919 1920 1921 test -n "$CC" && break 1922 done 1923fi 1924if test -z "$CC"; then 1925 ac_ct_CC=$CC 1926 for ac_prog in cl.exe 1927do 1928 # Extract the first word of "$ac_prog", so it can be a program name with args. 1929set dummy $ac_prog; ac_word=$2 1930{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1931echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1932if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1933 echo $ECHO_N "(cached) $ECHO_C" >&6 1934else 1935 if test -n "$ac_ct_CC"; then 1936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1937else 1938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1939for as_dir in $PATH 1940do 1941 IFS=$as_save_IFS 1942 test -z "$as_dir" && as_dir=. 1943 for ac_exec_ext in '' $ac_executable_extensions; do 1944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1945 ac_cv_prog_ac_ct_CC="$ac_prog" 1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1947 break 2 1948 fi 1949done 1950done 1951IFS=$as_save_IFS 1952 1953fi 1954fi 1955ac_ct_CC=$ac_cv_prog_ac_ct_CC 1956if test -n "$ac_ct_CC"; then 1957 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1958echo "${ECHO_T}$ac_ct_CC" >&6; } 1959else 1960 { echo "$as_me:$LINENO: result: no" >&5 1961echo "${ECHO_T}no" >&6; } 1962fi 1963 1964 1965 test -n "$ac_ct_CC" && break 1966done 1967 1968 if test "x$ac_ct_CC" = x; then 1969 CC="" 1970 else 1971 case $cross_compiling:$ac_tool_warned in 1972yes:) 1973{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1974whose name does not start with the host triplet. If you think this 1975configuration is useful to you, please write to autoconf@gnu.org." >&5 1976echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1977whose name does not start with the host triplet. If you think this 1978configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1979ac_tool_warned=yes ;; 1980esac 1981 CC=$ac_ct_CC 1982 fi 1983fi 1984 1985fi 1986 1987 1988test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1989See \`config.log' for more details." >&5 1990echo "$as_me: error: no acceptable C compiler found in \$PATH 1991See \`config.log' for more details." >&2;} 1992 { (exit 1); exit 1; }; } 1993 1994# Provide some information about the compiler. 1995echo "$as_me:$LINENO: checking for C compiler version" >&5 1996ac_compiler=`set X $ac_compile; echo $2` 1997{ (ac_try="$ac_compiler --version >&5" 1998case "(($ac_try" in 1999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2000 *) ac_try_echo=$ac_try;; 2001esac 2002eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2003 (eval "$ac_compiler --version >&5") 2>&5 2004 ac_status=$? 2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2006 (exit $ac_status); } 2007{ (ac_try="$ac_compiler -v >&5" 2008case "(($ac_try" in 2009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2010 *) ac_try_echo=$ac_try;; 2011esac 2012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2013 (eval "$ac_compiler -v >&5") 2>&5 2014 ac_status=$? 2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2016 (exit $ac_status); } 2017{ (ac_try="$ac_compiler -V >&5" 2018case "(($ac_try" in 2019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2020 *) ac_try_echo=$ac_try;; 2021esac 2022eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2023 (eval "$ac_compiler -V >&5") 2>&5 2024 ac_status=$? 2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2026 (exit $ac_status); } 2027 2028cat >conftest.$ac_ext <<_ACEOF 2029/* confdefs.h. */ 2030_ACEOF 2031cat confdefs.h >>conftest.$ac_ext 2032cat >>conftest.$ac_ext <<_ACEOF 2033/* end confdefs.h. */ 2034 2035int 2036main () 2037{ 2038 2039 ; 2040 return 0; 2041} 2042_ACEOF 2043ac_clean_files_save=$ac_clean_files 2044ac_clean_files="$ac_clean_files a.out a.exe b.out" 2045# Try to create an executable without -o first, disregard a.out. 2046# It will help us diagnose broken compilers, and finding out an intuition 2047# of exeext. 2048{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2049echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2050ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2051# 2052# List of possible output files, starting from the most likely. 2053# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2054# only as a last resort. b.out is created by i960 compilers. 2055ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2056# 2057# The IRIX 6 linker writes into existing files which may not be 2058# executable, retaining their permissions. Remove them first so a 2059# subsequent execution test works. 2060ac_rmfiles= 2061for ac_file in $ac_files 2062do 2063 case $ac_file in 2064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2065 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2066 esac 2067done 2068rm -f $ac_rmfiles 2069 2070if { (ac_try="$ac_link_default" 2071case "(($ac_try" in 2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2073 *) ac_try_echo=$ac_try;; 2074esac 2075eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2076 (eval "$ac_link_default") 2>&5 2077 ac_status=$? 2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2079 (exit $ac_status); }; then 2080 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2081# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2082# in a Makefile. We should not override ac_cv_exeext if it was cached, 2083# so that the user can short-circuit this test for compilers unknown to 2084# Autoconf. 2085for ac_file in $ac_files '' 2086do 2087 test -f "$ac_file" || continue 2088 case $ac_file in 2089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2090 ;; 2091 [ab].out ) 2092 # We found the default executable, but exeext='' is most 2093 # certainly right. 2094 break;; 2095 *.* ) 2096 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2097 then :; else 2098 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2099 fi 2100 # We set ac_cv_exeext here because the later test for it is not 2101 # safe: cross compilers may not add the suffix if given an `-o' 2102 # argument, so we may need to know it at that point already. 2103 # Even if this section looks crufty: it has the advantage of 2104 # actually working. 2105 break;; 2106 * ) 2107 break;; 2108 esac 2109done 2110test "$ac_cv_exeext" = no && ac_cv_exeext= 2111 2112else 2113 ac_file='' 2114fi 2115 2116{ echo "$as_me:$LINENO: result: $ac_file" >&5 2117echo "${ECHO_T}$ac_file" >&6; } 2118if test -z "$ac_file"; then 2119 echo "$as_me: failed program was:" >&5 2120sed 's/^/| /' conftest.$ac_ext >&5 2121 2122{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2123See \`config.log' for more details." >&5 2124echo "$as_me: error: C compiler cannot create executables 2125See \`config.log' for more details." >&2;} 2126 { (exit 77); exit 77; }; } 2127fi 2128 2129ac_exeext=$ac_cv_exeext 2130 2131# Check that the compiler produces executables we can run. If not, either 2132# the compiler is broken, or we cross compile. 2133{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2134echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2135# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2136# If not cross compiling, check that we can run a simple program. 2137if test "$cross_compiling" != yes; then 2138 if { ac_try='./$ac_file' 2139 { (case "(($ac_try" in 2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2141 *) ac_try_echo=$ac_try;; 2142esac 2143eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2144 (eval "$ac_try") 2>&5 2145 ac_status=$? 2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2147 (exit $ac_status); }; }; then 2148 cross_compiling=no 2149 else 2150 if test "$cross_compiling" = maybe; then 2151 cross_compiling=yes 2152 else 2153 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2154If you meant to cross compile, use \`--host'. 2155See \`config.log' for more details." >&5 2156echo "$as_me: error: cannot run C compiled programs. 2157If you meant to cross compile, use \`--host'. 2158See \`config.log' for more details." >&2;} 2159 { (exit 1); exit 1; }; } 2160 fi 2161 fi 2162fi 2163{ echo "$as_me:$LINENO: result: yes" >&5 2164echo "${ECHO_T}yes" >&6; } 2165 2166rm -f a.out a.exe conftest$ac_cv_exeext b.out 2167ac_clean_files=$ac_clean_files_save 2168# Check that the compiler produces executables we can run. If not, either 2169# the compiler is broken, or we cross compile. 2170{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2171echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2172{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2173echo "${ECHO_T}$cross_compiling" >&6; } 2174 2175{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2176echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2177if { (ac_try="$ac_link" 2178case "(($ac_try" in 2179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2180 *) ac_try_echo=$ac_try;; 2181esac 2182eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2183 (eval "$ac_link") 2>&5 2184 ac_status=$? 2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2186 (exit $ac_status); }; then 2187 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2188# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2189# work properly (i.e., refer to `conftest.exe'), while it won't with 2190# `rm'. 2191for ac_file in conftest.exe conftest conftest.*; do 2192 test -f "$ac_file" || continue 2193 case $ac_file in 2194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2195 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2196 break;; 2197 * ) break;; 2198 esac 2199done 2200else 2201 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2202See \`config.log' for more details." >&5 2203echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2204See \`config.log' for more details." >&2;} 2205 { (exit 1); exit 1; }; } 2206fi 2207 2208rm -f conftest$ac_cv_exeext 2209{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2210echo "${ECHO_T}$ac_cv_exeext" >&6; } 2211 2212rm -f conftest.$ac_ext 2213EXEEXT=$ac_cv_exeext 2214ac_exeext=$EXEEXT 2215{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2216echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2217if test "${ac_cv_objext+set}" = set; then 2218 echo $ECHO_N "(cached) $ECHO_C" >&6 2219else 2220 cat >conftest.$ac_ext <<_ACEOF 2221/* confdefs.h. */ 2222_ACEOF 2223cat confdefs.h >>conftest.$ac_ext 2224cat >>conftest.$ac_ext <<_ACEOF 2225/* end confdefs.h. */ 2226 2227int 2228main () 2229{ 2230 2231 ; 2232 return 0; 2233} 2234_ACEOF 2235rm -f conftest.o conftest.obj 2236if { (ac_try="$ac_compile" 2237case "(($ac_try" in 2238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2239 *) ac_try_echo=$ac_try;; 2240esac 2241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2242 (eval "$ac_compile") 2>&5 2243 ac_status=$? 2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2245 (exit $ac_status); }; then 2246 for ac_file in conftest.o conftest.obj conftest.*; do 2247 test -f "$ac_file" || continue; 2248 case $ac_file in 2249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2251 break;; 2252 esac 2253done 2254else 2255 echo "$as_me: failed program was:" >&5 2256sed 's/^/| /' conftest.$ac_ext >&5 2257 2258{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2259See \`config.log' for more details." >&5 2260echo "$as_me: error: cannot compute suffix of object files: cannot compile 2261See \`config.log' for more details." >&2;} 2262 { (exit 1); exit 1; }; } 2263fi 2264 2265rm -f conftest.$ac_cv_objext conftest.$ac_ext 2266fi 2267{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2268echo "${ECHO_T}$ac_cv_objext" >&6; } 2269OBJEXT=$ac_cv_objext 2270ac_objext=$OBJEXT 2271{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2272echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2273if test "${ac_cv_c_compiler_gnu+set}" = set; then 2274 echo $ECHO_N "(cached) $ECHO_C" >&6 2275else 2276 cat >conftest.$ac_ext <<_ACEOF 2277/* confdefs.h. */ 2278_ACEOF 2279cat confdefs.h >>conftest.$ac_ext 2280cat >>conftest.$ac_ext <<_ACEOF 2281/* end confdefs.h. */ 2282 2283int 2284main () 2285{ 2286#ifndef __GNUC__ 2287 choke me 2288#endif 2289 2290 ; 2291 return 0; 2292} 2293_ACEOF 2294rm -f conftest.$ac_objext 2295if { (ac_try="$ac_compile" 2296case "(($ac_try" in 2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2298 *) ac_try_echo=$ac_try;; 2299esac 2300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2301 (eval "$ac_compile") 2>conftest.er1 2302 ac_status=$? 2303 grep -v '^ *+' conftest.er1 >conftest.err 2304 rm -f conftest.er1 2305 cat conftest.err >&5 2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2307 (exit $ac_status); } && { 2308 test -z "$ac_c_werror_flag" || 2309 test ! -s conftest.err 2310 } && test -s conftest.$ac_objext; then 2311 ac_compiler_gnu=yes 2312else 2313 echo "$as_me: failed program was:" >&5 2314sed 's/^/| /' conftest.$ac_ext >&5 2315 2316 ac_compiler_gnu=no 2317fi 2318 2319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2320ac_cv_c_compiler_gnu=$ac_compiler_gnu 2321 2322fi 2323{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2324echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2325GCC=`test $ac_compiler_gnu = yes && echo yes` 2326ac_test_CFLAGS=${CFLAGS+set} 2327ac_save_CFLAGS=$CFLAGS 2328{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2329echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2330if test "${ac_cv_prog_cc_g+set}" = set; then 2331 echo $ECHO_N "(cached) $ECHO_C" >&6 2332else 2333 ac_save_c_werror_flag=$ac_c_werror_flag 2334 ac_c_werror_flag=yes 2335 ac_cv_prog_cc_g=no 2336 CFLAGS="-g" 2337 cat >conftest.$ac_ext <<_ACEOF 2338/* confdefs.h. */ 2339_ACEOF 2340cat confdefs.h >>conftest.$ac_ext 2341cat >>conftest.$ac_ext <<_ACEOF 2342/* end confdefs.h. */ 2343 2344int 2345main () 2346{ 2347 2348 ; 2349 return 0; 2350} 2351_ACEOF 2352rm -f conftest.$ac_objext 2353if { (ac_try="$ac_compile" 2354case "(($ac_try" in 2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2356 *) ac_try_echo=$ac_try;; 2357esac 2358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2359 (eval "$ac_compile") 2>conftest.er1 2360 ac_status=$? 2361 grep -v '^ *+' conftest.er1 >conftest.err 2362 rm -f conftest.er1 2363 cat conftest.err >&5 2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2365 (exit $ac_status); } && { 2366 test -z "$ac_c_werror_flag" || 2367 test ! -s conftest.err 2368 } && test -s conftest.$ac_objext; then 2369 ac_cv_prog_cc_g=yes 2370else 2371 echo "$as_me: failed program was:" >&5 2372sed 's/^/| /' conftest.$ac_ext >&5 2373 2374 CFLAGS="" 2375 cat >conftest.$ac_ext <<_ACEOF 2376/* confdefs.h. */ 2377_ACEOF 2378cat confdefs.h >>conftest.$ac_ext 2379cat >>conftest.$ac_ext <<_ACEOF 2380/* end confdefs.h. */ 2381 2382int 2383main () 2384{ 2385 2386 ; 2387 return 0; 2388} 2389_ACEOF 2390rm -f conftest.$ac_objext 2391if { (ac_try="$ac_compile" 2392case "(($ac_try" in 2393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2394 *) ac_try_echo=$ac_try;; 2395esac 2396eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2397 (eval "$ac_compile") 2>conftest.er1 2398 ac_status=$? 2399 grep -v '^ *+' conftest.er1 >conftest.err 2400 rm -f conftest.er1 2401 cat conftest.err >&5 2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2403 (exit $ac_status); } && { 2404 test -z "$ac_c_werror_flag" || 2405 test ! -s conftest.err 2406 } && test -s conftest.$ac_objext; then 2407 : 2408else 2409 echo "$as_me: failed program was:" >&5 2410sed 's/^/| /' conftest.$ac_ext >&5 2411 2412 ac_c_werror_flag=$ac_save_c_werror_flag 2413 CFLAGS="-g" 2414 cat >conftest.$ac_ext <<_ACEOF 2415/* confdefs.h. */ 2416_ACEOF 2417cat confdefs.h >>conftest.$ac_ext 2418cat >>conftest.$ac_ext <<_ACEOF 2419/* end confdefs.h. */ 2420 2421int 2422main () 2423{ 2424 2425 ; 2426 return 0; 2427} 2428_ACEOF 2429rm -f conftest.$ac_objext 2430if { (ac_try="$ac_compile" 2431case "(($ac_try" in 2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2433 *) ac_try_echo=$ac_try;; 2434esac 2435eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2436 (eval "$ac_compile") 2>conftest.er1 2437 ac_status=$? 2438 grep -v '^ *+' conftest.er1 >conftest.err 2439 rm -f conftest.er1 2440 cat conftest.err >&5 2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2442 (exit $ac_status); } && { 2443 test -z "$ac_c_werror_flag" || 2444 test ! -s conftest.err 2445 } && test -s conftest.$ac_objext; then 2446 ac_cv_prog_cc_g=yes 2447else 2448 echo "$as_me: failed program was:" >&5 2449sed 's/^/| /' conftest.$ac_ext >&5 2450 2451 2452fi 2453 2454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2455fi 2456 2457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2458fi 2459 2460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2461 ac_c_werror_flag=$ac_save_c_werror_flag 2462fi 2463{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2464echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2465if test "$ac_test_CFLAGS" = set; then 2466 CFLAGS=$ac_save_CFLAGS 2467elif test $ac_cv_prog_cc_g = yes; then 2468 if test "$GCC" = yes; then 2469 CFLAGS="-g -O2" 2470 else 2471 CFLAGS="-g" 2472 fi 2473else 2474 if test "$GCC" = yes; then 2475 CFLAGS="-O2" 2476 else 2477 CFLAGS= 2478 fi 2479fi 2480{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2481echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2482if test "${ac_cv_prog_cc_c89+set}" = set; then 2483 echo $ECHO_N "(cached) $ECHO_C" >&6 2484else 2485 ac_cv_prog_cc_c89=no 2486ac_save_CC=$CC 2487cat >conftest.$ac_ext <<_ACEOF 2488/* confdefs.h. */ 2489_ACEOF 2490cat confdefs.h >>conftest.$ac_ext 2491cat >>conftest.$ac_ext <<_ACEOF 2492/* end confdefs.h. */ 2493#include <stdarg.h> 2494#include <stdio.h> 2495#include <sys/types.h> 2496#include <sys/stat.h> 2497/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2498struct buf { int x; }; 2499FILE * (*rcsopen) (struct buf *, struct stat *, int); 2500static char *e (p, i) 2501 char **p; 2502 int i; 2503{ 2504 return p[i]; 2505} 2506static char *f (char * (*g) (char **, int), char **p, ...) 2507{ 2508 char *s; 2509 va_list v; 2510 va_start (v,p); 2511 s = g (p, va_arg (v,int)); 2512 va_end (v); 2513 return s; 2514} 2515 2516/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2517 function prototypes and stuff, but not '\xHH' hex character constants. 2518 These don't provoke an error unfortunately, instead are silently treated 2519 as 'x'. The following induces an error, until -std is added to get 2520 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2521 array size at least. It's necessary to write '\x00'==0 to get something 2522 that's true only with -std. */ 2523int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2524 2525/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2526 inside strings and character constants. */ 2527#define FOO(x) 'x' 2528int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2529 2530int test (int i, double x); 2531struct s1 {int (*f) (int a);}; 2532struct s2 {int (*f) (double a);}; 2533int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2534int argc; 2535char **argv; 2536int 2537main () 2538{ 2539return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2540 ; 2541 return 0; 2542} 2543_ACEOF 2544for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2545 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2546do 2547 CC="$ac_save_CC $ac_arg" 2548 rm -f conftest.$ac_objext 2549if { (ac_try="$ac_compile" 2550case "(($ac_try" in 2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2552 *) ac_try_echo=$ac_try;; 2553esac 2554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2555 (eval "$ac_compile") 2>conftest.er1 2556 ac_status=$? 2557 grep -v '^ *+' conftest.er1 >conftest.err 2558 rm -f conftest.er1 2559 cat conftest.err >&5 2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2561 (exit $ac_status); } && { 2562 test -z "$ac_c_werror_flag" || 2563 test ! -s conftest.err 2564 } && test -s conftest.$ac_objext; then 2565 ac_cv_prog_cc_c89=$ac_arg 2566else 2567 echo "$as_me: failed program was:" >&5 2568sed 's/^/| /' conftest.$ac_ext >&5 2569 2570 2571fi 2572 2573rm -f core conftest.err conftest.$ac_objext 2574 test "x$ac_cv_prog_cc_c89" != "xno" && break 2575done 2576rm -f conftest.$ac_ext 2577CC=$ac_save_CC 2578 2579fi 2580# AC_CACHE_VAL 2581case "x$ac_cv_prog_cc_c89" in 2582 x) 2583 { echo "$as_me:$LINENO: result: none needed" >&5 2584echo "${ECHO_T}none needed" >&6; } ;; 2585 xno) 2586 { echo "$as_me:$LINENO: result: unsupported" >&5 2587echo "${ECHO_T}unsupported" >&6; } ;; 2588 *) 2589 CC="$CC $ac_cv_prog_cc_c89" 2590 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2591echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2592esac 2593 2594 2595ac_ext=c 2596ac_cpp='$CPP $CPPFLAGS' 2597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2599ac_compiler_gnu=$ac_cv_c_compiler_gnu 2600 2601 ac_ext=c 2602ac_cpp='$CPP $CPPFLAGS' 2603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2605ac_compiler_gnu=$ac_cv_c_compiler_gnu 2606{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2607echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 2608# On Suns, sometimes $CPP names a directory. 2609if test -n "$CPP" && test -d "$CPP"; then 2610 CPP= 2611fi 2612if test -z "$CPP"; then 2613 if test "${ac_cv_prog_CPP+set}" = set; then 2614 echo $ECHO_N "(cached) $ECHO_C" >&6 2615else 2616 # Double quotes because CPP needs to be expanded 2617 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2618 do 2619 ac_preproc_ok=false 2620for ac_c_preproc_warn_flag in '' yes 2621do 2622 # Use a header file that comes with gcc, so configuring glibc 2623 # with a fresh cross-compiler works. 2624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2625 # <limits.h> exists even on freestanding compilers. 2626 # On the NeXT, cc -E runs the code through the compiler's parser, 2627 # not just through cpp. "Syntax error" is here to catch this case. 2628 cat >conftest.$ac_ext <<_ACEOF 2629/* confdefs.h. */ 2630_ACEOF 2631cat confdefs.h >>conftest.$ac_ext 2632cat >>conftest.$ac_ext <<_ACEOF 2633/* end confdefs.h. */ 2634#ifdef __STDC__ 2635# include <limits.h> 2636#else 2637# include <assert.h> 2638#endif 2639 Syntax error 2640_ACEOF 2641if { (ac_try="$ac_cpp conftest.$ac_ext" 2642case "(($ac_try" in 2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2644 *) ac_try_echo=$ac_try;; 2645esac 2646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2648 ac_status=$? 2649 grep -v '^ *+' conftest.er1 >conftest.err 2650 rm -f conftest.er1 2651 cat conftest.err >&5 2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2653 (exit $ac_status); } >/dev/null && { 2654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2655 test ! -s conftest.err 2656 }; then 2657 : 2658else 2659 echo "$as_me: failed program was:" >&5 2660sed 's/^/| /' conftest.$ac_ext >&5 2661 2662 # Broken: fails on valid input. 2663continue 2664fi 2665 2666rm -f conftest.err conftest.$ac_ext 2667 2668 # OK, works on sane cases. Now check whether nonexistent headers 2669 # can be detected and how. 2670 cat >conftest.$ac_ext <<_ACEOF 2671/* confdefs.h. */ 2672_ACEOF 2673cat confdefs.h >>conftest.$ac_ext 2674cat >>conftest.$ac_ext <<_ACEOF 2675/* end confdefs.h. */ 2676#include <ac_nonexistent.h> 2677_ACEOF 2678if { (ac_try="$ac_cpp conftest.$ac_ext" 2679case "(($ac_try" in 2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2681 *) ac_try_echo=$ac_try;; 2682esac 2683eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2685 ac_status=$? 2686 grep -v '^ *+' conftest.er1 >conftest.err 2687 rm -f conftest.er1 2688 cat conftest.err >&5 2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2690 (exit $ac_status); } >/dev/null && { 2691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2692 test ! -s conftest.err 2693 }; then 2694 # Broken: success on invalid input. 2695continue 2696else 2697 echo "$as_me: failed program was:" >&5 2698sed 's/^/| /' conftest.$ac_ext >&5 2699 2700 # Passes both tests. 2701ac_preproc_ok=: 2702break 2703fi 2704 2705rm -f conftest.err conftest.$ac_ext 2706 2707done 2708# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2709rm -f conftest.err conftest.$ac_ext 2710if $ac_preproc_ok; then 2711 break 2712fi 2713 2714 done 2715 ac_cv_prog_CPP=$CPP 2716 2717fi 2718 CPP=$ac_cv_prog_CPP 2719else 2720 ac_cv_prog_CPP=$CPP 2721fi 2722{ echo "$as_me:$LINENO: result: $CPP" >&5 2723echo "${ECHO_T}$CPP" >&6; } 2724ac_preproc_ok=false 2725for ac_c_preproc_warn_flag in '' yes 2726do 2727 # Use a header file that comes with gcc, so configuring glibc 2728 # with a fresh cross-compiler works. 2729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2730 # <limits.h> exists even on freestanding compilers. 2731 # On the NeXT, cc -E runs the code through the compiler's parser, 2732 # not just through cpp. "Syntax error" is here to catch this case. 2733 cat >conftest.$ac_ext <<_ACEOF 2734/* confdefs.h. */ 2735_ACEOF 2736cat confdefs.h >>conftest.$ac_ext 2737cat >>conftest.$ac_ext <<_ACEOF 2738/* end confdefs.h. */ 2739#ifdef __STDC__ 2740# include <limits.h> 2741#else 2742# include <assert.h> 2743#endif 2744 Syntax error 2745_ACEOF 2746if { (ac_try="$ac_cpp conftest.$ac_ext" 2747case "(($ac_try" in 2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2749 *) ac_try_echo=$ac_try;; 2750esac 2751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2753 ac_status=$? 2754 grep -v '^ *+' conftest.er1 >conftest.err 2755 rm -f conftest.er1 2756 cat conftest.err >&5 2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2758 (exit $ac_status); } >/dev/null && { 2759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2760 test ! -s conftest.err 2761 }; then 2762 : 2763else 2764 echo "$as_me: failed program was:" >&5 2765sed 's/^/| /' conftest.$ac_ext >&5 2766 2767 # Broken: fails on valid input. 2768continue 2769fi 2770 2771rm -f conftest.err conftest.$ac_ext 2772 2773 # OK, works on sane cases. Now check whether nonexistent headers 2774 # can be detected and how. 2775 cat >conftest.$ac_ext <<_ACEOF 2776/* confdefs.h. */ 2777_ACEOF 2778cat confdefs.h >>conftest.$ac_ext 2779cat >>conftest.$ac_ext <<_ACEOF 2780/* end confdefs.h. */ 2781#include <ac_nonexistent.h> 2782_ACEOF 2783if { (ac_try="$ac_cpp conftest.$ac_ext" 2784case "(($ac_try" in 2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2786 *) ac_try_echo=$ac_try;; 2787esac 2788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2790 ac_status=$? 2791 grep -v '^ *+' conftest.er1 >conftest.err 2792 rm -f conftest.er1 2793 cat conftest.err >&5 2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2795 (exit $ac_status); } >/dev/null && { 2796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2797 test ! -s conftest.err 2798 }; then 2799 # Broken: success on invalid input. 2800continue 2801else 2802 echo "$as_me: failed program was:" >&5 2803sed 's/^/| /' conftest.$ac_ext >&5 2804 2805 # Passes both tests. 2806ac_preproc_ok=: 2807break 2808fi 2809 2810rm -f conftest.err conftest.$ac_ext 2811 2812done 2813# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2814rm -f conftest.err conftest.$ac_ext 2815if $ac_preproc_ok; then 2816 : 2817else 2818 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2819See \`config.log' for more details." >&5 2820echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2821See \`config.log' for more details." >&2;} 2822 { (exit 1); exit 1; }; } 2823fi 2824 2825ac_ext=c 2826ac_cpp='$CPP $CPPFLAGS' 2827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2829ac_compiler_gnu=$ac_cv_c_compiler_gnu 2830 2831 ac_ext=cpp 2832ac_cpp='$CXXCPP $CPPFLAGS' 2833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2836if test -z "$CXX"; then 2837 if test -n "$CCC"; then 2838 CXX=$CCC 2839 else 2840 if test -n "$ac_tool_prefix"; then 2841 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2842 do 2843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2844set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2845{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2846echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2847if test "${ac_cv_prog_CXX+set}" = set; then 2848 echo $ECHO_N "(cached) $ECHO_C" >&6 2849else 2850 if test -n "$CXX"; then 2851 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2852else 2853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2854for as_dir in $PATH 2855do 2856 IFS=$as_save_IFS 2857 test -z "$as_dir" && as_dir=. 2858 for ac_exec_ext in '' $ac_executable_extensions; do 2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2860 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2862 break 2 2863 fi 2864done 2865done 2866IFS=$as_save_IFS 2867 2868fi 2869fi 2870CXX=$ac_cv_prog_CXX 2871if test -n "$CXX"; then 2872 { echo "$as_me:$LINENO: result: $CXX" >&5 2873echo "${ECHO_T}$CXX" >&6; } 2874else 2875 { echo "$as_me:$LINENO: result: no" >&5 2876echo "${ECHO_T}no" >&6; } 2877fi 2878 2879 2880 test -n "$CXX" && break 2881 done 2882fi 2883if test -z "$CXX"; then 2884 ac_ct_CXX=$CXX 2885 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2886do 2887 # Extract the first word of "$ac_prog", so it can be a program name with args. 2888set dummy $ac_prog; ac_word=$2 2889{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2890echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2891if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2892 echo $ECHO_N "(cached) $ECHO_C" >&6 2893else 2894 if test -n "$ac_ct_CXX"; then 2895 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2896else 2897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2898for as_dir in $PATH 2899do 2900 IFS=$as_save_IFS 2901 test -z "$as_dir" && as_dir=. 2902 for ac_exec_ext in '' $ac_executable_extensions; do 2903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2904 ac_cv_prog_ac_ct_CXX="$ac_prog" 2905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2906 break 2 2907 fi 2908done 2909done 2910IFS=$as_save_IFS 2911 2912fi 2913fi 2914ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2915if test -n "$ac_ct_CXX"; then 2916 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2917echo "${ECHO_T}$ac_ct_CXX" >&6; } 2918else 2919 { echo "$as_me:$LINENO: result: no" >&5 2920echo "${ECHO_T}no" >&6; } 2921fi 2922 2923 2924 test -n "$ac_ct_CXX" && break 2925done 2926 2927 if test "x$ac_ct_CXX" = x; then 2928 CXX="g++" 2929 else 2930 case $cross_compiling:$ac_tool_warned in 2931yes:) 2932{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2933whose name does not start with the host triplet. If you think this 2934configuration is useful to you, please write to autoconf@gnu.org." >&5 2935echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2936whose name does not start with the host triplet. If you think this 2937configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2938ac_tool_warned=yes ;; 2939esac 2940 CXX=$ac_ct_CXX 2941 fi 2942fi 2943 2944 fi 2945fi 2946# Provide some information about the compiler. 2947echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2948ac_compiler=`set X $ac_compile; echo $2` 2949{ (ac_try="$ac_compiler --version >&5" 2950case "(($ac_try" in 2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2952 *) ac_try_echo=$ac_try;; 2953esac 2954eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2955 (eval "$ac_compiler --version >&5") 2>&5 2956 ac_status=$? 2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); } 2959{ (ac_try="$ac_compiler -v >&5" 2960case "(($ac_try" in 2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2962 *) ac_try_echo=$ac_try;; 2963esac 2964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2965 (eval "$ac_compiler -v >&5") 2>&5 2966 ac_status=$? 2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2968 (exit $ac_status); } 2969{ (ac_try="$ac_compiler -V >&5" 2970case "(($ac_try" in 2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2972 *) ac_try_echo=$ac_try;; 2973esac 2974eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2975 (eval "$ac_compiler -V >&5") 2>&5 2976 ac_status=$? 2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2978 (exit $ac_status); } 2979 2980{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2981echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2982if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2983 echo $ECHO_N "(cached) $ECHO_C" >&6 2984else 2985 cat >conftest.$ac_ext <<_ACEOF 2986/* confdefs.h. */ 2987_ACEOF 2988cat confdefs.h >>conftest.$ac_ext 2989cat >>conftest.$ac_ext <<_ACEOF 2990/* end confdefs.h. */ 2991 2992int 2993main () 2994{ 2995#ifndef __GNUC__ 2996 choke me 2997#endif 2998 2999 ; 3000 return 0; 3001} 3002_ACEOF 3003rm -f conftest.$ac_objext 3004if { (ac_try="$ac_compile" 3005case "(($ac_try" in 3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3007 *) ac_try_echo=$ac_try;; 3008esac 3009eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3010 (eval "$ac_compile") 2>conftest.er1 3011 ac_status=$? 3012 grep -v '^ *+' conftest.er1 >conftest.err 3013 rm -f conftest.er1 3014 cat conftest.err >&5 3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 (exit $ac_status); } && { 3017 test -z "$ac_cxx_werror_flag" || 3018 test ! -s conftest.err 3019 } && test -s conftest.$ac_objext; then 3020 ac_compiler_gnu=yes 3021else 3022 echo "$as_me: failed program was:" >&5 3023sed 's/^/| /' conftest.$ac_ext >&5 3024 3025 ac_compiler_gnu=no 3026fi 3027 3028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3029ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3030 3031fi 3032{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3033echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3034GXX=`test $ac_compiler_gnu = yes && echo yes` 3035ac_test_CXXFLAGS=${CXXFLAGS+set} 3036ac_save_CXXFLAGS=$CXXFLAGS 3037{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3038echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3039if test "${ac_cv_prog_cxx_g+set}" = set; then 3040 echo $ECHO_N "(cached) $ECHO_C" >&6 3041else 3042 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3043 ac_cxx_werror_flag=yes 3044 ac_cv_prog_cxx_g=no 3045 CXXFLAGS="-g" 3046 cat >conftest.$ac_ext <<_ACEOF 3047/* confdefs.h. */ 3048_ACEOF 3049cat confdefs.h >>conftest.$ac_ext 3050cat >>conftest.$ac_ext <<_ACEOF 3051/* end confdefs.h. */ 3052 3053int 3054main () 3055{ 3056 3057 ; 3058 return 0; 3059} 3060_ACEOF 3061rm -f conftest.$ac_objext 3062if { (ac_try="$ac_compile" 3063case "(($ac_try" in 3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3065 *) ac_try_echo=$ac_try;; 3066esac 3067eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3068 (eval "$ac_compile") 2>conftest.er1 3069 ac_status=$? 3070 grep -v '^ *+' conftest.er1 >conftest.err 3071 rm -f conftest.er1 3072 cat conftest.err >&5 3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3074 (exit $ac_status); } && { 3075 test -z "$ac_cxx_werror_flag" || 3076 test ! -s conftest.err 3077 } && test -s conftest.$ac_objext; then 3078 ac_cv_prog_cxx_g=yes 3079else 3080 echo "$as_me: failed program was:" >&5 3081sed 's/^/| /' conftest.$ac_ext >&5 3082 3083 CXXFLAGS="" 3084 cat >conftest.$ac_ext <<_ACEOF 3085/* confdefs.h. */ 3086_ACEOF 3087cat confdefs.h >>conftest.$ac_ext 3088cat >>conftest.$ac_ext <<_ACEOF 3089/* end confdefs.h. */ 3090 3091int 3092main () 3093{ 3094 3095 ; 3096 return 0; 3097} 3098_ACEOF 3099rm -f conftest.$ac_objext 3100if { (ac_try="$ac_compile" 3101case "(($ac_try" in 3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3103 *) ac_try_echo=$ac_try;; 3104esac 3105eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3106 (eval "$ac_compile") 2>conftest.er1 3107 ac_status=$? 3108 grep -v '^ *+' conftest.er1 >conftest.err 3109 rm -f conftest.er1 3110 cat conftest.err >&5 3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3112 (exit $ac_status); } && { 3113 test -z "$ac_cxx_werror_flag" || 3114 test ! -s conftest.err 3115 } && test -s conftest.$ac_objext; then 3116 : 3117else 3118 echo "$as_me: failed program was:" >&5 3119sed 's/^/| /' conftest.$ac_ext >&5 3120 3121 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3122 CXXFLAGS="-g" 3123 cat >conftest.$ac_ext <<_ACEOF 3124/* confdefs.h. */ 3125_ACEOF 3126cat confdefs.h >>conftest.$ac_ext 3127cat >>conftest.$ac_ext <<_ACEOF 3128/* end confdefs.h. */ 3129 3130int 3131main () 3132{ 3133 3134 ; 3135 return 0; 3136} 3137_ACEOF 3138rm -f conftest.$ac_objext 3139if { (ac_try="$ac_compile" 3140case "(($ac_try" in 3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3142 *) ac_try_echo=$ac_try;; 3143esac 3144eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3145 (eval "$ac_compile") 2>conftest.er1 3146 ac_status=$? 3147 grep -v '^ *+' conftest.er1 >conftest.err 3148 rm -f conftest.er1 3149 cat conftest.err >&5 3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3151 (exit $ac_status); } && { 3152 test -z "$ac_cxx_werror_flag" || 3153 test ! -s conftest.err 3154 } && test -s conftest.$ac_objext; then 3155 ac_cv_prog_cxx_g=yes 3156else 3157 echo "$as_me: failed program was:" >&5 3158sed 's/^/| /' conftest.$ac_ext >&5 3159 3160 3161fi 3162 3163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3164fi 3165 3166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3167fi 3168 3169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3170 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3171fi 3172{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3173echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3174if test "$ac_test_CXXFLAGS" = set; then 3175 CXXFLAGS=$ac_save_CXXFLAGS 3176elif test $ac_cv_prog_cxx_g = yes; then 3177 if test "$GXX" = yes; then 3178 CXXFLAGS="-g -O2" 3179 else 3180 CXXFLAGS="-g" 3181 fi 3182else 3183 if test "$GXX" = yes; then 3184 CXXFLAGS="-O2" 3185 else 3186 CXXFLAGS= 3187 fi 3188fi 3189ac_ext=c 3190ac_cpp='$CPP $CPPFLAGS' 3191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3193ac_compiler_gnu=$ac_cv_c_compiler_gnu 3194 3195 ac_ext=cpp 3196ac_cpp='$CXXCPP $CPPFLAGS' 3197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3200{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 3201echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 3202if test -z "$CXXCPP"; then 3203 if test "${ac_cv_prog_CXXCPP+set}" = set; then 3204 echo $ECHO_N "(cached) $ECHO_C" >&6 3205else 3206 # Double quotes because CXXCPP needs to be expanded 3207 for CXXCPP in "$CXX -E" "/lib/cpp" 3208 do 3209 ac_preproc_ok=false 3210for ac_cxx_preproc_warn_flag in '' yes 3211do 3212 # Use a header file that comes with gcc, so configuring glibc 3213 # with a fresh cross-compiler works. 3214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3215 # <limits.h> exists even on freestanding compilers. 3216 # On the NeXT, cc -E runs the code through the compiler's parser, 3217 # not just through cpp. "Syntax error" is here to catch this case. 3218 cat >conftest.$ac_ext <<_ACEOF 3219/* confdefs.h. */ 3220_ACEOF 3221cat confdefs.h >>conftest.$ac_ext 3222cat >>conftest.$ac_ext <<_ACEOF 3223/* end confdefs.h. */ 3224#ifdef __STDC__ 3225# include <limits.h> 3226#else 3227# include <assert.h> 3228#endif 3229 Syntax error 3230_ACEOF 3231if { (ac_try="$ac_cpp conftest.$ac_ext" 3232case "(($ac_try" in 3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3234 *) ac_try_echo=$ac_try;; 3235esac 3236eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3238 ac_status=$? 3239 grep -v '^ *+' conftest.er1 >conftest.err 3240 rm -f conftest.er1 3241 cat conftest.err >&5 3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3243 (exit $ac_status); } >/dev/null && { 3244 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 3245 test ! -s conftest.err 3246 }; then 3247 : 3248else 3249 echo "$as_me: failed program was:" >&5 3250sed 's/^/| /' conftest.$ac_ext >&5 3251 3252 # Broken: fails on valid input. 3253continue 3254fi 3255 3256rm -f conftest.err conftest.$ac_ext 3257 3258 # OK, works on sane cases. Now check whether nonexistent headers 3259 # can be detected and how. 3260 cat >conftest.$ac_ext <<_ACEOF 3261/* confdefs.h. */ 3262_ACEOF 3263cat confdefs.h >>conftest.$ac_ext 3264cat >>conftest.$ac_ext <<_ACEOF 3265/* end confdefs.h. */ 3266#include <ac_nonexistent.h> 3267_ACEOF 3268if { (ac_try="$ac_cpp conftest.$ac_ext" 3269case "(($ac_try" in 3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3271 *) ac_try_echo=$ac_try;; 3272esac 3273eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3275 ac_status=$? 3276 grep -v '^ *+' conftest.er1 >conftest.err 3277 rm -f conftest.er1 3278 cat conftest.err >&5 3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3280 (exit $ac_status); } >/dev/null && { 3281 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 3282 test ! -s conftest.err 3283 }; then 3284 # Broken: success on invalid input. 3285continue 3286else 3287 echo "$as_me: failed program was:" >&5 3288sed 's/^/| /' conftest.$ac_ext >&5 3289 3290 # Passes both tests. 3291ac_preproc_ok=: 3292break 3293fi 3294 3295rm -f conftest.err conftest.$ac_ext 3296 3297done 3298# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3299rm -f conftest.err conftest.$ac_ext 3300if $ac_preproc_ok; then 3301 break 3302fi 3303 3304 done 3305 ac_cv_prog_CXXCPP=$CXXCPP 3306 3307fi 3308 CXXCPP=$ac_cv_prog_CXXCPP 3309else 3310 ac_cv_prog_CXXCPP=$CXXCPP 3311fi 3312{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 3313echo "${ECHO_T}$CXXCPP" >&6; } 3314ac_preproc_ok=false 3315for ac_cxx_preproc_warn_flag in '' yes 3316do 3317 # Use a header file that comes with gcc, so configuring glibc 3318 # with a fresh cross-compiler works. 3319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3320 # <limits.h> exists even on freestanding compilers. 3321 # On the NeXT, cc -E runs the code through the compiler's parser, 3322 # not just through cpp. "Syntax error" is here to catch this case. 3323 cat >conftest.$ac_ext <<_ACEOF 3324/* confdefs.h. */ 3325_ACEOF 3326cat confdefs.h >>conftest.$ac_ext 3327cat >>conftest.$ac_ext <<_ACEOF 3328/* end confdefs.h. */ 3329#ifdef __STDC__ 3330# include <limits.h> 3331#else 3332# include <assert.h> 3333#endif 3334 Syntax error 3335_ACEOF 3336if { (ac_try="$ac_cpp conftest.$ac_ext" 3337case "(($ac_try" in 3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3339 *) ac_try_echo=$ac_try;; 3340esac 3341eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3343 ac_status=$? 3344 grep -v '^ *+' conftest.er1 >conftest.err 3345 rm -f conftest.er1 3346 cat conftest.err >&5 3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3348 (exit $ac_status); } >/dev/null && { 3349 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 3350 test ! -s conftest.err 3351 }; then 3352 : 3353else 3354 echo "$as_me: failed program was:" >&5 3355sed 's/^/| /' conftest.$ac_ext >&5 3356 3357 # Broken: fails on valid input. 3358continue 3359fi 3360 3361rm -f conftest.err conftest.$ac_ext 3362 3363 # OK, works on sane cases. Now check whether nonexistent headers 3364 # can be detected and how. 3365 cat >conftest.$ac_ext <<_ACEOF 3366/* confdefs.h. */ 3367_ACEOF 3368cat confdefs.h >>conftest.$ac_ext 3369cat >>conftest.$ac_ext <<_ACEOF 3370/* end confdefs.h. */ 3371#include <ac_nonexistent.h> 3372_ACEOF 3373if { (ac_try="$ac_cpp conftest.$ac_ext" 3374case "(($ac_try" in 3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3376 *) ac_try_echo=$ac_try;; 3377esac 3378eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3380 ac_status=$? 3381 grep -v '^ *+' conftest.er1 >conftest.err 3382 rm -f conftest.er1 3383 cat conftest.err >&5 3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3385 (exit $ac_status); } >/dev/null && { 3386 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 3387 test ! -s conftest.err 3388 }; then 3389 # Broken: success on invalid input. 3390continue 3391else 3392 echo "$as_me: failed program was:" >&5 3393sed 's/^/| /' conftest.$ac_ext >&5 3394 3395 # Passes both tests. 3396ac_preproc_ok=: 3397break 3398fi 3399 3400rm -f conftest.err conftest.$ac_ext 3401 3402done 3403# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3404rm -f conftest.err conftest.$ac_ext 3405if $ac_preproc_ok; then 3406 : 3407else 3408 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 3409See \`config.log' for more details." >&5 3410echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 3411See \`config.log' for more details." >&2;} 3412 { (exit 1); exit 1; }; } 3413fi 3414 3415ac_ext=c 3416ac_cpp='$CPP $CPPFLAGS' 3417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3419ac_compiler_gnu=$ac_cv_c_compiler_gnu 3420 3421 # Find a good install program. We prefer a C program (faster), 3422# so one script is as good as another. But avoid the broken or 3423# incompatible versions: 3424# SysV /etc/install, /usr/sbin/install 3425# SunOS /usr/etc/install 3426# IRIX /sbin/install 3427# AIX /bin/install 3428# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3429# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3430# ./install, which can be erroneously created by make from ./install.sh. 3431{ echo "$as_me:$LINENO: checking for a BSD compatible install" >&5 3432echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6; } 3433if test -z "$INSTALL"; then 3434if test "${cl_cv_path_install+set}" = set; then 3435 echo $ECHO_N "(cached) $ECHO_C" >&6 3436else 3437 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3438 for ac_dir in $PATH; do 3439 # Account for people who put trailing slashes in PATH elements. 3440 case "$ac_dir/" in 3441 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 3442 *) 3443 # OSF1 and SCO ODT 3.0 have their own names for install. 3444 for ac_prog in ginstall installbsd scoinst install; do 3445 if test -f $ac_dir/$ac_prog; then 3446 if test $ac_prog = install && 3447 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 3448 # AIX install. It has an incompatible calling convention. 3449 # OSF/1 installbsd also uses dspmsg, but is usable. 3450 : 3451 else 3452 if test $ac_prog = installbsd && 3453 grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then 3454 # AIX installbsd doesn't work without option "-g". 3455 : 3456 else 3457 cl_cv_path_install="$ac_dir/$ac_prog -c" 3458 break 2 3459 fi 3460 fi 3461 fi 3462 done 3463 ;; 3464 esac 3465 done 3466 IFS="$ac_save_ifs" 3467 # As a last resort, use cp. 3468 test -z "$cl_cv_path_install" && cl_cv_path_install="cp" 3469 3470fi 3471 INSTALL="$cl_cv_path_install" 3472fi 3473{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3474echo "${ECHO_T}$INSTALL" >&6; } 3475# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3476# It thinks the first close brace ends the variable substitution. 3477test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)' 3478if test -z "$INSTALL_DATA"; then 3479 case "$INSTALL" in 3480 cp | */cp ) INSTALL_DATA='$(INSTALL)' ;; 3481 * ) INSTALL_DATA='$(INSTALL) -m 644' ;; 3482 esac 3483fi 3484 3485 { echo "$as_me:$LINENO: checking for stack-allocated variable-size arrays" >&5 3486echo $ECHO_N "checking for stack-allocated variable-size arrays... $ECHO_C" >&6; } 3487 3488if test "${gp_cv_cxx_dynamic_array+set}" = set; then 3489 echo $ECHO_N "(cached) $ECHO_C" >&6 3490else 3491 3492 3493ac_ext=cpp 3494ac_cpp='$CXXCPP $CPPFLAGS' 3495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3498 3499cat >conftest.$ac_ext <<_ACEOF 3500/* confdefs.h. */ 3501_ACEOF 3502cat confdefs.h >>conftest.$ac_ext 3503cat >>conftest.$ac_ext <<_ACEOF 3504/* end confdefs.h. */ 3505int func (int n) { int dynamic_array[n]; } 3506int 3507main () 3508{ 3509 3510 ; 3511 return 0; 3512} 3513_ACEOF 3514rm -f conftest.$ac_objext 3515if { (ac_try="$ac_compile" 3516case "(($ac_try" in 3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3518 *) ac_try_echo=$ac_try;; 3519esac 3520eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3521 (eval "$ac_compile") 2>conftest.er1 3522 ac_status=$? 3523 grep -v '^ *+' conftest.er1 >conftest.err 3524 rm -f conftest.er1 3525 cat conftest.err >&5 3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3527 (exit $ac_status); } && { 3528 test -z "$ac_cxx_werror_flag" || 3529 test ! -s conftest.err 3530 } && test -s conftest.$ac_objext; then 3531 gp_cv_cxx_dynamic_array=yes 3532else 3533 echo "$as_me: failed program was:" >&5 3534sed 's/^/| /' conftest.$ac_ext >&5 3535 3536 gp_cv_cxx_dynamic_array=no 3537fi 3538 3539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3540ac_ext=c 3541ac_cpp='$CPP $CPPFLAGS' 3542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3544ac_compiler_gnu=$ac_cv_c_compiler_gnu 3545 3546 3547fi 3548 3549{ echo "$as_me:$LINENO: result: $gp_cv_cxx_dynamic_array" >&5 3550echo "${ECHO_T}$gp_cv_cxx_dynamic_array" >&6; } 3551if test $gp_cv_cxx_dynamic_array = yes; then 3552 3553cat >>confdefs.h <<\_ACEOF 3554#define HAVE_DYNAMIC_ARRAY 1 3555_ACEOF 3556 3557fi 3558 3559{ echo "$as_me:$LINENO: checking for rand in -lm" >&5 3560echo $ECHO_N "checking for rand in -lm... $ECHO_C" >&6; } 3561if test "${ac_cv_lib_m_rand+set}" = set; then 3562 echo $ECHO_N "(cached) $ECHO_C" >&6 3563else 3564 ac_check_lib_save_LIBS=$LIBS 3565LIBS="-lm $LIBS" 3566cat >conftest.$ac_ext <<_ACEOF 3567/* confdefs.h. */ 3568_ACEOF 3569cat confdefs.h >>conftest.$ac_ext 3570cat >>conftest.$ac_ext <<_ACEOF 3571/* end confdefs.h. */ 3572 3573/* Override any GCC internal prototype to avoid an error. 3574 Use char because int might match the return type of a GCC 3575 builtin and then its argument prototype would still apply. */ 3576#ifdef __cplusplus 3577extern "C" 3578#endif 3579char rand (); 3580int 3581main () 3582{ 3583return rand (); 3584 ; 3585 return 0; 3586} 3587_ACEOF 3588rm -f conftest.$ac_objext conftest$ac_exeext 3589if { (ac_try="$ac_link" 3590case "(($ac_try" in 3591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3592 *) ac_try_echo=$ac_try;; 3593esac 3594eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3595 (eval "$ac_link") 2>conftest.er1 3596 ac_status=$? 3597 grep -v '^ *+' conftest.er1 >conftest.err 3598 rm -f conftest.er1 3599 cat conftest.err >&5 3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3601 (exit $ac_status); } && { 3602 test -z "$ac_c_werror_flag" || 3603 test ! -s conftest.err 3604 } && test -s conftest$ac_exeext && 3605 $as_test_x conftest$ac_exeext; then 3606 ac_cv_lib_m_rand=yes 3607else 3608 echo "$as_me: failed program was:" >&5 3609sed 's/^/| /' conftest.$ac_ext >&5 3610 3611 ac_cv_lib_m_rand=no 3612fi 3613 3614rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3615 conftest$ac_exeext conftest.$ac_ext 3616LIBS=$ac_check_lib_save_LIBS 3617fi 3618{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_rand" >&5 3619echo "${ECHO_T}$ac_cv_lib_m_rand" >&6; } 3620if test $ac_cv_lib_m_rand = yes; then 3621 GPERF_LIBM="-lm" 3622else 3623 GPERF_LIBM="" 3624fi 3625 3626 3627ac_config_files="$ac_config_files Makefile" 3628 3629cat >confcache <<\_ACEOF 3630# This file is a shell script that caches the results of configure 3631# tests run on this system so they can be shared between configure 3632# scripts and configure runs, see configure's option --config-cache. 3633# It is not useful on other systems. If it contains results you don't 3634# want to keep, you may remove or edit it. 3635# 3636# config.status only pays attention to the cache file if you give it 3637# the --recheck option to rerun configure. 3638# 3639# `ac_cv_env_foo' variables (set or unset) will be overridden when 3640# loading this file, other *unset* `ac_cv_foo' will be assigned the 3641# following values. 3642 3643_ACEOF 3644 3645# The following way of writing the cache mishandles newlines in values, 3646# but we know of no workaround that is simple, portable, and efficient. 3647# So, we kill variables containing newlines. 3648# Ultrix sh set writes to stderr and can't be redirected directly, 3649# and sets the high bit in the cache file unless we assign to the vars. 3650( 3651 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3652 eval ac_val=\$$ac_var 3653 case $ac_val in #( 3654 *${as_nl}*) 3655 case $ac_var in #( 3656 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 3657echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 3658 esac 3659 case $ac_var in #( 3660 _ | IFS | as_nl) ;; #( 3661 *) $as_unset $ac_var ;; 3662 esac ;; 3663 esac 3664 done 3665 3666 (set) 2>&1 | 3667 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3668 *${as_nl}ac_space=\ *) 3669 # `set' does not quote correctly, so add quotes (double-quote 3670 # substitution turns \\\\ into \\, and sed turns \\ into \). 3671 sed -n \ 3672 "s/'/'\\\\''/g; 3673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3674 ;; #( 3675 *) 3676 # `set' quotes correctly as required by POSIX, so do not add quotes. 3677 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3678 ;; 3679 esac | 3680 sort 3681) | 3682 sed ' 3683 /^ac_cv_env_/b end 3684 t clear 3685 :clear 3686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3687 t end 3688 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3689 :end' >>confcache 3690if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3691 if test -w "$cache_file"; then 3692 test "x$cache_file" != "x/dev/null" && 3693 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 3694echo "$as_me: updating cache $cache_file" >&6;} 3695 cat confcache >$cache_file 3696 else 3697 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 3698echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3699 fi 3700fi 3701rm -f confcache 3702 3703test "x$prefix" = xNONE && prefix=$ac_default_prefix 3704# Let make expand exec_prefix. 3705test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3706 3707DEFS=-DHAVE_CONFIG_H 3708 3709ac_libobjs= 3710ac_ltlibobjs= 3711for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3712 # 1. Remove the extension, and $U if already installed. 3713 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3714 ac_i=`echo "$ac_i" | sed "$ac_script"` 3715 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3716 # will be set to the directory where LIBOBJS objects are built. 3717 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3718 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 3719done 3720LIBOBJS=$ac_libobjs 3721 3722LTLIBOBJS=$ac_ltlibobjs 3723 3724 3725 3726: ${CONFIG_STATUS=./config.status} 3727ac_clean_files_save=$ac_clean_files 3728ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3729{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3730echo "$as_me: creating $CONFIG_STATUS" >&6;} 3731cat >$CONFIG_STATUS <<_ACEOF 3732#! $SHELL 3733# Generated by $as_me. 3734# Run this file to recreate the current configuration. 3735# Compiler output produced by configure, useful for debugging 3736# configure, is in config.log if it exists. 3737 3738debug=false 3739ac_cs_recheck=false 3740ac_cs_silent=false 3741SHELL=\${CONFIG_SHELL-$SHELL} 3742_ACEOF 3743 3744cat >>$CONFIG_STATUS <<\_ACEOF 3745## --------------------- ## 3746## M4sh Initialization. ## 3747## --------------------- ## 3748 3749# Be more Bourne compatible 3750DUALCASE=1; export DUALCASE # for MKS sh 3751if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3752 emulate sh 3753 NULLCMD=: 3754 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3755 # is contrary to our usage. Disable this feature. 3756 alias -g '${1+"$@"}'='"$@"' 3757 setopt NO_GLOB_SUBST 3758else 3759 case `(set -o) 2>/dev/null` in 3760 *posix*) set -o posix ;; 3761esac 3762 3763fi 3764 3765 3766 3767 3768# PATH needs CR 3769# Avoid depending upon Character Ranges. 3770as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3771as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3772as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3773as_cr_digits='0123456789' 3774as_cr_alnum=$as_cr_Letters$as_cr_digits 3775 3776# The user is always right. 3777if test "${PATH_SEPARATOR+set}" != set; then 3778 echo "#! /bin/sh" >conf$$.sh 3779 echo "exit 0" >>conf$$.sh 3780 chmod +x conf$$.sh 3781 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3782 PATH_SEPARATOR=';' 3783 else 3784 PATH_SEPARATOR=: 3785 fi 3786 rm -f conf$$.sh 3787fi 3788 3789# Support unset when possible. 3790if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3791 as_unset=unset 3792else 3793 as_unset=false 3794fi 3795 3796 3797# IFS 3798# We need space, tab and new line, in precisely that order. Quoting is 3799# there to prevent editors from complaining about space-tab. 3800# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3801# splitting by setting IFS to empty value.) 3802as_nl=' 3803' 3804IFS=" "" $as_nl" 3805 3806# Find who we are. Look in the path if we contain no directory separator. 3807case $0 in 3808 *[\\/]* ) as_myself=$0 ;; 3809 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3810for as_dir in $PATH 3811do 3812 IFS=$as_save_IFS 3813 test -z "$as_dir" && as_dir=. 3814 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3815done 3816IFS=$as_save_IFS 3817 3818 ;; 3819esac 3820# We did not find ourselves, most probably we were run as `sh COMMAND' 3821# in which case we are not to be found in the path. 3822if test "x$as_myself" = x; then 3823 as_myself=$0 3824fi 3825if test ! -f "$as_myself"; then 3826 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3827 { (exit 1); exit 1; } 3828fi 3829 3830# Work around bugs in pre-3.0 UWIN ksh. 3831for as_var in ENV MAIL MAILPATH 3832do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3833done 3834PS1='$ ' 3835PS2='> ' 3836PS4='+ ' 3837 3838# NLS nuisances. 3839for as_var in \ 3840 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3841 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3842 LC_TELEPHONE LC_TIME 3843do 3844 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3845 eval $as_var=C; export $as_var 3846 else 3847 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3848 fi 3849done 3850 3851# Required to use basename. 3852if expr a : '\(a\)' >/dev/null 2>&1 && 3853 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3854 as_expr=expr 3855else 3856 as_expr=false 3857fi 3858 3859if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3860 as_basename=basename 3861else 3862 as_basename=false 3863fi 3864 3865 3866# Name of the executable. 3867as_me=`$as_basename -- "$0" || 3868$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3869 X"$0" : 'X\(//\)$' \| \ 3870 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3871echo X/"$0" | 3872 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3873 s//\1/ 3874 q 3875 } 3876 /^X\/\(\/\/\)$/{ 3877 s//\1/ 3878 q 3879 } 3880 /^X\/\(\/\).*/{ 3881 s//\1/ 3882 q 3883 } 3884 s/.*/./; q'` 3885 3886# CDPATH. 3887$as_unset CDPATH 3888 3889 3890 3891 as_lineno_1=$LINENO 3892 as_lineno_2=$LINENO 3893 test "x$as_lineno_1" != "x$as_lineno_2" && 3894 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 3895 3896 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3897 # uniformly replaced by the line number. The first 'sed' inserts a 3898 # line-number line after each line using $LINENO; the second 'sed' 3899 # does the real work. The second script uses 'N' to pair each 3900 # line-number line with the line containing $LINENO, and appends 3901 # trailing '-' during substitution so that $LINENO is not a special 3902 # case at line end. 3903 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3904 # scripts with optimization help from Paolo Bonzini. Blame Lee 3905 # E. McMahon (1931-1989) for sed's syntax. :-) 3906 sed -n ' 3907 p 3908 /[$]LINENO/= 3909 ' <$as_myself | 3910 sed ' 3911 s/[$]LINENO.*/&-/ 3912 t lineno 3913 b 3914 :lineno 3915 N 3916 :loop 3917 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 3918 t loop 3919 s/-\n.*// 3920 ' >$as_me.lineno && 3921 chmod +x "$as_me.lineno" || 3922 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 3923 { (exit 1); exit 1; }; } 3924 3925 # Don't try to exec as it changes $[0], causing all sort of problems 3926 # (the dirname of $[0] is not the place where we might find the 3927 # original and so on. Autoconf is especially sensitive to this). 3928 . "./$as_me.lineno" 3929 # Exit status is that of the last command. 3930 exit 3931} 3932 3933 3934if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3935 as_dirname=dirname 3936else 3937 as_dirname=false 3938fi 3939 3940ECHO_C= ECHO_N= ECHO_T= 3941case `echo -n x` in 3942-n*) 3943 case `echo 'x\c'` in 3944 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3945 *) ECHO_C='\c';; 3946 esac;; 3947*) 3948 ECHO_N='-n';; 3949esac 3950 3951if expr a : '\(a\)' >/dev/null 2>&1 && 3952 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3953 as_expr=expr 3954else 3955 as_expr=false 3956fi 3957 3958rm -f conf$$ conf$$.exe conf$$.file 3959if test -d conf$$.dir; then 3960 rm -f conf$$.dir/conf$$.file 3961else 3962 rm -f conf$$.dir 3963 mkdir conf$$.dir 3964fi 3965echo >conf$$.file 3966if ln -s conf$$.file conf$$ 2>/dev/null; then 3967 as_ln_s='ln -s' 3968 # ... but there are two gotchas: 3969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3971 # In both cases, we have to default to `cp -p'. 3972 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3973 as_ln_s='cp -p' 3974elif ln conf$$.file conf$$ 2>/dev/null; then 3975 as_ln_s=ln 3976else 3977 as_ln_s='cp -p' 3978fi 3979rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3980rmdir conf$$.dir 2>/dev/null 3981 3982if mkdir -p . 2>/dev/null; then 3983 as_mkdir_p=: 3984else 3985 test -d ./-p && rmdir ./-p 3986 as_mkdir_p=false 3987fi 3988 3989if test -x / >/dev/null 2>&1; then 3990 as_test_x='test -x' 3991else 3992 if ls -dL / >/dev/null 2>&1; then 3993 as_ls_L_option=L 3994 else 3995 as_ls_L_option= 3996 fi 3997 as_test_x=' 3998 eval sh -c '\'' 3999 if test -d "$1"; then 4000 test -d "$1/."; 4001 else 4002 case $1 in 4003 -*)set "./$1";; 4004 esac; 4005 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 4006 ???[sx]*):;;*)false;;esac;fi 4007 '\'' sh 4008 ' 4009fi 4010as_executable_p=$as_test_x 4011 4012# Sed expression to map a string onto a valid CPP name. 4013as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4014 4015# Sed expression to map a string onto a valid variable name. 4016as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4017 4018 4019exec 6>&1 4020 4021# Save the log message, to keep $[0] and so on meaningful, and to 4022# report actual input values of CONFIG_FILES etc. instead of their 4023# values after options handling. 4024ac_log=" 4025This file was extended by $as_me, which was 4026generated by GNU Autoconf 2.61. Invocation command line was 4027 4028 CONFIG_FILES = $CONFIG_FILES 4029 CONFIG_HEADERS = $CONFIG_HEADERS 4030 CONFIG_LINKS = $CONFIG_LINKS 4031 CONFIG_COMMANDS = $CONFIG_COMMANDS 4032 $ $0 $@ 4033 4034on `(hostname || uname -n) 2>/dev/null | sed 1q` 4035" 4036 4037_ACEOF 4038 4039cat >>$CONFIG_STATUS <<_ACEOF 4040# Files that config.status was made for. 4041config_files="$ac_config_files" 4042config_headers="$ac_config_headers" 4043 4044_ACEOF 4045 4046cat >>$CONFIG_STATUS <<\_ACEOF 4047ac_cs_usage="\ 4048\`$as_me' instantiates files from templates according to the 4049current configuration. 4050 4051Usage: $0 [OPTIONS] [FILE]... 4052 4053 -h, --help print this help, then exit 4054 -V, --version print version number and configuration settings, then exit 4055 -q, --quiet do not print progress messages 4056 -d, --debug don't remove temporary files 4057 --recheck update $as_me by reconfiguring in the same conditions 4058 --file=FILE[:TEMPLATE] 4059 instantiate the configuration file FILE 4060 --header=FILE[:TEMPLATE] 4061 instantiate the configuration header FILE 4062 4063Configuration files: 4064$config_files 4065 4066Configuration headers: 4067$config_headers 4068 4069Report bugs to <bug-autoconf@gnu.org>." 4070 4071_ACEOF 4072cat >>$CONFIG_STATUS <<_ACEOF 4073ac_cs_version="\\ 4074config.status 4075configured by $0, generated by GNU Autoconf 2.61, 4076 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4077 4078Copyright (C) 2006 Free Software Foundation, Inc. 4079This config.status script is free software; the Free Software Foundation 4080gives unlimited permission to copy, distribute and modify it." 4081 4082ac_pwd='$ac_pwd' 4083srcdir='$srcdir' 4084_ACEOF 4085 4086cat >>$CONFIG_STATUS <<\_ACEOF 4087# If no file are specified by the user, then we need to provide default 4088# value. By we need to know if files were specified by the user. 4089ac_need_defaults=: 4090while test $# != 0 4091do 4092 case $1 in 4093 --*=*) 4094 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4095 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4096 ac_shift=: 4097 ;; 4098 *) 4099 ac_option=$1 4100 ac_optarg=$2 4101 ac_shift=shift 4102 ;; 4103 esac 4104 4105 case $ac_option in 4106 # Handling of the options. 4107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4108 ac_cs_recheck=: ;; 4109 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4110 echo "$ac_cs_version"; exit ;; 4111 --debug | --debu | --deb | --de | --d | -d ) 4112 debug=: ;; 4113 --file | --fil | --fi | --f ) 4114 $ac_shift 4115 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4116 ac_need_defaults=false;; 4117 --header | --heade | --head | --hea ) 4118 $ac_shift 4119 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4120 ac_need_defaults=false;; 4121 --he | --h) 4122 # Conflict between --help and --header 4123 { echo "$as_me: error: ambiguous option: $1 4124Try \`$0 --help' for more information." >&2 4125 { (exit 1); exit 1; }; };; 4126 --help | --hel | -h ) 4127 echo "$ac_cs_usage"; exit ;; 4128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4129 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4130 ac_cs_silent=: ;; 4131 4132 # This is an error. 4133 -*) { echo "$as_me: error: unrecognized option: $1 4134Try \`$0 --help' for more information." >&2 4135 { (exit 1); exit 1; }; } ;; 4136 4137 *) ac_config_targets="$ac_config_targets $1" 4138 ac_need_defaults=false ;; 4139 4140 esac 4141 shift 4142done 4143 4144ac_configure_extra_args= 4145 4146if $ac_cs_silent; then 4147 exec 6>/dev/null 4148 ac_configure_extra_args="$ac_configure_extra_args --silent" 4149fi 4150 4151_ACEOF 4152cat >>$CONFIG_STATUS <<_ACEOF 4153if \$ac_cs_recheck; then 4154 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4155 CONFIG_SHELL=$SHELL 4156 export CONFIG_SHELL 4157 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4158fi 4159 4160_ACEOF 4161cat >>$CONFIG_STATUS <<\_ACEOF 4162exec 5>>config.log 4163{ 4164 echo 4165 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4166## Running $as_me. ## 4167_ASBOX 4168 echo "$ac_log" 4169} >&5 4170 4171_ACEOF 4172cat >>$CONFIG_STATUS <<_ACEOF 4173_ACEOF 4174 4175cat >>$CONFIG_STATUS <<\_ACEOF 4176 4177# Handling of arguments. 4178for ac_config_target in $ac_config_targets 4179do 4180 case $ac_config_target in 4181 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4182 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4183 4184 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4185echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4186 { (exit 1); exit 1; }; };; 4187 esac 4188done 4189 4190 4191# If the user did not use the arguments to specify the items to instantiate, 4192# then the envvar interface is used. Set only those that are not. 4193# We use the long form for the default assignment because of an extremely 4194# bizarre bug on SunOS 4.1.3. 4195if $ac_need_defaults; then 4196 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4197 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4198fi 4199 4200# Have a temporary directory for convenience. Make it in the build tree 4201# simply because there is no reason against having it here, and in addition, 4202# creating and moving files from /tmp can sometimes cause problems. 4203# Hook for its removal unless debugging. 4204# Note that there is a small window in which the directory will not be cleaned: 4205# after its creation but before its name has been assigned to `$tmp'. 4206$debug || 4207{ 4208 tmp= 4209 trap 'exit_status=$? 4210 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4211' 0 4212 trap '{ (exit 1); exit 1; }' 1 2 13 15 4213} 4214# Create a (secure) tmp directory for tmp files. 4215 4216{ 4217 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4218 test -n "$tmp" && test -d "$tmp" 4219} || 4220{ 4221 tmp=./conf$$-$RANDOM 4222 (umask 077 && mkdir "$tmp") 4223} || 4224{ 4225 echo "$me: cannot create a temporary directory in ." >&2 4226 { (exit 1); exit 1; } 4227} 4228 4229# 4230# Set up the sed scripts for CONFIG_FILES section. 4231# 4232 4233# No need to generate the scripts if there are no CONFIG_FILES. 4234# This happens for instance when ./config.status config.h 4235if test -n "$CONFIG_FILES"; then 4236 4237_ACEOF 4238 4239 4240 4241ac_delim='%!_!# ' 4242for ac_last_try in false false false false false :; do 4243 cat >conf$$subs.sed <<_ACEOF 4244SHELL!$SHELL$ac_delim 4245PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4246PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4247PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4248PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4249PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4250PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4251exec_prefix!$exec_prefix$ac_delim 4252prefix!$prefix$ac_delim 4253program_transform_name!$program_transform_name$ac_delim 4254bindir!$bindir$ac_delim 4255sbindir!$sbindir$ac_delim 4256libexecdir!$libexecdir$ac_delim 4257datarootdir!$datarootdir$ac_delim 4258datadir!$datadir$ac_delim 4259sysconfdir!$sysconfdir$ac_delim 4260sharedstatedir!$sharedstatedir$ac_delim 4261localstatedir!$localstatedir$ac_delim 4262includedir!$includedir$ac_delim 4263oldincludedir!$oldincludedir$ac_delim 4264docdir!$docdir$ac_delim 4265infodir!$infodir$ac_delim 4266htmldir!$htmldir$ac_delim 4267dvidir!$dvidir$ac_delim 4268pdfdir!$pdfdir$ac_delim 4269psdir!$psdir$ac_delim 4270libdir!$libdir$ac_delim 4271localedir!$localedir$ac_delim 4272mandir!$mandir$ac_delim 4273DEFS!$DEFS$ac_delim 4274ECHO_C!$ECHO_C$ac_delim 4275ECHO_N!$ECHO_N$ac_delim 4276ECHO_T!$ECHO_T$ac_delim 4277LIBS!$LIBS$ac_delim 4278build_alias!$build_alias$ac_delim 4279host_alias!$host_alias$ac_delim 4280target_alias!$target_alias$ac_delim 4281SET_MAKE!$SET_MAKE$ac_delim 4282CC!$CC$ac_delim 4283CFLAGS!$CFLAGS$ac_delim 4284LDFLAGS!$LDFLAGS$ac_delim 4285CPPFLAGS!$CPPFLAGS$ac_delim 4286ac_ct_CC!$ac_ct_CC$ac_delim 4287EXEEXT!$EXEEXT$ac_delim 4288OBJEXT!$OBJEXT$ac_delim 4289CPP!$CPP$ac_delim 4290CXX!$CXX$ac_delim 4291CXXFLAGS!$CXXFLAGS$ac_delim 4292ac_ct_CXX!$ac_ct_CXX$ac_delim 4293CXXCPP!$CXXCPP$ac_delim 4294INSTALL!$INSTALL$ac_delim 4295INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4296INSTALL_DATA!$INSTALL_DATA$ac_delim 4297GPERF_LIBM!$GPERF_LIBM$ac_delim 4298LIBOBJS!$LIBOBJS$ac_delim 4299LTLIBOBJS!$LTLIBOBJS$ac_delim 4300_ACEOF 4301 4302 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then 4303 break 4304 elif $ac_last_try; then 4305 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4306echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4307 { (exit 1); exit 1; }; } 4308 else 4309 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4310 fi 4311done 4312 4313ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4314if test -n "$ac_eof"; then 4315 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4316 ac_eof=`expr $ac_eof + 1` 4317fi 4318 4319cat >>$CONFIG_STATUS <<_ACEOF 4320cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4321/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4322_ACEOF 4323sed ' 4324s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4325s/^/s,@/; s/!/@,|#_!!_#|/ 4326:n 4327t n 4328s/'"$ac_delim"'$/,g/; t 4329s/$/\\/; p 4330N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4331' >>$CONFIG_STATUS <conf$$subs.sed 4332rm -f conf$$subs.sed 4333cat >>$CONFIG_STATUS <<_ACEOF 4334:end 4335s/|#_!!_#|//g 4336CEOF$ac_eof 4337_ACEOF 4338 4339 4340# VPATH may cause trouble with some makes, so we remove $(srcdir), 4341# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4342# trailing colons and then remove the whole line if VPATH becomes empty 4343# (actually we leave an empty line to preserve line numbers). 4344if test "x$srcdir" = x.; then 4345 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4346s/:*\$(srcdir):*/:/ 4347s/:*\${srcdir}:*/:/ 4348s/:*@srcdir@:*/:/ 4349s/^\([^=]*=[ ]*\):*/\1/ 4350s/:*$// 4351s/^[^=]*=[ ]*$// 4352}' 4353fi 4354 4355cat >>$CONFIG_STATUS <<\_ACEOF 4356fi # test -n "$CONFIG_FILES" 4357 4358 4359for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 4360do 4361 case $ac_tag in 4362 :[FHLC]) ac_mode=$ac_tag; continue;; 4363 esac 4364 case $ac_mode$ac_tag in 4365 :[FHL]*:*);; 4366 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4367echo "$as_me: error: Invalid tag $ac_tag." >&2;} 4368 { (exit 1); exit 1; }; };; 4369 :[FH]-) ac_tag=-:-;; 4370 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4371 esac 4372 ac_save_IFS=$IFS 4373 IFS=: 4374 set x $ac_tag 4375 IFS=$ac_save_IFS 4376 shift 4377 ac_file=$1 4378 shift 4379 4380 case $ac_mode in 4381 :L) ac_source=$1;; 4382 :[FH]) 4383 ac_file_inputs= 4384 for ac_f 4385 do 4386 case $ac_f in 4387 -) ac_f="$tmp/stdin";; 4388 *) # Look for the file first in the build tree, then in the source tree 4389 # (if the path is not absolute). The absolute path cannot be DOS-style, 4390 # because $ac_f cannot contain `:'. 4391 test -f "$ac_f" || 4392 case $ac_f in 4393 [\\/$]*) false;; 4394 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4395 esac || 4396 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4397echo "$as_me: error: cannot find input file: $ac_f" >&2;} 4398 { (exit 1); exit 1; }; };; 4399 esac 4400 ac_file_inputs="$ac_file_inputs $ac_f" 4401 done 4402 4403 # Let's still pretend it is `configure' which instantiates (i.e., don't 4404 # use $as_me), people would be surprised to read: 4405 # /* config.h. Generated by config.status. */ 4406 configure_input="Generated from "`IFS=: 4407 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4408 if test x"$ac_file" != x-; then 4409 configure_input="$ac_file. $configure_input" 4410 { echo "$as_me:$LINENO: creating $ac_file" >&5 4411echo "$as_me: creating $ac_file" >&6;} 4412 fi 4413 4414 case $ac_tag in 4415 *:-:* | *:-) cat >"$tmp/stdin";; 4416 esac 4417 ;; 4418 esac 4419 4420 ac_dir=`$as_dirname -- "$ac_file" || 4421$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4422 X"$ac_file" : 'X\(//\)[^/]' \| \ 4423 X"$ac_file" : 'X\(//\)$' \| \ 4424 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4425echo X"$ac_file" | 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 { as_dir="$ac_dir" 4444 case $as_dir in #( 4445 -*) as_dir=./$as_dir;; 4446 esac 4447 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4448 as_dirs= 4449 while :; do 4450 case $as_dir in #( 4451 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4452 *) as_qdir=$as_dir;; 4453 esac 4454 as_dirs="'$as_qdir' $as_dirs" 4455 as_dir=`$as_dirname -- "$as_dir" || 4456$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4457 X"$as_dir" : 'X\(//\)[^/]' \| \ 4458 X"$as_dir" : 'X\(//\)$' \| \ 4459 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4460echo X"$as_dir" | 4461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4462 s//\1/ 4463 q 4464 } 4465 /^X\(\/\/\)[^/].*/{ 4466 s//\1/ 4467 q 4468 } 4469 /^X\(\/\/\)$/{ 4470 s//\1/ 4471 q 4472 } 4473 /^X\(\/\).*/{ 4474 s//\1/ 4475 q 4476 } 4477 s/.*/./; q'` 4478 test -d "$as_dir" && break 4479 done 4480 test -z "$as_dirs" || eval "mkdir $as_dirs" 4481 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4482echo "$as_me: error: cannot create directory $as_dir" >&2;} 4483 { (exit 1); exit 1; }; }; } 4484 ac_builddir=. 4485 4486case "$ac_dir" in 4487.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4488*) 4489 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4490 # A ".." for each directory in $ac_dir_suffix. 4491 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 4492 case $ac_top_builddir_sub in 4493 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4494 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4495 esac ;; 4496esac 4497ac_abs_top_builddir=$ac_pwd 4498ac_abs_builddir=$ac_pwd$ac_dir_suffix 4499# for backward compatibility: 4500ac_top_builddir=$ac_top_build_prefix 4501 4502case $srcdir in 4503 .) # We are building in place. 4504 ac_srcdir=. 4505 ac_top_srcdir=$ac_top_builddir_sub 4506 ac_abs_top_srcdir=$ac_pwd ;; 4507 [\\/]* | ?:[\\/]* ) # Absolute name. 4508 ac_srcdir=$srcdir$ac_dir_suffix; 4509 ac_top_srcdir=$srcdir 4510 ac_abs_top_srcdir=$srcdir ;; 4511 *) # Relative name. 4512 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4513 ac_top_srcdir=$ac_top_build_prefix$srcdir 4514 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4515esac 4516ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4517 4518 4519 case $ac_mode in 4520 :F) 4521 # 4522 # CONFIG_FILE 4523 # 4524 4525_ACEOF 4526 4527cat >>$CONFIG_STATUS <<\_ACEOF 4528# If the template does not know about datarootdir, expand it. 4529# FIXME: This hack should be removed a few years after 2.60. 4530ac_datarootdir_hack=; ac_datarootdir_seen= 4531 4532case `sed -n '/datarootdir/ { 4533 p 4534 q 4535} 4536/@datadir@/p 4537/@docdir@/p 4538/@infodir@/p 4539/@localedir@/p 4540/@mandir@/p 4541' $ac_file_inputs` in 4542*datarootdir*) ac_datarootdir_seen=yes;; 4543*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4544 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4545echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4546_ACEOF 4547cat >>$CONFIG_STATUS <<_ACEOF 4548 ac_datarootdir_hack=' 4549 s&@datadir@&$datadir&g 4550 s&@docdir@&$docdir&g 4551 s&@infodir@&$infodir&g 4552 s&@localedir@&$localedir&g 4553 s&@mandir@&$mandir&g 4554 s&\\\${datarootdir}&$datarootdir&g' ;; 4555esac 4556_ACEOF 4557 4558# Neutralize VPATH when `$srcdir' = `.'. 4559# Shell code in configure.ac might set extrasub. 4560# FIXME: do we really want to maintain this feature? 4561cat >>$CONFIG_STATUS <<_ACEOF 4562 sed "$ac_vpsub 4563$extrasub 4564_ACEOF 4565cat >>$CONFIG_STATUS <<\_ACEOF 4566:t 4567/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4568s&@configure_input@&$configure_input&;t t 4569s&@top_builddir@&$ac_top_builddir_sub&;t t 4570s&@srcdir@&$ac_srcdir&;t t 4571s&@abs_srcdir@&$ac_abs_srcdir&;t t 4572s&@top_srcdir@&$ac_top_srcdir&;t t 4573s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4574s&@builddir@&$ac_builddir&;t t 4575s&@abs_builddir@&$ac_abs_builddir&;t t 4576s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4577$ac_datarootdir_hack 4578" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 4579 4580test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4581 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 4582 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 4583 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4584which seems to be undefined. Please make sure it is defined." >&5 4585echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4586which seems to be undefined. Please make sure it is defined." >&2;} 4587 4588 rm -f "$tmp/stdin" 4589 case $ac_file in 4590 -) cat "$tmp/out"; rm -f "$tmp/out";; 4591 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 4592 esac 4593 ;; 4594 :H) 4595 # 4596 # CONFIG_HEADER 4597 # 4598_ACEOF 4599 4600# Transform confdefs.h into a sed script `conftest.defines', that 4601# substitutes the proper values into config.h.in to produce config.h. 4602rm -f conftest.defines conftest.tail 4603# First, append a space to every undef/define line, to ease matching. 4604echo 's/$/ /' >conftest.defines 4605# Then, protect against being on the right side of a sed subst, or in 4606# an unquoted here document, in config.status. If some macros were 4607# called several times there might be several #defines for the same 4608# symbol, which is useless. But do not sort them, since the last 4609# AC_DEFINE must be honored. 4610ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 4611# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 4612# NAME is the cpp macro being defined, VALUE is the value it is being given. 4613# PARAMS is the parameter list in the macro definition--in most cases, it's 4614# just an empty string. 4615ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 4616ac_dB='\\)[ (].*,\\1define\\2' 4617ac_dC=' ' 4618ac_dD=' ,' 4619 4620uniq confdefs.h | 4621 sed -n ' 4622 t rset 4623 :rset 4624 s/^[ ]*#[ ]*define[ ][ ]*// 4625 t ok 4626 d 4627 :ok 4628 s/[\\&,]/\\&/g 4629 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 4630 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 4631 ' >>conftest.defines 4632 4633# Remove the space that was appended to ease matching. 4634# Then replace #undef with comments. This is necessary, for 4635# example, in the case of _POSIX_SOURCE, which is predefined and required 4636# on some systems where configure will not decide to define it. 4637# (The regexp can be short, since the line contains either #define or #undef.) 4638echo 's/ $// 4639s,^[ #]*u.*,/* & */,' >>conftest.defines 4640 4641# Break up conftest.defines: 4642ac_max_sed_lines=50 4643 4644# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 4645# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 4646# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 4647# et cetera. 4648ac_in='$ac_file_inputs' 4649ac_out='"$tmp/out1"' 4650ac_nxt='"$tmp/out2"' 4651 4652while : 4653do 4654 # Write a here document: 4655 cat >>$CONFIG_STATUS <<_ACEOF 4656 # First, check the format of the line: 4657 cat >"\$tmp/defines.sed" <<\\CEOF 4658/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 4659/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 4660b 4661:def 4662_ACEOF 4663 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 4664 echo 'CEOF 4665 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 4666 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 4667 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 4668 grep . conftest.tail >/dev/null || break 4669 rm -f conftest.defines 4670 mv conftest.tail conftest.defines 4671done 4672rm -f conftest.defines conftest.tail 4673 4674echo "ac_result=$ac_in" >>$CONFIG_STATUS 4675cat >>$CONFIG_STATUS <<\_ACEOF 4676 if test x"$ac_file" != x-; then 4677 echo "/* $configure_input */" >"$tmp/config.h" 4678 cat "$ac_result" >>"$tmp/config.h" 4679 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 4680 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4681echo "$as_me: $ac_file is unchanged" >&6;} 4682 else 4683 rm -f $ac_file 4684 mv "$tmp/config.h" $ac_file 4685 fi 4686 else 4687 echo "/* $configure_input */" 4688 cat "$ac_result" 4689 fi 4690 rm -f "$tmp/out12" 4691 ;; 4692 4693 4694 esac 4695 4696done # for ac_tag 4697 4698 4699{ (exit 0); exit 0; } 4700_ACEOF 4701chmod +x $CONFIG_STATUS 4702ac_clean_files=$ac_clean_files_save 4703 4704 4705# configure is writing to config.log, and then calls config.status. 4706# config.status does its own redirection, appending to config.log. 4707# Unfortunately, on DOS this fails, as config.log is still kept open 4708# by configure, so config.status won't be able to write to it; its 4709# output is simply discarded. So we exec the FD to /dev/null, 4710# effectively closing config.log, so it can be properly (re)opened and 4711# appended to by config.status. When coming back to configure, we 4712# need to make the FD available again. 4713if test "$no_create" != yes; then 4714 ac_cs_success=: 4715 ac_config_status_args= 4716 test "$silent" = yes && 4717 ac_config_status_args="$ac_config_status_args --quiet" 4718 exec 5>/dev/null 4719 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4720 exec 5>>config.log 4721 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4722 # would make configure fail if this is the last instruction. 4723 $ac_cs_success || { (exit 1); exit 1; } 4724fi 4725 4726