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