1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40# The user is always right. 41if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51fi 52 53# Support unset when possible. 54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56else 57 as_unset=false 58fi 59 60 61# IFS 62# We need space, tab and new line, in precisely that order. Quoting is 63# there to prevent editors from complaining about space-tab. 64# (If _AS_PATH_WALK were called with IFS unset, it would disable word 65# splitting by setting IFS to empty value.) 66as_nl=' 67' 68IFS=" "" $as_nl" 69 70# Find who we are. Look in the path if we contain no directory separator. 71case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74for as_dir in $PATH 75do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79done 80IFS=$as_save_IFS 81 82 ;; 83esac 84# We did not find ourselves, most probably we were run as `sh COMMAND' 85# in which case we are not to be found in the path. 86if test "x$as_myself" = x; then 87 as_myself=$0 88fi 89if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92fi 93 94# Work around bugs in pre-3.0 UWIN ksh. 95for as_var in ENV MAIL MAILPATH 96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97done 98PS1='$ ' 99PS2='> ' 100PS4='+ ' 101 102# NLS nuisances. 103for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 113done 114 115# Required to use basename. 116if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119else 120 as_expr=false 121fi 122 123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125else 126 as_basename=false 127fi 128 129 130# Name of the executable. 131as_me=`$as_basename -- "$0" || 132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150# CDPATH. 151$as_unset CDPATH 152 153 154if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157else 158 as_have_required=no 159fi 160 161 if test $as_have_required = yes && (eval ": 162(as_func_return () { 163 (exit \$1) 164} 165as_func_success () { 166 as_func_return 0 167} 168as_func_failure () { 169 as_func_return 1 170} 171as_func_ret_success () { 172 return 0 173} 174as_func_ret_failure () { 175 return 1 176} 177 178exitcode=0 179if as_func_success; then 180 : 181else 182 exitcode=1 183 echo as_func_success failed. 184fi 185 186if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189fi 190 191if as_func_ret_success; then 192 : 193else 194 exitcode=1 195 echo as_func_ret_success failed. 196fi 197 198if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201fi 202 203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205else 206 exitcode=1 207 echo positional parameters were not saved. 208fi 209 210test \$exitcode = 0) || { (exit 1); exit 1; } 211 212( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217") 2> /dev/null; then 218 : 219else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232done 233IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250esac 251 252fi 253 254 255: 256_ASEOF 257}; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277(as_func_return () { 278 (exit $1) 279} 280as_func_success () { 281 as_func_return 0 282} 283as_func_failure () { 284 as_func_return 1 285} 286as_func_ret_success () { 287 return 0 288} 289as_func_ret_failure () { 290 return 1 291} 292 293exitcode=0 294if as_func_success; then 295 : 296else 297 exitcode=1 298 echo as_func_success failed. 299fi 300 301if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304fi 305 306if as_func_ret_success; then 307 : 308else 309 exitcode=1 310 echo as_func_ret_success failed. 311fi 312 313if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316fi 317 318if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320else 321 exitcode=1 322 echo positional parameters were not saved. 323fi 324 325test $exitcode = 0) || { (exit 1); exit 1; } 326 327( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333_ASEOF 334}; then 335 break 336fi 337 338fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357fi 358 359 360fi 361 362fi 363 364 365 366(eval "as_func_return () { 367 (exit \$1) 368} 369as_func_success () { 370 as_func_return 0 371} 372as_func_failure () { 373 as_func_return 1 374} 375as_func_ret_success () { 376 return 0 377} 378as_func_ret_failure () { 379 return 1 380} 381 382exitcode=0 383if as_func_success; then 384 : 385else 386 exitcode=1 387 echo as_func_success failed. 388fi 389 390if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393fi 394 395if as_func_ret_success; then 396 : 397else 398 exitcode=1 399 echo as_func_ret_success failed. 400fi 401 402if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405fi 406 407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409else 410 exitcode=1 411 echo positional parameters were not saved. 412fi 413 414test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419} 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 457 # Don't try to exec as it changes $[0], causing all sort of problems 458 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 461 # Exit status is that of the last command. 462 exit 463} 464 465 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468else 469 as_dirname=false 470fi 471 472ECHO_C= ECHO_N= ECHO_T= 473case `echo -n x` in 474-n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479*) 480 ECHO_N='-n';; 481esac 482 483if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486else 487 as_expr=false 488fi 489 490rm -f conf$$ conf$$.exe conf$$.file 491if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496fi 497echo >conf$$.file 498if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508else 509 as_ln_s='cp -p' 510fi 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512rmdir conf$$.dir 2>/dev/null 513 514if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519fi 520 521if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541fi 542as_executable_p=$as_test_x 543 544# Sed expression to map a string onto a valid CPP name. 545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546 547# Sed expression to map a string onto a valid variable name. 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552exec 7<&0 </dev/null 6>&1 553 554# Name of the host. 555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556# so uname gets run too. 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559# 560# Initializations. 561# 562ac_default_prefix=/usr/local 563ac_clean_files= 564ac_config_libobj_dir=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572# Identity of this package. 573PACKAGE_NAME= 574PACKAGE_TARNAME= 575PACKAGE_VERSION= 576PACKAGE_STRING= 577PACKAGE_BUGREPORT= 578 579ac_unique_file="crt0.s" 580ac_subst_vars='SHELL 581PATH_SEPARATOR 582PACKAGE_NAME 583PACKAGE_TARNAME 584PACKAGE_VERSION 585PACKAGE_STRING 586PACKAGE_BUGREPORT 587exec_prefix 588prefix 589program_transform_name 590bindir 591sbindir 592libexecdir 593datarootdir 594datadir 595sysconfdir 596sharedstatedir 597localstatedir 598includedir 599oldincludedir 600docdir 601infodir 602htmldir 603dvidir 604pdfdir 605psdir 606libdir 607localedir 608mandir 609DEFS 610ECHO_C 611ECHO_N 612ECHO_T 613LIBS 614build_alias 615host_alias 616target_alias 617build 618build_cpu 619build_vendor 620build_os 621host 622host_cpu 623host_vendor 624host_os 625target 626target_cpu 627target_vendor 628target_os 629INSTALL_PROGRAM 630INSTALL_SCRIPT 631INSTALL_DATA 632CC 633am__leading_dot 634DEPDIR 635am__include 636am__quote 637AMDEP_TRUE 638AMDEP_FALSE 639AMDEPBACKSLASH 640CCDEPMODE 641am__fastdepCC_TRUE 642am__fastdepCC_FALSE 643AS 644AR 645LD 646RANLIB 647CCAS 648CCASFLAGS 649host_makefile_frag_path 650LIBOBJS 651LTLIBOBJS' 652ac_subst_files='host_makefile_frag' 653 ac_precious_vars='build_alias 654host_alias 655target_alias 656CCAS 657CCASFLAGS' 658 659 660# Initialize some variables set by options. 661ac_init_help= 662ac_init_version=false 663# The variables have the same names as the options, with 664# dashes changed to underlines. 665cache_file=/dev/null 666exec_prefix=NONE 667no_create= 668no_recursion= 669prefix=NONE 670program_prefix=NONE 671program_suffix=NONE 672program_transform_name=s,x,x, 673silent= 674site= 675srcdir= 676verbose= 677x_includes=NONE 678x_libraries=NONE 679 680# Installation directory options. 681# These are left unexpanded so users can "make install exec_prefix=/foo" 682# and all the variables that are supposed to be based on exec_prefix 683# by default will actually change. 684# Use braces instead of parens because sh, perl, etc. also accept them. 685# (The list follows the same order as the GNU Coding Standards.) 686bindir='${exec_prefix}/bin' 687sbindir='${exec_prefix}/sbin' 688libexecdir='${exec_prefix}/libexec' 689datarootdir='${prefix}/share' 690datadir='${datarootdir}' 691sysconfdir='${prefix}/etc' 692sharedstatedir='${prefix}/com' 693localstatedir='${prefix}/var' 694includedir='${prefix}/include' 695oldincludedir='/usr/include' 696docdir='${datarootdir}/doc/${PACKAGE}' 697infodir='${datarootdir}/info' 698htmldir='${docdir}' 699dvidir='${docdir}' 700pdfdir='${docdir}' 701psdir='${docdir}' 702libdir='${exec_prefix}/lib' 703localedir='${datarootdir}/locale' 704mandir='${datarootdir}/man' 705 706ac_prev= 707ac_dashdash= 708for ac_option 709do 710 # If the previous option needs an argument, assign it. 711 if test -n "$ac_prev"; then 712 eval $ac_prev=\$ac_option 713 ac_prev= 714 continue 715 fi 716 717 case $ac_option in 718 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 719 *) ac_optarg=yes ;; 720 esac 721 722 # Accept the important Cygnus configure options, so we can diagnose typos. 723 724 case $ac_dashdash$ac_option in 725 --) 726 ac_dashdash=yes ;; 727 728 -bindir | --bindir | --bindi | --bind | --bin | --bi) 729 ac_prev=bindir ;; 730 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 731 bindir=$ac_optarg ;; 732 733 -build | --build | --buil | --bui | --bu) 734 ac_prev=build_alias ;; 735 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 736 build_alias=$ac_optarg ;; 737 738 -cache-file | --cache-file | --cache-fil | --cache-fi \ 739 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 740 ac_prev=cache_file ;; 741 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 742 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 743 cache_file=$ac_optarg ;; 744 745 --config-cache | -C) 746 cache_file=config.cache ;; 747 748 -datadir | --datadir | --datadi | --datad) 749 ac_prev=datadir ;; 750 -datadir=* | --datadir=* | --datadi=* | --datad=*) 751 datadir=$ac_optarg ;; 752 753 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 754 | --dataroo | --dataro | --datar) 755 ac_prev=datarootdir ;; 756 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 757 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 758 datarootdir=$ac_optarg ;; 759 760 -disable-* | --disable-*) 761 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 762 # Reject names that are not valid shell variable names. 763 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 764 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 765 { (exit 1); exit 1; }; } 766 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 767 eval enable_$ac_feature=no ;; 768 769 -docdir | --docdir | --docdi | --doc | --do) 770 ac_prev=docdir ;; 771 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 772 docdir=$ac_optarg ;; 773 774 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 775 ac_prev=dvidir ;; 776 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 777 dvidir=$ac_optarg ;; 778 779 -enable-* | --enable-*) 780 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 781 # Reject names that are not valid shell variable names. 782 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 783 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 784 { (exit 1); exit 1; }; } 785 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 786 eval enable_$ac_feature=\$ac_optarg ;; 787 788 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 789 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 790 | --exec | --exe | --ex) 791 ac_prev=exec_prefix ;; 792 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 793 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 794 | --exec=* | --exe=* | --ex=*) 795 exec_prefix=$ac_optarg ;; 796 797 -gas | --gas | --ga | --g) 798 # Obsolete; use --with-gas. 799 with_gas=yes ;; 800 801 -help | --help | --hel | --he | -h) 802 ac_init_help=long ;; 803 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 804 ac_init_help=recursive ;; 805 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 806 ac_init_help=short ;; 807 808 -host | --host | --hos | --ho) 809 ac_prev=host_alias ;; 810 -host=* | --host=* | --hos=* | --ho=*) 811 host_alias=$ac_optarg ;; 812 813 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 814 ac_prev=htmldir ;; 815 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 816 | --ht=*) 817 htmldir=$ac_optarg ;; 818 819 -includedir | --includedir | --includedi | --included | --include \ 820 | --includ | --inclu | --incl | --inc) 821 ac_prev=includedir ;; 822 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 823 | --includ=* | --inclu=* | --incl=* | --inc=*) 824 includedir=$ac_optarg ;; 825 826 -infodir | --infodir | --infodi | --infod | --info | --inf) 827 ac_prev=infodir ;; 828 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 829 infodir=$ac_optarg ;; 830 831 -libdir | --libdir | --libdi | --libd) 832 ac_prev=libdir ;; 833 -libdir=* | --libdir=* | --libdi=* | --libd=*) 834 libdir=$ac_optarg ;; 835 836 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 837 | --libexe | --libex | --libe) 838 ac_prev=libexecdir ;; 839 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 840 | --libexe=* | --libex=* | --libe=*) 841 libexecdir=$ac_optarg ;; 842 843 -localedir | --localedir | --localedi | --localed | --locale) 844 ac_prev=localedir ;; 845 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 846 localedir=$ac_optarg ;; 847 848 -localstatedir | --localstatedir | --localstatedi | --localstated \ 849 | --localstate | --localstat | --localsta | --localst | --locals) 850 ac_prev=localstatedir ;; 851 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 852 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 853 localstatedir=$ac_optarg ;; 854 855 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 856 ac_prev=mandir ;; 857 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 858 mandir=$ac_optarg ;; 859 860 -nfp | --nfp | --nf) 861 # Obsolete; use --without-fp. 862 with_fp=no ;; 863 864 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 865 | --no-cr | --no-c | -n) 866 no_create=yes ;; 867 868 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 869 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 870 no_recursion=yes ;; 871 872 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 873 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 874 | --oldin | --oldi | --old | --ol | --o) 875 ac_prev=oldincludedir ;; 876 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 877 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 878 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 879 oldincludedir=$ac_optarg ;; 880 881 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 882 ac_prev=prefix ;; 883 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 884 prefix=$ac_optarg ;; 885 886 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 887 | --program-pre | --program-pr | --program-p) 888 ac_prev=program_prefix ;; 889 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 890 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 891 program_prefix=$ac_optarg ;; 892 893 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 894 | --program-suf | --program-su | --program-s) 895 ac_prev=program_suffix ;; 896 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 897 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 898 program_suffix=$ac_optarg ;; 899 900 -program-transform-name | --program-transform-name \ 901 | --program-transform-nam | --program-transform-na \ 902 | --program-transform-n | --program-transform- \ 903 | --program-transform | --program-transfor \ 904 | --program-transfo | --program-transf \ 905 | --program-trans | --program-tran \ 906 | --progr-tra | --program-tr | --program-t) 907 ac_prev=program_transform_name ;; 908 -program-transform-name=* | --program-transform-name=* \ 909 | --program-transform-nam=* | --program-transform-na=* \ 910 | --program-transform-n=* | --program-transform-=* \ 911 | --program-transform=* | --program-transfor=* \ 912 | --program-transfo=* | --program-transf=* \ 913 | --program-trans=* | --program-tran=* \ 914 | --progr-tra=* | --program-tr=* | --program-t=*) 915 program_transform_name=$ac_optarg ;; 916 917 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 918 ac_prev=pdfdir ;; 919 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 920 pdfdir=$ac_optarg ;; 921 922 -psdir | --psdir | --psdi | --psd | --ps) 923 ac_prev=psdir ;; 924 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 925 psdir=$ac_optarg ;; 926 927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 928 | -silent | --silent | --silen | --sile | --sil) 929 silent=yes ;; 930 931 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 932 ac_prev=sbindir ;; 933 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 934 | --sbi=* | --sb=*) 935 sbindir=$ac_optarg ;; 936 937 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 938 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 939 | --sharedst | --shareds | --shared | --share | --shar \ 940 | --sha | --sh) 941 ac_prev=sharedstatedir ;; 942 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 943 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 944 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 945 | --sha=* | --sh=*) 946 sharedstatedir=$ac_optarg ;; 947 948 -site | --site | --sit) 949 ac_prev=site ;; 950 -site=* | --site=* | --sit=*) 951 site=$ac_optarg ;; 952 953 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 954 ac_prev=srcdir ;; 955 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 956 srcdir=$ac_optarg ;; 957 958 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 959 | --syscon | --sysco | --sysc | --sys | --sy) 960 ac_prev=sysconfdir ;; 961 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 962 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 963 sysconfdir=$ac_optarg ;; 964 965 -target | --target | --targe | --targ | --tar | --ta | --t) 966 ac_prev=target_alias ;; 967 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 968 target_alias=$ac_optarg ;; 969 970 -v | -verbose | --verbose | --verbos | --verbo | --verb) 971 verbose=yes ;; 972 973 -version | --version | --versio | --versi | --vers | -V) 974 ac_init_version=: ;; 975 976 -with-* | --with-*) 977 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 978 # Reject names that are not valid shell variable names. 979 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 980 { echo "$as_me: error: invalid package name: $ac_package" >&2 981 { (exit 1); exit 1; }; } 982 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 983 eval with_$ac_package=\$ac_optarg ;; 984 985 -without-* | --without-*) 986 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 987 # Reject names that are not valid shell variable names. 988 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 989 { echo "$as_me: error: invalid package name: $ac_package" >&2 990 { (exit 1); exit 1; }; } 991 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 992 eval with_$ac_package=no ;; 993 994 --x) 995 # Obsolete; use --with-x. 996 with_x=yes ;; 997 998 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 999 | --x-incl | --x-inc | --x-in | --x-i) 1000 ac_prev=x_includes ;; 1001 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1002 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1003 x_includes=$ac_optarg ;; 1004 1005 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1006 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1007 ac_prev=x_libraries ;; 1008 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1009 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1010 x_libraries=$ac_optarg ;; 1011 1012 -*) { echo "$as_me: error: unrecognized option: $ac_option 1013Try \`$0 --help' for more information." >&2 1014 { (exit 1); exit 1; }; } 1015 ;; 1016 1017 *=*) 1018 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1019 # Reject names that are not valid shell variable names. 1020 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1021 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1022 { (exit 1); exit 1; }; } 1023 eval $ac_envvar=\$ac_optarg 1024 export $ac_envvar ;; 1025 1026 *) 1027 # FIXME: should be removed in autoconf 3.0. 1028 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1029 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1030 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1031 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1032 ;; 1033 1034 esac 1035done 1036 1037if test -n "$ac_prev"; then 1038 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1039 { echo "$as_me: error: missing argument to $ac_option" >&2 1040 { (exit 1); exit 1; }; } 1041fi 1042 1043# Be sure to have absolute directory names. 1044for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1045 datadir sysconfdir sharedstatedir localstatedir includedir \ 1046 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1047 libdir localedir mandir 1048do 1049 eval ac_val=\$$ac_var 1050 case $ac_val in 1051 [\\/$]* | ?:[\\/]* ) continue;; 1052 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1053 esac 1054 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1055 { (exit 1); exit 1; }; } 1056done 1057 1058# There might be people who depend on the old broken behavior: `$host' 1059# used to hold the argument of --host etc. 1060# FIXME: To remove some day. 1061build=$build_alias 1062host=$host_alias 1063target=$target_alias 1064 1065# FIXME: To remove some day. 1066if test "x$host_alias" != x; then 1067 if test "x$build_alias" = x; then 1068 cross_compiling=maybe 1069 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1070 If a cross compiler is detected then cross compile mode will be used." >&2 1071 elif test "x$build_alias" != "x$host_alias"; then 1072 cross_compiling=yes 1073 fi 1074fi 1075 1076ac_tool_prefix= 1077test -n "$host_alias" && ac_tool_prefix=$host_alias- 1078 1079test "$silent" = yes && exec 6>/dev/null 1080 1081 1082ac_pwd=`pwd` && test -n "$ac_pwd" && 1083ac_ls_di=`ls -di .` && 1084ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1085 { echo "$as_me: error: Working directory cannot be determined" >&2 1086 { (exit 1); exit 1; }; } 1087test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1088 { echo "$as_me: error: pwd does not report name of working directory" >&2 1089 { (exit 1); exit 1; }; } 1090 1091 1092# Find the source files, if location was not specified. 1093if test -z "$srcdir"; then 1094 ac_srcdir_defaulted=yes 1095 # Try the directory containing this script, then the parent directory. 1096 ac_confdir=`$as_dirname -- "$0" || 1097$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1098 X"$0" : 'X\(//\)[^/]' \| \ 1099 X"$0" : 'X\(//\)$' \| \ 1100 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1101echo X"$0" | 1102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1103 s//\1/ 1104 q 1105 } 1106 /^X\(\/\/\)[^/].*/{ 1107 s//\1/ 1108 q 1109 } 1110 /^X\(\/\/\)$/{ 1111 s//\1/ 1112 q 1113 } 1114 /^X\(\/\).*/{ 1115 s//\1/ 1116 q 1117 } 1118 s/.*/./; q'` 1119 srcdir=$ac_confdir 1120 if test ! -r "$srcdir/$ac_unique_file"; then 1121 srcdir=.. 1122 fi 1123else 1124 ac_srcdir_defaulted=no 1125fi 1126if test ! -r "$srcdir/$ac_unique_file"; then 1127 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1128 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1129 { (exit 1); exit 1; }; } 1130fi 1131ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1132ac_abs_confdir=`( 1133 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1134 { (exit 1); exit 1; }; } 1135 pwd)` 1136# When building in place, set srcdir=. 1137if test "$ac_abs_confdir" = "$ac_pwd"; then 1138 srcdir=. 1139fi 1140# Remove unnecessary trailing slashes from srcdir. 1141# Double slashes in file names in object file debugging info 1142# mess up M-x gdb in Emacs. 1143case $srcdir in 1144*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1145esac 1146for ac_var in $ac_precious_vars; do 1147 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1148 eval ac_env_${ac_var}_value=\$${ac_var} 1149 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1150 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1151done 1152 1153# 1154# Report the --help message. 1155# 1156if test "$ac_init_help" = "long"; then 1157 # Omit some internal or obsolete options to make the list less imposing. 1158 # This message is too long to be a string in the A/UX 3.1 sh. 1159 cat <<_ACEOF 1160\`configure' configures this package to adapt to many kinds of systems. 1161 1162Usage: $0 [OPTION]... [VAR=VALUE]... 1163 1164To assign environment variables (e.g., CC, CFLAGS...), specify them as 1165VAR=VALUE. See below for descriptions of some of the useful variables. 1166 1167Defaults for the options are specified in brackets. 1168 1169Configuration: 1170 -h, --help display this help and exit 1171 --help=short display options specific to this package 1172 --help=recursive display the short help of all the included packages 1173 -V, --version display version information and exit 1174 -q, --quiet, --silent do not print \`checking...' messages 1175 --cache-file=FILE cache test results in FILE [disabled] 1176 -C, --config-cache alias for \`--cache-file=config.cache' 1177 -n, --no-create do not create output files 1178 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1179 1180Installation directories: 1181 --prefix=PREFIX install architecture-independent files in PREFIX 1182 [$ac_default_prefix] 1183 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1184 [PREFIX] 1185 1186By default, \`make install' will install all the files in 1187\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1188an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1189for instance \`--prefix=\$HOME'. 1190 1191For better control, use the options below. 1192 1193Fine tuning of the installation directories: 1194 --bindir=DIR user executables [EPREFIX/bin] 1195 --sbindir=DIR system admin executables [EPREFIX/sbin] 1196 --libexecdir=DIR program executables [EPREFIX/libexec] 1197 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1198 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1199 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1200 --libdir=DIR object code libraries [EPREFIX/lib] 1201 --includedir=DIR C header files [PREFIX/include] 1202 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1203 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1204 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1205 --infodir=DIR info documentation [DATAROOTDIR/info] 1206 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1207 --mandir=DIR man documentation [DATAROOTDIR/man] 1208 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1209 --htmldir=DIR html documentation [DOCDIR] 1210 --dvidir=DIR dvi documentation [DOCDIR] 1211 --pdfdir=DIR pdf documentation [DOCDIR] 1212 --psdir=DIR ps documentation [DOCDIR] 1213_ACEOF 1214 1215 cat <<\_ACEOF 1216 1217Program names: 1218 --program-prefix=PREFIX prepend PREFIX to installed program names 1219 --program-suffix=SUFFIX append SUFFIX to installed program names 1220 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1221 1222System types: 1223 --build=BUILD configure for building on BUILD [guessed] 1224 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1225 --target=TARGET configure for building compilers for TARGET [HOST] 1226_ACEOF 1227fi 1228 1229if test -n "$ac_init_help"; then 1230 1231 cat <<\_ACEOF 1232 1233Optional Features: 1234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1236 --disable-dependency-tracking speeds up one-time build 1237 --enable-dependency-tracking do not reject slow dependency extractors 1238 1239Some influential environment variables: 1240 CCAS assembler compiler command (defaults to CC) 1241 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1242 1243Use these variables to override the choices made by `configure' or to help 1244it to find libraries and programs with nonstandard names/locations. 1245 1246_ACEOF 1247ac_status=$? 1248fi 1249 1250if test "$ac_init_help" = "recursive"; then 1251 # If there are subdirs, report their specific --help. 1252 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1253 test -d "$ac_dir" || continue 1254 ac_builddir=. 1255 1256case "$ac_dir" in 1257.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1258*) 1259 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1260 # A ".." for each directory in $ac_dir_suffix. 1261 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1262 case $ac_top_builddir_sub in 1263 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1264 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1265 esac ;; 1266esac 1267ac_abs_top_builddir=$ac_pwd 1268ac_abs_builddir=$ac_pwd$ac_dir_suffix 1269# for backward compatibility: 1270ac_top_builddir=$ac_top_build_prefix 1271 1272case $srcdir in 1273 .) # We are building in place. 1274 ac_srcdir=. 1275 ac_top_srcdir=$ac_top_builddir_sub 1276 ac_abs_top_srcdir=$ac_pwd ;; 1277 [\\/]* | ?:[\\/]* ) # Absolute name. 1278 ac_srcdir=$srcdir$ac_dir_suffix; 1279 ac_top_srcdir=$srcdir 1280 ac_abs_top_srcdir=$srcdir ;; 1281 *) # Relative name. 1282 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1283 ac_top_srcdir=$ac_top_build_prefix$srcdir 1284 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1285esac 1286ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1287 1288 cd "$ac_dir" || { ac_status=$?; continue; } 1289 # Check for guested configure. 1290 if test -f "$ac_srcdir/configure.gnu"; then 1291 echo && 1292 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1293 elif test -f "$ac_srcdir/configure"; then 1294 echo && 1295 $SHELL "$ac_srcdir/configure" --help=recursive 1296 else 1297 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1298 fi || ac_status=$? 1299 cd "$ac_pwd" || { ac_status=$?; break; } 1300 done 1301fi 1302 1303test -n "$ac_init_help" && exit $ac_status 1304if $ac_init_version; then 1305 cat <<\_ACEOF 1306configure 1307generated by GNU Autoconf 2.61 1308 1309Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13102002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1311This configure script is free software; the Free Software Foundation 1312gives unlimited permission to copy, distribute and modify it. 1313_ACEOF 1314 exit 1315fi 1316cat >config.log <<_ACEOF 1317This file contains any messages produced by compilers while 1318running configure, to aid debugging if configure makes a mistake. 1319 1320It was created by $as_me, which was 1321generated by GNU Autoconf 2.61. Invocation command line was 1322 1323 $ $0 $@ 1324 1325_ACEOF 1326exec 5>>config.log 1327{ 1328cat <<_ASUNAME 1329## --------- ## 1330## Platform. ## 1331## --------- ## 1332 1333hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1334uname -m = `(uname -m) 2>/dev/null || echo unknown` 1335uname -r = `(uname -r) 2>/dev/null || echo unknown` 1336uname -s = `(uname -s) 2>/dev/null || echo unknown` 1337uname -v = `(uname -v) 2>/dev/null || echo unknown` 1338 1339/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1340/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1341 1342/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1343/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1344/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1345/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1346/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1347/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1348/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1349 1350_ASUNAME 1351 1352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1353for as_dir in $PATH 1354do 1355 IFS=$as_save_IFS 1356 test -z "$as_dir" && as_dir=. 1357 echo "PATH: $as_dir" 1358done 1359IFS=$as_save_IFS 1360 1361} >&5 1362 1363cat >&5 <<_ACEOF 1364 1365 1366## ----------- ## 1367## Core tests. ## 1368## ----------- ## 1369 1370_ACEOF 1371 1372 1373# Keep a trace of the command line. 1374# Strip out --no-create and --no-recursion so they do not pile up. 1375# Strip out --silent because we don't want to record it for future runs. 1376# Also quote any args containing shell meta-characters. 1377# Make two passes to allow for proper duplicate-argument suppression. 1378ac_configure_args= 1379ac_configure_args0= 1380ac_configure_args1= 1381ac_must_keep_next=false 1382for ac_pass in 1 2 1383do 1384 for ac_arg 1385 do 1386 case $ac_arg in 1387 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1388 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1389 | -silent | --silent | --silen | --sile | --sil) 1390 continue ;; 1391 *\'*) 1392 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1393 esac 1394 case $ac_pass in 1395 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1396 2) 1397 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1398 if test $ac_must_keep_next = true; then 1399 ac_must_keep_next=false # Got value, back to normal. 1400 else 1401 case $ac_arg in 1402 *=* | --config-cache | -C | -disable-* | --disable-* \ 1403 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1404 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1405 | -with-* | --with-* | -without-* | --without-* | --x) 1406 case "$ac_configure_args0 " in 1407 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1408 esac 1409 ;; 1410 -* ) ac_must_keep_next=true ;; 1411 esac 1412 fi 1413 ac_configure_args="$ac_configure_args '$ac_arg'" 1414 ;; 1415 esac 1416 done 1417done 1418$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1419$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1420 1421# When interrupted or exit'd, cleanup temporary files, and complete 1422# config.log. We remove comments because anyway the quotes in there 1423# would cause problems or look ugly. 1424# WARNING: Use '\'' to represent an apostrophe within the trap. 1425# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1426trap 'exit_status=$? 1427 # Save into config.log some information that might help in debugging. 1428 { 1429 echo 1430 1431 cat <<\_ASBOX 1432## ---------------- ## 1433## Cache variables. ## 1434## ---------------- ## 1435_ASBOX 1436 echo 1437 # The following way of writing the cache mishandles newlines in values, 1438( 1439 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1440 eval ac_val=\$$ac_var 1441 case $ac_val in #( 1442 *${as_nl}*) 1443 case $ac_var in #( 1444 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1445echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1446 esac 1447 case $ac_var in #( 1448 _ | IFS | as_nl) ;; #( 1449 *) $as_unset $ac_var ;; 1450 esac ;; 1451 esac 1452 done 1453 (set) 2>&1 | 1454 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1455 *${as_nl}ac_space=\ *) 1456 sed -n \ 1457 "s/'\''/'\''\\\\'\'''\''/g; 1458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1459 ;; #( 1460 *) 1461 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1462 ;; 1463 esac | 1464 sort 1465) 1466 echo 1467 1468 cat <<\_ASBOX 1469## ----------------- ## 1470## Output variables. ## 1471## ----------------- ## 1472_ASBOX 1473 echo 1474 for ac_var in $ac_subst_vars 1475 do 1476 eval ac_val=\$$ac_var 1477 case $ac_val in 1478 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1479 esac 1480 echo "$ac_var='\''$ac_val'\''" 1481 done | sort 1482 echo 1483 1484 if test -n "$ac_subst_files"; then 1485 cat <<\_ASBOX 1486## ------------------- ## 1487## File substitutions. ## 1488## ------------------- ## 1489_ASBOX 1490 echo 1491 for ac_var in $ac_subst_files 1492 do 1493 eval ac_val=\$$ac_var 1494 case $ac_val in 1495 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1496 esac 1497 echo "$ac_var='\''$ac_val'\''" 1498 done | sort 1499 echo 1500 fi 1501 1502 if test -s confdefs.h; then 1503 cat <<\_ASBOX 1504## ----------- ## 1505## confdefs.h. ## 1506## ----------- ## 1507_ASBOX 1508 echo 1509 cat confdefs.h 1510 echo 1511 fi 1512 test "$ac_signal" != 0 && 1513 echo "$as_me: caught signal $ac_signal" 1514 echo "$as_me: exit $exit_status" 1515 } >&5 1516 rm -f core *.core core.conftest.* && 1517 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1518 exit $exit_status 1519' 0 1520for ac_signal in 1 2 13 15; do 1521 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1522done 1523ac_signal=0 1524 1525# confdefs.h avoids OS command line length limits that DEFS can exceed. 1526rm -f -r conftest* confdefs.h 1527 1528# Predefined preprocessor variables. 1529 1530cat >>confdefs.h <<_ACEOF 1531#define PACKAGE_NAME "$PACKAGE_NAME" 1532_ACEOF 1533 1534 1535cat >>confdefs.h <<_ACEOF 1536#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1537_ACEOF 1538 1539 1540cat >>confdefs.h <<_ACEOF 1541#define PACKAGE_VERSION "$PACKAGE_VERSION" 1542_ACEOF 1543 1544 1545cat >>confdefs.h <<_ACEOF 1546#define PACKAGE_STRING "$PACKAGE_STRING" 1547_ACEOF 1548 1549 1550cat >>confdefs.h <<_ACEOF 1551#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1552_ACEOF 1553 1554 1555# Let the site file select an alternate cache file if it wants to. 1556# Prefer explicitly selected file to automatically selected ones. 1557if test -n "$CONFIG_SITE"; then 1558 set x "$CONFIG_SITE" 1559elif test "x$prefix" != xNONE; then 1560 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1561else 1562 set x "$ac_default_prefix/share/config.site" \ 1563 "$ac_default_prefix/etc/config.site" 1564fi 1565shift 1566for ac_site_file 1567do 1568 if test -r "$ac_site_file"; then 1569 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1570echo "$as_me: loading site script $ac_site_file" >&6;} 1571 sed 's/^/| /' "$ac_site_file" >&5 1572 . "$ac_site_file" 1573 fi 1574done 1575 1576if test -r "$cache_file"; then 1577 # Some versions of bash will fail to source /dev/null (special 1578 # files actually), so we avoid doing that. 1579 if test -f "$cache_file"; then 1580 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1581echo "$as_me: loading cache $cache_file" >&6;} 1582 case $cache_file in 1583 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1584 *) . "./$cache_file";; 1585 esac 1586 fi 1587else 1588 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1589echo "$as_me: creating cache $cache_file" >&6;} 1590 >$cache_file 1591fi 1592 1593# Check that the precious variables saved in the cache have kept the same 1594# value. 1595ac_cache_corrupted=false 1596for ac_var in $ac_precious_vars; do 1597 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1598 eval ac_new_set=\$ac_env_${ac_var}_set 1599 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1600 eval ac_new_val=\$ac_env_${ac_var}_value 1601 case $ac_old_set,$ac_new_set in 1602 set,) 1603 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1604echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1605 ac_cache_corrupted=: ;; 1606 ,set) 1607 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1608echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1609 ac_cache_corrupted=: ;; 1610 ,);; 1611 *) 1612 if test "x$ac_old_val" != "x$ac_new_val"; then 1613 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1614echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1615 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1616echo "$as_me: former value: $ac_old_val" >&2;} 1617 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1618echo "$as_me: current value: $ac_new_val" >&2;} 1619 ac_cache_corrupted=: 1620 fi;; 1621 esac 1622 # Pass precious variables to config.status. 1623 if test "$ac_new_set" = set; then 1624 case $ac_new_val in 1625 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1626 *) ac_arg=$ac_var=$ac_new_val ;; 1627 esac 1628 case " $ac_configure_args " in 1629 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1630 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1631 esac 1632 fi 1633done 1634if $ac_cache_corrupted; then 1635 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1636echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1637 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1638echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1639 { (exit 1); exit 1; }; } 1640fi 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658ac_ext=c 1659ac_cpp='$CPP $CPPFLAGS' 1660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1662ac_compiler_gnu=$ac_cv_c_compiler_gnu 1663 1664 1665 1666ac_aux_dir= 1667for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1668 if test -f "$ac_dir/install-sh"; then 1669 ac_aux_dir=$ac_dir 1670 ac_install_sh="$ac_aux_dir/install-sh -c" 1671 break 1672 elif test -f "$ac_dir/install.sh"; then 1673 ac_aux_dir=$ac_dir 1674 ac_install_sh="$ac_aux_dir/install.sh -c" 1675 break 1676 elif test -f "$ac_dir/shtool"; then 1677 ac_aux_dir=$ac_dir 1678 ac_install_sh="$ac_aux_dir/shtool install -c" 1679 break 1680 fi 1681done 1682if test -z "$ac_aux_dir"; then 1683 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1684echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1685 { (exit 1); exit 1; }; } 1686fi 1687 1688# These three variables are undocumented and unsupported, 1689# and are intended to be withdrawn in a future Autoconf release. 1690# They can cause serious problems if a builder's source tree is in a directory 1691# whose full name contains unusual characters. 1692ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1693ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1694ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1695 1696 1697# Make sure we can run config.sub. 1698$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1699 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1700echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1701 { (exit 1); exit 1; }; } 1702 1703{ echo "$as_me:$LINENO: checking build system type" >&5 1704echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1705if test "${ac_cv_build+set}" = set; then 1706 echo $ECHO_N "(cached) $ECHO_C" >&6 1707else 1708 ac_build_alias=$build_alias 1709test "x$ac_build_alias" = x && 1710 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1711test "x$ac_build_alias" = x && 1712 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1713echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1714 { (exit 1); exit 1; }; } 1715ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1716 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1717echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1718 { (exit 1); exit 1; }; } 1719 1720fi 1721{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1722echo "${ECHO_T}$ac_cv_build" >&6; } 1723case $ac_cv_build in 1724*-*-*) ;; 1725*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1726echo "$as_me: error: invalid value of canonical build" >&2;} 1727 { (exit 1); exit 1; }; };; 1728esac 1729build=$ac_cv_build 1730ac_save_IFS=$IFS; IFS='-' 1731set x $ac_cv_build 1732shift 1733build_cpu=$1 1734build_vendor=$2 1735shift; shift 1736# Remember, the first character of IFS is used to create $*, 1737# except with old shells: 1738build_os=$* 1739IFS=$ac_save_IFS 1740case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1741 1742 1743{ echo "$as_me:$LINENO: checking host system type" >&5 1744echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1745if test "${ac_cv_host+set}" = set; then 1746 echo $ECHO_N "(cached) $ECHO_C" >&6 1747else 1748 if test "x$host_alias" = x; then 1749 ac_cv_host=$ac_cv_build 1750else 1751 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1752 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1753echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1754 { (exit 1); exit 1; }; } 1755fi 1756 1757fi 1758{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1759echo "${ECHO_T}$ac_cv_host" >&6; } 1760case $ac_cv_host in 1761*-*-*) ;; 1762*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1763echo "$as_me: error: invalid value of canonical host" >&2;} 1764 { (exit 1); exit 1; }; };; 1765esac 1766host=$ac_cv_host 1767ac_save_IFS=$IFS; IFS='-' 1768set x $ac_cv_host 1769shift 1770host_cpu=$1 1771host_vendor=$2 1772shift; shift 1773# Remember, the first character of IFS is used to create $*, 1774# except with old shells: 1775host_os=$* 1776IFS=$ac_save_IFS 1777case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1778 1779 1780{ echo "$as_me:$LINENO: checking target system type" >&5 1781echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1782if test "${ac_cv_target+set}" = set; then 1783 echo $ECHO_N "(cached) $ECHO_C" >&6 1784else 1785 if test "x$target_alias" = x; then 1786 ac_cv_target=$ac_cv_host 1787else 1788 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1789 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1790echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1791 { (exit 1); exit 1; }; } 1792fi 1793 1794fi 1795{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1796echo "${ECHO_T}$ac_cv_target" >&6; } 1797case $ac_cv_target in 1798*-*-*) ;; 1799*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1800echo "$as_me: error: invalid value of canonical target" >&2;} 1801 { (exit 1); exit 1; }; };; 1802esac 1803target=$ac_cv_target 1804ac_save_IFS=$IFS; IFS='-' 1805set x $ac_cv_target 1806shift 1807target_cpu=$1 1808target_vendor=$2 1809shift; shift 1810# Remember, the first character of IFS is used to create $*, 1811# except with old shells: 1812target_os=$* 1813IFS=$ac_save_IFS 1814case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1815 1816 1817# The aliases save the names the user supplied, while $host etc. 1818# will get canonicalized. 1819test -n "$target_alias" && 1820 test "$program_prefix$program_suffix$program_transform_name" = \ 1821 NONENONEs,x,x, && 1822 program_prefix=${target_alias}- 1823test "$program_prefix" != NONE && 1824 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1825# Use a double $ so make ignores it. 1826test "$program_suffix" != NONE && 1827 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1828# Double any \ or $. echo might interpret backslashes. 1829# By default was `s,x,x', remove it if useless. 1830cat <<\_ACEOF >conftest.sed 1831s/[\\$]/&&/g;s/;s,x,x,$// 1832_ACEOF 1833program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1834rm -f conftest.sed 1835 1836 1837if test "$srcdir" = "." ; then 1838 mdir=`echo "${with_multisubdir}/" \ 1839 | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'` 1840 ac_aux_dir= 1841for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do 1842 if test -f "$ac_dir/install-sh"; then 1843 ac_aux_dir=$ac_dir 1844 ac_install_sh="$ac_aux_dir/install-sh -c" 1845 break 1846 elif test -f "$ac_dir/install.sh"; then 1847 ac_aux_dir=$ac_dir 1848 ac_install_sh="$ac_aux_dir/install.sh -c" 1849 break 1850 elif test -f "$ac_dir/shtool"; then 1851 ac_aux_dir=$ac_dir 1852 ac_install_sh="$ac_aux_dir/shtool install -c" 1853 break 1854 fi 1855done 1856if test -z "$ac_aux_dir"; then 1857 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5 1858echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;} 1859 { (exit 1); exit 1; }; } 1860fi 1861 1862# These three variables are undocumented and unsupported, 1863# and are intended to be withdrawn in a future Autoconf release. 1864# They can cause serious problems if a builder's source tree is in a directory 1865# whose full name contains unusual characters. 1866ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1867ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1868ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1869 1870 1871else 1872 ac_aux_dir= 1873for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do 1874 if test -f "$ac_dir/install-sh"; then 1875 ac_aux_dir=$ac_dir 1876 ac_install_sh="$ac_aux_dir/install-sh -c" 1877 break 1878 elif test -f "$ac_dir/install.sh"; then 1879 ac_aux_dir=$ac_dir 1880 ac_install_sh="$ac_aux_dir/install.sh -c" 1881 break 1882 elif test -f "$ac_dir/shtool"; then 1883 ac_aux_dir=$ac_dir 1884 ac_install_sh="$ac_aux_dir/shtool install -c" 1885 break 1886 fi 1887done 1888if test -z "$ac_aux_dir"; then 1889 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5 1890echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;} 1891 { (exit 1); exit 1; }; } 1892fi 1893 1894# These three variables are undocumented and unsupported, 1895# and are intended to be withdrawn in a future Autoconf release. 1896# They can cause serious problems if a builder's source tree is in a directory 1897# whose full name contains unusual characters. 1898ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1899ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1900ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1901 1902 1903fi 1904 1905# Find a good install program. We prefer a C program (faster), 1906# so one script is as good as another. But avoid the broken or 1907# incompatible versions: 1908# SysV /etc/install, /usr/sbin/install 1909# SunOS /usr/etc/install 1910# IRIX /sbin/install 1911# AIX /bin/install 1912# AmigaOS /C/install, which installs bootblocks on floppy discs 1913# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1914# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1915# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1916# OS/2's system install, which has a completely different semantic 1917# ./install, which can be erroneously created by make from ./install.sh. 1918{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1919echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1920if test -z "$INSTALL"; then 1921if test "${ac_cv_path_install+set}" = set; then 1922 echo $ECHO_N "(cached) $ECHO_C" >&6 1923else 1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1925for as_dir in $PATH 1926do 1927 IFS=$as_save_IFS 1928 test -z "$as_dir" && as_dir=. 1929 # Account for people who put trailing slashes in PATH elements. 1930case $as_dir/ in 1931 ./ | .// | /cC/* | \ 1932 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1933 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1934 /usr/ucb/* ) ;; 1935 *) 1936 # OSF1 and SCO ODT 3.0 have their own names for install. 1937 # Don't use installbsd from OSF since it installs stuff as root 1938 # by default. 1939 for ac_prog in ginstall scoinst install; do 1940 for ac_exec_ext in '' $ac_executable_extensions; do 1941 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1942 if test $ac_prog = install && 1943 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1944 # AIX install. It has an incompatible calling convention. 1945 : 1946 elif test $ac_prog = install && 1947 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1948 # program-specific install script used by HP pwplus--don't use. 1949 : 1950 else 1951 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1952 break 3 1953 fi 1954 fi 1955 done 1956 done 1957 ;; 1958esac 1959done 1960IFS=$as_save_IFS 1961 1962 1963fi 1964 if test "${ac_cv_path_install+set}" = set; then 1965 INSTALL=$ac_cv_path_install 1966 else 1967 # As a last resort, use the slow shell script. Don't cache a 1968 # value for INSTALL within a source directory, because that will 1969 # break other packages using the cache if that directory is 1970 # removed, or if the value is a relative name. 1971 INSTALL=$ac_install_sh 1972 fi 1973fi 1974{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1975echo "${ECHO_T}$INSTALL" >&6; } 1976 1977# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1978# It thinks the first close brace ends the variable substitution. 1979test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1980 1981test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1982 1983test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1984 1985 1986rm -rf .tst 2>/dev/null 1987mkdir .tst 2>/dev/null 1988if test -d .tst; then 1989 am__leading_dot=. 1990else 1991 am__leading_dot=_ 1992fi 1993rmdir .tst 2>/dev/null 1994 1995DEPDIR="${am__leading_dot}deps" 1996 1997ac_config_commands="$ac_config_commands depfiles" 1998 1999 2000am_make=${MAKE-make} 2001cat > confinc << 'END' 2002am__doit: 2003 @echo done 2004.PHONY: am__doit 2005END 2006# If we don't find an include directive, just comment out the code. 2007{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2008echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2009am__include="#" 2010am__quote= 2011_am_result=none 2012# First try GNU make style include. 2013echo "include confinc" > confmf 2014# We grep out `Entering directory' and `Leaving directory' 2015# messages which can occur if `w' ends up in MAKEFLAGS. 2016# In particular we don't look at `^make:' because GNU make might 2017# be invoked under some other name (usually "gmake"), in which 2018# case it prints its new name instead of `make'. 2019if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2020 am__include=include 2021 am__quote= 2022 _am_result=GNU 2023fi 2024# Now try BSD make style include. 2025if test "$am__include" = "#"; then 2026 echo '.include "confinc"' > confmf 2027 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2028 am__include=.include 2029 am__quote="\"" 2030 _am_result=BSD 2031 fi 2032fi 2033 2034 2035{ echo "$as_me:$LINENO: result: $_am_result" >&5 2036echo "${ECHO_T}$_am_result" >&6; } 2037rm -f confinc confmf 2038 2039# Check whether --enable-dependency-tracking was given. 2040if test "${enable_dependency_tracking+set}" = set; then 2041 enableval=$enable_dependency_tracking; 2042fi 2043 2044if test "x$enable_dependency_tracking" != xno; then 2045 am_depcomp="$ac_aux_dir/depcomp" 2046 AMDEPBACKSLASH='\' 2047fi 2048 2049 2050if test "x$enable_dependency_tracking" != xno; then 2051 AMDEP_TRUE= 2052 AMDEP_FALSE='#' 2053else 2054 AMDEP_TRUE='#' 2055 AMDEP_FALSE= 2056fi 2057 2058 2059 2060# Extract the first word of "gcc", so it can be a program name with args. 2061set dummy gcc; ac_word=$2 2062{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2063echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2064if test "${ac_cv_prog_CC+set}" = set; then 2065 echo $ECHO_N "(cached) $ECHO_C" >&6 2066else 2067 if test -n "$CC"; then 2068 ac_cv_prog_CC="$CC" # Let the user override the test. 2069else 2070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2071for as_dir in $PATH 2072do 2073 IFS=$as_save_IFS 2074 test -z "$as_dir" && as_dir=. 2075 for ac_exec_ext in '' $ac_executable_extensions; do 2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2077 ac_cv_prog_CC="gcc" 2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2079 break 2 2080 fi 2081done 2082done 2083IFS=$as_save_IFS 2084 2085fi 2086fi 2087CC=$ac_cv_prog_CC 2088if test -n "$CC"; then 2089 { echo "$as_me:$LINENO: result: $CC" >&5 2090echo "${ECHO_T}$CC" >&6; } 2091else 2092 { echo "$as_me:$LINENO: result: no" >&5 2093echo "${ECHO_T}no" >&6; } 2094fi 2095 2096 2097 2098depcc="$CC" am_compiler_list= 2099 2100{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2101echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 2102if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2103 echo $ECHO_N "(cached) $ECHO_C" >&6 2104else 2105 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2106 # We make a subdir and do the tests there. Otherwise we can end up 2107 # making bogus files that we don't know about and never remove. For 2108 # instance it was reported that on HP-UX the gcc test will end up 2109 # making a dummy file named `D' -- because `-MD' means `put the output 2110 # in D'. 2111 mkdir conftest.dir 2112 # Copy depcomp to subdir because otherwise we won't find it if we're 2113 # using a relative directory. 2114 cp "$am_depcomp" conftest.dir 2115 cd conftest.dir 2116 # We will build objects and dependencies in a subdirectory because 2117 # it helps to detect inapplicable dependency modes. For instance 2118 # both Tru64's cc and ICC support -MD to output dependencies as a 2119 # side effect of compilation, but ICC will put the dependencies in 2120 # the current directory while Tru64 will put them in the object 2121 # directory. 2122 mkdir sub 2123 2124 am_cv_CC_dependencies_compiler_type=none 2125 if test "$am_compiler_list" = ""; then 2126 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2127 fi 2128 for depmode in $am_compiler_list; do 2129 # Setup a source with many dependencies, because some compilers 2130 # like to wrap large dependency lists on column 80 (with \), and 2131 # we should not choose a depcomp mode which is confused by this. 2132 # 2133 # We need to recreate these files for each test, as the compiler may 2134 # overwrite some of them when testing with obscure command lines. 2135 # This happens at least with the AIX C compiler. 2136 : > sub/conftest.c 2137 for i in 1 2 3 4 5 6; do 2138 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2139 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2140 # Solaris 8's {/usr,}/bin/sh. 2141 touch sub/conftst$i.h 2142 done 2143 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2144 2145 case $depmode in 2146 nosideeffect) 2147 # after this tag, mechanisms are not by side-effect, so they'll 2148 # only be used when explicitly requested 2149 if test "x$enable_dependency_tracking" = xyes; then 2150 continue 2151 else 2152 break 2153 fi 2154 ;; 2155 none) break ;; 2156 esac 2157 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2158 # mode. It turns out that the SunPro C++ compiler does not properly 2159 # handle `-M -o', and we need to detect this. 2160 if depmode=$depmode \ 2161 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2162 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2163 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2164 >/dev/null 2>conftest.err && 2165 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2166 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2167 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2168 # icc doesn't choke on unknown options, it will just issue warnings 2169 # or remarks (even with -Werror). So we grep stderr for any message 2170 # that says an option was ignored or not supported. 2171 # When given -MP, icc 7.0 and 7.1 complain thusly: 2172 # icc: Command line warning: ignoring option '-M'; no argument required 2173 # The diagnosis changed in icc 8.0: 2174 # icc: Command line remark: option '-MP' not supported 2175 if (grep 'ignoring option' conftest.err || 2176 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2177 am_cv_CC_dependencies_compiler_type=$depmode 2178 break 2179 fi 2180 fi 2181 done 2182 2183 cd .. 2184 rm -rf conftest.dir 2185else 2186 am_cv_CC_dependencies_compiler_type=none 2187fi 2188 2189fi 2190{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2191echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 2192CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2193 2194 2195 2196if 2197 test "x$enable_dependency_tracking" != xno \ 2198 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2199 am__fastdepCC_TRUE= 2200 am__fastdepCC_FALSE='#' 2201else 2202 am__fastdepCC_TRUE='#' 2203 am__fastdepCC_FALSE= 2204fi 2205 2206 2207if test -z "$CC"; then 2208 # Extract the first word of "cc", so it can be a program name with args. 2209set dummy cc; ac_word=$2 2210{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2211echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2212if test "${ac_cv_prog_CC+set}" = set; then 2213 echo $ECHO_N "(cached) $ECHO_C" >&6 2214else 2215 if test -n "$CC"; then 2216 ac_cv_prog_CC="$CC" # Let the user override the test. 2217else 2218 ac_prog_rejected=no 2219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2220for as_dir in $PATH 2221do 2222 IFS=$as_save_IFS 2223 test -z "$as_dir" && as_dir=. 2224 for ac_exec_ext in '' $ac_executable_extensions; do 2225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2226 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2227 ac_prog_rejected=yes 2228 continue 2229 fi 2230 ac_cv_prog_CC="cc" 2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2232 break 2 2233 fi 2234done 2235done 2236IFS=$as_save_IFS 2237 2238if test $ac_prog_rejected = yes; then 2239 # We found a bogon in the path, so make sure we never use it. 2240 set dummy $ac_cv_prog_CC 2241 shift 2242 if test $# != 0; then 2243 # We chose a different compiler from the bogus one. 2244 # However, it has the same basename, so the bogon will be chosen 2245 # first if we set CC to just the basename; use the full file name. 2246 shift 2247 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2248 fi 2249fi 2250fi 2251fi 2252CC=$ac_cv_prog_CC 2253if test -n "$CC"; then 2254 { echo "$as_me:$LINENO: result: $CC" >&5 2255echo "${ECHO_T}$CC" >&6; } 2256else 2257 { echo "$as_me:$LINENO: result: no" >&5 2258echo "${ECHO_T}no" >&6; } 2259fi 2260 2261 2262 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 2263echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2264 { (exit 1); exit 1; }; } 2265fi 2266 2267{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5 2268echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; } 2269if test "${ac_cv_c_compiler_gnu+set}" = set; then 2270 echo $ECHO_N "(cached) $ECHO_C" >&6 2271else 2272 cat > conftest.c <<EOF 2273#ifdef __GNUC__ 2274 yes; 2275#endif 2276EOF 2277if { ac_try='${CC-cc} -E conftest.c' 2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2279 (eval $ac_try) 2>&5 2280 ac_status=$? 2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2282 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then 2283 ac_cv_c_compiler_gnu=yes 2284else 2285 ac_cv_c_compiler_gnu=no 2286fi 2287fi 2288{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2289echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2290 2291if test $ac_cv_c_compiler_gnu = yes; then 2292 GCC=yes 2293 ac_test_CFLAGS="${CFLAGS+set}" 2294 ac_save_CFLAGS="$CFLAGS" 2295 CFLAGS= 2296 ac_test_CFLAGS=${CFLAGS+set} 2297ac_save_CFLAGS=$CFLAGS 2298{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2299echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2300if test "${ac_cv_prog_cc_g+set}" = set; then 2301 echo $ECHO_N "(cached) $ECHO_C" >&6 2302else 2303 ac_save_c_werror_flag=$ac_c_werror_flag 2304 ac_c_werror_flag=yes 2305 ac_cv_prog_cc_g=no 2306 CFLAGS="-g" 2307 cat >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 2322rm -f conftest.$ac_objext 2323if { (ac_try="$ac_compile" 2324case "(($ac_try" in 2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2326 *) ac_try_echo=$ac_try;; 2327esac 2328eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2329 (eval "$ac_compile") 2>conftest.er1 2330 ac_status=$? 2331 grep -v '^ *+' conftest.er1 >conftest.err 2332 rm -f conftest.er1 2333 cat conftest.err >&5 2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 (exit $ac_status); } && { 2336 test -z "$ac_c_werror_flag" || 2337 test ! -s conftest.err 2338 } && test -s conftest.$ac_objext; then 2339 ac_cv_prog_cc_g=yes 2340else 2341 echo "$as_me: failed program was:" >&5 2342sed 's/^/| /' conftest.$ac_ext >&5 2343 2344 CFLAGS="" 2345 cat >conftest.$ac_ext <<_ACEOF 2346/* confdefs.h. */ 2347_ACEOF 2348cat confdefs.h >>conftest.$ac_ext 2349cat >>conftest.$ac_ext <<_ACEOF 2350/* end confdefs.h. */ 2351 2352int 2353main () 2354{ 2355 2356 ; 2357 return 0; 2358} 2359_ACEOF 2360rm -f conftest.$ac_objext 2361if { (ac_try="$ac_compile" 2362case "(($ac_try" in 2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2364 *) ac_try_echo=$ac_try;; 2365esac 2366eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2367 (eval "$ac_compile") 2>conftest.er1 2368 ac_status=$? 2369 grep -v '^ *+' conftest.er1 >conftest.err 2370 rm -f conftest.er1 2371 cat conftest.err >&5 2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2373 (exit $ac_status); } && { 2374 test -z "$ac_c_werror_flag" || 2375 test ! -s conftest.err 2376 } && test -s conftest.$ac_objext; then 2377 : 2378else 2379 echo "$as_me: failed program was:" >&5 2380sed 's/^/| /' conftest.$ac_ext >&5 2381 2382 ac_c_werror_flag=$ac_save_c_werror_flag 2383 CFLAGS="-g" 2384 cat >conftest.$ac_ext <<_ACEOF 2385/* confdefs.h. */ 2386_ACEOF 2387cat confdefs.h >>conftest.$ac_ext 2388cat >>conftest.$ac_ext <<_ACEOF 2389/* end confdefs.h. */ 2390 2391int 2392main () 2393{ 2394 2395 ; 2396 return 0; 2397} 2398_ACEOF 2399rm -f conftest.$ac_objext 2400if { (ac_try="$ac_compile" 2401case "(($ac_try" in 2402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2403 *) ac_try_echo=$ac_try;; 2404esac 2405eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2406 (eval "$ac_compile") 2>conftest.er1 2407 ac_status=$? 2408 grep -v '^ *+' conftest.er1 >conftest.err 2409 rm -f conftest.er1 2410 cat conftest.err >&5 2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2412 (exit $ac_status); } && { 2413 test -z "$ac_c_werror_flag" || 2414 test ! -s conftest.err 2415 } && test -s conftest.$ac_objext; then 2416 ac_cv_prog_cc_g=yes 2417else 2418 echo "$as_me: failed program was:" >&5 2419sed 's/^/| /' conftest.$ac_ext >&5 2420 2421 2422fi 2423 2424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2425fi 2426 2427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2428fi 2429 2430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2431 ac_c_werror_flag=$ac_save_c_werror_flag 2432fi 2433{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2434echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2435if test "$ac_test_CFLAGS" = set; then 2436 CFLAGS=$ac_save_CFLAGS 2437elif test $ac_cv_prog_cc_g = yes; then 2438 if test "$GCC" = yes; then 2439 CFLAGS="-g -O2" 2440 else 2441 CFLAGS="-g" 2442 fi 2443else 2444 if test "$GCC" = yes; then 2445 CFLAGS="-O2" 2446 else 2447 CFLAGS= 2448 fi 2449fi 2450 if test "$ac_test_CFLAGS" = set; then 2451 CFLAGS="$ac_save_CFLAGS" 2452 elif test $ac_cv_prog_cc_g = yes; then 2453 CFLAGS="-g -O2" 2454 else 2455 CFLAGS="-O2" 2456 fi 2457else 2458 GCC= 2459 test "${CFLAGS+set}" = set || CFLAGS="-g" 2460fi 2461 2462AS=${AS-as} 2463 2464AR=${AR-ar} 2465 2466LD=${LD-ld} 2467 2468if test -n "$ac_tool_prefix"; then 2469 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2470set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2471{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2473if test "${ac_cv_prog_RANLIB+set}" = set; then 2474 echo $ECHO_N "(cached) $ECHO_C" >&6 2475else 2476 if test -n "$RANLIB"; then 2477 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2478else 2479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2480for as_dir in $PATH 2481do 2482 IFS=$as_save_IFS 2483 test -z "$as_dir" && as_dir=. 2484 for ac_exec_ext in '' $ac_executable_extensions; do 2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2486 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2488 break 2 2489 fi 2490done 2491done 2492IFS=$as_save_IFS 2493 2494fi 2495fi 2496RANLIB=$ac_cv_prog_RANLIB 2497if test -n "$RANLIB"; then 2498 { echo "$as_me:$LINENO: result: $RANLIB" >&5 2499echo "${ECHO_T}$RANLIB" >&6; } 2500else 2501 { echo "$as_me:$LINENO: result: no" >&5 2502echo "${ECHO_T}no" >&6; } 2503fi 2504 2505 2506fi 2507if test -z "$ac_cv_prog_RANLIB"; then 2508 ac_ct_RANLIB=$RANLIB 2509 # Extract the first word of "ranlib", so it can be a program name with args. 2510set dummy ranlib; ac_word=$2 2511{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2512echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2513if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2514 echo $ECHO_N "(cached) $ECHO_C" >&6 2515else 2516 if test -n "$ac_ct_RANLIB"; then 2517 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2518else 2519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2520for as_dir in $PATH 2521do 2522 IFS=$as_save_IFS 2523 test -z "$as_dir" && as_dir=. 2524 for ac_exec_ext in '' $ac_executable_extensions; do 2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2526 ac_cv_prog_ac_ct_RANLIB="ranlib" 2527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2528 break 2 2529 fi 2530done 2531done 2532IFS=$as_save_IFS 2533 2534fi 2535fi 2536ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2537if test -n "$ac_ct_RANLIB"; then 2538 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2539echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 2540else 2541 { echo "$as_me:$LINENO: result: no" >&5 2542echo "${ECHO_T}no" >&6; } 2543fi 2544 2545 if test "x$ac_ct_RANLIB" = x; then 2546 RANLIB=":" 2547 else 2548 case $cross_compiling:$ac_tool_warned in 2549yes:) 2550{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2551whose name does not start with the host triplet. If you think this 2552configuration is useful to you, please write to autoconf@gnu.org." >&5 2553echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2554whose name does not start with the host triplet. If you think this 2555configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2556ac_tool_warned=yes ;; 2557esac 2558 RANLIB=$ac_ct_RANLIB 2559 fi 2560else 2561 RANLIB="$ac_cv_prog_RANLIB" 2562fi 2563 2564# By default we simply use the C compiler to build assembly code. 2565 2566test "${CCAS+set}" = set || CCAS=$CC 2567test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 2568 2569 2570 2571 2572host_makefile_frag=${srcdir}/../config/default.mh 2573 2574host_makefile_frag_path=$host_makefile_frag 2575 2576 2577 2578ac_config_files="$ac_config_files Makefile" 2579 2580cat >confcache <<\_ACEOF 2581# This file is a shell script that caches the results of configure 2582# tests run on this system so they can be shared between configure 2583# scripts and configure runs, see configure's option --config-cache. 2584# It is not useful on other systems. If it contains results you don't 2585# want to keep, you may remove or edit it. 2586# 2587# config.status only pays attention to the cache file if you give it 2588# the --recheck option to rerun configure. 2589# 2590# `ac_cv_env_foo' variables (set or unset) will be overridden when 2591# loading this file, other *unset* `ac_cv_foo' will be assigned the 2592# following values. 2593 2594_ACEOF 2595 2596# The following way of writing the cache mishandles newlines in values, 2597# but we know of no workaround that is simple, portable, and efficient. 2598# So, we kill variables containing newlines. 2599# Ultrix sh set writes to stderr and can't be redirected directly, 2600# and sets the high bit in the cache file unless we assign to the vars. 2601( 2602 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2603 eval ac_val=\$$ac_var 2604 case $ac_val in #( 2605 *${as_nl}*) 2606 case $ac_var in #( 2607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2608echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2609 esac 2610 case $ac_var in #( 2611 _ | IFS | as_nl) ;; #( 2612 *) $as_unset $ac_var ;; 2613 esac ;; 2614 esac 2615 done 2616 2617 (set) 2>&1 | 2618 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2619 *${as_nl}ac_space=\ *) 2620 # `set' does not quote correctly, so add quotes (double-quote 2621 # substitution turns \\\\ into \\, and sed turns \\ into \). 2622 sed -n \ 2623 "s/'/'\\\\''/g; 2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2625 ;; #( 2626 *) 2627 # `set' quotes correctly as required by POSIX, so do not add quotes. 2628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2629 ;; 2630 esac | 2631 sort 2632) | 2633 sed ' 2634 /^ac_cv_env_/b end 2635 t clear 2636 :clear 2637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2638 t end 2639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2640 :end' >>confcache 2641if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2642 if test -w "$cache_file"; then 2643 test "x$cache_file" != "x/dev/null" && 2644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 2645echo "$as_me: updating cache $cache_file" >&6;} 2646 cat confcache >$cache_file 2647 else 2648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 2649echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2650 fi 2651fi 2652rm -f confcache 2653 2654test "x$prefix" = xNONE && prefix=$ac_default_prefix 2655# Let make expand exec_prefix. 2656test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2657 2658# Transform confdefs.h into DEFS. 2659# Protect against shell expansion while executing Makefile rules. 2660# Protect against Makefile macro expansion. 2661# 2662# If the first sed substitution is executed (which looks for macros that 2663# take arguments), then branch to the quote section. Otherwise, 2664# look for a macro that doesn't take arguments. 2665ac_script=' 2666t clear 2667:clear 2668s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 2669t quote 2670s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 2671t quote 2672b any 2673:quote 2674s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 2675s/\[/\\&/g 2676s/\]/\\&/g 2677s/\$/$$/g 2678H 2679:any 2680${ 2681 g 2682 s/^\n// 2683 s/\n/ /g 2684 p 2685} 2686' 2687DEFS=`sed -n "$ac_script" confdefs.h` 2688 2689 2690ac_libobjs= 2691ac_ltlibobjs= 2692for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2693 # 1. Remove the extension, and $U if already installed. 2694 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2695 ac_i=`echo "$ac_i" | sed "$ac_script"` 2696 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2697 # will be set to the directory where LIBOBJS objects are built. 2698 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2699 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 2700done 2701LIBOBJS=$ac_libobjs 2702 2703LTLIBOBJS=$ac_ltlibobjs 2704 2705 2706if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 2707 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 2708Usually this means the macro was only invoked conditionally." >&5 2709echo "$as_me: error: conditional \"AMDEP\" was never defined. 2710Usually this means the macro was only invoked conditionally." >&2;} 2711 { (exit 1); exit 1; }; } 2712fi 2713if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 2714 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 2715Usually this means the macro was only invoked conditionally." >&5 2716echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 2717Usually this means the macro was only invoked conditionally." >&2;} 2718 { (exit 1); exit 1; }; } 2719fi 2720 2721: ${CONFIG_STATUS=./config.status} 2722ac_clean_files_save=$ac_clean_files 2723ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2724{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 2725echo "$as_me: creating $CONFIG_STATUS" >&6;} 2726cat >$CONFIG_STATUS <<_ACEOF 2727#! $SHELL 2728# Generated by $as_me. 2729# Run this file to recreate the current configuration. 2730# Compiler output produced by configure, useful for debugging 2731# configure, is in config.log if it exists. 2732 2733debug=false 2734ac_cs_recheck=false 2735ac_cs_silent=false 2736SHELL=\${CONFIG_SHELL-$SHELL} 2737_ACEOF 2738 2739cat >>$CONFIG_STATUS <<\_ACEOF 2740## --------------------- ## 2741## M4sh Initialization. ## 2742## --------------------- ## 2743 2744# Be more Bourne compatible 2745DUALCASE=1; export DUALCASE # for MKS sh 2746if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2747 emulate sh 2748 NULLCMD=: 2749 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2750 # is contrary to our usage. Disable this feature. 2751 alias -g '${1+"$@"}'='"$@"' 2752 setopt NO_GLOB_SUBST 2753else 2754 case `(set -o) 2>/dev/null` in 2755 *posix*) set -o posix ;; 2756esac 2757 2758fi 2759 2760 2761 2762 2763# PATH needs CR 2764# Avoid depending upon Character Ranges. 2765as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2766as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2767as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2768as_cr_digits='0123456789' 2769as_cr_alnum=$as_cr_Letters$as_cr_digits 2770 2771# The user is always right. 2772if test "${PATH_SEPARATOR+set}" != set; then 2773 echo "#! /bin/sh" >conf$$.sh 2774 echo "exit 0" >>conf$$.sh 2775 chmod +x conf$$.sh 2776 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2777 PATH_SEPARATOR=';' 2778 else 2779 PATH_SEPARATOR=: 2780 fi 2781 rm -f conf$$.sh 2782fi 2783 2784# Support unset when possible. 2785if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2786 as_unset=unset 2787else 2788 as_unset=false 2789fi 2790 2791 2792# IFS 2793# We need space, tab and new line, in precisely that order. Quoting is 2794# there to prevent editors from complaining about space-tab. 2795# (If _AS_PATH_WALK were called with IFS unset, it would disable word 2796# splitting by setting IFS to empty value.) 2797as_nl=' 2798' 2799IFS=" "" $as_nl" 2800 2801# Find who we are. Look in the path if we contain no directory separator. 2802case $0 in 2803 *[\\/]* ) as_myself=$0 ;; 2804 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2805for as_dir in $PATH 2806do 2807 IFS=$as_save_IFS 2808 test -z "$as_dir" && as_dir=. 2809 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2810done 2811IFS=$as_save_IFS 2812 2813 ;; 2814esac 2815# We did not find ourselves, most probably we were run as `sh COMMAND' 2816# in which case we are not to be found in the path. 2817if test "x$as_myself" = x; then 2818 as_myself=$0 2819fi 2820if test ! -f "$as_myself"; then 2821 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2822 { (exit 1); exit 1; } 2823fi 2824 2825# Work around bugs in pre-3.0 UWIN ksh. 2826for as_var in ENV MAIL MAILPATH 2827do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2828done 2829PS1='$ ' 2830PS2='> ' 2831PS4='+ ' 2832 2833# NLS nuisances. 2834for as_var in \ 2835 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 2836 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 2837 LC_TELEPHONE LC_TIME 2838do 2839 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 2840 eval $as_var=C; export $as_var 2841 else 2842 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2843 fi 2844done 2845 2846# Required to use basename. 2847if expr a : '\(a\)' >/dev/null 2>&1 && 2848 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2849 as_expr=expr 2850else 2851 as_expr=false 2852fi 2853 2854if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 2855 as_basename=basename 2856else 2857 as_basename=false 2858fi 2859 2860 2861# Name of the executable. 2862as_me=`$as_basename -- "$0" || 2863$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2864 X"$0" : 'X\(//\)$' \| \ 2865 X"$0" : 'X\(/\)' \| . 2>/dev/null || 2866echo X/"$0" | 2867 sed '/^.*\/\([^/][^/]*\)\/*$/{ 2868 s//\1/ 2869 q 2870 } 2871 /^X\/\(\/\/\)$/{ 2872 s//\1/ 2873 q 2874 } 2875 /^X\/\(\/\).*/{ 2876 s//\1/ 2877 q 2878 } 2879 s/.*/./; q'` 2880 2881# CDPATH. 2882$as_unset CDPATH 2883 2884 2885 2886 as_lineno_1=$LINENO 2887 as_lineno_2=$LINENO 2888 test "x$as_lineno_1" != "x$as_lineno_2" && 2889 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 2890 2891 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2892 # uniformly replaced by the line number. The first 'sed' inserts a 2893 # line-number line after each line using $LINENO; the second 'sed' 2894 # does the real work. The second script uses 'N' to pair each 2895 # line-number line with the line containing $LINENO, and appends 2896 # trailing '-' during substitution so that $LINENO is not a special 2897 # case at line end. 2898 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2899 # scripts with optimization help from Paolo Bonzini. Blame Lee 2900 # E. McMahon (1931-1989) for sed's syntax. :-) 2901 sed -n ' 2902 p 2903 /[$]LINENO/= 2904 ' <$as_myself | 2905 sed ' 2906 s/[$]LINENO.*/&-/ 2907 t lineno 2908 b 2909 :lineno 2910 N 2911 :loop 2912 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 2913 t loop 2914 s/-\n.*// 2915 ' >$as_me.lineno && 2916 chmod +x "$as_me.lineno" || 2917 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 2918 { (exit 1); exit 1; }; } 2919 2920 # Don't try to exec as it changes $[0], causing all sort of problems 2921 # (the dirname of $[0] is not the place where we might find the 2922 # original and so on. Autoconf is especially sensitive to this). 2923 . "./$as_me.lineno" 2924 # Exit status is that of the last command. 2925 exit 2926} 2927 2928 2929if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2930 as_dirname=dirname 2931else 2932 as_dirname=false 2933fi 2934 2935ECHO_C= ECHO_N= ECHO_T= 2936case `echo -n x` in 2937-n*) 2938 case `echo 'x\c'` in 2939 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2940 *) ECHO_C='\c';; 2941 esac;; 2942*) 2943 ECHO_N='-n';; 2944esac 2945 2946if expr a : '\(a\)' >/dev/null 2>&1 && 2947 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2948 as_expr=expr 2949else 2950 as_expr=false 2951fi 2952 2953rm -f conf$$ conf$$.exe conf$$.file 2954if test -d conf$$.dir; then 2955 rm -f conf$$.dir/conf$$.file 2956else 2957 rm -f conf$$.dir 2958 mkdir conf$$.dir 2959fi 2960echo >conf$$.file 2961if ln -s conf$$.file conf$$ 2>/dev/null; then 2962 as_ln_s='ln -s' 2963 # ... but there are two gotchas: 2964 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2965 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2966 # In both cases, we have to default to `cp -p'. 2967 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2968 as_ln_s='cp -p' 2969elif ln conf$$.file conf$$ 2>/dev/null; then 2970 as_ln_s=ln 2971else 2972 as_ln_s='cp -p' 2973fi 2974rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2975rmdir conf$$.dir 2>/dev/null 2976 2977if mkdir -p . 2>/dev/null; then 2978 as_mkdir_p=: 2979else 2980 test -d ./-p && rmdir ./-p 2981 as_mkdir_p=false 2982fi 2983 2984if test -x / >/dev/null 2>&1; then 2985 as_test_x='test -x' 2986else 2987 if ls -dL / >/dev/null 2>&1; then 2988 as_ls_L_option=L 2989 else 2990 as_ls_L_option= 2991 fi 2992 as_test_x=' 2993 eval sh -c '\'' 2994 if test -d "$1"; then 2995 test -d "$1/."; 2996 else 2997 case $1 in 2998 -*)set "./$1";; 2999 esac; 3000 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 3001 ???[sx]*):;;*)false;;esac;fi 3002 '\'' sh 3003 ' 3004fi 3005as_executable_p=$as_test_x 3006 3007# Sed expression to map a string onto a valid CPP name. 3008as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3009 3010# Sed expression to map a string onto a valid variable name. 3011as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3012 3013 3014exec 6>&1 3015 3016# Save the log message, to keep $[0] and so on meaningful, and to 3017# report actual input values of CONFIG_FILES etc. instead of their 3018# values after options handling. 3019ac_log=" 3020This file was extended by $as_me, which was 3021generated by GNU Autoconf 2.61. Invocation command line was 3022 3023 CONFIG_FILES = $CONFIG_FILES 3024 CONFIG_HEADERS = $CONFIG_HEADERS 3025 CONFIG_LINKS = $CONFIG_LINKS 3026 CONFIG_COMMANDS = $CONFIG_COMMANDS 3027 $ $0 $@ 3028 3029on `(hostname || uname -n) 2>/dev/null | sed 1q` 3030" 3031 3032_ACEOF 3033 3034cat >>$CONFIG_STATUS <<_ACEOF 3035# Files that config.status was made for. 3036config_files="$ac_config_files" 3037config_commands="$ac_config_commands" 3038 3039_ACEOF 3040 3041cat >>$CONFIG_STATUS <<\_ACEOF 3042ac_cs_usage="\ 3043\`$as_me' instantiates files from templates according to the 3044current configuration. 3045 3046Usage: $0 [OPTIONS] [FILE]... 3047 3048 -h, --help print this help, then exit 3049 -V, --version print version number and configuration settings, then exit 3050 -q, --quiet do not print progress messages 3051 -d, --debug don't remove temporary files 3052 --recheck update $as_me by reconfiguring in the same conditions 3053 --file=FILE[:TEMPLATE] 3054 instantiate the configuration file FILE 3055 3056Configuration files: 3057$config_files 3058 3059Configuration commands: 3060$config_commands 3061 3062Report bugs to <bug-autoconf@gnu.org>." 3063 3064_ACEOF 3065cat >>$CONFIG_STATUS <<_ACEOF 3066ac_cs_version="\\ 3067config.status 3068configured by $0, generated by GNU Autoconf 2.61, 3069 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3070 3071Copyright (C) 2006 Free Software Foundation, Inc. 3072This config.status script is free software; the Free Software Foundation 3073gives unlimited permission to copy, distribute and modify it." 3074 3075ac_pwd='$ac_pwd' 3076srcdir='$srcdir' 3077INSTALL='$INSTALL' 3078_ACEOF 3079 3080cat >>$CONFIG_STATUS <<\_ACEOF 3081# If no file are specified by the user, then we need to provide default 3082# value. By we need to know if files were specified by the user. 3083ac_need_defaults=: 3084while test $# != 0 3085do 3086 case $1 in 3087 --*=*) 3088 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3089 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3090 ac_shift=: 3091 ;; 3092 *) 3093 ac_option=$1 3094 ac_optarg=$2 3095 ac_shift=shift 3096 ;; 3097 esac 3098 3099 case $ac_option in 3100 # Handling of the options. 3101 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3102 ac_cs_recheck=: ;; 3103 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3104 echo "$ac_cs_version"; exit ;; 3105 --debug | --debu | --deb | --de | --d | -d ) 3106 debug=: ;; 3107 --file | --fil | --fi | --f ) 3108 $ac_shift 3109 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3110 ac_need_defaults=false;; 3111 --he | --h | --help | --hel | -h ) 3112 echo "$ac_cs_usage"; exit ;; 3113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3114 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3115 ac_cs_silent=: ;; 3116 3117 # This is an error. 3118 -*) { echo "$as_me: error: unrecognized option: $1 3119Try \`$0 --help' for more information." >&2 3120 { (exit 1); exit 1; }; } ;; 3121 3122 *) ac_config_targets="$ac_config_targets $1" 3123 ac_need_defaults=false ;; 3124 3125 esac 3126 shift 3127done 3128 3129ac_configure_extra_args= 3130 3131if $ac_cs_silent; then 3132 exec 6>/dev/null 3133 ac_configure_extra_args="$ac_configure_extra_args --silent" 3134fi 3135 3136_ACEOF 3137cat >>$CONFIG_STATUS <<_ACEOF 3138if \$ac_cs_recheck; then 3139 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3140 CONFIG_SHELL=$SHELL 3141 export CONFIG_SHELL 3142 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3143fi 3144 3145_ACEOF 3146cat >>$CONFIG_STATUS <<\_ACEOF 3147exec 5>>config.log 3148{ 3149 echo 3150 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3151## Running $as_me. ## 3152_ASBOX 3153 echo "$ac_log" 3154} >&5 3155 3156_ACEOF 3157cat >>$CONFIG_STATUS <<_ACEOF 3158# 3159# INIT-COMMANDS 3160# 3161AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 3162 3163_ACEOF 3164 3165cat >>$CONFIG_STATUS <<\_ACEOF 3166 3167# Handling of arguments. 3168for ac_config_target in $ac_config_targets 3169do 3170 case $ac_config_target in 3171 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 3172 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3173 3174 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3175echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3176 { (exit 1); exit 1; }; };; 3177 esac 3178done 3179 3180 3181# If the user did not use the arguments to specify the items to instantiate, 3182# then the envvar interface is used. Set only those that are not. 3183# We use the long form for the default assignment because of an extremely 3184# bizarre bug on SunOS 4.1.3. 3185if $ac_need_defaults; then 3186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3187 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 3188fi 3189 3190# Have a temporary directory for convenience. Make it in the build tree 3191# simply because there is no reason against having it here, and in addition, 3192# creating and moving files from /tmp can sometimes cause problems. 3193# Hook for its removal unless debugging. 3194# Note that there is a small window in which the directory will not be cleaned: 3195# after its creation but before its name has been assigned to `$tmp'. 3196$debug || 3197{ 3198 tmp= 3199 trap 'exit_status=$? 3200 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3201' 0 3202 trap '{ (exit 1); exit 1; }' 1 2 13 15 3203} 3204# Create a (secure) tmp directory for tmp files. 3205 3206{ 3207 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3208 test -n "$tmp" && test -d "$tmp" 3209} || 3210{ 3211 tmp=./conf$$-$RANDOM 3212 (umask 077 && mkdir "$tmp") 3213} || 3214{ 3215 echo "$me: cannot create a temporary directory in ." >&2 3216 { (exit 1); exit 1; } 3217} 3218 3219# 3220# Set up the sed scripts for CONFIG_FILES section. 3221# 3222 3223# No need to generate the scripts if there are no CONFIG_FILES. 3224# This happens for instance when ./config.status config.h 3225if test -n "$CONFIG_FILES"; then 3226 3227_ACEOF 3228 3229# Create sed commands to just substitute file output variables. 3230 3231# Remaining file output variables are in a fragment that also has non-file 3232# output varibles. 3233 3234 3235 3236ac_delim='%!_!# ' 3237for ac_last_try in false false false false false :; do 3238 cat >conf$$subs.sed <<_ACEOF 3239SHELL!$SHELL$ac_delim 3240PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 3241PACKAGE_NAME!$PACKAGE_NAME$ac_delim 3242PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 3243PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 3244PACKAGE_STRING!$PACKAGE_STRING$ac_delim 3245PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 3246exec_prefix!$exec_prefix$ac_delim 3247prefix!$prefix$ac_delim 3248program_transform_name!$program_transform_name$ac_delim 3249bindir!$bindir$ac_delim 3250sbindir!$sbindir$ac_delim 3251libexecdir!$libexecdir$ac_delim 3252datarootdir!$datarootdir$ac_delim 3253datadir!$datadir$ac_delim 3254sysconfdir!$sysconfdir$ac_delim 3255sharedstatedir!$sharedstatedir$ac_delim 3256localstatedir!$localstatedir$ac_delim 3257includedir!$includedir$ac_delim 3258oldincludedir!$oldincludedir$ac_delim 3259docdir!$docdir$ac_delim 3260infodir!$infodir$ac_delim 3261htmldir!$htmldir$ac_delim 3262dvidir!$dvidir$ac_delim 3263pdfdir!$pdfdir$ac_delim 3264psdir!$psdir$ac_delim 3265libdir!$libdir$ac_delim 3266localedir!$localedir$ac_delim 3267mandir!$mandir$ac_delim 3268DEFS!$DEFS$ac_delim 3269ECHO_C!$ECHO_C$ac_delim 3270ECHO_N!$ECHO_N$ac_delim 3271ECHO_T!$ECHO_T$ac_delim 3272LIBS!$LIBS$ac_delim 3273build_alias!$build_alias$ac_delim 3274host_alias!$host_alias$ac_delim 3275target_alias!$target_alias$ac_delim 3276build!$build$ac_delim 3277build_cpu!$build_cpu$ac_delim 3278build_vendor!$build_vendor$ac_delim 3279build_os!$build_os$ac_delim 3280host!$host$ac_delim 3281host_cpu!$host_cpu$ac_delim 3282host_vendor!$host_vendor$ac_delim 3283host_os!$host_os$ac_delim 3284target!$target$ac_delim 3285target_cpu!$target_cpu$ac_delim 3286target_vendor!$target_vendor$ac_delim 3287target_os!$target_os$ac_delim 3288INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 3289INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 3290INSTALL_DATA!$INSTALL_DATA$ac_delim 3291CC!$CC$ac_delim 3292am__leading_dot!$am__leading_dot$ac_delim 3293DEPDIR!$DEPDIR$ac_delim 3294am__include!$am__include$ac_delim 3295am__quote!$am__quote$ac_delim 3296AMDEP_TRUE!$AMDEP_TRUE$ac_delim 3297AMDEP_FALSE!$AMDEP_FALSE$ac_delim 3298AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 3299CCDEPMODE!$CCDEPMODE$ac_delim 3300am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 3301am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 3302AS!$AS$ac_delim 3303AR!$AR$ac_delim 3304LD!$LD$ac_delim 3305RANLIB!$RANLIB$ac_delim 3306CCAS!$CCAS$ac_delim 3307CCASFLAGS!$CCASFLAGS$ac_delim 3308host_makefile_frag_path!$host_makefile_frag_path$ac_delim 3309LIBOBJS!$LIBOBJS$ac_delim 3310LTLIBOBJS!$LTLIBOBJS$ac_delim 3311_ACEOF 3312 3313 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then 3314 break 3315 elif $ac_last_try; then 3316 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3317echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3318 { (exit 1); exit 1; }; } 3319 else 3320 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3321 fi 3322done 3323 3324ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 3325if test -n "$ac_eof"; then 3326 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 3327 ac_eof=`expr $ac_eof + 1` 3328fi 3329 3330cat >>$CONFIG_STATUS <<_ACEOF 3331cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 3332/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 3333/^[ ]*@host_makefile_frag@[ ]*$/{ 3334r $host_makefile_frag 3335d 3336} 3337_ACEOF 3338sed ' 3339s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 3340s/^/s,@/; s/!/@,|#_!!_#|/ 3341:n 3342t n 3343s/'"$ac_delim"'$/,g/; t 3344s/$/\\/; p 3345N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 3346' >>$CONFIG_STATUS <conf$$subs.sed 3347rm -f conf$$subs.sed 3348cat >>$CONFIG_STATUS <<_ACEOF 3349:end 3350s/|#_!!_#|//g 3351CEOF$ac_eof 3352_ACEOF 3353 3354 3355# VPATH may cause trouble with some makes, so we remove $(srcdir), 3356# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3357# trailing colons and then remove the whole line if VPATH becomes empty 3358# (actually we leave an empty line to preserve line numbers). 3359if test "x$srcdir" = x.; then 3360 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3361s/:*\$(srcdir):*/:/ 3362s/:*\${srcdir}:*/:/ 3363s/:*@srcdir@:*/:/ 3364s/^\([^=]*=[ ]*\):*/\1/ 3365s/:*$// 3366s/^[^=]*=[ ]*$// 3367}' 3368fi 3369 3370cat >>$CONFIG_STATUS <<\_ACEOF 3371fi # test -n "$CONFIG_FILES" 3372 3373 3374for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 3375do 3376 case $ac_tag in 3377 :[FHLC]) ac_mode=$ac_tag; continue;; 3378 esac 3379 case $ac_mode$ac_tag in 3380 :[FHL]*:*);; 3381 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 3382echo "$as_me: error: Invalid tag $ac_tag." >&2;} 3383 { (exit 1); exit 1; }; };; 3384 :[FH]-) ac_tag=-:-;; 3385 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3386 esac 3387 ac_save_IFS=$IFS 3388 IFS=: 3389 set x $ac_tag 3390 IFS=$ac_save_IFS 3391 shift 3392 ac_file=$1 3393 shift 3394 3395 case $ac_mode in 3396 :L) ac_source=$1;; 3397 :[FH]) 3398 ac_file_inputs= 3399 for ac_f 3400 do 3401 case $ac_f in 3402 -) ac_f="$tmp/stdin";; 3403 *) # Look for the file first in the build tree, then in the source tree 3404 # (if the path is not absolute). The absolute path cannot be DOS-style, 3405 # because $ac_f cannot contain `:'. 3406 test -f "$ac_f" || 3407 case $ac_f in 3408 [\\/$]*) false;; 3409 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3410 esac || 3411 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 3412echo "$as_me: error: cannot find input file: $ac_f" >&2;} 3413 { (exit 1); exit 1; }; };; 3414 esac 3415 ac_file_inputs="$ac_file_inputs $ac_f" 3416 done 3417 3418 # Let's still pretend it is `configure' which instantiates (i.e., don't 3419 # use $as_me), people would be surprised to read: 3420 # /* config.h. Generated by config.status. */ 3421 configure_input="Generated from "`IFS=: 3422 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 3423 if test x"$ac_file" != x-; then 3424 configure_input="$ac_file. $configure_input" 3425 { echo "$as_me:$LINENO: creating $ac_file" >&5 3426echo "$as_me: creating $ac_file" >&6;} 3427 fi 3428 3429 case $ac_tag in 3430 *:-:* | *:-) cat >"$tmp/stdin";; 3431 esac 3432 ;; 3433 esac 3434 3435 ac_dir=`$as_dirname -- "$ac_file" || 3436$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3437 X"$ac_file" : 'X\(//\)[^/]' \| \ 3438 X"$ac_file" : 'X\(//\)$' \| \ 3439 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3440echo X"$ac_file" | 3441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3442 s//\1/ 3443 q 3444 } 3445 /^X\(\/\/\)[^/].*/{ 3446 s//\1/ 3447 q 3448 } 3449 /^X\(\/\/\)$/{ 3450 s//\1/ 3451 q 3452 } 3453 /^X\(\/\).*/{ 3454 s//\1/ 3455 q 3456 } 3457 s/.*/./; q'` 3458 { as_dir="$ac_dir" 3459 case $as_dir in #( 3460 -*) as_dir=./$as_dir;; 3461 esac 3462 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3463 as_dirs= 3464 while :; do 3465 case $as_dir in #( 3466 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 3467 *) as_qdir=$as_dir;; 3468 esac 3469 as_dirs="'$as_qdir' $as_dirs" 3470 as_dir=`$as_dirname -- "$as_dir" || 3471$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3472 X"$as_dir" : 'X\(//\)[^/]' \| \ 3473 X"$as_dir" : 'X\(//\)$' \| \ 3474 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3475echo X"$as_dir" | 3476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3477 s//\1/ 3478 q 3479 } 3480 /^X\(\/\/\)[^/].*/{ 3481 s//\1/ 3482 q 3483 } 3484 /^X\(\/\/\)$/{ 3485 s//\1/ 3486 q 3487 } 3488 /^X\(\/\).*/{ 3489 s//\1/ 3490 q 3491 } 3492 s/.*/./; q'` 3493 test -d "$as_dir" && break 3494 done 3495 test -z "$as_dirs" || eval "mkdir $as_dirs" 3496 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3497echo "$as_me: error: cannot create directory $as_dir" >&2;} 3498 { (exit 1); exit 1; }; }; } 3499 ac_builddir=. 3500 3501case "$ac_dir" in 3502.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3503*) 3504 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3505 # A ".." for each directory in $ac_dir_suffix. 3506 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 3507 case $ac_top_builddir_sub in 3508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3510 esac ;; 3511esac 3512ac_abs_top_builddir=$ac_pwd 3513ac_abs_builddir=$ac_pwd$ac_dir_suffix 3514# for backward compatibility: 3515ac_top_builddir=$ac_top_build_prefix 3516 3517case $srcdir in 3518 .) # We are building in place. 3519 ac_srcdir=. 3520 ac_top_srcdir=$ac_top_builddir_sub 3521 ac_abs_top_srcdir=$ac_pwd ;; 3522 [\\/]* | ?:[\\/]* ) # Absolute name. 3523 ac_srcdir=$srcdir$ac_dir_suffix; 3524 ac_top_srcdir=$srcdir 3525 ac_abs_top_srcdir=$srcdir ;; 3526 *) # Relative name. 3527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3528 ac_top_srcdir=$ac_top_build_prefix$srcdir 3529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3530esac 3531ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3532 3533 3534 case $ac_mode in 3535 :F) 3536 # 3537 # CONFIG_FILE 3538 # 3539 3540 case $INSTALL in 3541 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3542 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 3543 esac 3544_ACEOF 3545 3546cat >>$CONFIG_STATUS <<\_ACEOF 3547# If the template does not know about datarootdir, expand it. 3548# FIXME: This hack should be removed a few years after 2.60. 3549ac_datarootdir_hack=; ac_datarootdir_seen= 3550 3551case `sed -n '/datarootdir/ { 3552 p 3553 q 3554} 3555/@datadir@/p 3556/@docdir@/p 3557/@infodir@/p 3558/@localedir@/p 3559/@mandir@/p 3560' $ac_file_inputs` in 3561*datarootdir*) ac_datarootdir_seen=yes;; 3562*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3563 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3564echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3565_ACEOF 3566cat >>$CONFIG_STATUS <<_ACEOF 3567 ac_datarootdir_hack=' 3568 s&@datadir@&$datadir&g 3569 s&@docdir@&$docdir&g 3570 s&@infodir@&$infodir&g 3571 s&@localedir@&$localedir&g 3572 s&@mandir@&$mandir&g 3573 s&\\\${datarootdir}&$datarootdir&g' ;; 3574esac 3575_ACEOF 3576 3577# Neutralize VPATH when `$srcdir' = `.'. 3578# Shell code in configure.ac might set extrasub. 3579# FIXME: do we really want to maintain this feature? 3580cat >>$CONFIG_STATUS <<_ACEOF 3581 sed "$ac_vpsub 3582$extrasub 3583_ACEOF 3584cat >>$CONFIG_STATUS <<\_ACEOF 3585:t 3586/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3587s&@configure_input@&$configure_input&;t t 3588s&@top_builddir@&$ac_top_builddir_sub&;t t 3589s&@srcdir@&$ac_srcdir&;t t 3590s&@abs_srcdir@&$ac_abs_srcdir&;t t 3591s&@top_srcdir@&$ac_top_srcdir&;t t 3592s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 3593s&@builddir@&$ac_builddir&;t t 3594s&@abs_builddir@&$ac_abs_builddir&;t t 3595s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 3596s&@INSTALL@&$ac_INSTALL&;t t 3597$ac_datarootdir_hack 3598" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 3599 3600test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3601 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 3602 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3603 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3604which seems to be undefined. Please make sure it is defined." >&5 3605echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3606which seems to be undefined. Please make sure it is defined." >&2;} 3607 3608 rm -f "$tmp/stdin" 3609 case $ac_file in 3610 -) cat "$tmp/out"; rm -f "$tmp/out";; 3611 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 3612 esac 3613 ;; 3614 3615 3616 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 3617echo "$as_me: executing $ac_file commands" >&6;} 3618 ;; 3619 esac 3620 3621 3622 case $ac_file$ac_mode in 3623 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 3624 # Strip MF so we end up with the name of the file. 3625 mf=`echo "$mf" | sed -e 's/:.*$//'` 3626 # Check whether this is an Automake generated Makefile or not. 3627 # We used to match only the files named `Makefile.in', but 3628 # some people rename them; so instead we look at the file content. 3629 # Grep'ing the first line is not enough: some people post-process 3630 # each Makefile.in and add a new line on top of each file to say so. 3631 # So let's grep whole file. 3632 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 3633 dirpart=`$as_dirname -- "$mf" || 3634$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3635 X"$mf" : 'X\(//\)[^/]' \| \ 3636 X"$mf" : 'X\(//\)$' \| \ 3637 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 3638echo X"$mf" | 3639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3640 s//\1/ 3641 q 3642 } 3643 /^X\(\/\/\)[^/].*/{ 3644 s//\1/ 3645 q 3646 } 3647 /^X\(\/\/\)$/{ 3648 s//\1/ 3649 q 3650 } 3651 /^X\(\/\).*/{ 3652 s//\1/ 3653 q 3654 } 3655 s/.*/./; q'` 3656 else 3657 continue 3658 fi 3659 # Extract the definition of DEPDIR, am__include, and am__quote 3660 # from the Makefile without running `make'. 3661 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 3662 test -z "$DEPDIR" && continue 3663 am__include=`sed -n 's/^am__include = //p' < "$mf"` 3664 test -z "am__include" && continue 3665 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 3666 # When using ansi2knr, U may be empty or an underscore; expand it 3667 U=`sed -n 's/^U = //p' < "$mf"` 3668 # Find all dependency output files, they are included files with 3669 # $(DEPDIR) in their names. We invoke sed twice because it is the 3670 # simplest approach to changing $(DEPDIR) to its actual value in the 3671 # expansion. 3672 for file in `sed -n " 3673 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 3674 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 3675 # Make sure the directory exists. 3676 test -f "$dirpart/$file" && continue 3677 fdir=`$as_dirname -- "$file" || 3678$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3679 X"$file" : 'X\(//\)[^/]' \| \ 3680 X"$file" : 'X\(//\)$' \| \ 3681 X"$file" : 'X\(/\)' \| . 2>/dev/null || 3682echo X"$file" | 3683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3684 s//\1/ 3685 q 3686 } 3687 /^X\(\/\/\)[^/].*/{ 3688 s//\1/ 3689 q 3690 } 3691 /^X\(\/\/\)$/{ 3692 s//\1/ 3693 q 3694 } 3695 /^X\(\/\).*/{ 3696 s//\1/ 3697 q 3698 } 3699 s/.*/./; q'` 3700 { as_dir=$dirpart/$fdir 3701 case $as_dir in #( 3702 -*) as_dir=./$as_dir;; 3703 esac 3704 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3705 as_dirs= 3706 while :; do 3707 case $as_dir in #( 3708 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 3709 *) as_qdir=$as_dir;; 3710 esac 3711 as_dirs="'$as_qdir' $as_dirs" 3712 as_dir=`$as_dirname -- "$as_dir" || 3713$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3714 X"$as_dir" : 'X\(//\)[^/]' \| \ 3715 X"$as_dir" : 'X\(//\)$' \| \ 3716 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3717echo X"$as_dir" | 3718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3719 s//\1/ 3720 q 3721 } 3722 /^X\(\/\/\)[^/].*/{ 3723 s//\1/ 3724 q 3725 } 3726 /^X\(\/\/\)$/{ 3727 s//\1/ 3728 q 3729 } 3730 /^X\(\/\).*/{ 3731 s//\1/ 3732 q 3733 } 3734 s/.*/./; q'` 3735 test -d "$as_dir" && break 3736 done 3737 test -z "$as_dirs" || eval "mkdir $as_dirs" 3738 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3739echo "$as_me: error: cannot create directory $as_dir" >&2;} 3740 { (exit 1); exit 1; }; }; } 3741 # echo "creating $dirpart/$file" 3742 echo '# dummy' > "$dirpart/$file" 3743 done 3744done 3745 ;; 3746 3747 esac 3748done # for ac_tag 3749 3750 3751{ (exit 0); exit 0; } 3752_ACEOF 3753chmod +x $CONFIG_STATUS 3754ac_clean_files=$ac_clean_files_save 3755 3756 3757# configure is writing to config.log, and then calls config.status. 3758# config.status does its own redirection, appending to config.log. 3759# Unfortunately, on DOS this fails, as config.log is still kept open 3760# by configure, so config.status won't be able to write to it; its 3761# output is simply discarded. So we exec the FD to /dev/null, 3762# effectively closing config.log, so it can be properly (re)opened and 3763# appended to by config.status. When coming back to configure, we 3764# need to make the FD available again. 3765if test "$no_create" != yes; then 3766 ac_cs_success=: 3767 ac_config_status_args= 3768 test "$silent" = yes && 3769 ac_config_status_args="$ac_config_status_args --quiet" 3770 exec 5>/dev/null 3771 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3772 exec 5>>config.log 3773 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3774 # would make configure fail if this is the last instruction. 3775 $ac_cs_success || { (exit 1); exit 1; } 3776fi 3777 3778