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