1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.64. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 7# Foundation, Inc. 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90case $0 in #(( 91 *[\\/]* ) as_myself=$0 ;; 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93for as_dir in $PATH 94do 95 IFS=$as_save_IFS 96 test -z "$as_dir" && as_dir=. 97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 done 99IFS=$as_save_IFS 100 101 ;; 102esac 103# We did not find ourselves, most probably we were run as `sh COMMAND' 104# in which case we are not to be found in the path. 105if test "x$as_myself" = x; then 106 as_myself=$0 107fi 108if test ! -f "$as_myself"; then 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 exit 1 111fi 112 113# Unset variables that we do not need and which cause bugs (e.g. in 114# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 115# suppresses any "Segmentation fault" message there. '((' could 116# trigger a bug in pdksh 5.2.14. 117for as_var in BASH_ENV ENV MAIL MAILPATH 118do eval test x\${$as_var+set} = xset \ 119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 120done 121PS1='$ ' 122PS2='> ' 123PS4='+ ' 124 125# NLS nuisances. 126LC_ALL=C 127export LC_ALL 128LANGUAGE=C 129export LANGUAGE 130 131# CDPATH. 132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133 134if test "x$CONFIG_SHELL" = x; then 135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 136 emulate sh 137 NULLCMD=: 138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 139 # is contrary to our usage. Disable this feature. 140 alias -g '\${1+\"\$@\"}'='\"\$@\"' 141 setopt NO_GLOB_SUBST 142else 143 case \`(set -o) 2>/dev/null\` in #( 144 *posix*) : 145 set -o posix ;; #( 146 *) : 147 ;; 148esac 149fi 150" 151 as_required="as_fn_return () { (exit \$1); } 152as_fn_success () { as_fn_return 0; } 153as_fn_failure () { as_fn_return 1; } 154as_fn_ret_success () { return 0; } 155as_fn_ret_failure () { return 1; } 156 157exitcode=0 158as_fn_success || { exitcode=1; echo as_fn_success failed.; } 159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 163 164else 165 exitcode=1; echo positional parameters were not saved. 166fi 167test x\$exitcode = x0 || exit 1" 168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 172test \$(( 1 + 1 )) = 2 || exit 1" 173 if (eval "$as_required") 2>/dev/null; then : 174 as_have_required=yes 175else 176 as_have_required=no 177fi 178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 179 180else 181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 182as_found=false 183for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 184do 185 IFS=$as_save_IFS 186 test -z "$as_dir" && as_dir=. 187 as_found=: 188 case $as_dir in #( 189 /*) 190 for as_base in sh bash ksh sh5; do 191 # Try only shells that exist, to save several forks. 192 as_shell=$as_dir/$as_base 193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 195 CONFIG_SHELL=$as_shell as_have_required=yes 196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 break 2 198fi 199fi 200 done;; 201 esac 202 as_found=false 203done 204$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 206 CONFIG_SHELL=$SHELL as_have_required=yes 207fi; } 208IFS=$as_save_IFS 209 210 211 if test "x$CONFIG_SHELL" != x; then : 212 # We cannot yet assume a decent shell, so we have to provide a 213 # neutralization value for shells without unset; and this also 214 # works around shells that cannot unset nonexistent variables. 215 BASH_ENV=/dev/null 216 ENV=/dev/null 217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 218 export CONFIG_SHELL 219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 220fi 221 222 if test x$as_have_required = xno; then : 223 $as_echo "$0: This script requires a shell more modern than all" 224 $as_echo "$0: the shells that I found on your system." 225 if test x${ZSH_VERSION+set} = xset ; then 226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 227 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 228 else 229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 230$0: including any error possibly output before this 231$0: message. Then install a modern shell, or manually run 232$0: the script under such a shell if you do have one." 233 fi 234 exit 1 235fi 236fi 237fi 238SHELL=${CONFIG_SHELL-/bin/sh} 239export SHELL 240# Unset more variables known to interfere with behavior of common tools. 241CLICOLOR_FORCE= GREP_OPTIONS= 242unset CLICOLOR_FORCE GREP_OPTIONS 243 244## --------------------- ## 245## M4sh Shell Functions. ## 246## --------------------- ## 247# as_fn_unset VAR 248# --------------- 249# Portably unset VAR. 250as_fn_unset () 251{ 252 { eval $1=; unset $1;} 253} 254as_unset=as_fn_unset 255 256# as_fn_set_status STATUS 257# ----------------------- 258# Set $? to STATUS, without forking. 259as_fn_set_status () 260{ 261 return $1 262} # as_fn_set_status 263 264# as_fn_exit STATUS 265# ----------------- 266# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 267as_fn_exit () 268{ 269 set +e 270 as_fn_set_status $1 271 exit $1 272} # as_fn_exit 273 274# as_fn_mkdir_p 275# ------------- 276# Create "$as_dir" as a directory, including parents if necessary. 277as_fn_mkdir_p () 278{ 279 280 case $as_dir in #( 281 -*) as_dir=./$as_dir;; 282 esac 283 test -d "$as_dir" || eval $as_mkdir_p || { 284 as_dirs= 285 while :; do 286 case $as_dir in #( 287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 288 *) as_qdir=$as_dir;; 289 esac 290 as_dirs="'$as_qdir' $as_dirs" 291 as_dir=`$as_dirname -- "$as_dir" || 292$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 293 X"$as_dir" : 'X\(//\)[^/]' \| \ 294 X"$as_dir" : 'X\(//\)$' \| \ 295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 296$as_echo X"$as_dir" | 297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 298 s//\1/ 299 q 300 } 301 /^X\(\/\/\)[^/].*/{ 302 s//\1/ 303 q 304 } 305 /^X\(\/\/\)$/{ 306 s//\1/ 307 q 308 } 309 /^X\(\/\).*/{ 310 s//\1/ 311 q 312 } 313 s/.*/./; q'` 314 test -d "$as_dir" && break 315 done 316 test -z "$as_dirs" || eval "mkdir $as_dirs" 317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 318 319 320} # as_fn_mkdir_p 321# as_fn_append VAR VALUE 322# ---------------------- 323# Append the text in VALUE to the end of the definition contained in VAR. Take 324# advantage of any shell optimizations that allow amortized linear growth over 325# repeated appends, instead of the typical quadratic growth present in naive 326# implementations. 327if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 328 eval 'as_fn_append () 329 { 330 eval $1+=\$2 331 }' 332else 333 as_fn_append () 334 { 335 eval $1=\$$1\$2 336 } 337fi # as_fn_append 338 339# as_fn_arith ARG... 340# ------------------ 341# Perform arithmetic evaluation on the ARGs, and store the result in the 342# global $as_val. Take advantage of shells that can avoid forks. The arguments 343# must be portable across $(()) and expr. 344if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 345 eval 'as_fn_arith () 346 { 347 as_val=$(( $* )) 348 }' 349else 350 as_fn_arith () 351 { 352 as_val=`expr "$@" || test $? -eq 1` 353 } 354fi # as_fn_arith 355 356 357# as_fn_error ERROR [LINENO LOG_FD] 358# --------------------------------- 359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361# script with status $?, using 1 if that was 0. 362as_fn_error () 363{ 364 as_status=$?; test $as_status -eq 0 && as_status=1 365 if test "$3"; then 366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 368 fi 369 $as_echo "$as_me: error: $1" >&2 370 as_fn_exit $as_status 371} # as_fn_error 372 373if expr a : '\(a\)' >/dev/null 2>&1 && 374 test "X`expr 00001 : '.*\(...\)'`" = X001; then 375 as_expr=expr 376else 377 as_expr=false 378fi 379 380if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 381 as_basename=basename 382else 383 as_basename=false 384fi 385 386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 387 as_dirname=dirname 388else 389 as_dirname=false 390fi 391 392as_me=`$as_basename -- "$0" || 393$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 394 X"$0" : 'X\(//\)$' \| \ 395 X"$0" : 'X\(/\)' \| . 2>/dev/null || 396$as_echo X/"$0" | 397 sed '/^.*\/\([^/][^/]*\)\/*$/{ 398 s//\1/ 399 q 400 } 401 /^X\/\(\/\/\)$/{ 402 s//\1/ 403 q 404 } 405 /^X\/\(\/\).*/{ 406 s//\1/ 407 q 408 } 409 s/.*/./; q'` 410 411# Avoid depending upon Character Ranges. 412as_cr_letters='abcdefghijklmnopqrstuvwxyz' 413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 414as_cr_Letters=$as_cr_letters$as_cr_LETTERS 415as_cr_digits='0123456789' 416as_cr_alnum=$as_cr_Letters$as_cr_digits 417 418 419 as_lineno_1=$LINENO as_lineno_1a=$LINENO 420 as_lineno_2=$LINENO as_lineno_2a=$LINENO 421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 424 sed -n ' 425 p 426 /[$]LINENO/= 427 ' <$as_myself | 428 sed ' 429 s/[$]LINENO.*/&-/ 430 t lineno 431 b 432 :lineno 433 N 434 :loop 435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 436 t loop 437 s/-\n.*// 438 ' >$as_me.lineno && 439 chmod +x "$as_me.lineno" || 440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 441 442 # Don't try to exec as it changes $[0], causing all sort of problems 443 # (the dirname of $[0] is not the place where we might find the 444 # original and so on. Autoconf is especially sensitive to this). 445 . "./$as_me.lineno" 446 # Exit status is that of the last command. 447 exit 448} 449 450ECHO_C= ECHO_N= ECHO_T= 451case `echo -n x` in #((((( 452-n*) 453 case `echo 'xy\c'` in 454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 455 xy) ECHO_C='\c';; 456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 457 ECHO_T=' ';; 458 esac;; 459*) 460 ECHO_N='-n';; 461esac 462 463rm -f conf$$ conf$$.exe conf$$.file 464if test -d conf$$.dir; then 465 rm -f conf$$.dir/conf$$.file 466else 467 rm -f conf$$.dir 468 mkdir conf$$.dir 2>/dev/null 469fi 470if (echo >conf$$.file) 2>/dev/null; then 471 if ln -s conf$$.file conf$$ 2>/dev/null; then 472 as_ln_s='ln -s' 473 # ... but there are two gotchas: 474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 476 # In both cases, we have to default to `cp -p'. 477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 478 as_ln_s='cp -p' 479 elif ln conf$$.file conf$$ 2>/dev/null; then 480 as_ln_s=ln 481 else 482 as_ln_s='cp -p' 483 fi 484else 485 as_ln_s='cp -p' 486fi 487rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 488rmdir conf$$.dir 2>/dev/null 489 490if mkdir -p . 2>/dev/null; then 491 as_mkdir_p='mkdir -p "$as_dir"' 492else 493 test -d ./-p && rmdir ./-p 494 as_mkdir_p=false 495fi 496 497if test -x / >/dev/null 2>&1; then 498 as_test_x='test -x' 499else 500 if ls -dL / >/dev/null 2>&1; then 501 as_ls_L_option=L 502 else 503 as_ls_L_option= 504 fi 505 as_test_x=' 506 eval sh -c '\'' 507 if test -d "$1"; then 508 test -d "$1/."; 509 else 510 case $1 in #( 511 -*)set "./$1";; 512 esac; 513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 514 ???[sx]*):;;*)false;;esac;fi 515 '\'' sh 516 ' 517fi 518as_executable_p=$as_test_x 519 520# Sed expression to map a string onto a valid CPP name. 521as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 522 523# Sed expression to map a string onto a valid variable name. 524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 525 526 527exec 7<&0 </dev/null 6>&1 528 529# Name of the host. 530# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 531# so uname gets run too. 532ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 533 534# 535# Initializations. 536# 537ac_default_prefix=/usr/local 538ac_clean_files= 539ac_config_libobj_dir=. 540LIBOBJS= 541cross_compiling=no 542subdirs= 543MFLAGS= 544MAKEFLAGS= 545 546# Identity of this package. 547PACKAGE_NAME= 548PACKAGE_TARNAME= 549PACKAGE_VERSION= 550PACKAGE_STRING= 551PACKAGE_BUGREPORT= 552PACKAGE_URL= 553 554ac_unique_file="move-if-change" 555enable_option_checking=no 556ac_subst_vars='LTLIBOBJS 557LIBOBJS 558compare_exclusions 559stage2_werror_flag 560stage1_checking 561stage1_cflags 562MAINT 563MAINTAINER_MODE_FALSE 564MAINTAINER_MODE_TRUE 565COMPILER_NM_FOR_TARGET 566COMPILER_LD_FOR_TARGET 567COMPILER_AS_FOR_TARGET 568FLAGS_FOR_TARGET 569RAW_CXX_FOR_TARGET 570WINDMC_FOR_TARGET 571WINDRES_FOR_TARGET 572STRIP_FOR_TARGET 573RANLIB_FOR_TARGET 574OBJDUMP_FOR_TARGET 575NM_FOR_TARGET 576LIPO_FOR_TARGET 577LD_FOR_TARGET 578DLLTOOL_FOR_TARGET 579AS_FOR_TARGET 580AR_FOR_TARGET 581GFORTRAN_FOR_TARGET 582GCJ_FOR_TARGET 583GCC_FOR_TARGET 584CXX_FOR_TARGET 585CC_FOR_TARGET 586OBJDUMP 587OBJCOPY 588WINDMC 589WINDRES 590STRIP 591RANLIB 592NM 593LIPO 594LD 595DLLTOOL 596AS 597AR 598RUNTEST 599EXPECT 600MAKEINFO 601FLEX 602LEX 603M4 604BISON 605YACC 606config_shell 607WINDRES_FOR_BUILD 608WINDMC_FOR_BUILD 609RANLIB_FOR_BUILD 610NM_FOR_BUILD 611LD_FOR_BUILD 612LDFLAGS_FOR_BUILD 613GFORTRAN_FOR_BUILD 614GCJ_FOR_BUILD 615DLLTOOL_FOR_BUILD 616CXX_FOR_BUILD 617CXXFLAGS_FOR_BUILD 618CFLAGS_FOR_BUILD 619CC_FOR_BUILD 620AS_FOR_BUILD 621AR_FOR_BUILD 622target_configdirs 623configdirs 624build_configdirs 625INSTALL_GDB_TK 626GDB_TK 627CONFIGURE_GDB_TK 628build_tooldir 629tooldir 630GCC_SHLIB_SUBDIR 631RPATH_ENVVAR 632target_configargs 633host_configargs 634build_configargs 635BUILD_CONFIG 636CXXFLAGS_FOR_TARGET 637CFLAGS_FOR_TARGET 638DEBUG_PREFIX_CFLAGS_FOR_TARGET 639SYSROOT_CFLAGS_FOR_TARGET 640stage1_languages 641extra_host_libiberty_configure_flags 642clooginc 643clooglibs 644pplinc 645ppllibs 646poststage1_ldflags 647poststage1_libs 648stage1_libs 649stage1_ldflags 650extra_mpc_mpfr_configure_flags 651extra_mpc_gmp_configure_flags 652extra_mpfr_configure_flags 653gmpinc 654gmplibs 655do_compare 656GNATMAKE 657GNATBIND 658ac_ct_CXX 659CXXFLAGS 660CXX 661OBJEXT 662EXEEXT 663ac_ct_CC 664CPPFLAGS 665LDFLAGS 666CFLAGS 667CC 668target_subdir 669host_subdir 670build_subdir 671build_libsubdir 672AWK 673SED 674LN_S 675LN 676INSTALL_DATA 677INSTALL_SCRIPT 678INSTALL_PROGRAM 679target_os 680target_vendor 681target_cpu 682target 683host_os 684host_vendor 685host_cpu 686host 687target_noncanonical 688host_noncanonical 689build_noncanonical 690build_os 691build_vendor 692build_cpu 693build 694TOPLEVEL_CONFIGURE_ARGUMENTS 695target_alias 696host_alias 697build_alias 698LIBS 699ECHO_T 700ECHO_N 701ECHO_C 702DEFS 703mandir 704localedir 705libdir 706psdir 707pdfdir 708dvidir 709htmldir 710infodir 711docdir 712oldincludedir 713includedir 714localstatedir 715sharedstatedir 716sysconfdir 717datadir 718datarootdir 719libexecdir 720sbindir 721bindir 722program_transform_name 723prefix 724exec_prefix 725PACKAGE_URL 726PACKAGE_BUGREPORT 727PACKAGE_STRING 728PACKAGE_VERSION 729PACKAGE_TARNAME 730PACKAGE_NAME 731PATH_SEPARATOR 732SHELL' 733ac_subst_files='serialization_dependencies 734host_makefile_frag 735target_makefile_frag 736alphaieee_frag 737ospace_frag' 738ac_user_opts=' 739enable_option_checking 740with_build_libsubdir 741enable_gold 742enable_ld 743enable_libada 744enable_libssp 745enable_build_with_cxx 746with_mpc 747with_mpc_include 748with_mpc_lib 749with_mpfr_dir 750with_mpfr 751with_mpfr_include 752with_mpfr_lib 753with_gmp_dir 754with_gmp 755with_gmp_include 756with_gmp_lib 757with_host_libstdcxx 758with_stage1_ldflags 759with_stage1_libs 760with_boot_libs 761with_boot_ldflags 762with_ppl 763with_ppl_include 764with_ppl_lib 765enable_ppl_version_check 766with_cloog 767with_cloog_include 768with_cloog_lib 769enable_cloog_version_check 770enable_lto 771enable_stage1_languages 772enable_objc_gc 773with_build_sysroot 774with_debug_prefix_map 775enable_bootstrap 776with_build_config 777enable_serial_configure 778with_build_time_tools 779enable_maintainer_mode 780enable_stage1_checking 781enable_werror 782' 783 ac_precious_vars='build_alias 784host_alias 785target_alias 786CC 787CFLAGS 788LDFLAGS 789LIBS 790CPPFLAGS 791CXX 792CXXFLAGS 793CCC 794build_configargs 795host_configargs 796target_configargs 797AR 798AS 799DLLTOOL 800LD 801LIPO 802NM 803RANLIB 804STRIP 805WINDRES 806WINDMC 807OBJCOPY 808OBJDUMP 809CC_FOR_TARGET 810CXX_FOR_TARGET 811GCC_FOR_TARGET 812GCJ_FOR_TARGET 813GFORTRAN_FOR_TARGET 814AR_FOR_TARGET 815AS_FOR_TARGET 816DLLTOOL_FOR_TARGET 817LD_FOR_TARGET 818LIPO_FOR_TARGET 819NM_FOR_TARGET 820OBJDUMP_FOR_TARGET 821RANLIB_FOR_TARGET 822STRIP_FOR_TARGET 823WINDRES_FOR_TARGET 824WINDMC_FOR_TARGET' 825 826 827# Initialize some variables set by options. 828ac_init_help= 829ac_init_version=false 830ac_unrecognized_opts= 831ac_unrecognized_sep= 832# The variables have the same names as the options, with 833# dashes changed to underlines. 834cache_file=/dev/null 835exec_prefix=NONE 836no_create= 837no_recursion= 838prefix=NONE 839program_prefix=NONE 840program_suffix=NONE 841program_transform_name=s,x,x, 842silent= 843site= 844srcdir= 845verbose= 846x_includes=NONE 847x_libraries=NONE 848 849# Installation directory options. 850# These are left unexpanded so users can "make install exec_prefix=/foo" 851# and all the variables that are supposed to be based on exec_prefix 852# by default will actually change. 853# Use braces instead of parens because sh, perl, etc. also accept them. 854# (The list follows the same order as the GNU Coding Standards.) 855bindir='${exec_prefix}/bin' 856sbindir='${exec_prefix}/sbin' 857libexecdir='${exec_prefix}/libexec' 858datarootdir='${prefix}/share' 859datadir='${datarootdir}' 860sysconfdir='${prefix}/etc' 861sharedstatedir='${prefix}/com' 862localstatedir='${prefix}/var' 863includedir='${prefix}/include' 864oldincludedir='/usr/include' 865docdir='${datarootdir}/doc/${PACKAGE}' 866infodir='${datarootdir}/info' 867htmldir='${docdir}' 868dvidir='${docdir}' 869pdfdir='${docdir}' 870psdir='${docdir}' 871libdir='${exec_prefix}/lib' 872localedir='${datarootdir}/locale' 873mandir='${datarootdir}/man' 874 875ac_prev= 876ac_dashdash= 877for ac_option 878do 879 # If the previous option needs an argument, assign it. 880 if test -n "$ac_prev"; then 881 eval $ac_prev=\$ac_option 882 ac_prev= 883 continue 884 fi 885 886 case $ac_option in 887 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 888 *) ac_optarg=yes ;; 889 esac 890 891 # Accept the important Cygnus configure options, so we can diagnose typos. 892 893 case $ac_dashdash$ac_option in 894 --) 895 ac_dashdash=yes ;; 896 897 -bindir | --bindir | --bindi | --bind | --bin | --bi) 898 ac_prev=bindir ;; 899 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 900 bindir=$ac_optarg ;; 901 902 -build | --build | --buil | --bui | --bu) 903 ac_prev=build_alias ;; 904 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 905 build_alias=$ac_optarg ;; 906 907 -cache-file | --cache-file | --cache-fil | --cache-fi \ 908 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 909 ac_prev=cache_file ;; 910 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 911 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 912 cache_file=$ac_optarg ;; 913 914 --config-cache | -C) 915 cache_file=config.cache ;; 916 917 -datadir | --datadir | --datadi | --datad) 918 ac_prev=datadir ;; 919 -datadir=* | --datadir=* | --datadi=* | --datad=*) 920 datadir=$ac_optarg ;; 921 922 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 923 | --dataroo | --dataro | --datar) 924 ac_prev=datarootdir ;; 925 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 926 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 927 datarootdir=$ac_optarg ;; 928 929 -disable-* | --disable-*) 930 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 931 # Reject names that are not valid shell variable names. 932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 933 as_fn_error "invalid feature name: $ac_useropt" 934 ac_useropt_orig=$ac_useropt 935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 936 case $ac_user_opts in 937 *" 938"enable_$ac_useropt" 939"*) ;; 940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 941 ac_unrecognized_sep=', ';; 942 esac 943 eval enable_$ac_useropt=no ;; 944 945 -docdir | --docdir | --docdi | --doc | --do) 946 ac_prev=docdir ;; 947 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 948 docdir=$ac_optarg ;; 949 950 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 951 ac_prev=dvidir ;; 952 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 953 dvidir=$ac_optarg ;; 954 955 -enable-* | --enable-*) 956 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 957 # Reject names that are not valid shell variable names. 958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 959 as_fn_error "invalid feature name: $ac_useropt" 960 ac_useropt_orig=$ac_useropt 961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 962 case $ac_user_opts in 963 *" 964"enable_$ac_useropt" 965"*) ;; 966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 967 ac_unrecognized_sep=', ';; 968 esac 969 eval enable_$ac_useropt=\$ac_optarg ;; 970 971 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 972 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 973 | --exec | --exe | --ex) 974 ac_prev=exec_prefix ;; 975 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 976 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 977 | --exec=* | --exe=* | --ex=*) 978 exec_prefix=$ac_optarg ;; 979 980 -gas | --gas | --ga | --g) 981 # Obsolete; use --with-gas. 982 with_gas=yes ;; 983 984 -help | --help | --hel | --he | -h) 985 ac_init_help=long ;; 986 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 987 ac_init_help=recursive ;; 988 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 989 ac_init_help=short ;; 990 991 -host | --host | --hos | --ho) 992 ac_prev=host_alias ;; 993 -host=* | --host=* | --hos=* | --ho=*) 994 host_alias=$ac_optarg ;; 995 996 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 997 ac_prev=htmldir ;; 998 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 999 | --ht=*) 1000 htmldir=$ac_optarg ;; 1001 1002 -includedir | --includedir | --includedi | --included | --include \ 1003 | --includ | --inclu | --incl | --inc) 1004 ac_prev=includedir ;; 1005 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1006 | --includ=* | --inclu=* | --incl=* | --inc=*) 1007 includedir=$ac_optarg ;; 1008 1009 -infodir | --infodir | --infodi | --infod | --info | --inf) 1010 ac_prev=infodir ;; 1011 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1012 infodir=$ac_optarg ;; 1013 1014 -libdir | --libdir | --libdi | --libd) 1015 ac_prev=libdir ;; 1016 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1017 libdir=$ac_optarg ;; 1018 1019 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1020 | --libexe | --libex | --libe) 1021 ac_prev=libexecdir ;; 1022 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1023 | --libexe=* | --libex=* | --libe=*) 1024 libexecdir=$ac_optarg ;; 1025 1026 -localedir | --localedir | --localedi | --localed | --locale) 1027 ac_prev=localedir ;; 1028 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1029 localedir=$ac_optarg ;; 1030 1031 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1032 | --localstate | --localstat | --localsta | --localst | --locals) 1033 ac_prev=localstatedir ;; 1034 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1035 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1036 localstatedir=$ac_optarg ;; 1037 1038 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1039 ac_prev=mandir ;; 1040 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1041 mandir=$ac_optarg ;; 1042 1043 -nfp | --nfp | --nf) 1044 # Obsolete; use --without-fp. 1045 with_fp=no ;; 1046 1047 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1048 | --no-cr | --no-c | -n) 1049 no_create=yes ;; 1050 1051 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1052 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1053 no_recursion=yes ;; 1054 1055 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1056 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1057 | --oldin | --oldi | --old | --ol | --o) 1058 ac_prev=oldincludedir ;; 1059 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1060 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1061 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1062 oldincludedir=$ac_optarg ;; 1063 1064 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1065 ac_prev=prefix ;; 1066 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1067 prefix=$ac_optarg ;; 1068 1069 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1070 | --program-pre | --program-pr | --program-p) 1071 ac_prev=program_prefix ;; 1072 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1073 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1074 program_prefix=$ac_optarg ;; 1075 1076 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1077 | --program-suf | --program-su | --program-s) 1078 ac_prev=program_suffix ;; 1079 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1080 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1081 program_suffix=$ac_optarg ;; 1082 1083 -program-transform-name | --program-transform-name \ 1084 | --program-transform-nam | --program-transform-na \ 1085 | --program-transform-n | --program-transform- \ 1086 | --program-transform | --program-transfor \ 1087 | --program-transfo | --program-transf \ 1088 | --program-trans | --program-tran \ 1089 | --progr-tra | --program-tr | --program-t) 1090 ac_prev=program_transform_name ;; 1091 -program-transform-name=* | --program-transform-name=* \ 1092 | --program-transform-nam=* | --program-transform-na=* \ 1093 | --program-transform-n=* | --program-transform-=* \ 1094 | --program-transform=* | --program-transfor=* \ 1095 | --program-transfo=* | --program-transf=* \ 1096 | --program-trans=* | --program-tran=* \ 1097 | --progr-tra=* | --program-tr=* | --program-t=*) 1098 program_transform_name=$ac_optarg ;; 1099 1100 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1101 ac_prev=pdfdir ;; 1102 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1103 pdfdir=$ac_optarg ;; 1104 1105 -psdir | --psdir | --psdi | --psd | --ps) 1106 ac_prev=psdir ;; 1107 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1108 psdir=$ac_optarg ;; 1109 1110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1111 | -silent | --silent | --silen | --sile | --sil) 1112 silent=yes ;; 1113 1114 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1115 ac_prev=sbindir ;; 1116 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1117 | --sbi=* | --sb=*) 1118 sbindir=$ac_optarg ;; 1119 1120 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1121 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1122 | --sharedst | --shareds | --shared | --share | --shar \ 1123 | --sha | --sh) 1124 ac_prev=sharedstatedir ;; 1125 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1126 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1127 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1128 | --sha=* | --sh=*) 1129 sharedstatedir=$ac_optarg ;; 1130 1131 -site | --site | --sit) 1132 ac_prev=site ;; 1133 -site=* | --site=* | --sit=*) 1134 site=$ac_optarg ;; 1135 1136 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1137 ac_prev=srcdir ;; 1138 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1139 srcdir=$ac_optarg ;; 1140 1141 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1142 | --syscon | --sysco | --sysc | --sys | --sy) 1143 ac_prev=sysconfdir ;; 1144 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1145 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1146 sysconfdir=$ac_optarg ;; 1147 1148 -target | --target | --targe | --targ | --tar | --ta | --t) 1149 ac_prev=target_alias ;; 1150 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1151 target_alias=$ac_optarg ;; 1152 1153 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1154 verbose=yes ;; 1155 1156 -version | --version | --versio | --versi | --vers | -V) 1157 ac_init_version=: ;; 1158 1159 -with-* | --with-*) 1160 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1161 # Reject names that are not valid shell variable names. 1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1163 as_fn_error "invalid package name: $ac_useropt" 1164 ac_useropt_orig=$ac_useropt 1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1166 case $ac_user_opts in 1167 *" 1168"with_$ac_useropt" 1169"*) ;; 1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1171 ac_unrecognized_sep=', ';; 1172 esac 1173 eval with_$ac_useropt=\$ac_optarg ;; 1174 1175 -without-* | --without-*) 1176 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1177 # Reject names that are not valid shell variable names. 1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1179 as_fn_error "invalid package name: $ac_useropt" 1180 ac_useropt_orig=$ac_useropt 1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1182 case $ac_user_opts in 1183 *" 1184"with_$ac_useropt" 1185"*) ;; 1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1187 ac_unrecognized_sep=', ';; 1188 esac 1189 eval with_$ac_useropt=no ;; 1190 1191 --x) 1192 # Obsolete; use --with-x. 1193 with_x=yes ;; 1194 1195 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1196 | --x-incl | --x-inc | --x-in | --x-i) 1197 ac_prev=x_includes ;; 1198 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1199 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1200 x_includes=$ac_optarg ;; 1201 1202 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1203 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1204 ac_prev=x_libraries ;; 1205 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1206 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1207 x_libraries=$ac_optarg ;; 1208 1209 -*) as_fn_error "unrecognized option: \`$ac_option' 1210Try \`$0 --help' for more information." 1211 ;; 1212 1213 *=*) 1214 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1215 # Reject names that are not valid shell variable names. 1216 case $ac_envvar in #( 1217 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1218 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1219 esac 1220 eval $ac_envvar=\$ac_optarg 1221 export $ac_envvar ;; 1222 1223 *) 1224 # FIXME: should be removed in autoconf 3.0. 1225 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1226 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1227 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1228 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1229 ;; 1230 1231 esac 1232done 1233 1234if test -n "$ac_prev"; then 1235 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1236 as_fn_error "missing argument to $ac_option" 1237fi 1238 1239if test -n "$ac_unrecognized_opts"; then 1240 case $enable_option_checking in 1241 no) ;; 1242 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1244 esac 1245fi 1246 1247# Check all directory arguments for consistency. 1248for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1249 datadir sysconfdir sharedstatedir localstatedir includedir \ 1250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1251 libdir localedir mandir 1252do 1253 eval ac_val=\$$ac_var 1254 # Remove trailing slashes. 1255 case $ac_val in 1256 */ ) 1257 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1258 eval $ac_var=\$ac_val;; 1259 esac 1260 # Be sure to have absolute directory names. 1261 case $ac_val in 1262 [\\/$]* | ?:[\\/]* ) continue;; 1263 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1264 esac 1265 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1266done 1267 1268# There might be people who depend on the old broken behavior: `$host' 1269# used to hold the argument of --host etc. 1270# FIXME: To remove some day. 1271build=$build_alias 1272host=$host_alias 1273target=$target_alias 1274 1275# FIXME: To remove some day. 1276if test "x$host_alias" != x; then 1277 if test "x$build_alias" = x; then 1278 cross_compiling=maybe 1279 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1280 If a cross compiler is detected then cross compile mode will be used." >&2 1281 elif test "x$build_alias" != "x$host_alias"; then 1282 cross_compiling=yes 1283 fi 1284fi 1285 1286ac_tool_prefix= 1287test -n "$host_alias" && ac_tool_prefix=$host_alias- 1288 1289test "$silent" = yes && exec 6>/dev/null 1290 1291 1292ac_pwd=`pwd` && test -n "$ac_pwd" && 1293ac_ls_di=`ls -di .` && 1294ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1295 as_fn_error "working directory cannot be determined" 1296test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1297 as_fn_error "pwd does not report name of working directory" 1298 1299 1300# Find the source files, if location was not specified. 1301if test -z "$srcdir"; then 1302 ac_srcdir_defaulted=yes 1303 # Try the directory containing this script, then the parent directory. 1304 ac_confdir=`$as_dirname -- "$as_myself" || 1305$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1306 X"$as_myself" : 'X\(//\)[^/]' \| \ 1307 X"$as_myself" : 'X\(//\)$' \| \ 1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1309$as_echo X"$as_myself" | 1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1311 s//\1/ 1312 q 1313 } 1314 /^X\(\/\/\)[^/].*/{ 1315 s//\1/ 1316 q 1317 } 1318 /^X\(\/\/\)$/{ 1319 s//\1/ 1320 q 1321 } 1322 /^X\(\/\).*/{ 1323 s//\1/ 1324 q 1325 } 1326 s/.*/./; q'` 1327 srcdir=$ac_confdir 1328 if test ! -r "$srcdir/$ac_unique_file"; then 1329 srcdir=.. 1330 fi 1331else 1332 ac_srcdir_defaulted=no 1333fi 1334if test ! -r "$srcdir/$ac_unique_file"; then 1335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1336 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1337fi 1338ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1339ac_abs_confdir=`( 1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1341 pwd)` 1342# When building in place, set srcdir=. 1343if test "$ac_abs_confdir" = "$ac_pwd"; then 1344 srcdir=. 1345fi 1346# Remove unnecessary trailing slashes from srcdir. 1347# Double slashes in file names in object file debugging info 1348# mess up M-x gdb in Emacs. 1349case $srcdir in 1350*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1351esac 1352case $srcdir in 1353 *" "*) 1354 as_fn_error "path to source, $srcdir, contains spaces" 1355 ;; 1356esac 1357ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'` 1358 1359for ac_var in $ac_precious_vars; do 1360 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1361 eval ac_env_${ac_var}_value=\$${ac_var} 1362 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1363 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1364done 1365 1366# 1367# Report the --help message. 1368# 1369if test "$ac_init_help" = "long"; then 1370 # Omit some internal or obsolete options to make the list less imposing. 1371 # This message is too long to be a string in the A/UX 3.1 sh. 1372 cat <<_ACEOF 1373\`configure' configures this package to adapt to many kinds of systems. 1374 1375Usage: $0 [OPTION]... [VAR=VALUE]... 1376 1377To assign environment variables (e.g., CC, CFLAGS...), specify them as 1378VAR=VALUE. See below for descriptions of some of the useful variables. 1379 1380Defaults for the options are specified in brackets. 1381 1382Configuration: 1383 -h, --help display this help and exit 1384 --help=short display options specific to this package 1385 --help=recursive display the short help of all the included packages 1386 -V, --version display version information and exit 1387 -q, --quiet, --silent do not print \`checking...' messages 1388 --cache-file=FILE cache test results in FILE [disabled] 1389 -C, --config-cache alias for \`--cache-file=config.cache' 1390 -n, --no-create do not create output files 1391 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1392 1393Installation directories: 1394 --prefix=PREFIX install architecture-independent files in PREFIX 1395 [$ac_default_prefix] 1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1397 [PREFIX] 1398 1399By default, \`make install' will install all the files in 1400\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1401an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1402for instance \`--prefix=\$HOME'. 1403 1404For better control, use the options below. 1405 1406Fine tuning of the installation directories: 1407 --bindir=DIR user executables [EPREFIX/bin] 1408 --sbindir=DIR system admin executables [EPREFIX/sbin] 1409 --libexecdir=DIR program executables [EPREFIX/libexec] 1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1413 --libdir=DIR object code libraries [EPREFIX/lib] 1414 --includedir=DIR C header files [PREFIX/include] 1415 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1418 --infodir=DIR info documentation [DATAROOTDIR/info] 1419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1420 --mandir=DIR man documentation [DATAROOTDIR/man] 1421 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1422 --htmldir=DIR html documentation [DOCDIR] 1423 --dvidir=DIR dvi documentation [DOCDIR] 1424 --pdfdir=DIR pdf documentation [DOCDIR] 1425 --psdir=DIR ps documentation [DOCDIR] 1426_ACEOF 1427 1428 cat <<\_ACEOF 1429 1430Program names: 1431 --program-prefix=PREFIX prepend PREFIX to installed program names 1432 --program-suffix=SUFFIX append SUFFIX to installed program names 1433 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1434 1435System types: 1436 --build=BUILD configure for building on BUILD [guessed] 1437 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1438 --target=TARGET configure for building compilers for TARGET [HOST] 1439_ACEOF 1440fi 1441 1442if test -n "$ac_init_help"; then 1443 1444 cat <<\_ACEOF 1445 1446Optional Features: 1447 --disable-option-checking ignore unrecognized --enable/--with options 1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1450 --enable-gold[=ARG] build gold [ARG={default,yes,no}] 1451 --enable-ld[=ARG] build ld [ARG={default,yes,no}] 1452 --enable-libada build libada directory 1453 --enable-libssp build libssp directory 1454 --enable-build-with-cxx build with C++ compiler instead of C compiler 1455 --disable-ppl-version-check disable check for PPL version 1456 --disable-cloog-version-check disable check for CLooG version 1457 --enable-lto enable link time optimization support 1458 --enable-stage1-languages[=all] choose additional languages to build during 1459 stage1. Mostly useful for compiler development. 1460 --enable-objc-gc enable use of Boehm's garbage collector with the 1461 GNU Objective-C runtime 1462 --enable-bootstrap enable bootstrapping [yes if native build] 1463 --enable-serial-[{host,target,build}-]configure 1464 force sequential configuration of 1465 sub-packages for the host, target or build 1466 machine, or all sub-packages 1467 --enable-maintainer-mode enable make rules and dependencies not useful 1468 (and sometimes confusing) to the casual installer 1469 --enable-stage1-checking[=all] choose additional checking for stage1 1470 of the compiler 1471 --enable-werror enable -Werror in bootstrap stage2 and later 1472 1473Optional Packages: 1474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1476 --with-build-libsubdir=DIR Directory where to find libraries for build system 1477 --with-mpc=PATH specify prefix directory for installed MPC package. 1478 Equivalent to --with-mpc-include=PATH/include 1479 plus --with-mpc-lib=PATH/lib 1480 --with-mpc-include=PATH 1481 specify directory for installed MPC include files 1482 --with-mpc-lib=PATH specify directory for the installed MPC library 1483 --with-mpfr-dir=PATH this option has been REMOVED 1484 --with-mpfr=PATH specify prefix directory for installed MPFR package. 1485 Equivalent to --with-mpfr-include=PATH/include 1486 plus --with-mpfr-lib=PATH/lib 1487 --with-mpfr-include=PATH 1488 specify directory for installed MPFR include files 1489 --with-mpfr-lib=PATH specify directory for the installed MPFR library 1490 --with-gmp-dir=PATH this option has been REMOVED 1491 --with-gmp=PATH specify prefix directory for the installed GMP package. 1492 Equivalent to --with-gmp-include=PATH/include 1493 plus --with-gmp-lib=PATH/lib 1494 --with-gmp-include=PATH specify directory for installed GMP include files 1495 --with-gmp-lib=PATH specify directory for the installed GMP library 1496 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++ 1497 when linking with PPL 1498 --with-stage1-ldflags=FLAGS Linker flags for stage1 1499 -with-stage1-libs=LIBS Libraries for stage1 1500 --with-boot-libs=LIBS Libraries for stage2 and later 1501 --with-boot-ldflags=FLAGS Linker flags for stage2 and later 1502 --with-ppl=PATH Specify prefix directory for the installed PPL package 1503 Equivalent to --with-ppl-include=PATH/include 1504 plus --with-ppl-lib=PATH/lib 1505 --with-ppl-include=PATH Specify directory for installed PPL include files 1506 --with-ppl-lib=PATH Specify the directory for the installed PPL library 1507 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package 1508 Equivalent to --with-cloog-include=PATH/include 1509 plus --with-cloog-lib=PATH/lib 1510 --with-cloog-include=PATH Specify directory for installed CLooG include files 1511 --with-cloog-lib=PATH Specify the directory for the installed CLooG library 1512 --with-build-sysroot=SYSROOT 1513 use sysroot as the system root during the build 1514 --with-debug-prefix-map='A=B C=D ...' 1515 map A to B, C to D ... in debug information 1516--with-build-config='NAME NAME2...' 1517 Use config/NAME.mk build configuration 1518 --with-build-time-tools=PATH 1519 use given path to find target tools during the build 1520 1521Some influential environment variables: 1522 CC C compiler command 1523 CFLAGS C compiler flags 1524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1525 nonstandard directory <lib dir> 1526 LIBS libraries to pass to the linker, e.g. -l<library> 1527 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1528 you have headers in a nonstandard directory <include dir> 1529 CXX C++ compiler command 1530 CXXFLAGS C++ compiler flags 1531 build_configargs 1532 additional configure arguments for build directories 1533 host_configargs 1534 additional configure arguments for host directories 1535 target_configargs 1536 additional configure arguments for target directories 1537 AR AR for the host 1538 AS AS for the host 1539 DLLTOOL DLLTOOL for the host 1540 LD LD for the host 1541 LIPO LIPO for the host 1542 NM NM for the host 1543 RANLIB RANLIB for the host 1544 STRIP STRIP for the host 1545 WINDRES WINDRES for the host 1546 WINDMC WINDMC for the host 1547 OBJCOPY OBJCOPY for the host 1548 OBJDUMP OBJDUMP for the host 1549 CC_FOR_TARGET 1550 CC for the target 1551 CXX_FOR_TARGET 1552 CXX for the target 1553 GCC_FOR_TARGET 1554 GCC for the target 1555 GCJ_FOR_TARGET 1556 GCJ for the target 1557 GFORTRAN_FOR_TARGET 1558 GFORTRAN for the target 1559 AR_FOR_TARGET 1560 AR for the target 1561 AS_FOR_TARGET 1562 AS for the target 1563 DLLTOOL_FOR_TARGET 1564 DLLTOOL for the target 1565 LD_FOR_TARGET 1566 LD for the target 1567 LIPO_FOR_TARGET 1568 LIPO for the target 1569 NM_FOR_TARGET 1570 NM for the target 1571 OBJDUMP_FOR_TARGET 1572 OBJDUMP for the target 1573 RANLIB_FOR_TARGET 1574 RANLIB for the target 1575 STRIP_FOR_TARGET 1576 STRIP for the target 1577 WINDRES_FOR_TARGET 1578 WINDRES for the target 1579 WINDMC_FOR_TARGET 1580 WINDMC for the target 1581 1582Use these variables to override the choices made by `configure' or to help 1583it to find libraries and programs with nonstandard names/locations. 1584 1585Report bugs to the package provider. 1586_ACEOF 1587ac_status=$? 1588fi 1589 1590if test "$ac_init_help" = "recursive"; then 1591 # If there are subdirs, report their specific --help. 1592 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1593 test -d "$ac_dir" || 1594 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1595 continue 1596 ac_builddir=. 1597 1598case "$ac_dir" in 1599.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1600*) 1601 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1602 # A ".." for each directory in $ac_dir_suffix. 1603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1604 case $ac_top_builddir_sub in 1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1607 esac ;; 1608esac 1609ac_abs_top_builddir=$ac_pwd 1610ac_abs_builddir=$ac_pwd$ac_dir_suffix 1611# for backward compatibility: 1612ac_top_builddir=$ac_top_build_prefix 1613 1614case $srcdir in 1615 .) # We are building in place. 1616 ac_srcdir=. 1617 ac_top_srcdir=$ac_top_builddir_sub 1618 ac_abs_top_srcdir=$ac_pwd ;; 1619 [\\/]* | ?:[\\/]* ) # Absolute name. 1620 ac_srcdir=$srcdir$ac_dir_suffix; 1621 ac_top_srcdir=$srcdir 1622 ac_abs_top_srcdir=$srcdir ;; 1623 *) # Relative name. 1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1625 ac_top_srcdir=$ac_top_build_prefix$srcdir 1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1627esac 1628ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1629 1630 cd "$ac_dir" || { ac_status=$?; continue; } 1631 # Check for guested configure. 1632 if test -f "$ac_srcdir/configure.gnu"; then 1633 echo && 1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1635 elif test -f "$ac_srcdir/configure"; then 1636 echo && 1637 $SHELL "$ac_srcdir/configure" --help=recursive 1638 else 1639 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1640 fi || ac_status=$? 1641 cd "$ac_pwd" || { ac_status=$?; break; } 1642 done 1643fi 1644 1645test -n "$ac_init_help" && exit $ac_status 1646if $ac_init_version; then 1647 cat <<\_ACEOF 1648configure 1649generated by GNU Autoconf 2.64 1650 1651Copyright (C) 2009 Free Software Foundation, Inc. 1652This configure script is free software; the Free Software Foundation 1653gives unlimited permission to copy, distribute and modify it. 1654_ACEOF 1655 exit 1656fi 1657 1658## ------------------------ ## 1659## Autoconf initialization. ## 1660## ------------------------ ## 1661 1662# ac_fn_c_try_compile LINENO 1663# -------------------------- 1664# Try to compile conftest.$ac_ext, and return whether this succeeded. 1665ac_fn_c_try_compile () 1666{ 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 rm -f conftest.$ac_objext 1669 if { { ac_try="$ac_compile" 1670case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673esac 1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675$as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_compile") 2>conftest.err 1677 ac_status=$? 1678 if test -s conftest.err; then 1679 grep -v '^ *+' conftest.err >conftest.er1 1680 cat conftest.er1 >&5 1681 mv -f conftest.er1 conftest.err 1682 fi 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; } && { 1685 test -z "$ac_c_werror_flag" || 1686 test ! -s conftest.err 1687 } && test -s conftest.$ac_objext; then : 1688 ac_retval=0 1689else 1690 $as_echo "$as_me: failed program was:" >&5 1691sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694fi 1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1696 return $ac_retval 1697 1698} # ac_fn_c_try_compile 1699 1700# ac_fn_cxx_try_compile LINENO 1701# ---------------------------- 1702# Try to compile conftest.$ac_ext, and return whether this succeeded. 1703ac_fn_cxx_try_compile () 1704{ 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 rm -f conftest.$ac_objext 1707 if { { ac_try="$ac_compile" 1708case "(($ac_try" in 1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1710 *) ac_try_echo=$ac_try;; 1711esac 1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1713$as_echo "$ac_try_echo"; } >&5 1714 (eval "$ac_compile") 2>conftest.err 1715 ac_status=$? 1716 if test -s conftest.err; then 1717 grep -v '^ *+' conftest.err >conftest.er1 1718 cat conftest.er1 >&5 1719 mv -f conftest.er1 conftest.err 1720 fi 1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1722 test $ac_status = 0; } && { 1723 test -z "$ac_cxx_werror_flag" || 1724 test ! -s conftest.err 1725 } && test -s conftest.$ac_objext; then : 1726 ac_retval=0 1727else 1728 $as_echo "$as_me: failed program was:" >&5 1729sed 's/^/| /' conftest.$ac_ext >&5 1730 1731 ac_retval=1 1732fi 1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1734 return $ac_retval 1735 1736} # ac_fn_cxx_try_compile 1737 1738# ac_fn_c_try_link LINENO 1739# ----------------------- 1740# Try to link conftest.$ac_ext, and return whether this succeeded. 1741ac_fn_c_try_link () 1742{ 1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1744 rm -f conftest.$ac_objext conftest$ac_exeext 1745 if { { ac_try="$ac_link" 1746case "(($ac_try" in 1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1748 *) ac_try_echo=$ac_try;; 1749esac 1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1751$as_echo "$ac_try_echo"; } >&5 1752 (eval "$ac_link") 2>conftest.err 1753 ac_status=$? 1754 if test -s conftest.err; then 1755 grep -v '^ *+' conftest.err >conftest.er1 1756 cat conftest.er1 >&5 1757 mv -f conftest.er1 conftest.err 1758 fi 1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1760 test $ac_status = 0; } && { 1761 test -z "$ac_c_werror_flag" || 1762 test ! -s conftest.err 1763 } && test -s conftest$ac_exeext && { 1764 test "$cross_compiling" = yes || 1765 $as_test_x conftest$ac_exeext 1766 }; then : 1767 ac_retval=0 1768else 1769 $as_echo "$as_me: failed program was:" >&5 1770sed 's/^/| /' conftest.$ac_ext >&5 1771 1772 ac_retval=1 1773fi 1774 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1775 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1776 # interfere with the next link command; also delete a directory that is 1777 # left behind by Apple's compiler. We do this before executing the actions. 1778 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1780 return $ac_retval 1781 1782} # ac_fn_c_try_link 1783cat >config.log <<_ACEOF 1784This file contains any messages produced by compilers while 1785running configure, to aid debugging if configure makes a mistake. 1786 1787It was created by $as_me, which was 1788generated by GNU Autoconf 2.64. Invocation command line was 1789 1790 $ $0 $@ 1791 1792_ACEOF 1793exec 5>>config.log 1794{ 1795cat <<_ASUNAME 1796## --------- ## 1797## Platform. ## 1798## --------- ## 1799 1800hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1801uname -m = `(uname -m) 2>/dev/null || echo unknown` 1802uname -r = `(uname -r) 2>/dev/null || echo unknown` 1803uname -s = `(uname -s) 2>/dev/null || echo unknown` 1804uname -v = `(uname -v) 2>/dev/null || echo unknown` 1805 1806/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1807/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1808 1809/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1810/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1811/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1812/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1813/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1814/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1815/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1816 1817_ASUNAME 1818 1819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1820for as_dir in $PATH 1821do 1822 IFS=$as_save_IFS 1823 test -z "$as_dir" && as_dir=. 1824 $as_echo "PATH: $as_dir" 1825 done 1826IFS=$as_save_IFS 1827 1828} >&5 1829 1830cat >&5 <<_ACEOF 1831 1832 1833## ----------- ## 1834## Core tests. ## 1835## ----------- ## 1836 1837_ACEOF 1838 1839 1840# Keep a trace of the command line. 1841# Strip out --no-create and --no-recursion so they do not pile up. 1842# Strip out --silent because we don't want to record it for future runs. 1843# Also quote any args containing shell meta-characters. 1844# Make two passes to allow for proper duplicate-argument suppression. 1845ac_configure_args= 1846ac_configure_args0= 1847ac_configure_args1= 1848ac_must_keep_next=false 1849for ac_pass in 1 2 1850do 1851 for ac_arg 1852 do 1853 case $ac_arg in 1854 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1855 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1856 | -silent | --silent | --silen | --sile | --sil) 1857 continue ;; 1858 *\'*) 1859 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1860 esac 1861 case $ac_pass in 1862 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1863 2) 1864 as_fn_append ac_configure_args1 " '$ac_arg'" 1865 if test $ac_must_keep_next = true; then 1866 ac_must_keep_next=false # Got value, back to normal. 1867 else 1868 case $ac_arg in 1869 *=* | --config-cache | -C | -disable-* | --disable-* \ 1870 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1871 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1872 | -with-* | --with-* | -without-* | --without-* | --x) 1873 case "$ac_configure_args0 " in 1874 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1875 esac 1876 ;; 1877 -* ) ac_must_keep_next=true ;; 1878 esac 1879 fi 1880 as_fn_append ac_configure_args " '$ac_arg'" 1881 ;; 1882 esac 1883 done 1884done 1885{ ac_configure_args0=; unset ac_configure_args0;} 1886{ ac_configure_args1=; unset ac_configure_args1;} 1887 1888# When interrupted or exit'd, cleanup temporary files, and complete 1889# config.log. We remove comments because anyway the quotes in there 1890# would cause problems or look ugly. 1891# WARNING: Use '\'' to represent an apostrophe within the trap. 1892# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1893trap 'exit_status=$? 1894 # Save into config.log some information that might help in debugging. 1895 { 1896 echo 1897 1898 cat <<\_ASBOX 1899## ---------------- ## 1900## Cache variables. ## 1901## ---------------- ## 1902_ASBOX 1903 echo 1904 # The following way of writing the cache mishandles newlines in values, 1905( 1906 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1907 eval ac_val=\$$ac_var 1908 case $ac_val in #( 1909 *${as_nl}*) 1910 case $ac_var in #( 1911 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1912$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1913 esac 1914 case $ac_var in #( 1915 _ | IFS | as_nl) ;; #( 1916 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1917 *) { eval $ac_var=; unset $ac_var;} ;; 1918 esac ;; 1919 esac 1920 done 1921 (set) 2>&1 | 1922 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1923 *${as_nl}ac_space=\ *) 1924 sed -n \ 1925 "s/'\''/'\''\\\\'\'''\''/g; 1926 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1927 ;; #( 1928 *) 1929 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1930 ;; 1931 esac | 1932 sort 1933) 1934 echo 1935 1936 cat <<\_ASBOX 1937## ----------------- ## 1938## Output variables. ## 1939## ----------------- ## 1940_ASBOX 1941 echo 1942 for ac_var in $ac_subst_vars 1943 do 1944 eval ac_val=\$$ac_var 1945 case $ac_val in 1946 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1947 esac 1948 $as_echo "$ac_var='\''$ac_val'\''" 1949 done | sort 1950 echo 1951 1952 if test -n "$ac_subst_files"; then 1953 cat <<\_ASBOX 1954## ------------------- ## 1955## File substitutions. ## 1956## ------------------- ## 1957_ASBOX 1958 echo 1959 for ac_var in $ac_subst_files 1960 do 1961 eval ac_val=\$$ac_var 1962 case $ac_val in 1963 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1964 esac 1965 $as_echo "$ac_var='\''$ac_val'\''" 1966 done | sort 1967 echo 1968 fi 1969 1970 if test -s confdefs.h; then 1971 cat <<\_ASBOX 1972## ----------- ## 1973## confdefs.h. ## 1974## ----------- ## 1975_ASBOX 1976 echo 1977 cat confdefs.h 1978 echo 1979 fi 1980 test "$ac_signal" != 0 && 1981 $as_echo "$as_me: caught signal $ac_signal" 1982 $as_echo "$as_me: exit $exit_status" 1983 } >&5 1984 rm -f core *.core core.conftest.* && 1985 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1986 exit $exit_status 1987' 0 1988for ac_signal in 1 2 13 15; do 1989 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1990done 1991ac_signal=0 1992 1993# confdefs.h avoids OS command line length limits that DEFS can exceed. 1994rm -f -r conftest* confdefs.h 1995 1996$as_echo "/* confdefs.h */" > confdefs.h 1997 1998# Predefined preprocessor variables. 1999 2000cat >>confdefs.h <<_ACEOF 2001#define PACKAGE_NAME "$PACKAGE_NAME" 2002_ACEOF 2003 2004cat >>confdefs.h <<_ACEOF 2005#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2006_ACEOF 2007 2008cat >>confdefs.h <<_ACEOF 2009#define PACKAGE_VERSION "$PACKAGE_VERSION" 2010_ACEOF 2011 2012cat >>confdefs.h <<_ACEOF 2013#define PACKAGE_STRING "$PACKAGE_STRING" 2014_ACEOF 2015 2016cat >>confdefs.h <<_ACEOF 2017#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2018_ACEOF 2019 2020cat >>confdefs.h <<_ACEOF 2021#define PACKAGE_URL "$PACKAGE_URL" 2022_ACEOF 2023 2024 2025# Let the site file select an alternate cache file if it wants to. 2026# Prefer an explicitly selected file to automatically selected ones. 2027ac_site_file1=NONE 2028ac_site_file2=NONE 2029if test -n "$CONFIG_SITE"; then 2030 ac_site_file1=$CONFIG_SITE 2031elif test "x$prefix" != xNONE; then 2032 ac_site_file1=$prefix/share/config.site 2033 ac_site_file2=$prefix/etc/config.site 2034else 2035 ac_site_file1=$ac_default_prefix/share/config.site 2036 ac_site_file2=$ac_default_prefix/etc/config.site 2037fi 2038for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2039do 2040 test "x$ac_site_file" = xNONE && continue 2041 if test -r "$ac_site_file"; then 2042 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2043$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2044 sed 's/^/| /' "$ac_site_file" >&5 2045 . "$ac_site_file" 2046 fi 2047done 2048 2049if test -r "$cache_file"; then 2050 # Some versions of bash will fail to source /dev/null (special 2051 # files actually), so we avoid doing that. 2052 if test -f "$cache_file"; then 2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2054$as_echo "$as_me: loading cache $cache_file" >&6;} 2055 case $cache_file in 2056 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2057 *) . "./$cache_file";; 2058 esac 2059 fi 2060else 2061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2062$as_echo "$as_me: creating cache $cache_file" >&6;} 2063 >$cache_file 2064fi 2065 2066# Check that the precious variables saved in the cache have kept the same 2067# value. 2068ac_cache_corrupted=false 2069for ac_var in $ac_precious_vars; do 2070 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2071 eval ac_new_set=\$ac_env_${ac_var}_set 2072 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2073 eval ac_new_val=\$ac_env_${ac_var}_value 2074 case $ac_old_set,$ac_new_set in 2075 set,) 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2077$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2078 ac_cache_corrupted=: ;; 2079 ,set) 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2081$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2082 ac_cache_corrupted=: ;; 2083 ,);; 2084 *) 2085 if test "x$ac_old_val" != "x$ac_new_val"; then 2086 # differences in whitespace do not lead to failure. 2087 ac_old_val_w=`echo x $ac_old_val` 2088 ac_new_val_w=`echo x $ac_new_val` 2089 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2091$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2092 ac_cache_corrupted=: 2093 else 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2095$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2096 eval $ac_var=\$ac_old_val 2097 fi 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2099$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2100 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2101$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2102 fi;; 2103 esac 2104 # Pass precious variables to config.status. 2105 if test "$ac_new_set" = set; then 2106 case $ac_new_val in 2107 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2108 *) ac_arg=$ac_var=$ac_new_val ;; 2109 esac 2110 case " $ac_configure_args " in 2111 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2112 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2113 esac 2114 fi 2115done 2116if $ac_cache_corrupted; then 2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2118$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2120$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2121 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2122fi 2123## -------------------- ## 2124## Main body of script. ## 2125## -------------------- ## 2126 2127ac_ext=c 2128ac_cpp='$CPP $CPPFLAGS' 2129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2131ac_compiler_gnu=$ac_cv_c_compiler_gnu 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141progname=$0 2142# if PWD already has a value, it is probably wrong. 2143if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi 2144 2145# Export original configure arguments for use by sub-configures. 2146# Quote arguments with shell meta charatcers. 2147TOPLEVEL_CONFIGURE_ARGUMENTS= 2148set -- "$progname" "$@" 2149for ac_arg 2150do 2151 case "$ac_arg" in 2152 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*) 2153 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 2154 # if the argument is of the form -foo=baz, quote the baz part only 2155 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;; 2156 *) ;; 2157 esac 2158 # Add the quoted argument to the list. 2159 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg" 2160done 2161if test "$silent" = yes; then 2162 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent" 2163fi 2164# Remove the initial space we just introduced and, as these will be 2165# expanded by make, quote '$'. 2166TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'` 2167 2168 2169# Find the build, host, and target systems. 2170ac_aux_dir= 2171for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2172 for ac_t in install-sh install.sh shtool; do 2173 if test -f "$ac_dir/$ac_t"; then 2174 ac_aux_dir=$ac_dir 2175 ac_install_sh="$ac_aux_dir/$ac_t -c" 2176 break 2 2177 fi 2178 done 2179done 2180if test -z "$ac_aux_dir"; then 2181 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2182fi 2183 2184# These three variables are undocumented and unsupported, 2185# and are intended to be withdrawn in a future Autoconf release. 2186# They can cause serious problems if a builder's source tree is in a directory 2187# whose full name contains unusual characters. 2188ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2189ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2190ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2191 2192 2193# Make sure we can run config.sub. 2194$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2195 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2196 2197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2198$as_echo_n "checking build system type... " >&6; } 2199if test "${ac_cv_build+set}" = set; then : 2200 $as_echo_n "(cached) " >&6 2201else 2202 ac_build_alias=$build_alias 2203test "x$ac_build_alias" = x && 2204 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2205test "x$ac_build_alias" = x && 2206 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2207ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2208 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2209 2210fi 2211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2212$as_echo "$ac_cv_build" >&6; } 2213case $ac_cv_build in 2214*-*-*) ;; 2215*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2216esac 2217build=$ac_cv_build 2218ac_save_IFS=$IFS; IFS='-' 2219set x $ac_cv_build 2220shift 2221build_cpu=$1 2222build_vendor=$2 2223shift; shift 2224# Remember, the first character of IFS is used to create $*, 2225# except with old shells: 2226build_os=$* 2227IFS=$ac_save_IFS 2228case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2229 2230 2231 case ${build_alias} in 2232 "") build_noncanonical=${build} ;; 2233 *) build_noncanonical=${build_alias} ;; 2234esac 2235 2236 2237 2238 case ${host_alias} in 2239 "") host_noncanonical=${build_noncanonical} ;; 2240 *) host_noncanonical=${host_alias} ;; 2241esac 2242 2243 2244 2245 case ${target_alias} in 2246 "") target_noncanonical=${host_noncanonical} ;; 2247 *) target_noncanonical=${target_alias} ;; 2248esac 2249 2250 2251 2252 2253test "$host_noncanonical" = "$target_noncanonical" && 2254 test "$program_prefix$program_suffix$program_transform_name" = \ 2255 NONENONEs,x,x, && 2256 program_transform_name=s,y,y, 2257 2258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2259$as_echo_n "checking host system type... " >&6; } 2260if test "${ac_cv_host+set}" = set; then : 2261 $as_echo_n "(cached) " >&6 2262else 2263 if test "x$host_alias" = x; then 2264 ac_cv_host=$ac_cv_build 2265else 2266 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2267 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2268fi 2269 2270fi 2271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2272$as_echo "$ac_cv_host" >&6; } 2273case $ac_cv_host in 2274*-*-*) ;; 2275*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2276esac 2277host=$ac_cv_host 2278ac_save_IFS=$IFS; IFS='-' 2279set x $ac_cv_host 2280shift 2281host_cpu=$1 2282host_vendor=$2 2283shift; shift 2284# Remember, the first character of IFS is used to create $*, 2285# except with old shells: 2286host_os=$* 2287IFS=$ac_save_IFS 2288case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2289 2290 2291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2292$as_echo_n "checking target system type... " >&6; } 2293if test "${ac_cv_target+set}" = set; then : 2294 $as_echo_n "(cached) " >&6 2295else 2296 if test "x$target_alias" = x; then 2297 ac_cv_target=$ac_cv_host 2298else 2299 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2300 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2301fi 2302 2303fi 2304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2305$as_echo "$ac_cv_target" >&6; } 2306case $ac_cv_target in 2307*-*-*) ;; 2308*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2309esac 2310target=$ac_cv_target 2311ac_save_IFS=$IFS; IFS='-' 2312set x $ac_cv_target 2313shift 2314target_cpu=$1 2315target_vendor=$2 2316shift; shift 2317# Remember, the first character of IFS is used to create $*, 2318# except with old shells: 2319target_os=$* 2320IFS=$ac_save_IFS 2321case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2322 2323 2324# The aliases save the names the user supplied, while $host etc. 2325# will get canonicalized. 2326test -n "$target_alias" && 2327 test "$program_prefix$program_suffix$program_transform_name" = \ 2328 NONENONEs,x,x, && 2329 program_prefix=${target_alias}- 2330 2331test "$program_prefix" != NONE && 2332 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2333# Use a double $ so make ignores it. 2334test "$program_suffix" != NONE && 2335 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2336# Double any \ or $. 2337# By default was `s,x,x', remove it if useless. 2338ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2339program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2340 2341 2342 2343# Get 'install' or 'install-sh' and its variants. 2344# Find a good install program. We prefer a C program (faster), 2345# so one script is as good as another. But avoid the broken or 2346# incompatible versions: 2347# SysV /etc/install, /usr/sbin/install 2348# SunOS /usr/etc/install 2349# IRIX /sbin/install 2350# AIX /bin/install 2351# AmigaOS /C/install, which installs bootblocks on floppy discs 2352# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2353# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2354# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2355# OS/2's system install, which has a completely different semantic 2356# ./install, which can be erroneously created by make from ./install.sh. 2357# Reject install programs that cannot install multiple files. 2358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2359$as_echo_n "checking for a BSD-compatible install... " >&6; } 2360if test -z "$INSTALL"; then 2361if test "${ac_cv_path_install+set}" = set; then : 2362 $as_echo_n "(cached) " >&6 2363else 2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2365for as_dir in $PATH 2366do 2367 IFS=$as_save_IFS 2368 test -z "$as_dir" && as_dir=. 2369 # Account for people who put trailing slashes in PATH elements. 2370case $as_dir/ in #(( 2371 ./ | .// | /[cC]/* | \ 2372 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2373 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2374 /usr/ucb/* ) ;; 2375 *) 2376 # OSF1 and SCO ODT 3.0 have their own names for install. 2377 # Don't use installbsd from OSF since it installs stuff as root 2378 # by default. 2379 for ac_prog in ginstall scoinst install; do 2380 for ac_exec_ext in '' $ac_executable_extensions; do 2381 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2382 if test $ac_prog = install && 2383 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2384 # AIX install. It has an incompatible calling convention. 2385 : 2386 elif test $ac_prog = install && 2387 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2388 # program-specific install script used by HP pwplus--don't use. 2389 : 2390 else 2391 rm -rf conftest.one conftest.two conftest.dir 2392 echo one > conftest.one 2393 echo two > conftest.two 2394 mkdir conftest.dir 2395 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2396 test -s conftest.one && test -s conftest.two && 2397 test -s conftest.dir/conftest.one && 2398 test -s conftest.dir/conftest.two 2399 then 2400 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2401 break 3 2402 fi 2403 fi 2404 fi 2405 done 2406 done 2407 ;; 2408esac 2409 2410 done 2411IFS=$as_save_IFS 2412 2413rm -rf conftest.one conftest.two conftest.dir 2414 2415fi 2416 if test "${ac_cv_path_install+set}" = set; then 2417 INSTALL=$ac_cv_path_install 2418 else 2419 # As a last resort, use the slow shell script. Don't cache a 2420 # value for INSTALL within a source directory, because that will 2421 # break other packages using the cache if that directory is 2422 # removed, or if the value is a relative name. 2423 INSTALL=$ac_install_sh 2424 fi 2425fi 2426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2427$as_echo "$INSTALL" >&6; } 2428 2429# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2430# It thinks the first close brace ends the variable substitution. 2431test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2432 2433test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2434 2435test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2436 2437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5 2438$as_echo_n "checking whether ln works... " >&6; } 2439if test "${acx_cv_prog_LN+set}" = set; then : 2440 $as_echo_n "(cached) " >&6 2441else 2442 rm -f conftestdata_t 2443echo >conftestdata_f 2444if ln conftestdata_f conftestdata_t 2>/dev/null 2445then 2446 acx_cv_prog_LN=ln 2447else 2448 acx_cv_prog_LN=no 2449fi 2450rm -f conftestdata_f conftestdata_t 2451 2452fi 2453if test $acx_cv_prog_LN = no; then 2454 LN="cp" 2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5 2456$as_echo "no, using $LN" >&6; } 2457else 2458 LN="$acx_cv_prog_LN" 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2460$as_echo "yes" >&6; } 2461fi 2462 2463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2464$as_echo_n "checking whether ln -s works... " >&6; } 2465LN_S=$as_ln_s 2466if test "$LN_S" = "ln -s"; then 2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2468$as_echo "yes" >&6; } 2469else 2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2471$as_echo "no, using $LN_S" >&6; } 2472fi 2473 2474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 2475$as_echo_n "checking for a sed that does not truncate output... " >&6; } 2476if test "${ac_cv_path_SED+set}" = set; then : 2477 $as_echo_n "(cached) " >&6 2478else 2479 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 2480 for ac_i in 1 2 3 4 5 6 7; do 2481 ac_script="$ac_script$as_nl$ac_script" 2482 done 2483 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 2484 { ac_script=; unset ac_script;} 2485 if test -z "$SED"; then 2486 ac_path_SED_found=false 2487 # Loop through the user's path and test for each of PROGNAME-LIST 2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2489for as_dir in $PATH 2490do 2491 IFS=$as_save_IFS 2492 test -z "$as_dir" && as_dir=. 2493 for ac_prog in sed gsed; do 2494 for ac_exec_ext in '' $ac_executable_extensions; do 2495 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 2496 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 2497# Check for GNU ac_path_SED and select it if it is found. 2498 # Check for GNU $ac_path_SED 2499case `"$ac_path_SED" --version 2>&1` in 2500*GNU*) 2501 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 2502*) 2503 ac_count=0 2504 $as_echo_n 0123456789 >"conftest.in" 2505 while : 2506 do 2507 cat "conftest.in" "conftest.in" >"conftest.tmp" 2508 mv "conftest.tmp" "conftest.in" 2509 cp "conftest.in" "conftest.nl" 2510 $as_echo '' >> "conftest.nl" 2511 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 2512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2513 as_fn_arith $ac_count + 1 && ac_count=$as_val 2514 if test $ac_count -gt ${ac_path_SED_max-0}; then 2515 # Best one so far, save it but keep looking for a better one 2516 ac_cv_path_SED="$ac_path_SED" 2517 ac_path_SED_max=$ac_count 2518 fi 2519 # 10*(2^10) chars as input seems more than enough 2520 test $ac_count -gt 10 && break 2521 done 2522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2523esac 2524 2525 $ac_path_SED_found && break 3 2526 done 2527 done 2528 done 2529IFS=$as_save_IFS 2530 if test -z "$ac_cv_path_SED"; then 2531 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 2532 fi 2533else 2534 ac_cv_path_SED=$SED 2535fi 2536 2537fi 2538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 2539$as_echo "$ac_cv_path_SED" >&6; } 2540 SED="$ac_cv_path_SED" 2541 rm -f conftest.sed 2542 2543for ac_prog in gawk mawk nawk awk 2544do 2545 # Extract the first word of "$ac_prog", so it can be a program name with args. 2546set dummy $ac_prog; ac_word=$2 2547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2548$as_echo_n "checking for $ac_word... " >&6; } 2549if test "${ac_cv_prog_AWK+set}" = set; then : 2550 $as_echo_n "(cached) " >&6 2551else 2552 if test -n "$AWK"; then 2553 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2554else 2555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2556for as_dir in $PATH 2557do 2558 IFS=$as_save_IFS 2559 test -z "$as_dir" && as_dir=. 2560 for ac_exec_ext in '' $ac_executable_extensions; do 2561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2562 ac_cv_prog_AWK="$ac_prog" 2563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2564 break 2 2565 fi 2566done 2567 done 2568IFS=$as_save_IFS 2569 2570fi 2571fi 2572AWK=$ac_cv_prog_AWK 2573if test -n "$AWK"; then 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2575$as_echo "$AWK" >&6; } 2576else 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2578$as_echo "no" >&6; } 2579fi 2580 2581 2582 test -n "$AWK" && break 2583done 2584 2585 2586### we might need to use some other shell than /bin/sh for running subshells 2587### If we are on Windows, search for the shell. This will permit people 2588### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure 2589### without also having to set CONFIG_SHELL. This code will work when 2590### using bash, which sets OSTYPE. 2591case "${OSTYPE}" in 2592*win32*) 2593 if test x${CONFIG_SHELL} = x ; then 2594 if test ! -f /bin/sh ; then 2595 if test x${SHELL} != x && test -f ${SHELL} ; then 2596 CONFIG_SHELL=${SHELL} 2597 export CONFIG_SHELL 2598 else 2599 for prog in sh sh.exe bash bash.exe; do 2600 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:" 2601 for dir in $PATH; do 2602 test -z "$dir" && dir=. 2603 if test -f $dir/$prog; then 2604 CONFIG_SHELL=$dir/$prog 2605 export CONFIG_SHELL 2606 break 2607 fi 2608 done 2609 IFS="$save_ifs" 2610 test -n "${CONFIG_SHELL}" && break 2611 done 2612 fi 2613 fi 2614 fi 2615 ;; 2616esac 2617 2618config_shell=${CONFIG_SHELL-/bin/sh} 2619 2620moveifchange=${srcdir}/move-if-change 2621 2622srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}` 2623 2624# We pass INSTALL explicitly to sub-makes. Make sure that it is not 2625# a relative path. 2626if test "$INSTALL" = "${srcdir}/install-sh -c"; then 2627 INSTALL="${srcpwd}/install-sh -c" 2628fi 2629 2630# Set srcdir to "." if that's what it is. 2631# This is important for multilib support. 2632pwd=`${PWDCMD-pwd}` 2633if test "${pwd}" = "${srcpwd}" ; then 2634 srcdir=. 2635fi 2636 2637topsrcdir=$srcpwd 2638 2639extra_host_args= 2640 2641### To add a new directory to the tree, first choose whether it is a target 2642### or a host dependent tool. Then put it into the appropriate list 2643### (library or tools, host or target), doing a dependency sort. 2644 2645# Subdirs will be configured in the order listed in build_configdirs, 2646# configdirs, or target_configdirs; see the serialization section below. 2647 2648# Dependency sorting is only needed when *configuration* must be done in 2649# a particular order. In all cases a dependency should be specified in 2650# the Makefile, whether or not it's implicitly specified here. 2651 2652# Double entries in build_configdirs, configdirs, or target_configdirs may 2653# cause circular dependencies and break everything horribly. 2654 2655# these library is used by various programs built for the build 2656# environment 2657# 2658build_libs="build-libiberty" 2659 2660# these tools are built for the build environment 2661build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes" 2662 2663# these libraries are used by various programs built for the host environment 2664# 2665host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv" 2666 2667# these tools are built for the host environment 2668# Note, the powerpc-eabi build depends on sim occurring before gdb in order to 2669# know that we are building the simulator. 2670# binutils, gas and ld appear in that order because it makes sense to run 2671# "make check" in that particular order. 2672# If --enable-gold is used, "gold" may replace "ld". 2673host_tools="byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools" 2674 2675# libgcj represents the runtime libraries only used by gcj. 2676libgcj="target-libffi \ 2677 target-zlib \ 2678 target-qthreads \ 2679 target-libjava" 2680 2681# these libraries are built for the target environment, and are built after 2682# the host libraries and the host tools (which may be a cross compiler) 2683# 2684target_libraries="target-libgcc \ 2685 target-libiberty \ 2686 target-libgloss \ 2687 target-newlib \ 2688 target-libgomp \ 2689 target-libstdc++-v3 \ 2690 target-libmudflap \ 2691 target-libssp \ 2692 target-libgfortran \ 2693 target-boehm-gc \ 2694 ${libgcj} \ 2695 target-libobjc \ 2696 target-libada" 2697 2698# these tools are built using the target libraries, and are intended to 2699# run only in the target environment 2700# 2701# note: any program that *uses* libraries that are in the "target_libraries" 2702# list belongs in this list. those programs are also very likely 2703# candidates for the "native_only" list which follows 2704# 2705target_tools="target-examples target-groff target-gperf target-rda" 2706 2707################################################################################ 2708 2709## All tools belong in one of the four categories, and are assigned above 2710## We assign ${configdirs} this way to remove all embedded newlines. This 2711## is important because configure will choke if they ever get through. 2712## ${configdirs} is directories we build using the host tools. 2713## ${target_configdirs} is directories we build using the target tools. 2714configdirs=`echo ${host_libs} ${host_tools}` 2715target_configdirs=`echo ${target_libraries} ${target_tools}` 2716build_configdirs=`echo ${build_libs} ${build_tools}` 2717 2718 2719 2720################################################################################ 2721 2722srcname="gnu development package" 2723 2724# This gets set non-empty for some net releases of packages. 2725appdirs="" 2726 2727# Define is_cross_compiler to save on calls to 'test'. 2728is_cross_compiler= 2729if test x"${host}" = x"${target}" ; then 2730 is_cross_compiler=no 2731else 2732 is_cross_compiler=yes 2733fi 2734 2735# Find the build and target subdir names. 2736 2737# post-stage1 host modules use a different CC_FOR_BUILD so, in order to 2738# have matching libraries, they should use host libraries: Makefile.tpl 2739# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR). 2740# However, they still use the build modules, because the corresponding 2741# host modules (e.g. bison) are only built for the host when bootstrap 2742# finishes. So: 2743# - build_subdir is where we find build modules, and never changes. 2744# - build_libsubdir is where we find build libraries, and can be overridden. 2745 2746# Prefix 'build-' so this never conflicts with target_subdir. 2747build_subdir="build-${build_noncanonical}" 2748 2749# Check whether --with-build-libsubdir was given. 2750if test "${with_build_libsubdir+set}" = set; then : 2751 withval=$with_build_libsubdir; build_libsubdir="$withval" 2752else 2753 build_libsubdir="$build_subdir" 2754fi 2755 2756# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories 2757if ( test $srcdir = . && test -d gcc ) \ 2758 || test -d $srcdir/../host-${host_noncanonical}; then 2759 host_subdir="host-${host_noncanonical}" 2760else 2761 host_subdir=. 2762fi 2763# No prefix. 2764target_subdir=${target_noncanonical} 2765 2766# Be sure to cover against remnants of an in-tree build. 2767if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then 2768 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}. 2769Use a pristine source tree when building in a separate tree" "$LINENO" 5 2770fi 2771 2772# Skipdirs are removed silently. 2773skipdirs= 2774# Noconfigdirs are removed loudly. 2775noconfigdirs="" 2776 2777use_gnu_ld= 2778# Make sure we don't let GNU ld be added if we didn't want it. 2779if test x$with_gnu_ld = xno ; then 2780 use_gnu_ld=no 2781 noconfigdirs="$noconfigdirs ld gold" 2782fi 2783 2784use_gnu_as= 2785# Make sure we don't let GNU as be added if we didn't want it. 2786if test x$with_gnu_as = xno ; then 2787 use_gnu_as=no 2788 noconfigdirs="$noconfigdirs gas" 2789fi 2790 2791use_included_zlib= 2792# Make sure we don't let ZLIB be added if we didn't want it. 2793if test x$with_system_zlib = xyes ; then 2794 use_included_zlib=no 2795 noconfigdirs="$noconfigdirs zlib" 2796fi 2797 2798# some tools are so dependent upon X11 that if we're not building with X, 2799# it's not even worth trying to configure, much less build, that tool. 2800 2801case ${with_x} in 2802 yes | "") ;; # the default value for this tree is that X11 is available 2803 no) 2804 skipdirs="${skipdirs} tk itcl libgui" 2805 # We won't be able to build gdbtk without X. 2806 enable_gdbtk=no 2807 ;; 2808 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;; 2809esac 2810 2811# Some tools are only suitable for building in a "native" situation. 2812# Remove these if host!=target. 2813native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf" 2814 2815# Similarly, some are only suitable for cross toolchains. 2816# Remove these if host=target. 2817cross_only="target-libgloss target-newlib target-opcodes" 2818 2819case $is_cross_compiler in 2820 no) skipdirs="${skipdirs} ${cross_only}" ;; 2821 yes) skipdirs="${skipdirs} ${native_only}" ;; 2822esac 2823 2824# If both --with-headers and --with-libs are specified, default to 2825# --without-newlib. 2826if test x"${with_headers}" != x && test x"${with_headers}" != xno \ 2827 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then 2828 if test x"${with_newlib}" = x ; then 2829 with_newlib=no 2830 fi 2831fi 2832 2833# Recognize --with-newlib/--without-newlib. 2834case ${with_newlib} in 2835 no) skipdirs="${skipdirs} target-newlib" ;; 2836 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;; 2837esac 2838 2839# Handle --enable-gold, --enable-ld. 2840# --disable-gold [--enable-ld] 2841# Build only ld. Default option. 2842# --enable-gold [--enable-ld] 2843# Build both gold and ld. Install gold as "ld.gold", install ld 2844# as "ld.bfd" and "ld". 2845# --enable-gold=default [--enable-ld] 2846# Build both gold and ld. Install gold as "ld.gold" and "ld", 2847# install ld as "ld.bfd". 2848# --enable-gold[=default] --disable-ld 2849# Build only gold, which is then installed as both "ld.gold" and "ld". 2850# --enable-gold --enable-ld=default 2851# Build both gold (installed as "ld.gold") and ld (installed as "ld" 2852# and ld.bfd). 2853# In other words, ld is default 2854# --enable-gold=default --enable-ld=default 2855# Error. 2856 2857default_ld= 2858# Check whether --enable-gold was given. 2859if test "${enable_gold+set}" = set; then : 2860 enableval=$enable_gold; ENABLE_GOLD=$enableval 2861else 2862 ENABLE_GOLD=no 2863fi 2864 2865case "${ENABLE_GOLD}" in 2866 yes|default) 2867 # Check for ELF target. 2868 is_elf=no 2869 case "${target}" in 2870 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \ 2871 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \ 2872 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2* | *-*-nto*) 2873 case "${target}" in 2874 *-*-linux*aout* | *-*-linux*oldld*) 2875 ;; 2876 *) 2877 is_elf=yes 2878 ;; 2879 esac 2880 esac 2881 2882 if test "$is_elf" = "yes"; then 2883 # Check for target supported by gold. 2884 case "${target}" in 2885 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*) 2886 configdirs="$configdirs gold" 2887 if test x${ENABLE_GOLD} = xdefault; then 2888 default_ld=gold 2889 fi 2890 ENABLE_GOLD=yes 2891 ;; 2892 esac 2893 fi 2894 ;; 2895 no) 2896 ;; 2897 *) 2898 as_fn_error "invalid --enable-gold argument" "$LINENO" 5 2899 ;; 2900esac 2901 2902# Check whether --enable-ld was given. 2903if test "${enable_ld+set}" = set; then : 2904 enableval=$enable_ld; ENABLE_LD=$enableval 2905else 2906 ENABLE_LD=yes 2907fi 2908 2909 2910case "${ENABLE_LD}" in 2911 default) 2912 if test x${default_ld} != x; then 2913 as_fn_error "either gold or ld can be the default ld" "$LINENO" 5 2914 fi 2915 ;; 2916 yes) 2917 ;; 2918 no) 2919 if test x${ENABLE_GOLD} != xyes; then 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5 2921$as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;} 2922 fi 2923 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'` 2924 ;; 2925 *) 2926 as_fn_error "invalid --enable-ld argument" "$LINENO" 5 2927 ;; 2928esac 2929 2930# Configure extra directories which are host specific 2931 2932case "${host}" in 2933 *-cygwin*) 2934 configdirs="$configdirs libtermcap" ;; 2935esac 2936 2937# A target can indicate whether a language isn't supported for some reason. 2938# Only spaces may be used in this macro; not newlines or tabs. 2939unsupported_languages= 2940 2941# Remove more programs from consideration, based on the host or 2942# target this usually means that a port of the program doesn't 2943# exist yet. 2944 2945case "${host}" in 2946 hppa*64*-*-*) 2947 noconfigdirs="$noconfigdirs byacc" 2948 ;; 2949 i[3456789]86-*-vsta) 2950 noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext" 2951 ;; 2952 i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*) 2953 noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi" 2954 ;; 2955 x86_64-*-mingw*) 2956 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib" 2957 ;; 2958 i[3456789]86-*-mingw32*) 2959 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv" 2960 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib" 2961 ;; 2962 i[3456789]86-*-beos*) 2963 noconfigdirs="$noconfigdirs tk itcl libgui gdb" 2964 ;; 2965 *-*-cygwin*) 2966 noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl" 2967 ;; 2968 *-*-netbsd*) 2969 noconfigdirs="$noconfigdirs rcs" 2970 ;; 2971 ppc*-*-pe) 2972 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv" 2973 ;; 2974 powerpc-*-beos*) 2975 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline" 2976 ;; 2977esac 2978 2979 2980# Check whether --enable-libada was given. 2981if test "${enable_libada+set}" = set; then : 2982 enableval=$enable_libada; ENABLE_LIBADA=$enableval 2983else 2984 ENABLE_LIBADA=yes 2985fi 2986 2987if test "${ENABLE_LIBADA}" != "yes" ; then 2988 noconfigdirs="$noconfigdirs gnattools" 2989fi 2990 2991# Check whether --enable-libssp was given. 2992if test "${enable_libssp+set}" = set; then : 2993 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval 2994else 2995 ENABLE_LIBSSP=yes 2996fi 2997 2998 2999# Save it here so that, even in case of --enable-libgcj, if the Java 3000# front-end isn't enabled, we still get libgcj disabled. 3001libgcj_saved=$libgcj 3002case $enable_libgcj in 3003yes) 3004 # If we reset it here, it won't get added to noconfigdirs in the 3005 # target-specific build rules, so it will be forcibly enabled 3006 # (unless the Java language itself isn't enabled). 3007 libgcj= 3008 ;; 3009no) 3010 # Make sure we get it printed in the list of not supported target libs. 3011 noconfigdirs="$noconfigdirs ${libgcj}" 3012 ;; 3013esac 3014 3015 3016# Disable libmudflap on some systems. 3017if test x$enable_libmudflap = x ; then 3018 case "${target}" in 3019 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu) 3020 # Enable libmudflap by default in GNU and friends. 3021 ;; 3022 *-*-freebsd*) 3023 # Enable libmudflap by default in FreeBSD. 3024 ;; 3025 *) 3026 # Disable it by default everywhere else. 3027 noconfigdirs="$noconfigdirs target-libmudflap" 3028 ;; 3029 esac 3030fi 3031 3032# Disable libgomp on non POSIX hosted systems. 3033if test x$enable_libgomp = x ; then 3034 # Enable libgomp by default on hosted POSIX systems. 3035 case "${target}" in 3036 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) 3037 ;; 3038 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*) 3039 ;; 3040 *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*) 3041 ;; 3042 *-*-darwin* | *-*-aix*) 3043 ;; 3044 *) 3045 noconfigdirs="$noconfigdirs target-libgomp" 3046 ;; 3047 esac 3048fi 3049 3050# Default libgloss CPU subdirectory. 3051libgloss_dir="$target_cpu" 3052 3053case "${target}" in 3054 *-*-chorusos) 3055 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}" 3056 ;; 3057 powerpc-*-darwin*) 3058 noconfigdirs="$noconfigdirs ld gas gdb gprof" 3059 noconfigdirs="$noconfigdirs sim target-rda" 3060 ;; 3061 i[3456789]86-*-darwin*) 3062 noconfigdirs="$noconfigdirs ld gprof" 3063 noconfigdirs="$noconfigdirs sim target-rda" 3064 ;; 3065 x86_64-*-darwin[912]*) 3066 noconfigdirs="$noconfigdirs ld gas gprof" 3067 noconfigdirs="$noconfigdirs sim target-rda" 3068 ;; 3069 *-*-darwin*) 3070 noconfigdirs="$noconfigdirs ld gas gdb gprof" 3071 noconfigdirs="$noconfigdirs sim target-rda" 3072 noconfigdirs="$noconfigdirs ${libgcj}" 3073 ;; 3074 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*) 3075 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}" 3076 ;; 3077 *-*-freebsd*) 3078 noconfigdirs="$noconfigdirs target-newlib target-libgloss" 3079 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \ 3080 && test -f /usr/local/include/gmp.h; then 3081 with_gmp=/usr/local 3082 fi 3083 3084 # Skip some stuff that's unsupported on some FreeBSD configurations. 3085 case "${target}" in 3086 i*86-*-*) ;; 3087 alpha*-*-*) ;; 3088 x86_64-*-*) ;; 3089 *) 3090 noconfigdirs="$noconfigdirs ${libgcj}" 3091 ;; 3092 esac 3093 ;; 3094 *-*-kaos*) 3095 # Remove unsupported stuff on all kaOS configurations. 3096 skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx" 3097 skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf" 3098 skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib" 3099 noconfigdirs="$noconfigdirs target-libgloss" 3100 ;; 3101 *-*-netbsd*) 3102 # Skip some stuff on all NetBSD configurations. 3103 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss" 3104 3105 # Skip some stuff that's unsupported on some NetBSD configurations. 3106 case "${target}" in 3107 i*86-*-netbsdelf*) ;; 3108 arm*-*-netbsdelf*) ;; 3109 *) 3110 noconfigdirs="$noconfigdirs ${libgcj}" 3111 ;; 3112 esac 3113 ;; 3114 *-*-netware*) 3115 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap" 3116 ;; 3117 *-*-rtems*) 3118 skipdirs="${skipdirs} target-libiberty" 3119 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3120 ;; 3121 # The tpf target doesn't support gdb yet. 3122 *-*-tpf*) 3123 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl" 3124 ;; 3125 *-*-uclinux*) 3126 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}" 3127 ;; 3128 *-*-vxworks*) 3129 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}" 3130 ;; 3131 alpha*-dec-osf*) 3132 # ld works, but does not support shared libraries. 3133 # newlib is not 64 bit ready. I'm not sure about fileutils. 3134 # gas doesn't generate exception information. 3135 noconfigdirs="$noconfigdirs gas ld fileutils target-newlib target-libgloss" 3136 ;; 3137 alpha*-*-*vms*) 3138 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}" 3139 ;; 3140 alpha*-*-linux*) 3141 # newlib is not 64 bit ready 3142 noconfigdirs="$noconfigdirs target-newlib target-libgloss" 3143 ;; 3144 alpha*-*-*) 3145 # newlib is not 64 bit ready 3146 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}" 3147 ;; 3148 am33_2.0-*-linux*) 3149 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 3150 ;; 3151 sh-*-linux*) 3152 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 3153 ;; 3154 sh*-*-pe|mips*-*-pe|*arm-wince-pe) 3155 noconfigdirs="$noconfigdirs ${libgcj}" 3156 noconfigdirs="$noconfigdirs target-examples" 3157 noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr" 3158 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim" 3159 noconfigdirs="$noconfigdirs expect dejagnu" 3160 # the C++ libraries don't build on top of CE's C libraries 3161 noconfigdirs="$noconfigdirs target-libstdc++-v3" 3162 noconfigdirs="$noconfigdirs target-newlib" 3163 case "${host}" in 3164 *-*-cygwin*) ;; # keep gdb and readline 3165 *) noconfigdirs="$noconfigdirs gdb readline" 3166 ;; 3167 esac 3168 libgloss_dir=wince 3169 ;; 3170 arc-*-*) 3171 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3172 ;; 3173 arm-semi-aof ) 3174 ;; 3175 arm-*-coff | strongarm-*-coff | xscale-*-coff) 3176 noconfigdirs="$noconfigdirs ${libgcj}" 3177 libgloss_dir=arm 3178 ;; 3179 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* ) 3180 noconfigdirs="$noconfigdirs target-libffi target-qthreads" 3181 libgloss_dir=arm 3182 ;; 3183 arm*-*-linux-gnueabi) 3184 noconfigdirs="$noconfigdirs target-qthreads" 3185 case ${with_newlib} in 3186 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss" 3187 esac 3188 libgloss_dir=arm 3189 ;; 3190 arm*-*-symbianelf*) 3191 noconfigdirs="$noconfigdirs ${libgcj} target-libiberty" 3192 libgloss_dir=arm 3193 ;; 3194 arm-*-pe*) 3195 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3196 ;; 3197 thumb-*-coff) 3198 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3199 ;; 3200 thumb-*-elf) 3201 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3202 ;; 3203 thumb-*-pe) 3204 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3205 ;; 3206 arm-*-riscix*) 3207 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}" 3208 ;; 3209 avr-*-*) 3210 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp" 3211 ;; 3212 bfin-*-*) 3213 unsupported_languages="$unsupported_languages java" 3214 noconfigdirs="$noconfigdirs target-boehm-gc gdb" 3215 if test x${is_cross_compiler} != xno ; then 3216 target_configdirs="${target_configdirs} target-bsp target-cygmon" 3217 fi 3218 ;; 3219 c4x-*-* | tic4x-*-*) 3220 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}" 3221 ;; 3222 c54x*-*-* | tic54x-*-*) 3223 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib" 3224 ;; 3225 cr16-*-*) 3226 noconfigdirs="$noconfigdirs ${libgcj} gdb" 3227 ;; 3228 cris-*-* | crisv32-*-*) 3229 unsupported_languages="$unsupported_languages java" 3230 case "${target}" in 3231 *-*-aout) 3232 unsupported_languages="$unsupported_languages fortran" 3233 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";; 3234 *-*-elf) 3235 noconfigdirs="$noconfigdirs target-boehm-gc";; 3236 *-*-linux*) 3237 noconfigdirs="$noconfigdirs target-newlib target-libgloss";; 3238 *) 3239 unsupported_languages="$unsupported_languages fortran" 3240 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";; 3241 esac 3242 libgloss_dir=cris 3243 ;; 3244 crx-*-*) 3245 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}" 3246 ;; 3247 d10v-*-*) 3248 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}" 3249 ;; 3250 d30v-*-*) 3251 noconfigdirs="$noconfigdirs ${libgcj} gdb" 3252 ;; 3253 ep9312-*-elf | ep9312-*-coff) 3254 libgloss_dir=arm 3255 ;; 3256 fr30-*-elf*) 3257 noconfigdirs="$noconfigdirs ${libgcj} gdb" 3258 ;; 3259 frv-*-*) 3260 noconfigdirs="$noconfigdirs ${libgcj}" 3261 ;; 3262 moxie-*-*) 3263 noconfigdirs="$noconfigdirs ${libgcj}" 3264 noconfigdirs="$noconfigdirs gprof" 3265 ;; 3266 h8300*-*-*) 3267 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3268 ;; 3269 h8500-*-*) 3270 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}" 3271 ;; 3272 hppa1.1-*-osf* | hppa1.1-*-bsd* ) 3273 ;; 3274 hppa*64*-*-linux* | parisc*64*-*-linux*) 3275 # In this case, it's because the hppa64-linux target is for 3276 # the kernel only at this point and has no libc, and thus no 3277 # headers, crt*.o, etc., all of which are needed by these. 3278 noconfigdirs="$noconfigdirs target-zlib" 3279 ;; 3280 parisc*-*-linux* | hppa*-*-linux*) 3281 ;; 3282 hppa*-*-*elf* | \ 3283 hppa*-*-lites* | \ 3284 hppa*-*-openbsd* | \ 3285 hppa*64*-*-*) 3286 noconfigdirs="$noconfigdirs ${libgcj}" 3287 ;; 3288 hppa*-hp-hpux11*) 3289 noconfigdirs="$noconfigdirs ld shellutils" 3290 ;; 3291 hppa*-*-pro*) 3292 libgloss_dir=pa 3293 ;; 3294 hppa*-*-*) 3295 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't 3296 # build on HP-UX 10.20. 3297 noconfigdirs="$noconfigdirs ld shellutils ${libgcj}" 3298 ;; 3299 i960-*-*) 3300 noconfigdirs="$noconfigdirs ${libgcj} gdb" 3301 ;; 3302 ia64*-*-elf*) 3303 # No gdb support yet. 3304 noconfigdirs="$noconfigdirs readline mmalloc libgui itcl gdb" 3305 ;; 3306 ia64*-**-hpux*) 3307 # No gdb or ld support yet. 3308 noconfigdirs="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld" 3309 ;; 3310 ia64*-*-*vms*) 3311 # No gdb or ld support yet. 3312 noconfigdirs="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld" 3313 ;; 3314 i370-*-opened*) 3315 ;; 3316 i[3456789]86-*-coff | i[3456789]86-*-elf) 3317 noconfigdirs="$noconfigdirs ${libgcj}" 3318 libgloss_dir=i386 3319 ;; 3320 i[3456789]86-*-linux*) 3321 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's 3322 # not build java stuff by default. 3323 case "${target}" in 3324 *-*-*libc1*) 3325 noconfigdirs="$noconfigdirs ${libgcj}";; 3326 esac 3327 3328 # This section makes it possible to build newlib natively on linux. 3329 # If we are using a cross compiler then don't configure newlib. 3330 if test x${is_cross_compiler} != xno ; then 3331 noconfigdirs="$noconfigdirs target-newlib" 3332 fi 3333 noconfigdirs="$noconfigdirs target-libgloss" 3334 # If we are not using a cross compiler, do configure newlib. 3335 # Note however, that newlib will only be configured in this situation 3336 # if the --with-newlib option has been given, because otherwise 3337 # 'target-newlib' will appear in skipdirs. 3338 ;; 3339 i[3456789]86-w64-mingw*) 3340 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}" 3341 ;; 3342 i[3456789]86-*-mingw*) 3343 target_configdirs="$target_configdirs target-winsup" 3344 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}" 3345 ;; 3346 x86_64-*-mingw*) 3347 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}" 3348 ;; 3349 *-*-cygwin*) 3350 target_configdirs="$target_configdirs target-libtermcap target-winsup" 3351 noconfigdirs="$noconfigdirs target-gperf target-libgloss" 3352 # always build newlib if winsup directory is present. 3353 if test -d "$srcdir/winsup/cygwin"; then 3354 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` 3355 elif test -d "$srcdir/newlib"; then 3356 echo "Warning: winsup/cygwin is missing so newlib can't be built." 3357 fi 3358 ;; 3359 i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \ 3360 i[3456789]86-*-uwin* | i[3456789]86-*-interix* ) 3361 ;; 3362 i[3456789]86-*-pe) 3363 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}" 3364 ;; 3365 i[3456789]86-*-sco3.2v5*) 3366 # The linker does not yet know about weak symbols in COFF, 3367 # and is not configured to handle mixed ELF and COFF. 3368 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}" 3369 ;; 3370 i[3456789]86-*-sco*) 3371 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}" 3372 ;; 3373 i[3456789]86-*-solaris2*) 3374 noconfigdirs="$noconfigdirs target-libgloss" 3375 ;; 3376 i[3456789]86-*-sysv4*) 3377 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3378 ;; 3379 i[3456789]86-*-beos*) 3380 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}" 3381 ;; 3382 i[3456789]86-*-rdos*) 3383 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss" 3384 ;; 3385 m32r-*-*) 3386 noconfigdirs="$noconfigdirs ${libgcj}" 3387 ;; 3388 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*) 3389 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}" 3390 libgloss_dir=m68hc11 3391 ;; 3392 m68k-*-elf*) 3393 noconfigdirs="$noconfigdirs ${libgcj}" 3394 ;; 3395 m68k-*-coff*) 3396 noconfigdirs="$noconfigdirs ${libgcj}" 3397 ;; 3398 m68*-*-* | fido-*-*) 3399 libgloss_dir=m68k 3400 ;; 3401 mcore-*-pe*) 3402 # The EPOC C++ environment does not support exceptions or rtti, 3403 # and so building libstdc++-v3 tends not to always work. 3404 noconfigdirs="$noconfigdirs target-libstdc++-v3" 3405 ;; 3406 mmix-*-*) 3407 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss" 3408 unsupported_languages="$unsupported_languages fortran java" 3409 ;; 3410 mn10200-*-*) 3411 noconfigdirs="$noconfigdirs ${libgcj}" 3412 ;; 3413 mn10300-*-*) 3414 noconfigdirs="$noconfigdirs ${libgcj}" 3415 ;; 3416 mt-*-*) 3417 noconfigdirs="$noconfigdirs sim" 3418 ;; 3419 powerpc-*-aix*) 3420 # copied from rs6000-*-* entry 3421 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}" 3422 ;; 3423 powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe) 3424 target_configdirs="$target_configdirs target-winsup" 3425 noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}" 3426 # always build newlib. 3427 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` 3428 ;; 3429 # This is temporary until we can link against shared libraries 3430 powerpcle-*-solaris*) 3431 noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}" 3432 libgloss_dir=rs6000 3433 ;; 3434 powerpc-*-beos*) 3435 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}" 3436 ;; 3437 powerpc-*-eabi) 3438 noconfigdirs="$noconfigdirs ${libgcj}" 3439 libgloss_dir=rs6000 3440 ;; 3441 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* ) 3442 libgloss_dir=rs6000 3443 ;; 3444 rs6000-*-lynxos*) 3445 noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}" 3446 ;; 3447 rs6000-*-aix*) 3448 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}" 3449 ;; 3450 rs6000-*-*) 3451 noconfigdirs="$noconfigdirs gprof ${libgcj}" 3452 ;; 3453 m68k-apollo-*) 3454 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}" 3455 ;; 3456 microblaze*) 3457 noconfigdirs="$noconfigdirs gprof target-libssp ${libgcj}" 3458 ;; 3459 mips*-sde-elf*) 3460 skipdirs="$skipdirs target-libiberty" 3461 noconfigdirs="$noconfigdirs ${libgcj}" 3462 if test x$with_newlib = xyes; then 3463 noconfigdirs="$noconfigdirs gprof" 3464 fi 3465 libgloss_dir=mips 3466 ;; 3467 mips*-*-irix5*) 3468 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}" 3469 ;; 3470 mips*-*-irix6*) 3471 # Linking libjava exceeds command-line length limits on at least 3472 # IRIX 6.2, but not on IRIX 6.5. 3473 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham 3474 # <oldham@codesourcery.com> 3475 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}" 3476 ;; 3477 mips*-*-bsd*) 3478 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}" 3479 ;; 3480 mips*-*-linux*) 3481 noconfigdirs="$noconfigdirs target-newlib target-libgloss" 3482 ;; 3483 mips*-*-*) 3484 noconfigdirs="$noconfigdirs gprof ${libgcj}" 3485 libgloss_dir=mips 3486 ;; 3487 romp-*-*) 3488 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" 3489 ;; 3490 sh-*-* | sh64-*-*) 3491 case "${host}" in 3492 i[3456789]86-*-vsta) ;; # don't add gprof back in 3493 i[3456789]86-*-go32*) ;; # don't add gprof back in 3494 i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in 3495 *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;; 3496 esac 3497 case "${target}" in 3498 sh*-*-elf) 3499 noconfigdirs="$noconfigdirs ${libgcj}" ;; 3500 *) 3501 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;; 3502 esac 3503 ;; 3504 sparclet-*-aout* | sparc86x-*-*) 3505 libgloss_dir=sparc 3506 ;; 3507 sparc-*-elf*) 3508 noconfigdirs="$noconfigdirs ${libgcj}" 3509 ;; 3510 sparc64-*-elf*) 3511 noconfigdirs="$noconfigdirs ${libgcj}" 3512 libgloss_dir=sparc 3513 ;; 3514 sparclite-*-*) 3515 noconfigdirs="$noconfigdirs ${libgcj}" 3516 libgloss_dir=sparc 3517 ;; 3518 sparc-*-sunos4*) 3519 noconfigdirs="$noconfigdirs ${libgcj}" 3520 if test x${is_cross_compiler} != xno ; then 3521 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss" 3522 else 3523 use_gnu_ld=no 3524 fi 3525 ;; 3526 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) 3527 noconfigdirs="$noconfigdirs ${libgcj}" 3528 ;; 3529 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*) 3530 ;; 3531 tic6x-*-*) 3532 noconfigdirs="$noconfigdirs gdb sim ${libgcj}" 3533 ;; 3534 v810-*-*) 3535 noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}" 3536 ;; 3537 v850*-*-*) 3538 noconfigdirs="$noconfigdirs ${libgcj}" 3539 ;; 3540 vax-*-vms) 3541 noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}" 3542 ;; 3543 vax-*-*) 3544 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}" 3545 ;; 3546 xtensa*-*-*) 3547 noconfigdirs="$noconfigdirs ${libgcj}" 3548 ;; 3549 ip2k-*-*) 3550 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}" 3551 ;; 3552 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) 3553 noconfigdirs="$noconfigdirs target-newlib target-libgloss" 3554 ;; 3555 *-*-lynxos*) 3556 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}" 3557 ;; 3558 *-*-*) 3559 noconfigdirs="$noconfigdirs ${libgcj}" 3560 ;; 3561esac 3562 3563# If we aren't building newlib, then don't build libgloss, since libgloss 3564# depends upon some newlib header files. 3565case "${noconfigdirs}" in 3566 *target-libgloss*) ;; 3567 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;; 3568esac 3569 3570# Work in distributions that contain no compiler tools, like Autoconf. 3571tentative_cc="" 3572host_makefile_frag=/dev/null 3573if test -d ${srcdir}/config ; then 3574case "${host}" in 3575 m68k-hp-hpux*) 3576 # Avoid "too much defining" errors from HPUX compiler. 3577 tentative_cc="cc -Wp,-H256000" 3578 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding. 3579 # If it's HP/UX ar, this should be harmless. 3580 RANLIB="ar ts" 3581 ;; 3582 m68k-apollo-sysv*) 3583 tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG" 3584 ;; 3585 m68k-apollo-bsd*) 3586 #None of the Apollo compilers can compile gas or binutils. The preprocessor 3587 # chokes on bfd, the compiler won't let you assign integers to enums, and 3588 # other problems. Defining CC to gcc is a questionable way to say "don't use 3589 # the apollo compiler" (the preferred version of GCC could be called cc, 3590 # or whatever), but I'm not sure leaving CC as cc is any better... 3591 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG 3592 # Used to have BISON=yacc. 3593 tentative_cc=gcc 3594 ;; 3595 m88k-dg-dgux*) 3596 tentative_cc="gcc -Wall -ansi -D__using_DGUX" 3597 ;; 3598 m88k-harris-cxux*) 3599 # Under CX/UX, we want to tell the compiler to use ANSI mode. 3600 tentative_cc="cc -Xa" 3601 host_makefile_frag="config/mh-cxux" 3602 ;; 3603 m88k-motorola-sysv*) 3604 ;; 3605 mips*-dec-ultrix*) 3606 tentative_cc="cc -Wf,-XNg1000" 3607 host_makefile_frag="config/mh-decstation" 3608 ;; 3609 mips*-nec-sysv4*) 3610 # The C compiler on NEC MIPS SVR4 needs bigger tables. 3611 tentative_cc="cc -ZXNd=5000 -ZXNg=1000" 3612 host_makefile_frag="config/mh-necv4" 3613 ;; 3614 mips*-sgi-irix4*) 3615 # Tell compiler to use K&R C. We can't compile under the SGI Ansi 3616 # environment. Also bump switch table size so that cp-parse will 3617 # compile. Bump string length limit so linker builds. 3618 tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192" 3619 ;; 3620 mips*-*-sysv4*) 3621 host_makefile_frag="config/mh-sysv4" 3622 ;; 3623 mips*-*-sysv*) 3624 # This is for a MIPS running RISC/os 4.52C. 3625 3626 # This is needed for GDB, but needs to be in the top-level make because 3627 # if a library is compiled with the bsd headers and gets linked with the 3628 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be 3629 # a different size). 3630 # ptrace(2) apparently has problems in the BSD environment. No workaround is 3631 # known except to select the sysv environment. Could we use /proc instead? 3632 # These "sysv environments" and "bsd environments" often end up being a pain. 3633 # 3634 # This is not part of CFLAGS because perhaps not all C compilers have this 3635 # option. 3636 tentative_cc="cc -systype sysv" 3637 ;; 3638 i370-ibm-opened*) 3639 tentative_cc="c89" 3640 ;; 3641 i[3456789]86-*-sysv5*) 3642 host_makefile_frag="config/mh-sysv5" 3643 ;; 3644 i[3456789]86-*-dgux*) 3645 tentative_cc="gcc -Wall -ansi -D__using_DGUX" 3646 host_makefile_frag="config/mh-dgux386" 3647 ;; 3648 i[3456789]86-ncr-sysv4.3*) 3649 # The MetaWare compiler will generate a copyright message unless you 3650 # turn it off by adding the -Hnocopyr flag. 3651 tentative_cc="cc -Hnocopyr" 3652 ;; 3653 i[3456789]86-ncr-sysv4*) 3654 # for an NCR 3000 (i486/SVR4) system. 3655 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc. 3656 # This compiler not only emits obnoxious copyright messages every time 3657 # you run it, but it chokes and dies on a whole bunch of GNU source 3658 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc. 3659 tentative_cc="/usr/ccs/ATT/cc" 3660 host_makefile_frag="config/mh-ncr3000" 3661 ;; 3662 i[3456789]86-*-sco3.2v5*) 3663 ;; 3664 i[3456789]86-*-sco*) 3665 # The native C compiler botches some simple uses of const. Unfortunately, 3666 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h. 3667 tentative_cc="cc -Dconst=" 3668 host_makefile_frag="config/mh-sco" 3669 ;; 3670 i[3456789]86-*-udk*) 3671 host_makefile_frag="config/mh-sysv5" 3672 ;; 3673 i[3456789]86-*-solaris2*) 3674 host_makefile_frag="config/mh-sysv4" 3675 ;; 3676 i[3456789]86-*-msdosdjgpp*) 3677 host_makefile_frag="config/mh-djgpp" 3678 ;; 3679 *-cygwin*) 3680 3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5 3682$as_echo_n "checking to see if cat works as expected... " >&6; } 3683echo a >cygwin-cat-check 3684if test `cat cygwin-cat-check` = a ; then 3685 rm cygwin-cat-check 3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3687$as_echo "yes" >&6; } 3688else 3689 rm cygwin-cat-check 3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3691$as_echo "no" >&6; } 3692 as_fn_error "The cat command does not ignore carriage return characters. 3693 Please either mount the build directory in binary mode or run the following 3694 commands before running any configure script: 3695set -o igncr 3696export SHELLOPTS 3697 " "$LINENO" 5 3698fi 3699 3700 host_makefile_frag="config/mh-cygwin" 3701 ;; 3702 *-mingw*) 3703 host_makefile_frag="config/mh-mingw" 3704 ;; 3705 *-interix*) 3706 host_makefile_frag="config/mh-interix" 3707 ;; 3708 vax-*-ultrix2*) 3709 # The old BSD pcc isn't up to compiling parts of gdb so use gcc 3710 tentative_cc=gcc 3711 ;; 3712 *-*-solaris2*) 3713 host_makefile_frag="config/mh-solaris" 3714 ;; 3715 m68k-sun-sunos*) 3716 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c 3717 # without overflowing the jump tables (-J says to use a 32 bit table) 3718 tentative_cc="cc -J" 3719 ;; 3720 hppa*-hp-hpux10*) 3721 tentative_cc="cc -Wp,-H256000" 3722 host_makefile_frag="config/mh-pa-hpux10" 3723 ;; 3724 hppa*-hp-hpux* | hppa*-*-hiux*) 3725 tentative_cc="cc -Wp,-H256000" 3726 host_makefile_frag="config/mh-pa" 3727 ;; 3728 hppa*-*) 3729 host_makefile_frag="config/mh-pa" 3730 ;; 3731 *-hp-hpux* | *-*-hiux*) 3732 tentative_cc="cc -Wp,-H256000" 3733 ;; 3734 rs6000-*-lynxos*) 3735 # /bin/cc is less than useful for our purposes. Always use GCC 3736 tentative_cc="/usr/cygnus/progressive/bin/gcc" 3737 host_makefile_frag="config/mh-lynxrs6k" 3738 ;; 3739 powerpc-*-darwin*) 3740 host_makefile_frag="config/mh-ppc-darwin" 3741 ;; 3742 powerpc-*-aix*) 3743 host_makefile_frag="config/mh-ppc-aix" 3744 ;; 3745 rs6000-*-aix*) 3746 host_makefile_frag="config/mh-ppc-aix" 3747 ;; 3748 *-*-lynxos*) 3749 # /bin/cc is less than useful for our purposes. Always use GCC 3750 tentative_cc="/bin/gcc" 3751 ;; 3752 *-*-sysv4*) 3753 host_makefile_frag="config/mh-sysv4" 3754 ;; 3755 # This is placed last to prevent interfering with the cases above. 3756 i[3456789]86-*-*) 3757 # Build the stage2 and stage3 compilers with -fomit-frame-pointer. 3758 host_makefile_frag="config/mh-x86omitfp" 3759 ;; 3760esac 3761fi 3762 3763# If we aren't going to be using gcc, see if we can extract a definition 3764# of CC from the fragment. 3765# Actually, use the 'pre-extracted' version above. 3766if test -z "${CC}" && test "${build}" = "${host}" ; then 3767 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:" 3768 found= 3769 for dir in $PATH; do 3770 test -z "$dir" && dir=. 3771 if test -f $dir/gcc; then 3772 found=yes 3773 break 3774 fi 3775 done 3776 IFS="$save_ifs" 3777 if test -z "${found}" && test -n "${tentative_cc}" ; then 3778 CC=$tentative_cc 3779 fi 3780fi 3781 3782if test "${build}" != "${host}" ; then 3783 AR_FOR_BUILD=${AR_FOR_BUILD-ar} 3784 AS_FOR_BUILD=${AS_FOR_BUILD-as} 3785 CC_FOR_BUILD=${CC_FOR_BUILD-gcc} 3786 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++} 3787 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj} 3788 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran} 3789 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool} 3790 LD_FOR_BUILD=${LD_FOR_BUILD-ld} 3791 NM_FOR_BUILD=${NM_FOR_BUILD-nm} 3792 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib} 3793 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres} 3794 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc} 3795else 3796 AR_FOR_BUILD="\$(AR)" 3797 AS_FOR_BUILD="\$(AS)" 3798 CC_FOR_BUILD="\$(CC)" 3799 CXX_FOR_BUILD="\$(CXX)" 3800 GCJ_FOR_BUILD="\$(GCJ)" 3801 GFORTRAN_FOR_BUILD="\$(GFORTRAN)" 3802 DLLTOOL_FOR_BUILD="\$(DLLTOOL)" 3803 LD_FOR_BUILD="\$(LD)" 3804 NM_FOR_BUILD="\$(NM)" 3805 RANLIB_FOR_BUILD="\$(RANLIB)" 3806 WINDRES_FOR_BUILD="\$(WINDRES)" 3807 WINDMC_FOR_BUILD="\$(WINDMC)" 3808fi 3809 3810ac_ext=c 3811ac_cpp='$CPP $CPPFLAGS' 3812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3814ac_compiler_gnu=$ac_cv_c_compiler_gnu 3815if test -n "$ac_tool_prefix"; then 3816 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3817set dummy ${ac_tool_prefix}gcc; ac_word=$2 3818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3819$as_echo_n "checking for $ac_word... " >&6; } 3820if test "${ac_cv_prog_CC+set}" = set; then : 3821 $as_echo_n "(cached) " >&6 3822else 3823 if test -n "$CC"; then 3824 ac_cv_prog_CC="$CC" # Let the user override the test. 3825else 3826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3827for as_dir in $PATH 3828do 3829 IFS=$as_save_IFS 3830 test -z "$as_dir" && as_dir=. 3831 for ac_exec_ext in '' $ac_executable_extensions; do 3832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3833 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3835 break 2 3836 fi 3837done 3838 done 3839IFS=$as_save_IFS 3840 3841fi 3842fi 3843CC=$ac_cv_prog_CC 3844if test -n "$CC"; then 3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3846$as_echo "$CC" >&6; } 3847else 3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3849$as_echo "no" >&6; } 3850fi 3851 3852 3853fi 3854if test -z "$ac_cv_prog_CC"; then 3855 ac_ct_CC=$CC 3856 # Extract the first word of "gcc", so it can be a program name with args. 3857set dummy gcc; ac_word=$2 3858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3859$as_echo_n "checking for $ac_word... " >&6; } 3860if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3861 $as_echo_n "(cached) " >&6 3862else 3863 if test -n "$ac_ct_CC"; then 3864 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3865else 3866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3867for as_dir in $PATH 3868do 3869 IFS=$as_save_IFS 3870 test -z "$as_dir" && as_dir=. 3871 for ac_exec_ext in '' $ac_executable_extensions; do 3872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3873 ac_cv_prog_ac_ct_CC="gcc" 3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3875 break 2 3876 fi 3877done 3878 done 3879IFS=$as_save_IFS 3880 3881fi 3882fi 3883ac_ct_CC=$ac_cv_prog_ac_ct_CC 3884if test -n "$ac_ct_CC"; then 3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3886$as_echo "$ac_ct_CC" >&6; } 3887else 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3889$as_echo "no" >&6; } 3890fi 3891 3892 if test "x$ac_ct_CC" = x; then 3893 CC="" 3894 else 3895 case $cross_compiling:$ac_tool_warned in 3896yes:) 3897{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3898$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3899ac_tool_warned=yes ;; 3900esac 3901 CC=$ac_ct_CC 3902 fi 3903else 3904 CC="$ac_cv_prog_CC" 3905fi 3906 3907if test -z "$CC"; then 3908 if test -n "$ac_tool_prefix"; then 3909 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3910set dummy ${ac_tool_prefix}cc; ac_word=$2 3911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3912$as_echo_n "checking for $ac_word... " >&6; } 3913if test "${ac_cv_prog_CC+set}" = set; then : 3914 $as_echo_n "(cached) " >&6 3915else 3916 if test -n "$CC"; then 3917 ac_cv_prog_CC="$CC" # Let the user override the test. 3918else 3919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3920for as_dir in $PATH 3921do 3922 IFS=$as_save_IFS 3923 test -z "$as_dir" && as_dir=. 3924 for ac_exec_ext in '' $ac_executable_extensions; do 3925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3926 ac_cv_prog_CC="${ac_tool_prefix}cc" 3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3928 break 2 3929 fi 3930done 3931 done 3932IFS=$as_save_IFS 3933 3934fi 3935fi 3936CC=$ac_cv_prog_CC 3937if test -n "$CC"; then 3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3939$as_echo "$CC" >&6; } 3940else 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3942$as_echo "no" >&6; } 3943fi 3944 3945 3946 fi 3947fi 3948if test -z "$CC"; then 3949 # Extract the first word of "cc", so it can be a program name with args. 3950set dummy cc; ac_word=$2 3951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3952$as_echo_n "checking for $ac_word... " >&6; } 3953if test "${ac_cv_prog_CC+set}" = set; then : 3954 $as_echo_n "(cached) " >&6 3955else 3956 if test -n "$CC"; then 3957 ac_cv_prog_CC="$CC" # Let the user override the test. 3958else 3959 ac_prog_rejected=no 3960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3961for as_dir in $PATH 3962do 3963 IFS=$as_save_IFS 3964 test -z "$as_dir" && as_dir=. 3965 for ac_exec_ext in '' $ac_executable_extensions; do 3966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3967 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3968 ac_prog_rejected=yes 3969 continue 3970 fi 3971 ac_cv_prog_CC="cc" 3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3973 break 2 3974 fi 3975done 3976 done 3977IFS=$as_save_IFS 3978 3979if test $ac_prog_rejected = yes; then 3980 # We found a bogon in the path, so make sure we never use it. 3981 set dummy $ac_cv_prog_CC 3982 shift 3983 if test $# != 0; then 3984 # We chose a different compiler from the bogus one. 3985 # However, it has the same basename, so the bogon will be chosen 3986 # first if we set CC to just the basename; use the full file name. 3987 shift 3988 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3989 fi 3990fi 3991fi 3992fi 3993CC=$ac_cv_prog_CC 3994if test -n "$CC"; then 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3996$as_echo "$CC" >&6; } 3997else 3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3999$as_echo "no" >&6; } 4000fi 4001 4002 4003fi 4004if test -z "$CC"; then 4005 if test -n "$ac_tool_prefix"; then 4006 for ac_prog in cl.exe 4007 do 4008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4009set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4011$as_echo_n "checking for $ac_word... " >&6; } 4012if test "${ac_cv_prog_CC+set}" = set; then : 4013 $as_echo_n "(cached) " >&6 4014else 4015 if test -n "$CC"; then 4016 ac_cv_prog_CC="$CC" # Let the user override the test. 4017else 4018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4019for as_dir in $PATH 4020do 4021 IFS=$as_save_IFS 4022 test -z "$as_dir" && as_dir=. 4023 for ac_exec_ext in '' $ac_executable_extensions; do 4024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4025 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4027 break 2 4028 fi 4029done 4030 done 4031IFS=$as_save_IFS 4032 4033fi 4034fi 4035CC=$ac_cv_prog_CC 4036if test -n "$CC"; then 4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4038$as_echo "$CC" >&6; } 4039else 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4041$as_echo "no" >&6; } 4042fi 4043 4044 4045 test -n "$CC" && break 4046 done 4047fi 4048if test -z "$CC"; then 4049 ac_ct_CC=$CC 4050 for ac_prog in cl.exe 4051do 4052 # Extract the first word of "$ac_prog", so it can be a program name with args. 4053set dummy $ac_prog; ac_word=$2 4054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4055$as_echo_n "checking for $ac_word... " >&6; } 4056if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4057 $as_echo_n "(cached) " >&6 4058else 4059 if test -n "$ac_ct_CC"; then 4060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4061else 4062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4063for as_dir in $PATH 4064do 4065 IFS=$as_save_IFS 4066 test -z "$as_dir" && as_dir=. 4067 for ac_exec_ext in '' $ac_executable_extensions; do 4068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4069 ac_cv_prog_ac_ct_CC="$ac_prog" 4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4071 break 2 4072 fi 4073done 4074 done 4075IFS=$as_save_IFS 4076 4077fi 4078fi 4079ac_ct_CC=$ac_cv_prog_ac_ct_CC 4080if test -n "$ac_ct_CC"; then 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4082$as_echo "$ac_ct_CC" >&6; } 4083else 4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4085$as_echo "no" >&6; } 4086fi 4087 4088 4089 test -n "$ac_ct_CC" && break 4090done 4091 4092 if test "x$ac_ct_CC" = x; then 4093 CC="" 4094 else 4095 case $cross_compiling:$ac_tool_warned in 4096yes:) 4097{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4098$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4099ac_tool_warned=yes ;; 4100esac 4101 CC=$ac_ct_CC 4102 fi 4103fi 4104 4105fi 4106 4107 4108test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4109$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4110as_fn_error "no acceptable C compiler found in \$PATH 4111See \`config.log' for more details." "$LINENO" 5; } 4112 4113# Provide some information about the compiler. 4114$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4115set X $ac_compile 4116ac_compiler=$2 4117for ac_option in --version -v -V -qversion; do 4118 { { ac_try="$ac_compiler $ac_option >&5" 4119case "(($ac_try" in 4120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4121 *) ac_try_echo=$ac_try;; 4122esac 4123eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4124$as_echo "$ac_try_echo"; } >&5 4125 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4126 ac_status=$? 4127 if test -s conftest.err; then 4128 sed '10a\ 4129... rest of stderr output deleted ... 4130 10q' conftest.err >conftest.er1 4131 cat conftest.er1 >&5 4132 rm -f conftest.er1 conftest.err 4133 fi 4134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4135 test $ac_status = 0; } 4136done 4137 4138cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4139/* end confdefs.h. */ 4140 4141int 4142main () 4143{ 4144 4145 ; 4146 return 0; 4147} 4148_ACEOF 4149ac_clean_files_save=$ac_clean_files 4150ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 4151# Try to create an executable without -o first, disregard a.out. 4152# It will help us diagnose broken compilers, and finding out an intuition 4153# of exeext. 4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4155$as_echo_n "checking for C compiler default output file name... " >&6; } 4156ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4157 4158# The possible output files: 4159ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4160 4161ac_rmfiles= 4162for ac_file in $ac_files 4163do 4164 case $ac_file in 4165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4166 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4167 esac 4168done 4169rm -f $ac_rmfiles 4170 4171if { { ac_try="$ac_link_default" 4172case "(($ac_try" in 4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4174 *) ac_try_echo=$ac_try;; 4175esac 4176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4177$as_echo "$ac_try_echo"; } >&5 4178 (eval "$ac_link_default") 2>&5 4179 ac_status=$? 4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4181 test $ac_status = 0; }; then : 4182 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4183# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4184# in a Makefile. We should not override ac_cv_exeext if it was cached, 4185# so that the user can short-circuit this test for compilers unknown to 4186# Autoconf. 4187for ac_file in $ac_files '' 4188do 4189 test -f "$ac_file" || continue 4190 case $ac_file in 4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4192 ;; 4193 [ab].out ) 4194 # We found the default executable, but exeext='' is most 4195 # certainly right. 4196 break;; 4197 *.* ) 4198 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4199 then :; else 4200 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4201 fi 4202 # We set ac_cv_exeext here because the later test for it is not 4203 # safe: cross compilers may not add the suffix if given an `-o' 4204 # argument, so we may need to know it at that point already. 4205 # Even if this section looks crufty: it has the advantage of 4206 # actually working. 4207 break;; 4208 * ) 4209 break;; 4210 esac 4211done 4212test "$ac_cv_exeext" = no && ac_cv_exeext= 4213 4214else 4215 ac_file='' 4216fi 4217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4218$as_echo "$ac_file" >&6; } 4219if test -z "$ac_file"; then : 4220 $as_echo "$as_me: failed program was:" >&5 4221sed 's/^/| /' conftest.$ac_ext >&5 4222 4223{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4225{ as_fn_set_status 77 4226as_fn_error "C compiler cannot create executables 4227See \`config.log' for more details." "$LINENO" 5; }; } 4228fi 4229ac_exeext=$ac_cv_exeext 4230 4231# Check that the compiler produces executables we can run. If not, either 4232# the compiler is broken, or we cross compile. 4233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4234$as_echo_n "checking whether the C compiler works... " >&6; } 4235# If not cross compiling, check that we can run a simple program. 4236if test "$cross_compiling" != yes; then 4237 if { ac_try='./$ac_file' 4238 { { case "(($ac_try" in 4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4240 *) ac_try_echo=$ac_try;; 4241esac 4242eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4243$as_echo "$ac_try_echo"; } >&5 4244 (eval "$ac_try") 2>&5 4245 ac_status=$? 4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4247 test $ac_status = 0; }; }; then 4248 cross_compiling=no 4249 else 4250 if test "$cross_compiling" = maybe; then 4251 cross_compiling=yes 4252 else 4253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4255as_fn_error "cannot run C compiled programs. 4256If you meant to cross compile, use \`--host'. 4257See \`config.log' for more details." "$LINENO" 5; } 4258 fi 4259 fi 4260fi 4261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4262$as_echo "yes" >&6; } 4263 4264rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 4265ac_clean_files=$ac_clean_files_save 4266# Check that the compiler produces executables we can run. If not, either 4267# the compiler is broken, or we cross compile. 4268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4269$as_echo_n "checking whether we are cross compiling... " >&6; } 4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4271$as_echo "$cross_compiling" >&6; } 4272 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4274$as_echo_n "checking for suffix of executables... " >&6; } 4275if { { ac_try="$ac_link" 4276case "(($ac_try" in 4277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4278 *) ac_try_echo=$ac_try;; 4279esac 4280eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4281$as_echo "$ac_try_echo"; } >&5 4282 (eval "$ac_link") 2>&5 4283 ac_status=$? 4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4285 test $ac_status = 0; }; then : 4286 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4287# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4288# work properly (i.e., refer to `conftest.exe'), while it won't with 4289# `rm'. 4290for ac_file in conftest.exe conftest conftest.*; do 4291 test -f "$ac_file" || continue 4292 case $ac_file in 4293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4294 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4295 break;; 4296 * ) break;; 4297 esac 4298done 4299else 4300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4302as_fn_error "cannot compute suffix of executables: cannot compile and link 4303See \`config.log' for more details." "$LINENO" 5; } 4304fi 4305rm -f conftest$ac_cv_exeext 4306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4307$as_echo "$ac_cv_exeext" >&6; } 4308 4309rm -f conftest.$ac_ext 4310EXEEXT=$ac_cv_exeext 4311ac_exeext=$EXEEXT 4312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4313$as_echo_n "checking for suffix of object files... " >&6; } 4314if test "${ac_cv_objext+set}" = set; then : 4315 $as_echo_n "(cached) " >&6 4316else 4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4318/* end confdefs.h. */ 4319 4320int 4321main () 4322{ 4323 4324 ; 4325 return 0; 4326} 4327_ACEOF 4328rm -f conftest.o conftest.obj 4329if { { ac_try="$ac_compile" 4330case "(($ac_try" in 4331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4332 *) ac_try_echo=$ac_try;; 4333esac 4334eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4335$as_echo "$ac_try_echo"; } >&5 4336 (eval "$ac_compile") 2>&5 4337 ac_status=$? 4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4339 test $ac_status = 0; }; then : 4340 for ac_file in conftest.o conftest.obj conftest.*; do 4341 test -f "$ac_file" || continue; 4342 case $ac_file in 4343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4344 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4345 break;; 4346 esac 4347done 4348else 4349 $as_echo "$as_me: failed program was:" >&5 4350sed 's/^/| /' conftest.$ac_ext >&5 4351 4352{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4353$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4354as_fn_error "cannot compute suffix of object files: cannot compile 4355See \`config.log' for more details." "$LINENO" 5; } 4356fi 4357rm -f conftest.$ac_cv_objext conftest.$ac_ext 4358fi 4359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4360$as_echo "$ac_cv_objext" >&6; } 4361OBJEXT=$ac_cv_objext 4362ac_objext=$OBJEXT 4363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4364$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4365if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4366 $as_echo_n "(cached) " >&6 4367else 4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4369/* end confdefs.h. */ 4370 4371int 4372main () 4373{ 4374#ifndef __GNUC__ 4375 choke me 4376#endif 4377 4378 ; 4379 return 0; 4380} 4381_ACEOF 4382if ac_fn_c_try_compile "$LINENO"; then : 4383 ac_compiler_gnu=yes 4384else 4385 ac_compiler_gnu=no 4386fi 4387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4388ac_cv_c_compiler_gnu=$ac_compiler_gnu 4389 4390fi 4391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4392$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4393if test $ac_compiler_gnu = yes; then 4394 GCC=yes 4395else 4396 GCC= 4397fi 4398ac_test_CFLAGS=${CFLAGS+set} 4399ac_save_CFLAGS=$CFLAGS 4400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4401$as_echo_n "checking whether $CC accepts -g... " >&6; } 4402if test "${ac_cv_prog_cc_g+set}" = set; then : 4403 $as_echo_n "(cached) " >&6 4404else 4405 ac_save_c_werror_flag=$ac_c_werror_flag 4406 ac_c_werror_flag=yes 4407 ac_cv_prog_cc_g=no 4408 CFLAGS="-g" 4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4410/* end confdefs.h. */ 4411 4412int 4413main () 4414{ 4415 4416 ; 4417 return 0; 4418} 4419_ACEOF 4420if ac_fn_c_try_compile "$LINENO"; then : 4421 ac_cv_prog_cc_g=yes 4422else 4423 CFLAGS="" 4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4425/* end confdefs.h. */ 4426 4427int 4428main () 4429{ 4430 4431 ; 4432 return 0; 4433} 4434_ACEOF 4435if ac_fn_c_try_compile "$LINENO"; then : 4436 4437else 4438 ac_c_werror_flag=$ac_save_c_werror_flag 4439 CFLAGS="-g" 4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4441/* end confdefs.h. */ 4442 4443int 4444main () 4445{ 4446 4447 ; 4448 return 0; 4449} 4450_ACEOF 4451if ac_fn_c_try_compile "$LINENO"; then : 4452 ac_cv_prog_cc_g=yes 4453fi 4454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4455fi 4456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4457fi 4458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4459 ac_c_werror_flag=$ac_save_c_werror_flag 4460fi 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4462$as_echo "$ac_cv_prog_cc_g" >&6; } 4463if test "$ac_test_CFLAGS" = set; then 4464 CFLAGS=$ac_save_CFLAGS 4465elif test $ac_cv_prog_cc_g = yes; then 4466 if test "$GCC" = yes; then 4467 CFLAGS="-g -O2" 4468 else 4469 CFLAGS="-g" 4470 fi 4471else 4472 if test "$GCC" = yes; then 4473 CFLAGS="-O2" 4474 else 4475 CFLAGS= 4476 fi 4477fi 4478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4479$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4480if test "${ac_cv_prog_cc_c89+set}" = set; then : 4481 $as_echo_n "(cached) " >&6 4482else 4483 ac_cv_prog_cc_c89=no 4484ac_save_CC=$CC 4485cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4486/* end confdefs.h. */ 4487#include <stdarg.h> 4488#include <stdio.h> 4489#include <sys/types.h> 4490#include <sys/stat.h> 4491/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4492struct buf { int x; }; 4493FILE * (*rcsopen) (struct buf *, struct stat *, int); 4494static char *e (p, i) 4495 char **p; 4496 int i; 4497{ 4498 return p[i]; 4499} 4500static char *f (char * (*g) (char **, int), char **p, ...) 4501{ 4502 char *s; 4503 va_list v; 4504 va_start (v,p); 4505 s = g (p, va_arg (v,int)); 4506 va_end (v); 4507 return s; 4508} 4509 4510/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4511 function prototypes and stuff, but not '\xHH' hex character constants. 4512 These don't provoke an error unfortunately, instead are silently treated 4513 as 'x'. The following induces an error, until -std is added to get 4514 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4515 array size at least. It's necessary to write '\x00'==0 to get something 4516 that's true only with -std. */ 4517int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4518 4519/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4520 inside strings and character constants. */ 4521#define FOO(x) 'x' 4522int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4523 4524int test (int i, double x); 4525struct s1 {int (*f) (int a);}; 4526struct s2 {int (*f) (double a);}; 4527int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4528int argc; 4529char **argv; 4530int 4531main () 4532{ 4533return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4534 ; 4535 return 0; 4536} 4537_ACEOF 4538for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4539 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4540do 4541 CC="$ac_save_CC $ac_arg" 4542 if ac_fn_c_try_compile "$LINENO"; then : 4543 ac_cv_prog_cc_c89=$ac_arg 4544fi 4545rm -f core conftest.err conftest.$ac_objext 4546 test "x$ac_cv_prog_cc_c89" != "xno" && break 4547done 4548rm -f conftest.$ac_ext 4549CC=$ac_save_CC 4550 4551fi 4552# AC_CACHE_VAL 4553case "x$ac_cv_prog_cc_c89" in 4554 x) 4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4556$as_echo "none needed" >&6; } ;; 4557 xno) 4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4559$as_echo "unsupported" >&6; } ;; 4560 *) 4561 CC="$CC $ac_cv_prog_cc_c89" 4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4563$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4564esac 4565if test "x$ac_cv_prog_cc_c89" != xno; then : 4566 4567fi 4568 4569ac_ext=c 4570ac_cpp='$CPP $CPPFLAGS' 4571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4573ac_compiler_gnu=$ac_cv_c_compiler_gnu 4574 4575ac_ext=cpp 4576ac_cpp='$CXXCPP $CPPFLAGS' 4577ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4578ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4579ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4580if test -z "$CXX"; then 4581 if test -n "$CCC"; then 4582 CXX=$CCC 4583 else 4584 if test -n "$ac_tool_prefix"; then 4585 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4586 do 4587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4588set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4590$as_echo_n "checking for $ac_word... " >&6; } 4591if test "${ac_cv_prog_CXX+set}" = set; then : 4592 $as_echo_n "(cached) " >&6 4593else 4594 if test -n "$CXX"; then 4595 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4596else 4597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4598for as_dir in $PATH 4599do 4600 IFS=$as_save_IFS 4601 test -z "$as_dir" && as_dir=. 4602 for ac_exec_ext in '' $ac_executable_extensions; do 4603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4604 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4606 break 2 4607 fi 4608done 4609 done 4610IFS=$as_save_IFS 4611 4612fi 4613fi 4614CXX=$ac_cv_prog_CXX 4615if test -n "$CXX"; then 4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4617$as_echo "$CXX" >&6; } 4618else 4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4620$as_echo "no" >&6; } 4621fi 4622 4623 4624 test -n "$CXX" && break 4625 done 4626fi 4627if test -z "$CXX"; then 4628 ac_ct_CXX=$CXX 4629 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4630do 4631 # Extract the first word of "$ac_prog", so it can be a program name with args. 4632set dummy $ac_prog; ac_word=$2 4633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4634$as_echo_n "checking for $ac_word... " >&6; } 4635if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 4636 $as_echo_n "(cached) " >&6 4637else 4638 if test -n "$ac_ct_CXX"; then 4639 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4640else 4641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4642for as_dir in $PATH 4643do 4644 IFS=$as_save_IFS 4645 test -z "$as_dir" && as_dir=. 4646 for ac_exec_ext in '' $ac_executable_extensions; do 4647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4648 ac_cv_prog_ac_ct_CXX="$ac_prog" 4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4650 break 2 4651 fi 4652done 4653 done 4654IFS=$as_save_IFS 4655 4656fi 4657fi 4658ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4659if test -n "$ac_ct_CXX"; then 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4661$as_echo "$ac_ct_CXX" >&6; } 4662else 4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4664$as_echo "no" >&6; } 4665fi 4666 4667 4668 test -n "$ac_ct_CXX" && break 4669done 4670 4671 if test "x$ac_ct_CXX" = x; then 4672 CXX="g++" 4673 else 4674 case $cross_compiling:$ac_tool_warned in 4675yes:) 4676{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4677$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4678ac_tool_warned=yes ;; 4679esac 4680 CXX=$ac_ct_CXX 4681 fi 4682fi 4683 4684 fi 4685fi 4686# Provide some information about the compiler. 4687$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4688set X $ac_compile 4689ac_compiler=$2 4690for ac_option in --version -v -V -qversion; do 4691 { { ac_try="$ac_compiler $ac_option >&5" 4692case "(($ac_try" in 4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4694 *) ac_try_echo=$ac_try;; 4695esac 4696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4697$as_echo "$ac_try_echo"; } >&5 4698 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4699 ac_status=$? 4700 if test -s conftest.err; then 4701 sed '10a\ 4702... rest of stderr output deleted ... 4703 10q' conftest.err >conftest.er1 4704 cat conftest.er1 >&5 4705 rm -f conftest.er1 conftest.err 4706 fi 4707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4708 test $ac_status = 0; } 4709done 4710 4711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4712$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4713if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 4714 $as_echo_n "(cached) " >&6 4715else 4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4717/* end confdefs.h. */ 4718 4719int 4720main () 4721{ 4722#ifndef __GNUC__ 4723 choke me 4724#endif 4725 4726 ; 4727 return 0; 4728} 4729_ACEOF 4730if ac_fn_cxx_try_compile "$LINENO"; then : 4731 ac_compiler_gnu=yes 4732else 4733 ac_compiler_gnu=no 4734fi 4735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4736ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4737 4738fi 4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4740$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4741if test $ac_compiler_gnu = yes; then 4742 GXX=yes 4743else 4744 GXX= 4745fi 4746ac_test_CXXFLAGS=${CXXFLAGS+set} 4747ac_save_CXXFLAGS=$CXXFLAGS 4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4749$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4750if test "${ac_cv_prog_cxx_g+set}" = set; then : 4751 $as_echo_n "(cached) " >&6 4752else 4753 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4754 ac_cxx_werror_flag=yes 4755 ac_cv_prog_cxx_g=no 4756 CXXFLAGS="-g" 4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4758/* end confdefs.h. */ 4759 4760int 4761main () 4762{ 4763 4764 ; 4765 return 0; 4766} 4767_ACEOF 4768if ac_fn_cxx_try_compile "$LINENO"; then : 4769 ac_cv_prog_cxx_g=yes 4770else 4771 CXXFLAGS="" 4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4773/* end confdefs.h. */ 4774 4775int 4776main () 4777{ 4778 4779 ; 4780 return 0; 4781} 4782_ACEOF 4783if ac_fn_cxx_try_compile "$LINENO"; then : 4784 4785else 4786 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4787 CXXFLAGS="-g" 4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4789/* end confdefs.h. */ 4790 4791int 4792main () 4793{ 4794 4795 ; 4796 return 0; 4797} 4798_ACEOF 4799if ac_fn_cxx_try_compile "$LINENO"; then : 4800 ac_cv_prog_cxx_g=yes 4801fi 4802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4803fi 4804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4805fi 4806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4807 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4808fi 4809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4810$as_echo "$ac_cv_prog_cxx_g" >&6; } 4811if test "$ac_test_CXXFLAGS" = set; then 4812 CXXFLAGS=$ac_save_CXXFLAGS 4813elif test $ac_cv_prog_cxx_g = yes; then 4814 if test "$GXX" = yes; then 4815 CXXFLAGS="-g -O2" 4816 else 4817 CXXFLAGS="-g" 4818 fi 4819else 4820 if test "$GXX" = yes; then 4821 CXXFLAGS="-O2" 4822 else 4823 CXXFLAGS= 4824 fi 4825fi 4826ac_ext=c 4827ac_cpp='$CPP $CPPFLAGS' 4828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4830ac_compiler_gnu=$ac_cv_c_compiler_gnu 4831 4832 4833# We must set the default linker to the linker used by gcc for the correct 4834# operation of libtool. If LD is not defined and we are using gcc, try to 4835# set the LD default to the ld used by gcc. 4836if test -z "$LD"; then 4837 if test "$GCC" = yes; then 4838 case $build in 4839 *-*-mingw*) 4840 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;; 4841 *) 4842 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;; 4843 esac 4844 case $gcc_prog_ld in 4845 # Accept absolute paths. 4846 [\\/]* | [A-Za-z]:[\\/]*) 4847 LD="$gcc_prog_ld" ;; 4848 esac 4849 fi 4850fi 4851 4852 4853 4854 4855if test -n "$ac_tool_prefix"; then 4856 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args. 4857set dummy ${ac_tool_prefix}gnatbind; ac_word=$2 4858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4859$as_echo_n "checking for $ac_word... " >&6; } 4860if test "${ac_cv_prog_GNATBIND+set}" = set; then : 4861 $as_echo_n "(cached) " >&6 4862else 4863 if test -n "$GNATBIND"; then 4864 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test. 4865else 4866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4867for as_dir in $PATH 4868do 4869 IFS=$as_save_IFS 4870 test -z "$as_dir" && as_dir=. 4871 for ac_exec_ext in '' $ac_executable_extensions; do 4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4873 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind" 4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4875 break 2 4876 fi 4877done 4878 done 4879IFS=$as_save_IFS 4880 4881fi 4882fi 4883GNATBIND=$ac_cv_prog_GNATBIND 4884if test -n "$GNATBIND"; then 4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5 4886$as_echo "$GNATBIND" >&6; } 4887else 4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4889$as_echo "no" >&6; } 4890fi 4891 4892 4893fi 4894if test -z "$ac_cv_prog_GNATBIND"; then 4895 ac_ct_GNATBIND=$GNATBIND 4896 # Extract the first word of "gnatbind", so it can be a program name with args. 4897set dummy gnatbind; ac_word=$2 4898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4899$as_echo_n "checking for $ac_word... " >&6; } 4900if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then : 4901 $as_echo_n "(cached) " >&6 4902else 4903 if test -n "$ac_ct_GNATBIND"; then 4904 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test. 4905else 4906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4907for as_dir in $PATH 4908do 4909 IFS=$as_save_IFS 4910 test -z "$as_dir" && as_dir=. 4911 for ac_exec_ext in '' $ac_executable_extensions; do 4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4913 ac_cv_prog_ac_ct_GNATBIND="gnatbind" 4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4915 break 2 4916 fi 4917done 4918 done 4919IFS=$as_save_IFS 4920 4921fi 4922fi 4923ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND 4924if test -n "$ac_ct_GNATBIND"; then 4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5 4926$as_echo "$ac_ct_GNATBIND" >&6; } 4927else 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4929$as_echo "no" >&6; } 4930fi 4931 4932 if test "x$ac_ct_GNATBIND" = x; then 4933 GNATBIND="no" 4934 else 4935 case $cross_compiling:$ac_tool_warned in 4936yes:) 4937{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4938$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4939ac_tool_warned=yes ;; 4940esac 4941 GNATBIND=$ac_ct_GNATBIND 4942 fi 4943else 4944 GNATBIND="$ac_cv_prog_GNATBIND" 4945fi 4946 4947if test -n "$ac_tool_prefix"; then 4948 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args. 4949set dummy ${ac_tool_prefix}gnatmake; ac_word=$2 4950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4951$as_echo_n "checking for $ac_word... " >&6; } 4952if test "${ac_cv_prog_GNATMAKE+set}" = set; then : 4953 $as_echo_n "(cached) " >&6 4954else 4955 if test -n "$GNATMAKE"; then 4956 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test. 4957else 4958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4959for as_dir in $PATH 4960do 4961 IFS=$as_save_IFS 4962 test -z "$as_dir" && as_dir=. 4963 for ac_exec_ext in '' $ac_executable_extensions; do 4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4965 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake" 4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4967 break 2 4968 fi 4969done 4970 done 4971IFS=$as_save_IFS 4972 4973fi 4974fi 4975GNATMAKE=$ac_cv_prog_GNATMAKE 4976if test -n "$GNATMAKE"; then 4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5 4978$as_echo "$GNATMAKE" >&6; } 4979else 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4981$as_echo "no" >&6; } 4982fi 4983 4984 4985fi 4986if test -z "$ac_cv_prog_GNATMAKE"; then 4987 ac_ct_GNATMAKE=$GNATMAKE 4988 # Extract the first word of "gnatmake", so it can be a program name with args. 4989set dummy gnatmake; ac_word=$2 4990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4991$as_echo_n "checking for $ac_word... " >&6; } 4992if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then : 4993 $as_echo_n "(cached) " >&6 4994else 4995 if test -n "$ac_ct_GNATMAKE"; then 4996 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test. 4997else 4998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4999for as_dir in $PATH 5000do 5001 IFS=$as_save_IFS 5002 test -z "$as_dir" && as_dir=. 5003 for ac_exec_ext in '' $ac_executable_extensions; do 5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5005 ac_cv_prog_ac_ct_GNATMAKE="gnatmake" 5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5007 break 2 5008 fi 5009done 5010 done 5011IFS=$as_save_IFS 5012 5013fi 5014fi 5015ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE 5016if test -n "$ac_ct_GNATMAKE"; then 5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5 5018$as_echo "$ac_ct_GNATMAKE" >&6; } 5019else 5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5021$as_echo "no" >&6; } 5022fi 5023 5024 if test "x$ac_ct_GNATMAKE" = x; then 5025 GNATMAKE="no" 5026 else 5027 case $cross_compiling:$ac_tool_warned in 5028yes:) 5029{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5031ac_tool_warned=yes ;; 5032esac 5033 GNATMAKE=$ac_ct_GNATMAKE 5034 fi 5035else 5036 GNATMAKE="$ac_cv_prog_GNATMAKE" 5037fi 5038 5039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5 5040$as_echo_n "checking whether compiler driver understands Ada... " >&6; } 5041if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then : 5042 $as_echo_n "(cached) " >&6 5043else 5044 cat >conftest.adb <<EOF 5045procedure conftest is begin null; end conftest; 5046EOF 5047acx_cv_cc_gcc_supports_ada=no 5048# There is a bug in old released versions of GCC which causes the 5049# driver to exit successfully when the appropriate language module 5050# has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1. 5051# Therefore we must check for the error message as well as an 5052# unsuccessful exit. 5053# Other compilers, like HP Tru64 UNIX cc, exit successfully when 5054# given a .adb file, but produce no object file. So we must check 5055# if an object file was really produced to guard against this. 5056errors=`(${CC} -c conftest.adb) 2>&1 || echo failure` 5057if test x"$errors" = x && test -f conftest.$ac_objext; then 5058 acx_cv_cc_gcc_supports_ada=yes 5059fi 5060rm -f conftest.* 5061fi 5062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5 5063$as_echo "$acx_cv_cc_gcc_supports_ada" >&6; } 5064 5065if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then 5066 have_gnat=yes 5067else 5068 have_gnat=no 5069fi 5070 5071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5 5072$as_echo_n "checking how to compare bootstrapped objects... " >&6; } 5073if test "${gcc_cv_prog_cmp_skip+set}" = set; then : 5074 $as_echo_n "(cached) " >&6 5075else 5076 echo abfoo >t1 5077 echo cdfoo >t2 5078 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2' 5079 if cmp t1 t2 2 2 > /dev/null 2>&1; then 5080 if cmp t1 t2 1 1 > /dev/null 2>&1; then 5081 : 5082 else 5083 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16' 5084 fi 5085 fi 5086 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then 5087 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then 5088 : 5089 else 5090 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2' 5091 fi 5092 fi 5093 rm t1 t2 5094 5095fi 5096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5 5097$as_echo "$gcc_cv_prog_cmp_skip" >&6; } 5098do_compare="$gcc_cv_prog_cmp_skip" 5099 5100 5101 5102# See if we are building gcc with C++. 5103# Check whether --enable-build-with-cxx was given. 5104if test "${enable_build_with_cxx+set}" = set; then : 5105 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval 5106else 5107 ENABLE_BUILD_WITH_CXX=no 5108fi 5109 5110 5111# Used for setting $lt_cv_objdir 5112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 5113$as_echo_n "checking for objdir... " >&6; } 5114if test "${lt_cv_objdir+set}" = set; then : 5115 $as_echo_n "(cached) " >&6 5116else 5117 rm -f .libs 2>/dev/null 5118mkdir .libs 2>/dev/null 5119if test -d .libs; then 5120 lt_cv_objdir=.libs 5121else 5122 # MS-DOS does not allow filenames that begin with a dot. 5123 lt_cv_objdir=_libs 5124fi 5125rmdir .libs 2>/dev/null 5126fi 5127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 5128$as_echo "$lt_cv_objdir" >&6; } 5129objdir=$lt_cv_objdir 5130 5131 5132 5133 5134 5135cat >>confdefs.h <<_ACEOF 5136#define LT_OBJDIR "$lt_cv_objdir/" 5137_ACEOF 5138 5139 5140 5141# Check for GMP, MPFR and MPC 5142gmplibs="-lmpc -lmpfr -lgmp" 5143gmpinc= 5144have_gmp=no 5145 5146# Specify a location for mpc 5147# check for this first so it ends up on the link line before mpfr. 5148 5149# Check whether --with-mpc was given. 5150if test "${with_mpc+set}" = set; then : 5151 withval=$with_mpc; 5152fi 5153 5154 5155# Check whether --with-mpc_include was given. 5156if test "${with_mpc_include+set}" = set; then : 5157 withval=$with_mpc_include; 5158fi 5159 5160 5161# Check whether --with-mpc_lib was given. 5162if test "${with_mpc_lib+set}" = set; then : 5163 withval=$with_mpc_lib; 5164fi 5165 5166 5167if test "x$with_mpc" != x; then 5168 gmplibs="-L$with_mpc/lib $gmplibs" 5169 gmpinc="-I$with_mpc/include $gmpinc" 5170fi 5171if test "x$with_mpc_include" != x; then 5172 gmpinc="-I$with_mpc_include $gmpinc" 5173fi 5174if test "x$with_mpc_lib" != x; then 5175 gmplibs="-L$with_mpc_lib $gmplibs" 5176fi 5177if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then 5178 gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs" 5179 gmpinc='-I$$s/mpc/src '"$gmpinc" 5180 # Do not test the mpc version. Assume that it is sufficient, since 5181 # it is in the source tree, and the library has not been built yet 5182 # but it would be included on the link line in the version check below 5183 # hence making the test fail. 5184 have_gmp=yes 5185fi 5186 5187# Specify a location for mpfr 5188# check for this first so it ends up on the link line before gmp. 5189 5190# Check whether --with-mpfr-dir was given. 5191if test "${with_mpfr_dir+set}" = set; then : 5192 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed. 5193Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5 5194fi 5195 5196 5197 5198# Check whether --with-mpfr was given. 5199if test "${with_mpfr+set}" = set; then : 5200 withval=$with_mpfr; 5201fi 5202 5203 5204# Check whether --with-mpfr_include was given. 5205if test "${with_mpfr_include+set}" = set; then : 5206 withval=$with_mpfr_include; 5207fi 5208 5209 5210# Check whether --with-mpfr_lib was given. 5211if test "${with_mpfr_lib+set}" = set; then : 5212 withval=$with_mpfr_lib; 5213fi 5214 5215 5216if test "x$with_mpfr" != x; then 5217 gmplibs="-L$with_mpfr/lib $gmplibs" 5218 gmpinc="-I$with_mpfr/include $gmpinc" 5219fi 5220if test "x$with_mpfr_include" != x; then 5221 gmpinc="-I$with_mpfr_include $gmpinc" 5222fi 5223if test "x$with_mpfr_lib" != x; then 5224 gmplibs="-L$with_mpfr_lib $gmplibs" 5225fi 5226if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then 5227 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs" 5228 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc" 5229 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir" 5230 # Do not test the mpfr version. Assume that it is sufficient, since 5231 # it is in the source tree, and the library has not been built yet 5232 # but it would be included on the link line in the version check below 5233 # hence making the test fail. 5234 have_gmp=yes 5235fi 5236 5237# Specify a location for gmp 5238 5239# Check whether --with-gmp-dir was given. 5240if test "${with_gmp_dir+set}" = set; then : 5241 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed. 5242Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5 5243fi 5244 5245 5246 5247# Check whether --with-gmp was given. 5248if test "${with_gmp+set}" = set; then : 5249 withval=$with_gmp; 5250fi 5251 5252 5253# Check whether --with-gmp_include was given. 5254if test "${with_gmp_include+set}" = set; then : 5255 withval=$with_gmp_include; 5256fi 5257 5258 5259# Check whether --with-gmp_lib was given. 5260if test "${with_gmp_lib+set}" = set; then : 5261 withval=$with_gmp_lib; 5262fi 5263 5264 5265 5266if test "x$with_gmp" != x; then 5267 gmplibs="-L$with_gmp/lib $gmplibs" 5268 gmpinc="-I$with_gmp/include $gmpinc" 5269fi 5270if test "x$with_gmp_include" != x; then 5271 gmpinc="-I$with_gmp_include $gmpinc" 5272fi 5273if test "x$with_gmp_lib" != x; then 5274 gmplibs="-L$with_gmp_lib $gmplibs" 5275fi 5276if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then 5277 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs" 5278 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc" 5279 extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" 5280 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" 5281 # Do not test the gmp version. Assume that it is sufficient, since 5282 # it is in the source tree, and the library has not been built yet 5283 # but it would be included on the link line in the version check below 5284 # hence making the test fail. 5285 have_gmp=yes 5286fi 5287 5288if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then 5289 have_gmp=yes 5290 saved_CFLAGS="$CFLAGS" 5291 CFLAGS="$CFLAGS $gmpinc" 5292 # Check for the recommended and required versions of GMP. 5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5 5294$as_echo_n "checking for the correct version of gmp.h... " >&6; } 5295 5296cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5297/* end confdefs.h. */ 5298#include "gmp.h" 5299int 5300main () 5301{ 5302 5303 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c)) 5304 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL) 5305 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0) 5306 choke me 5307 #endif 5308 5309 ; 5310 return 0; 5311} 5312_ACEOF 5313if ac_fn_c_try_compile "$LINENO"; then : 5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5315/* end confdefs.h. */ 5316#include <gmp.h> 5317int 5318main () 5319{ 5320 5321 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c)) 5322 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL) 5323 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2) 5324 choke me 5325 #endif 5326 5327 ; 5328 return 0; 5329} 5330_ACEOF 5331if ac_fn_c_try_compile "$LINENO"; then : 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5333$as_echo "yes" >&6; } 5334else 5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5 5336$as_echo "buggy but acceptable" >&6; } 5337fi 5338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5339else 5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5341$as_echo "no" >&6; }; have_gmp=no 5342fi 5343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5344 5345 # If we have GMP, check the MPFR version. 5346 if test x"$have_gmp" = xyes; then 5347 # Check for the recommended and required versions of MPFR. 5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5 5349$as_echo_n "checking for the correct version of mpfr.h... " >&6; } 5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5351/* end confdefs.h. */ 5352#include <gmp.h> 5353 #include <mpfr.h> 5354int 5355main () 5356{ 5357 5358 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1) 5359 choke me 5360 #endif 5361 5362 ; 5363 return 0; 5364} 5365_ACEOF 5366if ac_fn_c_try_compile "$LINENO"; then : 5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5368/* end confdefs.h. */ 5369#include <gmp.h> 5370 #include <mpfr.h> 5371int 5372main () 5373{ 5374 5375 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2) 5376 choke me 5377 #endif 5378 5379 ; 5380 return 0; 5381} 5382_ACEOF 5383if ac_fn_c_try_compile "$LINENO"; then : 5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5385$as_echo "yes" >&6; } 5386else 5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5 5388$as_echo "buggy but acceptable" >&6; } 5389fi 5390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5391else 5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5393$as_echo "no" >&6; }; have_gmp=no 5394fi 5395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5396 fi 5397 5398 # Check for the MPC header version. 5399 if test x"$have_gmp" = xyes ; then 5400 # Check for the recommended and required versions of MPC. 5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5 5402$as_echo_n "checking for the correct version of mpc.h... " >&6; } 5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5404/* end confdefs.h. */ 5405#include <mpc.h> 5406int 5407main () 5408{ 5409 5410 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0) 5411 choke me 5412 #endif 5413 5414 ; 5415 return 0; 5416} 5417_ACEOF 5418if ac_fn_c_try_compile "$LINENO"; then : 5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5420/* end confdefs.h. */ 5421#include <mpc.h> 5422int 5423main () 5424{ 5425 5426 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1) 5427 choke me 5428 #endif 5429 5430 ; 5431 return 0; 5432} 5433_ACEOF 5434if ac_fn_c_try_compile "$LINENO"; then : 5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5436$as_echo "yes" >&6; } 5437else 5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5 5439$as_echo "buggy but acceptable" >&6; } 5440fi 5441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5442else 5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5444$as_echo "no" >&6; }; have_gmp=no 5445fi 5446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5447 fi 5448 5449 # Now check the MPFR library. 5450 if test x"$have_gmp" = xyes; then 5451 saved_LIBS="$LIBS" 5452 LIBS="$LIBS $gmplibs" 5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5 5454$as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; } 5455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5456/* end confdefs.h. */ 5457#include <mpc.h> 5458int 5459main () 5460{ 5461 5462 mpfr_t n; 5463 mpfr_t x; 5464 mpc_t c; 5465 int t; 5466 mpfr_init (n); 5467 mpfr_init (x); 5468 mpfr_atan2 (n, n, x, GMP_RNDN); 5469 mpfr_erfc (n, x, GMP_RNDN); 5470 mpfr_subnormalize (x, t, GMP_RNDN); 5471 mpfr_clear(n); 5472 mpfr_clear(x); 5473 mpc_init2 (c, 53); 5474 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN); 5475 mpc_cosh (c, c, MPC_RNDNN); 5476 mpc_pow (c, c, c, MPC_RNDNN); 5477 mpc_acosh (c, c, MPC_RNDNN); 5478 mpc_clear (c); 5479 5480 ; 5481 return 0; 5482} 5483_ACEOF 5484if ac_fn_c_try_link "$LINENO"; then : 5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5486$as_echo "yes" >&6; } 5487else 5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5489$as_echo "no" >&6; }; have_gmp=no 5490fi 5491rm -f core conftest.err conftest.$ac_objext \ 5492 conftest$ac_exeext conftest.$ac_ext 5493 LIBS="$saved_LIBS" 5494 fi 5495 5496 CFLAGS="$saved_CFLAGS" 5497 5498# The library versions listed in the error message below should match 5499# the HARD-minimums enforced above. 5500 if test x$have_gmp != xyes; then 5501 as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+. 5502Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify 5503their locations. Source code for these libraries can be found at 5504their respective hosting sites as well as at 5505ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also 5506http://gcc.gnu.org/install/prerequisites.html for additional info. If 5507you obtained GMP, MPFR and/or MPC from a vendor distribution package, 5508make sure that you have installed both the libraries and the header 5509files. They may be located in separate packages." "$LINENO" 5 5510 fi 5511fi 5512 5513# Flags needed for both GMP, MPFR and/or MPC. 5514 5515 5516 5517 5518 5519 5520# Allow host libstdc++ to be specified for static linking with PPL. 5521 5522# Check whether --with-host-libstdcxx was given. 5523if test "${with_host_libstdcxx+set}" = set; then : 5524 withval=$with_host_libstdcxx; 5525fi 5526 5527 5528case $with_host_libstdcxx in 5529 no|yes) 5530 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5 5531 ;; 5532esac 5533 5534# Linker flags to use for stage1 or when not boostrapping. 5535 5536# Check whether --with-stage1-ldflags was given. 5537if test "${with_stage1_ldflags+set}" = set; then : 5538 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then 5539 stage1_ldflags= 5540 else 5541 stage1_ldflags=$withval 5542 fi 5543else 5544 stage1_ldflags= 5545fi 5546 5547 5548 5549# Libraries to use for stage1 or when not bootstrapping. 5550 5551# Check whether --with-stage1-libs was given. 5552if test "${with_stage1_libs+set}" = set; then : 5553 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then 5554 stage1_libs= 5555 else 5556 stage1_libs=$withval 5557 fi 5558else 5559 stage1_libs=$with_host_libstdcxx 5560fi 5561 5562 5563 5564# Libraries to use for stage2 and later builds. This defaults to the 5565# argument passed to --with-host-libstdcxx. 5566 5567# Check whether --with-boot-libs was given. 5568if test "${with_boot_libs+set}" = set; then : 5569 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then 5570 poststage1_libs= 5571 else 5572 poststage1_libs=$withval 5573 fi 5574else 5575 poststage1_libs=$with_host_libstdcxx 5576fi 5577 5578 5579 5580# Linker flags to use for stage2 and later builds. 5581 5582# Check whether --with-boot-ldflags was given. 5583if test "${with_boot_ldflags+set}" = set; then : 5584 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then 5585 poststage1_ldflags= 5586 else 5587 poststage1_ldflags=$withval 5588 fi 5589else 5590 poststage1_ldflags= 5591 # With --enable-build-with-cxx, default to linking libstdc++ and 5592 # libgcc statically. But if the user explicitly specified the 5593 # libraries to use, trust that they are doing what they want. 5594 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then 5595 poststage1_ldflags="-static-libstdc++ -static-libgcc" 5596 fi 5597fi 5598 5599 5600 5601# Check for PPL 5602ppllibs=" -lppl_c -lppl -lgmpxx" 5603pplinc= 5604 5605 5606# Check whether --with-ppl was given. 5607if test "${with_ppl+set}" = set; then : 5608 withval=$with_ppl; 5609fi 5610 5611 5612# Check whether --with-ppl_include was given. 5613if test "${with_ppl_include+set}" = set; then : 5614 withval=$with_ppl_include; 5615fi 5616 5617 5618# Check whether --with-ppl_lib was given. 5619if test "${with_ppl_lib+set}" = set; then : 5620 withval=$with_ppl_lib; 5621fi 5622 5623 5624case $with_ppl in 5625 no) 5626 ppllibs= 5627 ;; 5628 "" | yes) 5629 ;; 5630 *) 5631 ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx" 5632 pplinc="-I$with_ppl/include $pplinc" 5633 ;; 5634esac 5635if test "x$with_ppl_include" != x; then 5636 pplinc="-I$with_ppl_include $pplinc" 5637fi 5638if test "x$with_ppl_lib" != x; then 5639 ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx" 5640fi 5641if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then 5642 ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx ' 5643 pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C ' 5644 enable_ppl_version_check=no 5645fi 5646 5647# Check whether --enable-ppl-version-check was given. 5648if test "${enable_ppl_version_check+set}" = set; then : 5649 enableval=$enable_ppl_version_check; ENABLE_PPL_CHECK=$enableval 5650else 5651 ENABLE_PPL_CHECK=yes 5652fi 5653 5654 5655if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then 5656 saved_CFLAGS="$CFLAGS" 5657 CFLAGS="$CFLAGS $pplinc $gmpinc" 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5 5659$as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; } 5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5661/* end confdefs.h. */ 5662#include "ppl_c.h" 5663int 5664main () 5665{ 5666 5667 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10 5668 choke me 5669 #endif 5670 5671 ; 5672 return 0; 5673} 5674_ACEOF 5675if ac_fn_c_try_compile "$LINENO"; then : 5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5677$as_echo "yes" >&6; } 5678else 5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5680$as_echo "no" >&6; }; ppllibs= ; pplinc= ; with_ppl=no 5681fi 5682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5683 CFLAGS="$saved_CFLAGS" 5684fi 5685 5686# Flags needed for PPL 5687 5688 5689 5690 5691# Check for CLOOG 5692clooglibs=" -lcloog " 5693clooginc=" -DCLOOG_PPL_BACKEND " 5694 5695 5696# Check whether --with-cloog was given. 5697if test "${with_cloog+set}" = set; then : 5698 withval=$with_cloog; 5699fi 5700 5701 5702# Check whether --with-cloog_include was given. 5703if test "${with_cloog_include+set}" = set; then : 5704 withval=$with_cloog_include; 5705fi 5706 5707 5708# Check whether --with-cloog_lib was given. 5709if test "${with_cloog_lib+set}" = set; then : 5710 withval=$with_cloog_lib; 5711fi 5712 5713 5714if test "x$with_ppl" = "xno"; then 5715 with_cloog=no 5716fi 5717 5718case $with_cloog in 5719 no) 5720 clooglibs= 5721 clooginc= 5722 ;; 5723 "" | yes) 5724 ;; 5725 *) 5726 clooglibs="-L$with_cloog/lib -lcloog" 5727 clooginc="-I$with_cloog/include -DCLOOG_PPL_BACKEND " 5728 ;; 5729esac 5730if test "x$with_cloog_include" != x; then 5731 clooginc="-I$with_cloog_include -DCLOOG_PPL_BACKEND " 5732fi 5733if test "x$with_cloog_lib" != x; then 5734 clooglibs="-L$with_cloog_lib -lcloog" 5735fi 5736if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x && test -d ${srcdir}/cloog; then 5737 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' -lcloog ' 5738 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND ' 5739 enable_cloog_version_check=no 5740fi 5741 5742# Check whether --enable-cloog-version-check was given. 5743if test "${enable_cloog_version_check+set}" = set; then : 5744 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval 5745else 5746 ENABLE_CLOOG_CHECK=yes 5747fi 5748 5749 5750if test "x$with_cloog" != "xno" -a "${ENABLE_CLOOG_CHECK}" = "yes"; then 5751 saved_CFLAGS="$CFLAGS" 5752 CFLAGS="$CFLAGS $clooginc $gmpinc $pplinc" 5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5 5754$as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; } 5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5756/* end confdefs.h. */ 5757#include "cloog/cloog.h" 5758int 5759main () 5760{ 5761 5762 #if ((CLOOG_VERSION_MAJOR < 0) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR < 15) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR == 15 && CLOOG_VERSION_REVISION < 5)) 5763 choke me 5764 #endif 5765 5766 ; 5767 return 0; 5768} 5769_ACEOF 5770if ac_fn_c_try_compile "$LINENO"; then : 5771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5772/* end confdefs.h. */ 5773#include "cloog/cloog.h" 5774int 5775main () 5776{ 5777 5778 #if ((CLOOG_VERSION_MAJOR < 0) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR < 15) || (CLOOG_VERSION_MAJOR == 0 && CLOOG_VERSION_MINOR == 15 && CLOOG_VERSION_REVISION < 5)) 5779 choke me 5780 #endif 5781 5782 ; 5783 return 0; 5784} 5785_ACEOF 5786if ac_fn_c_try_compile "$LINENO"; then : 5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5788$as_echo "yes" >&6; } 5789else 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5 5791$as_echo "buggy but acceptable" >&6; } 5792fi 5793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5794else 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5796$as_echo "no" >&6; }; clooglibs= ; clooginc= 5797fi 5798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5799 CFLAGS="$saved_CFLAGS" 5800fi 5801 5802# Flags needed for CLOOG 5803 5804 5805 5806# Check for LTO support. 5807# Check whether --enable-lto was given. 5808if test "${enable_lto+set}" = set; then : 5809 enableval=$enable_lto; enable_lto=$enableval 5810else 5811 enable_lto=yes; default_enable_lto=yes 5812fi 5813 5814 5815 5816 5817 5818target_elf=no 5819case $target in 5820 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \ 5821 *-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \ 5822 alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*) 5823 target_elf=no 5824 ;; 5825 *) 5826 target_elf=yes 5827 ;; 5828esac 5829 5830if test $target_elf = yes; then : 5831 # ELF platforms build the lto-plugin always. 5832 build_lto_plugin=yes 5833 5834else 5835 if test x"$default_enable_lto" = x"yes" ; then 5836 case $target in 5837 *-apple-darwin* | *-cygwin* | *-mingw*) ;; 5838 # On other non-ELF platforms, LTO has yet to be validated. 5839 *) enable_lto=no ;; 5840 esac 5841 else 5842 # Apart from ELF platforms, only Windows and Darwin support LTO so far. 5843 # It would also be nice to check the binutils support, but we don't 5844 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just 5845 # warn during gcc/ subconfigure; unless you're bootstrapping with 5846 # -flto it won't be needed until after installation anyway. 5847 case $target in 5848 *-cygwin* | *-mingw* | *-apple-darwin*) ;; 5849 *) if test x"$enable_lto" = x"yes"; then 5850 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5 5851 fi 5852 ;; 5853 esac 5854 fi 5855 # Among non-ELF, only Windows platforms support the lto-plugin so far. 5856 # Build it unless LTO was explicitly disabled. 5857 case $target in 5858 *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;; 5859 *) ;; 5860 esac 5861 5862fi 5863 5864 5865 5866# By default, C is the only stage 1 language. 5867stage1_languages=,c, 5868 5869# Target libraries that we bootstrap. 5870bootstrap_target_libs=,target-libgcc, 5871 5872# Figure out what language subdirectories are present. 5873# Look if the user specified --enable-languages="..."; if not, use 5874# the environment variable $LANGUAGES if defined. $LANGUAGES might 5875# go away some day. 5876# NB: embedded tabs in this IF block -- do not untabify 5877if test -d ${srcdir}/gcc; then 5878 if test x"${enable_languages+set}" != xset; then 5879 if test x"${LANGUAGES+set}" = xset; then 5880 enable_languages="${LANGUAGES}" 5881 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2 5882 else 5883 enable_languages=all 5884 fi 5885 else 5886 if test x"${enable_languages}" = x || 5887 test x"${enable_languages}" = xyes; 5888 then 5889 echo configure.in: --enable-languages needs at least one language argument 1>&2 5890 exit 1 5891 fi 5892 fi 5893 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'` 5894 5895 # 'f95' is the old name for the 'fortran' language. We issue a warning 5896 # and make the substitution. 5897 case ,${enable_languages}, in 5898 *,f95,*) 5899 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2 5900 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'` 5901 ;; 5902 esac 5903 5904 # First scan to see if an enabled language requires some other language. 5905 # We assume that a given config-lang.in will list all the language 5906 # front ends it requires, even if some are required indirectly. 5907 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do 5908 case ${lang_frag} in 5909 ..) ;; 5910 # The odd quoting in the next line works around 5911 # an apparent bug in bash 1.12 on linux. 5912 ${srcdir}/gcc/[*]/config-lang.in) ;; 5913 *) 5914 # From the config-lang.in, get $language, $lang_requires 5915 language= 5916 lang_requires= 5917 . ${lang_frag} 5918 for other in ${lang_requires} ; do 5919 case ,${enable_languages}, in 5920 *,$other,*) ;; 5921 *,all,*) ;; 5922 *,$language,*) 5923 echo " \`$other' language required by \`$language'; enabling" 1>&2 5924 enable_languages="${enable_languages},${other}" 5925 ;; 5926 esac 5927 done 5928 ;; 5929 esac 5930 done 5931 5932 new_enable_languages=,c, 5933 5934 # If LTO is enabled, add the LTO front end. 5935 extra_host_libiberty_configure_flags= 5936 if test "$enable_lto" = "yes" ; then 5937 case ,${enable_languages}, in 5938 *,lto,*) ;; 5939 *) enable_languages="${enable_languages},lto" ;; 5940 esac 5941 if test "${build_lto_plugin}" = "yes" ; then 5942 configdirs="$configdirs lto-plugin" 5943 extra_host_libiberty_configure_flags=--enable-shared 5944 fi 5945 fi 5946 5947 5948 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ ` 5949 potential_languages=,c, 5950 5951 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do 5952 case ${lang_frag} in 5953 ..) ;; 5954 # The odd quoting in the next line works around 5955 # an apparent bug in bash 1.12 on linux. 5956 ${srcdir}/gcc/[*]/config-lang.in) ;; 5957 *) 5958 # From the config-lang.in, get $language, $target_libs, 5959 # $lang_dirs, $boot_language, and $build_by_default 5960 language= 5961 target_libs= 5962 lang_dirs= 5963 subdir_requires= 5964 boot_language=no 5965 build_by_default=yes 5966 . ${lang_frag} 5967 if test x${language} = x; then 5968 echo "${lang_frag} doesn't set \$language." 1>&2 5969 exit 1 5970 fi 5971 5972 if test "$language" = "c++" \ 5973 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then 5974 boot_language=yes 5975 fi 5976 5977 case ,${enable_languages}, in 5978 *,${language},*) 5979 # Language was explicitly selected; include it. 5980 add_this_lang=yes 5981 ;; 5982 *,all,*) 5983 # 'all' was selected, select it if it is a default language 5984 add_this_lang=${build_by_default} 5985 ;; 5986 *) 5987 add_this_lang=no 5988 ;; 5989 esac 5990 5991 # Disable languages that need other directories if these aren't available. 5992 for i in $subdir_requires; do 5993 test -f "$srcdir/gcc/$i/config-lang.in" && continue 5994 case ,${enable_languages}, in 5995 *,${language},*) 5996 # Specifically requested language; tell them. 5997 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5 5998 ;; 5999 *) 6000 # Silently disable. 6001 add_this_lang=unsupported 6002 ;; 6003 esac 6004 done 6005 6006 # Disable Ada if no preexisting GNAT is available. 6007 case ,${enable_languages},:${language}:${have_gnat} in 6008 *,${language},*:ada:no) 6009 # Specifically requested language; tell them. 6010 as_fn_error "GNAT is required to build $language" "$LINENO" 5 6011 ;; 6012 *:ada:no) 6013 # Silently disable. 6014 add_this_lang=unsupported 6015 ;; 6016 esac 6017 6018 # Disable a language that is unsupported by the target. 6019 case " $unsupported_languages " in 6020 *" $language "*) 6021 add_this_lang=unsupported 6022 ;; 6023 esac 6024 6025 case $add_this_lang in 6026 unsupported) 6027 # Remove language-dependent dirs. 6028 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\" 6029 ;; 6030 no) 6031 # Remove language-dependent dirs; still show language as supported. 6032 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\" 6033 potential_languages="${potential_languages}${language}," 6034 ;; 6035 yes) 6036 new_enable_languages="${new_enable_languages}${language}," 6037 potential_languages="${potential_languages}${language}," 6038 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"` 6039 case "${boot_language}:,$enable_stage1_languages," in 6040 yes:* | *:*,$language,* | *:*,yes, | *:*,all,) 6041 # Add to (comma-separated) list of stage 1 languages. 6042 case ",$stage1_languages," in 6043 *,$language,* | ,yes, | ,all,) ;; 6044 *) stage1_languages="${stage1_languages}${language}," ;; 6045 esac 6046 # We need to bootstrap any supporting libraries. 6047 bootstrap_target_libs="${bootstrap_target_libs}${target_libs}," 6048 ;; 6049 esac 6050 ;; 6051 esac 6052 ;; 6053 esac 6054 done 6055 6056 # Check whether --enable-stage1-languages was given. 6057if test "${enable_stage1_languages+set}" = set; then : 6058 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in 6059 ,no,|,,) 6060 # Set it to something that will have no effect in the loop below 6061 enable_stage1_languages=c ;; 6062 ,yes,) 6063 enable_stage1_languages=`echo $new_enable_languages | \ 6064 sed -e "s/^,//" -e "s/,$//" ` ;; 6065 *,all,*) 6066 enable_stage1_languages=`echo ,$enable_stage1_languages, | \ 6067 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;; 6068 esac 6069 6070 # Add "good" languages from enable_stage1_languages to stage1_languages, 6071 # while "bad" languages go in missing_languages. Leave no duplicates. 6072 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do 6073 case $potential_languages in 6074 *,$i,*) 6075 case $stage1_languages in 6076 *,$i,*) ;; 6077 *) stage1_languages="$stage1_languages$i," ;; 6078 esac ;; 6079 *) 6080 case $missing_languages in 6081 *,$i,*) ;; 6082 *) missing_languages="$missing_languages$i," ;; 6083 esac ;; 6084 esac 6085 done 6086fi 6087 6088 6089 # Remove leading/trailing commas that were added for simplicity 6090 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"` 6091 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"` 6092 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"` 6093 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"` 6094 6095 if test "x$missing_languages" != x; then 6096 as_fn_error " 6097The following requested languages could not be built: ${missing_languages} 6098Supported languages are: ${potential_languages}" "$LINENO" 5 6099 fi 6100 if test "x$new_enable_languages" != "x$enable_languages"; then 6101 echo The following languages will be built: ${new_enable_languages} 6102 enable_languages="$new_enable_languages" 6103 fi 6104 6105 6106 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" ` 6107fi 6108 6109# Handle --disable-<component> generically. 6110for dir in $configdirs $build_configdirs $target_configdirs ; do 6111 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g` 6112 varname=`echo $dirname | sed -e s/+/_/g` 6113 if eval test x\${enable_${varname}} "=" xno ; then 6114 noconfigdirs="$noconfigdirs $dir" 6115 fi 6116done 6117 6118# Check for Boehm's garbage collector 6119# Check whether --enable-objc-gc was given. 6120if test "${enable_objc_gc+set}" = set; then : 6121 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in 6122 *,objc,*:*:yes:*target-boehm-gc*) 6123 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5 6124 ;; 6125esac 6126fi 6127 6128 6129# Make sure we only build Boehm's garbage collector if required. 6130case ,${enable_languages},:${enable_objc_gc} in 6131 *,objc,*:yes) 6132 # Keep target-boehm-gc if requested for Objective-C. 6133 ;; 6134 *) 6135 # Otherwise remove target-boehm-gc depending on target-libjava. 6136 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then 6137 noconfigdirs="$noconfigdirs target-boehm-gc" 6138 fi 6139 ;; 6140esac 6141 6142# Remove the entries in $skipdirs and $noconfigdirs from $configdirs, 6143# $build_configdirs and $target_configdirs. 6144# If we have the source for $noconfigdirs entries, add them to $notsupp. 6145 6146notsupp="" 6147for dir in . $skipdirs $noconfigdirs ; do 6148 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g` 6149 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then 6150 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"` 6151 if test -r $srcdir/$dirname/configure ; then 6152 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then 6153 true 6154 else 6155 notsupp="$notsupp $dir" 6156 fi 6157 fi 6158 fi 6159 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then 6160 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"` 6161 if test -r $srcdir/$dirname/configure ; then 6162 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then 6163 true 6164 else 6165 notsupp="$notsupp $dir" 6166 fi 6167 fi 6168 fi 6169 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then 6170 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"` 6171 if test -r $srcdir/$dirname/configure ; then 6172 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then 6173 true 6174 else 6175 notsupp="$notsupp $dir" 6176 fi 6177 fi 6178 fi 6179done 6180 6181# Sometimes the tools are distributed with libiberty but with no other 6182# libraries. In that case, we don't want to build target-libiberty. 6183# Don't let libgcc imply libiberty either. 6184if test -n "${target_configdirs}" ; then 6185 libgcc= 6186 others= 6187 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do 6188 if test "$i" = "libgcc"; then 6189 libgcc=target-libgcc 6190 elif test "$i" != "libiberty" ; then 6191 if test -r $srcdir/$i/configure ; then 6192 others=yes; 6193 break; 6194 fi 6195 fi 6196 done 6197 if test -z "${others}" ; then 6198 target_configdirs=$libgcc 6199 fi 6200fi 6201 6202# Quietly strip out all directories which aren't configurable in this tree. 6203# This relies on all configurable subdirectories being autoconfiscated, which 6204# is now the case. 6205build_configdirs_all="$build_configdirs" 6206build_configdirs= 6207for i in ${build_configdirs_all} ; do 6208 j=`echo $i | sed -e s/build-//g` 6209 if test -f ${srcdir}/$j/configure ; then 6210 build_configdirs="${build_configdirs} $i" 6211 fi 6212done 6213 6214configdirs_all="$configdirs" 6215configdirs= 6216for i in ${configdirs_all} ; do 6217 if test -f ${srcdir}/$i/configure ; then 6218 configdirs="${configdirs} $i" 6219 fi 6220done 6221 6222target_configdirs_all="$target_configdirs" 6223target_configdirs= 6224for i in ${target_configdirs_all} ; do 6225 j=`echo $i | sed -e s/target-//g` 6226 if test -f ${srcdir}/$j/configure ; then 6227 target_configdirs="${target_configdirs} $i" 6228 fi 6229done 6230 6231# Produce a warning message for the subdirs we can't configure. 6232# This isn't especially interesting in the Cygnus tree, but in the individual 6233# FSF releases, it's important to let people know when their machine isn't 6234# supported by the one or two programs in a package. 6235 6236if test -n "${notsupp}" && test -z "${norecursion}" ; then 6237 # If $appdirs is non-empty, at least one of those directories must still 6238 # be configured, or we error out. (E.g., if the gas release supports a 6239 # specified target in some subdirs but not the gas subdir, we shouldn't 6240 # pretend that all is well.) 6241 if test -n "$appdirs" ; then 6242 for dir in $appdirs ; do 6243 if test -r $dir/Makefile.in ; then 6244 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then 6245 appdirs="" 6246 break 6247 fi 6248 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then 6249 appdirs="" 6250 break 6251 fi 6252 fi 6253 done 6254 if test -n "$appdirs" ; then 6255 echo "*** This configuration is not supported by this package." 1>&2 6256 exit 1 6257 fi 6258 fi 6259 # Okay, some application will build, or we don't care to check. Still 6260 # notify of subdirs not getting built. 6261 echo "*** This configuration is not supported in the following subdirectories:" 1>&2 6262 echo " ${notsupp}" 1>&2 6263 echo " (Any other directories should still work fine.)" 1>&2 6264fi 6265 6266case "$host" in 6267 *msdosdjgpp*) 6268 enable_gdbtk=no ;; 6269esac 6270 6271# To find our prefix, in gcc_cv_tool_prefix. 6272 6273# The user is always right. 6274if test "${PATH_SEPARATOR+set}" != set; then 6275 echo "#! /bin/sh" >conf$$.sh 6276 echo "exit 0" >>conf$$.sh 6277 chmod +x conf$$.sh 6278 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6279 PATH_SEPARATOR=';' 6280 else 6281 PATH_SEPARATOR=: 6282 fi 6283 rm -f conf$$.sh 6284fi 6285 6286 6287 6288if test "x$exec_prefix" = xNONE; then 6289 if test "x$prefix" = xNONE; then 6290 gcc_cv_tool_prefix=$ac_default_prefix 6291 else 6292 gcc_cv_tool_prefix=$prefix 6293 fi 6294else 6295 gcc_cv_tool_prefix=$exec_prefix 6296fi 6297 6298# If there is no compiler in the tree, use the PATH only. In any 6299# case, if there is no compiler in the tree nobody should use 6300# AS_FOR_TARGET and LD_FOR_TARGET. 6301if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then 6302 gcc_version=`cat $srcdir/gcc/BASE-VER` 6303 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR" 6304 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR" 6305 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR" 6306 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR" 6307 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR" 6308 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR" 6309else 6310 gcc_cv_tool_dirs= 6311fi 6312 6313if test x$build = x$target && test -n "$md_exec_prefix"; then 6314 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR" 6315fi 6316 6317 6318 6319copy_dirs= 6320 6321 6322# Check whether --with-build-sysroot was given. 6323if test "${with_build_sysroot+set}" = set; then : 6324 withval=$with_build_sysroot; if test x"$withval" != x ; then 6325 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval" 6326 fi 6327else 6328 SYSROOT_CFLAGS_FOR_TARGET= 6329fi 6330 6331 6332 6333 6334# Check whether --with-debug-prefix-map was given. 6335if test "${with_debug_prefix_map+set}" = set; then : 6336 withval=$with_debug_prefix_map; if test x"$withval" != x; then 6337 DEBUG_PREFIX_CFLAGS_FOR_TARGET= 6338 for debug_map in $withval; do 6339 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map" 6340 done 6341 fi 6342else 6343 DEBUG_PREFIX_CFLAGS_FOR_TARGET= 6344fi 6345 6346 6347 6348# During gcc bootstrap, if we use some random cc for stage1 then CFLAGS 6349# might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS 6350# might also be empty (or "-g", if a non-GCC C++ compiler is in the path). 6351# We want to ensure that TARGET libraries (which we know are built with 6352# gcc) are built with "-O2 -g", so include those options when setting 6353# CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. 6354if test "x$CFLAGS_FOR_TARGET" = x; then 6355 CFLAGS_FOR_TARGET=$CFLAGS 6356 case " $CFLAGS " in 6357 *" -O2 "*) ;; 6358 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;; 6359 esac 6360 case " $CFLAGS " in 6361 *" -g "* | *" -g3 "*) ;; 6362 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;; 6363 esac 6364fi 6365 6366 6367if test "x$CXXFLAGS_FOR_TARGET" = x; then 6368 CXXFLAGS_FOR_TARGET=$CXXFLAGS 6369 case " $CXXFLAGS " in 6370 *" -O2 "*) ;; 6371 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;; 6372 esac 6373 case " $CXXFLAGS " in 6374 *" -g "* | *" -g3 "*) ;; 6375 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;; 6376 esac 6377fi 6378 6379 6380# Handle --with-headers=XXX. If the value is not "yes", the contents of 6381# the named directory are copied to $(tooldir)/sys-include. 6382if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then 6383 if test x${is_cross_compiler} = xno ; then 6384 echo 1>&2 '***' --with-headers is only supported when cross compiling 6385 exit 1 6386 fi 6387 if test x"${with_headers}" != xyes ; then 6388 x=${gcc_cv_tool_prefix} 6389 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include" 6390 fi 6391fi 6392 6393# Handle --with-libs=XXX. If the value is not "yes", the contents of 6394# the name directories are copied to $(tooldir)/lib. Multiple directories 6395# are permitted. 6396if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then 6397 if test x${is_cross_compiler} = xno ; then 6398 echo 1>&2 '***' --with-libs is only supported when cross compiling 6399 exit 1 6400 fi 6401 if test x"${with_libs}" != xyes ; then 6402 # Copy the libraries in reverse order, so that files in the first named 6403 # library override files in subsequent libraries. 6404 x=${gcc_cv_tool_prefix} 6405 for l in ${with_libs}; do 6406 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}" 6407 done 6408 fi 6409fi 6410 6411# Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate. 6412# 6413# This is done by determining whether or not the appropriate directory 6414# is available, and by checking whether or not specific configurations 6415# have requested that this magic not happen. 6416# 6417# The command line options always override the explicit settings in 6418# configure.in, and the settings in configure.in override this magic. 6419# 6420# If the default for a toolchain is to use GNU as and ld, and you don't 6421# want to do that, then you should use the --without-gnu-as and 6422# --without-gnu-ld options for the configure script. Similarly, if 6423# the default is to use the included zlib and you don't want to do that, 6424# you should use the --with-system-zlib option for the configure script. 6425 6426if test x${use_gnu_as} = x && 6427 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then 6428 with_gnu_as=yes 6429 extra_host_args="$extra_host_args --with-gnu-as" 6430fi 6431 6432if test x${use_gnu_ld} = x && 6433 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then 6434 with_gnu_ld=yes 6435 extra_host_args="$extra_host_args --with-gnu-ld" 6436fi 6437 6438if test x${use_included_zlib} = x && 6439 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then 6440 : 6441else 6442 with_system_zlib=yes 6443 extra_host_args="$extra_host_args --with-system-zlib" 6444fi 6445 6446# If using newlib, add --with-newlib to the extra_host_args so that gcc/configure 6447# can detect this case. 6448 6449if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then 6450 with_newlib=yes 6451 extra_host_args="$extra_host_args --with-newlib" 6452fi 6453 6454# Handle ${copy_dirs} 6455set fnord ${copy_dirs} 6456shift 6457while test $# != 0 ; do 6458 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then 6459 : 6460 else 6461 echo Copying $1 to $2 6462 6463 # Use the install script to create the directory and all required 6464 # parent directories. 6465 if test -d $2 ; then 6466 : 6467 else 6468 echo >config.temp 6469 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED 6470 fi 6471 6472 # Copy the directory, assuming we have tar. 6473 # FIXME: Should we use B in the second tar? Not all systems support it. 6474 (cd $1; tar -cf - .) | (cd $2; tar -xpf -) 6475 6476 # It is the responsibility of the user to correctly adjust all 6477 # symlinks. If somebody can figure out how to handle them correctly 6478 # here, feel free to add the code. 6479 6480 echo $1 > $2/COPIED 6481 fi 6482 shift; shift 6483done 6484 6485# Determine a target-dependent exec_prefix that the installed 6486# gcc will search in. Keep this list sorted by triplet, with 6487# the *-*-osname triplets last. 6488md_exec_prefix= 6489case "${target}" in 6490 alpha*-*-*vms*) 6491 md_exec_prefix=/gnu/lib/gcc-lib 6492 ;; 6493 i[34567]86-pc-msdosdjgpp*) 6494 md_exec_prefix=/dev/env/DJDIR/bin 6495 ;; 6496 i[34567]86-*-sco3.2v5*) 6497 if test $with_gnu_as = yes; then 6498 md_exec_prefix=/usr/gnu/bin 6499 else 6500 md_exec_prefix=/usr/ccs/bin/elf 6501 fi 6502 ;; 6503 6504 mn10300-*-* | \ 6505 powerpc-*-chorusos* | \ 6506 powerpc*-*-eabi* | \ 6507 powerpc*-*-sysv* | \ 6508 powerpc*-*-kaos* | \ 6509 s390x-ibm-tpf*) 6510 md_exec_prefix=/usr/ccs/bin 6511 ;; 6512 sparc64-*-elf*) 6513 ;; 6514 v850*-*-*) 6515 md_exec_prefix=/usr/ccs/bin 6516 ;; 6517 xtensa*-*-elf*) 6518 ;; 6519 6520 *-*-beos* | \ 6521 *-*-elf* | \ 6522 *-*-hpux* | \ 6523 *-*-netware* | \ 6524 *-*-nto-qnx* | \ 6525 *-*-rtems* | \ 6526 *-*-solaris2* | \ 6527 *-*-sysv[45]* | \ 6528 *-*-vxworks* | \ 6529 *-wrs-windiss) 6530 md_exec_prefix=/usr/ccs/bin 6531 ;; 6532esac 6533 6534extra_arflags_for_target= 6535extra_nmflags_for_target= 6536extra_ranlibflags_for_target= 6537target_makefile_frag=/dev/null 6538case "${target}" in 6539 mep*-*-*) 6540 target_makefile_frag="config/mt-mep" 6541 ;; 6542 spu-*-*) 6543 target_makefile_frag="config/mt-spu" 6544 ;; 6545 mips*-sde-elf*) 6546 target_makefile_frag="config/mt-sde" 6547 ;; 6548 mipsisa*-*-elfoabi*) 6549 target_makefile_frag="config/mt-mips-elfoabi" 6550 ;; 6551 mips*-*-*linux* | mips*-*-gnu*) 6552 target_makefile_frag="config/mt-mips-gnu" 6553 ;; 6554 *-*-netware*) 6555 target_makefile_frag="config/mt-netware" 6556 ;; 6557 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) 6558 target_makefile_frag="config/mt-gnu" 6559 ;; 6560 *-*-aix4.[3456789]* | *-*-aix[56789].*) 6561 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm 6562 # commands to handle both 32-bit and 64-bit objects. These flags are 6563 # harmless if we're using GNU nm or ar. 6564 extra_arflags_for_target=" -X32_64" 6565 extra_nmflags_for_target=" -B -X32_64" 6566 ;; 6567 *-*-darwin[3-9]*) 6568 # ranlib before Darwin10 requires the -c flag to look at common symbols. 6569 extra_ranlibflags_for_target=" -c" 6570 ;; 6571 mips*-*-pe | sh*-*-pe | *arm-wince-pe) 6572 target_makefile_frag="config/mt-wince" 6573 ;; 6574esac 6575 6576alphaieee_frag=/dev/null 6577case $target in 6578 alpha*-*-*) 6579 # This just makes sure to use the -mieee option to build target libs. 6580 # This should probably be set individually by each library. 6581 alphaieee_frag="config/mt-alphaieee" 6582 ;; 6583esac 6584 6585# If --enable-target-optspace always use -Os instead of -O2 to build 6586# the target libraries, similarly if it is not specified, use -Os 6587# on selected platforms. 6588ospace_frag=/dev/null 6589case "${enable_target_optspace}:${target}" in 6590 yes:*) 6591 ospace_frag="config/mt-ospace" 6592 ;; 6593 :d30v-*) 6594 ospace_frag="config/mt-d30v" 6595 ;; 6596 :m32r-* | :d10v-* | :fr30-*) 6597 ospace_frag="config/mt-ospace" 6598 ;; 6599 no:* | :*) 6600 ;; 6601 *) 6602 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2 6603 ;; 6604esac 6605 6606# Default to using --with-stabs for certain targets. 6607if test x${with_stabs} = x ; then 6608 case "${target}" in 6609 mips*-*-irix[56]*) 6610 ;; 6611 mips*-*-* | alpha*-*-osf*) 6612 with_stabs=yes; 6613 extra_host_args="${extra_host_args} --with-stabs" 6614 ;; 6615 esac 6616fi 6617 6618# hpux11 in 64bit mode has libraries in a weird place. Arrange to find 6619# them automatically. 6620case "${host}" in 6621 hppa*64*-*-hpux11*) 6622 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include" 6623 ;; 6624esac 6625 6626# Some systems (e.g., one of the i386-aix systems the gas testers are 6627# using) don't handle "\$" correctly, so don't use it here. 6628tooldir='${exec_prefix}'/${target_noncanonical} 6629build_tooldir=${tooldir} 6630 6631# Create a .gdbinit file which runs the one in srcdir 6632# and tells GDB to look there for source files. 6633 6634if test -r ${srcdir}/.gdbinit ; then 6635 case ${srcdir} in 6636 .) ;; 6637 *) cat > ./.gdbinit <<EOF 6638# ${NO_EDIT} 6639dir ${srcdir} 6640dir . 6641source ${srcdir}/.gdbinit 6642EOF 6643 ;; 6644 esac 6645fi 6646 6647# Make sure that the compiler is able to generate an executable. If it 6648# can't, we are probably in trouble. We don't care whether we can run the 6649# executable--we might be using a cross compiler--we only care whether it 6650# can be created. At this point the main configure script has set CC. 6651we_are_ok=no 6652echo "int main () { return 0; }" > conftest.c 6653${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c 6654if test $? = 0 ; then 6655 if test -s conftest || test -s conftest.exe ; then 6656 we_are_ok=yes 6657 fi 6658fi 6659case $we_are_ok in 6660 no) 6661 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed." 6662 echo 1>&2 "*** You must set the environment variable CC to a working compiler." 6663 rm -f conftest* 6664 exit 1 6665 ;; 6666esac 6667rm -f conftest* 6668 6669# The Solaris /usr/ucb/cc compiler does not appear to work. 6670case "${host}" in 6671 sparc-sun-solaris2*) 6672 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`" 6673 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then 6674 could_use= 6675 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin" 6676 if test -d /opt/cygnus/bin ; then 6677 if test "$could_use" = "" ; then 6678 could_use="/opt/cygnus/bin" 6679 else 6680 could_use="$could_use or /opt/cygnus/bin" 6681 fi 6682 fi 6683 if test "$could_use" = "" ; then 6684 echo "Warning: compilation may fail because you're using" 6685 echo "/usr/ucb/cc. You should change your PATH or CC " 6686 echo "variable and rerun configure." 6687 else 6688 echo "Warning: compilation may fail because you're using" 6689 echo "/usr/ucb/cc, when you should use the C compiler from" 6690 echo "$could_use. You should change your" 6691 echo "PATH or CC variable and rerun configure." 6692 fi 6693 fi 6694 ;; 6695esac 6696 6697# Decide which environment variable is used to find dynamic libraries. 6698case "${host}" in 6699 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;; 6700 *-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;; 6701 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;; 6702 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;; 6703esac 6704 6705# On systems where the dynamic library environment variable is PATH, 6706# gcc/ will put dynamic libraries into a subdirectory to avoid adding 6707# built executables to PATH. 6708if test "$RPATH_ENVVAR" = PATH; then 6709 GCC_SHLIB_SUBDIR=/shlib 6710else 6711 GCC_SHLIB_SUBDIR= 6712fi 6713 6714# Record target_configdirs and the configure arguments for target and 6715# build configuration in Makefile. 6716target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'` 6717build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'` 6718 6719# If we are building libgomp, bootstrap it. 6720if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then 6721 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp, 6722fi 6723 6724# Determine whether gdb needs tk/tcl or not. 6725# Use 'maybe' since enable_gdbtk might be true even if tk isn't available 6726# and in that case we want gdb to be built without tk. Ugh! 6727# In fact I believe gdb is the *only* package directly dependent on tk, 6728# so we should be able to put the 'maybe's in unconditionally and 6729# leave out the maybe dependencies when enable_gdbtk is false. I'm not 6730# 100% sure that that's safe though. 6731 6732gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui" 6733case "$enable_gdbtk" in 6734 no) 6735 GDB_TK="" ;; 6736 yes) 6737 GDB_TK="${gdb_tk}" ;; 6738 *) 6739 # Only add the dependency on gdbtk when GDBtk is part of the gdb 6740 # distro. Eventually someone will fix this and move Insight, nee 6741 # gdbtk to a separate directory. 6742 if test -d ${srcdir}/gdb/gdbtk ; then 6743 GDB_TK="${gdb_tk}" 6744 else 6745 GDB_TK="" 6746 fi 6747 ;; 6748esac 6749CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g` 6750INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g` 6751 6752# Strip out unwanted targets. 6753 6754# While at that, we remove Makefiles if we were started for recursive 6755# configuration, so that the top-level Makefile reconfigures them, 6756# like we used to do when configure itself was recursive. 6757 6758# Loop over modules. We used to use the "$extrasub" feature from Autoconf 6759# but now we're fixing up the Makefile ourselves with the additional 6760# commands passed to AC_CONFIG_FILES. Use separate variables 6761# extrasub-{build,host,target} not because there is any reason to split 6762# the substitutions up that way, but only to remain below the limit of 6763# 99 commands in a script, for HP-UX sed. 6764# Do not nest @if/@endif pairs, because configure will not warn you at all. 6765 6766# Check whether --enable-bootstrap was given. 6767if test "${enable_bootstrap+set}" = set; then : 6768 enableval=$enable_bootstrap; 6769else 6770 enable_bootstrap=default 6771fi 6772 6773 6774# Issue errors and warnings for invalid/strange bootstrap combinations. 6775case "$configdirs" in 6776 *gcc*) have_compiler=yes ;; 6777 *) have_compiler=no ;; 6778esac 6779 6780case "$have_compiler:$host:$target:$enable_bootstrap" in 6781 *:*:*:no) ;; 6782 6783 # Default behavior. Enable bootstrap if we have a compiler 6784 # and we are in a native configuration. 6785 yes:$build:$build:default) 6786 enable_bootstrap=yes ;; 6787 6788 *:*:*:default) 6789 enable_bootstrap=no ;; 6790 6791 # We have a compiler and we are in a native configuration, bootstrap is ok 6792 yes:$build:$build:yes) 6793 ;; 6794 6795 # Other configurations, but we have a compiler. Assume the user knows 6796 # what he's doing. 6797 yes:*:*:yes) 6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5 6799$as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;} 6800 ;; 6801 6802 # No compiler: if they passed --enable-bootstrap explicitly, fail 6803 no:*:*:yes) 6804 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;; 6805 6806 # Fail if wrong command line 6807 *) 6808 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5 6809 ;; 6810esac 6811 6812case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in 6813 *,c++,*:yes:yes) ;; 6814 *:yes:yes) 6815 as_fn_error "bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5 6816 ;; 6817esac 6818 6819case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in 6820 yes:yes:*\ gold\ *:*,c++,*) ;; 6821 yes:yes:*\ gold\ *:*) 6822 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5 6823 ;; 6824esac 6825 6826# Adjust the toplevel makefile according to whether bootstrap was selected. 6827case $enable_bootstrap in 6828 yes) 6829 bootstrap_suffix=bootstrap 6830 BUILD_CONFIG=bootstrap-debug 6831 ;; 6832 no) 6833 bootstrap_suffix=no-bootstrap 6834 BUILD_CONFIG= 6835 ;; 6836esac 6837 6838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5 6839$as_echo_n "checking for default BUILD_CONFIG... " >&6; } 6840 6841 6842# Check whether --with-build-config was given. 6843if test "${with_build_config+set}" = set; then : 6844 withval=$with_build_config; case $with_build_config in 6845 yes) with_build_config= ;; 6846 no) with_build_config= BUILD_CONFIG= ;; 6847 esac 6848fi 6849 6850 6851if test "x${with_build_config}" != x; then 6852 BUILD_CONFIG=$with_build_config 6853else 6854 case $BUILD_CONFIG in 6855 bootstrap-debug) 6856 if echo "int f (void) { return 0; }" > conftest.c && 6857 ${CC} -c conftest.c && 6858 mv conftest.o conftest.o.g0 && 6859 ${CC} -c -g conftest.c && 6860 mv conftest.o conftest.o.g && 6861 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then 6862 : 6863 else 6864 BUILD_CONFIG= 6865 fi 6866 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g 6867 ;; 6868 esac 6869fi 6870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5 6871$as_echo "$BUILD_CONFIG" >&6; } 6872 6873 6874extrasub_build= 6875for module in ${build_configdirs} ; do 6876 if test -z "${no_recursion}" \ 6877 && test -f ${build_subdir}/${module}/Makefile; then 6878 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure" 6879 rm -f ${build_subdir}/${module}/Makefile 6880 fi 6881 extrasub_build="$extrasub_build 6882/^@if build-$module\$/d 6883/^@endif build-$module\$/d 6884/^@if build-$module-$bootstrap_suffix\$/d 6885/^@endif build-$module-$bootstrap_suffix\$/d" 6886done 6887extrasub_host= 6888for module in ${configdirs} ; do 6889 if test -z "${no_recursion}"; then 6890 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do 6891 if test -f ${file}; then 6892 echo 1>&2 "*** removing ${file} to force reconfigure" 6893 rm -f ${file} 6894 fi 6895 done 6896 fi 6897 extrasub_host="$extrasub_host 6898/^@if $module\$/d 6899/^@endif $module\$/d 6900/^@if $module-$bootstrap_suffix\$/d 6901/^@endif $module-$bootstrap_suffix\$/d" 6902done 6903extrasub_target= 6904for module in ${target_configdirs} ; do 6905 if test -z "${no_recursion}" \ 6906 && test -f ${target_subdir}/${module}/Makefile; then 6907 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure" 6908 rm -f ${target_subdir}/${module}/Makefile 6909 fi 6910 6911 # We only bootstrap target libraries listed in bootstrap_target_libs. 6912 case $bootstrap_target_libs in 6913 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;; 6914 *) target_bootstrap_suffix=no-bootstrap ;; 6915 esac 6916 6917 extrasub_target="$extrasub_target 6918/^@if target-$module\$/d 6919/^@endif target-$module\$/d 6920/^@if target-$module-$target_bootstrap_suffix\$/d 6921/^@endif target-$module-$target_bootstrap_suffix\$/d" 6922done 6923 6924# Do the final fixup along with target modules. 6925extrasub_target="$extrasub_target 6926/^@if /,/^@endif /d" 6927 6928# Create the serialization dependencies. This uses a temporary file. 6929 6930# Check whether --enable-serial-configure was given. 6931if test "${enable_serial_configure+set}" = set; then : 6932 enableval=$enable_serial_configure; 6933fi 6934 6935 6936case ${enable_serial_configure} in 6937 yes) 6938 enable_serial_build_configure=yes 6939 enable_serial_host_configure=yes 6940 enable_serial_target_configure=yes 6941 ;; 6942esac 6943 6944# These force 'configure's to be done one at a time, to avoid problems 6945# with contention over a shared config.cache. 6946rm -f serdep.tmp 6947echo '# serdep.tmp' > serdep.tmp 6948olditem= 6949test "x${enable_serial_build_configure}" = xyes && 6950for item in ${build_configdirs} ; do 6951 case ${olditem} in 6952 "") ;; 6953 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;; 6954 esac 6955 olditem=${item} 6956done 6957olditem= 6958test "x${enable_serial_host_configure}" = xyes && 6959for item in ${configdirs} ; do 6960 case ${olditem} in 6961 "") ;; 6962 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;; 6963 esac 6964 olditem=${item} 6965done 6966olditem= 6967test "x${enable_serial_target_configure}" = xyes && 6968for item in ${target_configdirs} ; do 6969 case ${olditem} in 6970 "") ;; 6971 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;; 6972 esac 6973 olditem=${item} 6974done 6975serialization_dependencies=serdep.tmp 6976 6977 6978# Base args. Strip norecursion, cache-file, srcdir, host, build, 6979# target, nonopt, and variable assignments. These are the ones we 6980# might not want to pass down to subconfigures. The exception being 6981# --cache-file=/dev/null, which is used to turn off the use of cache 6982# files altogether, and which should be passed on to subconfigures. 6983# Also strip program-prefix, program-suffix, and program-transform-name, 6984# so that we can pass down a consistent program-transform-name. 6985baseargs= 6986keep_next=no 6987skip_next=no 6988eval "set -- $ac_configure_args" 6989for ac_arg 6990do 6991 if test X"$skip_next" = X"yes"; then 6992 skip_next=no 6993 continue 6994 fi 6995 if test X"$keep_next" = X"yes"; then 6996 case $ac_arg in 6997 *\'*) 6998 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 6999 esac 7000 baseargs="$baseargs '$ac_arg'" 7001 keep_next=no 7002 continue 7003 fi 7004 7005 # Handle separated arguments. Based on the logic generated by 7006 # autoconf 2.59. 7007 case $ac_arg in 7008 *=* | --config-cache | -C | -disable-* | --disable-* \ 7009 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 7010 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 7011 | -with-* | --with-* | -without-* | --without-* | --x) 7012 separate_arg=no 7013 ;; 7014 -*) 7015 separate_arg=yes 7016 ;; 7017 *) 7018 separate_arg=no 7019 ;; 7020 esac 7021 7022 case "$ac_arg" in 7023 --cache-file=/dev/null | \ 7024 -cache-file=/dev/null ) 7025 # Handled here to avoid the test to skip args below. 7026 baseargs="$baseargs '$ac_arg'" 7027 # Assert: $separate_arg should always be no. 7028 keep_next=$separate_arg 7029 ;; 7030 --no*) 7031 continue 7032 ;; 7033 --c* | \ 7034 --sr* | \ 7035 --ho* | \ 7036 --bu* | \ 7037 --t* | \ 7038 --program-* | \ 7039 -cache_file* | \ 7040 -srcdir* | \ 7041 -host* | \ 7042 -build* | \ 7043 -target* | \ 7044 -program-prefix* | \ 7045 -program-suffix* | \ 7046 -program-transform-name* ) 7047 skip_next=$separate_arg 7048 continue 7049 ;; 7050 -*) 7051 # An option. Add it. 7052 case $ac_arg in 7053 *\'*) 7054 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7055 esac 7056 baseargs="$baseargs '$ac_arg'" 7057 keep_next=$separate_arg 7058 ;; 7059 *) 7060 # Either a variable assignment, or a nonopt (triplet). Don't 7061 # pass it down; let the Makefile handle this. 7062 continue 7063 ;; 7064 esac 7065done 7066# Remove the initial space we just introduced and, as these will be 7067# expanded by make, quote '$'. 7068baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'` 7069 7070# Add in --program-transform-name, after --program-prefix and 7071# --program-suffix have been applied to it. Autoconf has already 7072# doubled dollar signs and backslashes in program_transform_name; we want 7073# the backslashes un-doubled, and then the entire thing wrapped in single 7074# quotes, because this will be expanded first by make and then by the shell. 7075# Also, because we want to override the logic in subdir configure scripts to 7076# choose program_transform_name, replace any s,x,x, with s,y,y,. 7077sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out 7078${program_transform_name} 7079EOF_SED 7080gcc_transform_name=`cat conftestsed.out` 7081rm -f conftestsed.out 7082baseargs="$baseargs --program-transform-name='${gcc_transform_name}'" 7083if test "$silent" = yes; then 7084 baseargs="$baseargs --silent" 7085fi 7086baseargs="$baseargs --disable-option-checking" 7087 7088# Record and document user additions to sub configure arguments. 7089 7090 7091 7092 7093# For the build-side libraries, we just need to pretend we're native, 7094# and not use the same cache file. Multilibs are neither needed nor 7095# desired. 7096build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}" 7097 7098# For host modules, accept cache file option, or specification as blank. 7099case "${cache_file}" in 7100"") # empty 7101 cache_file_option="" ;; 7102/* | [A-Za-z]:[\\/]* ) # absolute path 7103 cache_file_option="--cache-file=${cache_file}" ;; 7104*) # relative path 7105 cache_file_option="--cache-file=../${cache_file}" ;; 7106esac 7107 7108# Host dirs don't like to share a cache file either, horribly enough. 7109# This seems to be due to autoconf 2.5x stupidity. 7110host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}" 7111 7112target_configargs="$target_configargs ${baseargs}" 7113 7114# Passing a --with-cross-host argument lets the target libraries know 7115# whether they are being built with a cross-compiler or being built 7116# native. However, it would be better to use other mechanisms to make the 7117# sorts of decisions they want to make on this basis. Please consider 7118# this option to be deprecated. FIXME. 7119if test x${is_cross_compiler} = xyes ; then 7120 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}" 7121fi 7122 7123# Default to --enable-multilib. 7124if test x${enable_multilib} = x ; then 7125 target_configargs="--enable-multilib ${target_configargs}" 7126fi 7127 7128# Pass --with-newlib if appropriate. Note that target_configdirs has 7129# changed from the earlier setting of with_newlib. 7130if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then 7131 target_configargs="--with-newlib ${target_configargs}" 7132fi 7133 7134# Different target subdirs use different values of certain variables 7135# (notably CXX). Worse, multilibs use *lots* of different values. 7136# Worse yet, autoconf 2.5x makes some of these 'precious', meaning that 7137# it doesn't automatically accept command-line overrides of them. 7138# This means it's not safe for target subdirs to share a cache file, 7139# which is disgusting, but there you have it. Hopefully this can be 7140# fixed in future. It's still worthwhile to use a cache file for each 7141# directory. I think. 7142 7143# Pass the appropriate --build, --host, --target and --cache-file arguments. 7144# We need to pass --target, as newer autoconf's requires consistency 7145# for target_alias and gcc doesn't manage it consistently. 7146target_configargs="--cache-file=./config.cache ${target_configargs}" 7147 7148FLAGS_FOR_TARGET= 7149case " $target_configdirs " in 7150 *" newlib "*) 7151 case " $target_configargs " in 7152 *" --with-newlib "*) 7153 case "$target" in 7154 *-cygwin*) 7155 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' 7156 ;; 7157 esac 7158 7159 # If we're not building GCC, don't discard standard headers. 7160 if test -d ${srcdir}/gcc; then 7161 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc' 7162 7163 if test "${build}" != "${host}"; then 7164 # On Canadian crosses, CC_FOR_TARGET will have already been set 7165 # by `configure', so we won't have an opportunity to add -Bgcc/ 7166 # to it. This is right: we don't want to search that directory 7167 # for binaries, but we want the header files in there, so add 7168 # them explicitly. 7169 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include' 7170 7171 # Someone might think of using the pre-installed headers on 7172 # Canadian crosses, in case the installed compiler is not fully 7173 # compatible with the compiler being built. In this case, it 7174 # would be better to flag an error than risking having 7175 # incompatible object files being constructed. We can't 7176 # guarantee that an error will be flagged, but let's hope the 7177 # compiler will do it, when presented with incompatible header 7178 # files. 7179 fi 7180 fi 7181 7182 case "${target}-${is_cross_compiler}" in 7183 i[3456789]86-*-linux*-no) 7184 # Here host == target, so we don't need to build gcc, 7185 # so we don't want to discard standard headers. 7186 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'` 7187 ;; 7188 *) 7189 # If we're building newlib, use its generic headers last, but search 7190 # for any libc-related directories first (so make it the last -B 7191 # switch). 7192 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include' 7193 7194 # If we're building libgloss, find the startup file, simulator library 7195 # and linker script. 7196 case " $target_configdirs " in 7197 *" libgloss "*) 7198 # Look for startup file, simulator library and maybe linker script. 7199 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir" 7200 # Look for libnosys.a in case the target needs it. 7201 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys' 7202 # Most targets have the linker script in the source directory. 7203 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir" 7204 ;; 7205 esac 7206 ;; 7207 esac 7208 ;; 7209 esac 7210 ;; 7211esac 7212 7213case "$target" in 7214 x86_64-*mingw* | *-w64-mingw*) 7215 # MinGW-w64 does not use newlib, nor does it use winsup. It may, 7216 # however, use a symlink named 'mingw' in ${prefix} . 7217 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include' 7218 ;; 7219 *-mingw*) 7220 # MinGW can't be handled as Cygwin above since it does not use newlib. 7221 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include' 7222 ;; 7223esac 7224 7225# Allow the user to override the flags for 7226# our build compiler if desired. 7227if test x"${build}" = x"${host}" ; then 7228 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} 7229 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} 7230 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} 7231fi 7232 7233# On Canadian crosses, we'll be searching the right directories for 7234# the previously-installed cross compiler, so don't bother to add 7235# flags for directories within the install tree of the compiler 7236# being built; programs in there won't even run. 7237if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then 7238 # Search for pre-installed headers if nothing else fits. 7239 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include' 7240fi 7241 7242if test "x${use_gnu_ld}" = x && 7243 echo " ${configdirs} " | grep " ld " > /dev/null ; then 7244 # Arrange for us to find uninstalled linker scripts. 7245 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld' 7246fi 7247 7248# Search for other target-specific linker scripts and such. 7249case "${target}" in 7250 mep*) 7251 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary" 7252 ;; 7253esac 7254 7255# Makefile fragments. 7256for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag; 7257do 7258 eval fragval=\$$frag 7259 if test $fragval != /dev/null; then 7260 eval $frag=${srcdir}/$fragval 7261 fi 7262done 7263 7264 7265 7266 7267 7268# Miscellanea: directories, flags, etc. 7269 7270 7271 7272 7273 7274 7275 7276 7277# Build module lists & subconfigure args. 7278 7279 7280 7281# Host module lists & subconfigure args. 7282 7283 7284 7285 7286# Target module lists & subconfigure args. 7287 7288 7289 7290# Build tools. 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308# Generate default definitions for YACC, M4, LEX and other programs that run 7309# on the build machine. These are used if the Makefile can't locate these 7310# programs in objdir. 7311MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing 7312 7313for ac_prog in 'bison -y' byacc yacc 7314do 7315 # Extract the first word of "$ac_prog", so it can be a program name with args. 7316set dummy $ac_prog; ac_word=$2 7317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7318$as_echo_n "checking for $ac_word... " >&6; } 7319if test "${ac_cv_prog_YACC+set}" = set; then : 7320 $as_echo_n "(cached) " >&6 7321else 7322 if test -n "$YACC"; then 7323 ac_cv_prog_YACC="$YACC" # Let the user override the test. 7324else 7325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7326for as_dir in $PATH 7327do 7328 IFS=$as_save_IFS 7329 test -z "$as_dir" && as_dir=. 7330 for ac_exec_ext in '' $ac_executable_extensions; do 7331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7332 ac_cv_prog_YACC="$ac_prog" 7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7334 break 2 7335 fi 7336done 7337 done 7338IFS=$as_save_IFS 7339 7340fi 7341fi 7342YACC=$ac_cv_prog_YACC 7343if test -n "$YACC"; then 7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 7345$as_echo "$YACC" >&6; } 7346else 7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7348$as_echo "no" >&6; } 7349fi 7350 7351 7352 test -n "$YACC" && break 7353done 7354test -n "$YACC" || YACC="$MISSING bison -y" 7355 7356case " $build_configdirs " in 7357 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;; 7358 *" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;; 7359esac 7360 7361for ac_prog in bison 7362do 7363 # Extract the first word of "$ac_prog", so it can be a program name with args. 7364set dummy $ac_prog; ac_word=$2 7365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7366$as_echo_n "checking for $ac_word... " >&6; } 7367if test "${ac_cv_prog_BISON+set}" = set; then : 7368 $as_echo_n "(cached) " >&6 7369else 7370 if test -n "$BISON"; then 7371 ac_cv_prog_BISON="$BISON" # Let the user override the test. 7372else 7373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7374for as_dir in $PATH 7375do 7376 IFS=$as_save_IFS 7377 test -z "$as_dir" && as_dir=. 7378 for ac_exec_ext in '' $ac_executable_extensions; do 7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7380 ac_cv_prog_BISON="$ac_prog" 7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7382 break 2 7383 fi 7384done 7385 done 7386IFS=$as_save_IFS 7387 7388fi 7389fi 7390BISON=$ac_cv_prog_BISON 7391if test -n "$BISON"; then 7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5 7393$as_echo "$BISON" >&6; } 7394else 7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7396$as_echo "no" >&6; } 7397fi 7398 7399 7400 test -n "$BISON" && break 7401done 7402test -n "$BISON" || BISON="$MISSING bison" 7403 7404case " $build_configdirs " in 7405 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;; 7406esac 7407 7408for ac_prog in gm4 gnum4 m4 7409do 7410 # Extract the first word of "$ac_prog", so it can be a program name with args. 7411set dummy $ac_prog; ac_word=$2 7412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7413$as_echo_n "checking for $ac_word... " >&6; } 7414if test "${ac_cv_prog_M4+set}" = set; then : 7415 $as_echo_n "(cached) " >&6 7416else 7417 if test -n "$M4"; then 7418 ac_cv_prog_M4="$M4" # Let the user override the test. 7419else 7420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7421for as_dir in $PATH 7422do 7423 IFS=$as_save_IFS 7424 test -z "$as_dir" && as_dir=. 7425 for ac_exec_ext in '' $ac_executable_extensions; do 7426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7427 ac_cv_prog_M4="$ac_prog" 7428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7429 break 2 7430 fi 7431done 7432 done 7433IFS=$as_save_IFS 7434 7435fi 7436fi 7437M4=$ac_cv_prog_M4 7438if test -n "$M4"; then 7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5 7440$as_echo "$M4" >&6; } 7441else 7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7443$as_echo "no" >&6; } 7444fi 7445 7446 7447 test -n "$M4" && break 7448done 7449test -n "$M4" || M4="$MISSING m4" 7450 7451case " $build_configdirs " in 7452 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;; 7453esac 7454 7455for ac_prog in flex lex 7456do 7457 # Extract the first word of "$ac_prog", so it can be a program name with args. 7458set dummy $ac_prog; ac_word=$2 7459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7460$as_echo_n "checking for $ac_word... " >&6; } 7461if test "${ac_cv_prog_LEX+set}" = set; then : 7462 $as_echo_n "(cached) " >&6 7463else 7464 if test -n "$LEX"; then 7465 ac_cv_prog_LEX="$LEX" # Let the user override the test. 7466else 7467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7468for as_dir in $PATH 7469do 7470 IFS=$as_save_IFS 7471 test -z "$as_dir" && as_dir=. 7472 for ac_exec_ext in '' $ac_executable_extensions; do 7473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7474 ac_cv_prog_LEX="$ac_prog" 7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7476 break 2 7477 fi 7478done 7479 done 7480IFS=$as_save_IFS 7481 7482fi 7483fi 7484LEX=$ac_cv_prog_LEX 7485if test -n "$LEX"; then 7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 7487$as_echo "$LEX" >&6; } 7488else 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7490$as_echo "no" >&6; } 7491fi 7492 7493 7494 test -n "$LEX" && break 7495done 7496test -n "$LEX" || LEX="$MISSING flex" 7497 7498case " $build_configdirs " in 7499 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;; 7500 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;; 7501esac 7502 7503for ac_prog in flex 7504do 7505 # Extract the first word of "$ac_prog", so it can be a program name with args. 7506set dummy $ac_prog; ac_word=$2 7507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7508$as_echo_n "checking for $ac_word... " >&6; } 7509if test "${ac_cv_prog_FLEX+set}" = set; then : 7510 $as_echo_n "(cached) " >&6 7511else 7512 if test -n "$FLEX"; then 7513 ac_cv_prog_FLEX="$FLEX" # Let the user override the test. 7514else 7515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7516for as_dir in $PATH 7517do 7518 IFS=$as_save_IFS 7519 test -z "$as_dir" && as_dir=. 7520 for ac_exec_ext in '' $ac_executable_extensions; do 7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7522 ac_cv_prog_FLEX="$ac_prog" 7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7524 break 2 7525 fi 7526done 7527 done 7528IFS=$as_save_IFS 7529 7530fi 7531fi 7532FLEX=$ac_cv_prog_FLEX 7533if test -n "$FLEX"; then 7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5 7535$as_echo "$FLEX" >&6; } 7536else 7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7538$as_echo "no" >&6; } 7539fi 7540 7541 7542 test -n "$FLEX" && break 7543done 7544test -n "$FLEX" || FLEX="$MISSING flex" 7545 7546case " $build_configdirs " in 7547 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;; 7548esac 7549 7550for ac_prog in makeinfo 7551do 7552 # Extract the first word of "$ac_prog", so it can be a program name with args. 7553set dummy $ac_prog; ac_word=$2 7554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7555$as_echo_n "checking for $ac_word... " >&6; } 7556if test "${ac_cv_prog_MAKEINFO+set}" = set; then : 7557 $as_echo_n "(cached) " >&6 7558else 7559 if test -n "$MAKEINFO"; then 7560 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. 7561else 7562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7563for as_dir in $PATH 7564do 7565 IFS=$as_save_IFS 7566 test -z "$as_dir" && as_dir=. 7567 for ac_exec_ext in '' $ac_executable_extensions; do 7568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7569 ac_cv_prog_MAKEINFO="$ac_prog" 7570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7571 break 2 7572 fi 7573done 7574 done 7575IFS=$as_save_IFS 7576 7577fi 7578fi 7579MAKEINFO=$ac_cv_prog_MAKEINFO 7580if test -n "$MAKEINFO"; then 7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 7582$as_echo "$MAKEINFO" >&6; } 7583else 7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7585$as_echo "no" >&6; } 7586fi 7587 7588 7589 test -n "$MAKEINFO" && break 7590done 7591test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo" 7592 7593case " $build_configdirs " in 7594 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; 7595 *) 7596 7597 # For an installed makeinfo, we require it to be from texinfo 4.7 or 7598 # higher, else we use the "missing" dummy. 7599 if ${MAKEINFO} --version \ 7600 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then 7601 : 7602 else 7603 MAKEINFO="$MISSING makeinfo" 7604 fi 7605 ;; 7606 7607esac 7608 7609# FIXME: expect and dejagnu may become build tools? 7610 7611for ac_prog in expect 7612do 7613 # Extract the first word of "$ac_prog", so it can be a program name with args. 7614set dummy $ac_prog; ac_word=$2 7615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7616$as_echo_n "checking for $ac_word... " >&6; } 7617if test "${ac_cv_prog_EXPECT+set}" = set; then : 7618 $as_echo_n "(cached) " >&6 7619else 7620 if test -n "$EXPECT"; then 7621 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test. 7622else 7623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7624for as_dir in $PATH 7625do 7626 IFS=$as_save_IFS 7627 test -z "$as_dir" && as_dir=. 7628 for ac_exec_ext in '' $ac_executable_extensions; do 7629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7630 ac_cv_prog_EXPECT="$ac_prog" 7631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7632 break 2 7633 fi 7634done 7635 done 7636IFS=$as_save_IFS 7637 7638fi 7639fi 7640EXPECT=$ac_cv_prog_EXPECT 7641if test -n "$EXPECT"; then 7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5 7643$as_echo "$EXPECT" >&6; } 7644else 7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7646$as_echo "no" >&6; } 7647fi 7648 7649 7650 test -n "$EXPECT" && break 7651done 7652test -n "$EXPECT" || EXPECT="expect" 7653 7654case " $configdirs " in 7655 *" expect "*) 7656 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect' 7657 ;; 7658esac 7659 7660for ac_prog in runtest 7661do 7662 # Extract the first word of "$ac_prog", so it can be a program name with args. 7663set dummy $ac_prog; ac_word=$2 7664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7665$as_echo_n "checking for $ac_word... " >&6; } 7666if test "${ac_cv_prog_RUNTEST+set}" = set; then : 7667 $as_echo_n "(cached) " >&6 7668else 7669 if test -n "$RUNTEST"; then 7670 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test. 7671else 7672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7673for as_dir in $PATH 7674do 7675 IFS=$as_save_IFS 7676 test -z "$as_dir" && as_dir=. 7677 for ac_exec_ext in '' $ac_executable_extensions; do 7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7679 ac_cv_prog_RUNTEST="$ac_prog" 7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7681 break 2 7682 fi 7683done 7684 done 7685IFS=$as_save_IFS 7686 7687fi 7688fi 7689RUNTEST=$ac_cv_prog_RUNTEST 7690if test -n "$RUNTEST"; then 7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5 7692$as_echo "$RUNTEST" >&6; } 7693else 7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7695$as_echo "no" >&6; } 7696fi 7697 7698 7699 test -n "$RUNTEST" && break 7700done 7701test -n "$RUNTEST" || RUNTEST="runtest" 7702 7703case " $configdirs " in 7704 *" dejagnu "*) 7705 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest' 7706 ;; 7707esac 7708 7709 7710# Host tools. 7711ncn_tool_prefix= 7712test -n "$host_alias" && ncn_tool_prefix=$host_alias- 7713ncn_target_tool_prefix= 7714test -n "$target_alias" && ncn_target_tool_prefix=$target_alias- 7715 7716 7717 7718if test -n "$AR"; then 7719 ac_cv_prog_AR=$AR 7720elif test -n "$ac_cv_prog_AR"; then 7721 AR=$ac_cv_prog_AR 7722fi 7723 7724if test -n "$ac_cv_prog_AR"; then 7725 for ncn_progname in ar; do 7726 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 7727set dummy ${ncn_progname}; ac_word=$2 7728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7729$as_echo_n "checking for $ac_word... " >&6; } 7730if test "${ac_cv_prog_AR+set}" = set; then : 7731 $as_echo_n "(cached) " >&6 7732else 7733 if test -n "$AR"; then 7734 ac_cv_prog_AR="$AR" # Let the user override the test. 7735else 7736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7737for as_dir in $PATH 7738do 7739 IFS=$as_save_IFS 7740 test -z "$as_dir" && as_dir=. 7741 for ac_exec_ext in '' $ac_executable_extensions; do 7742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7743 ac_cv_prog_AR="${ncn_progname}" 7744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7745 break 2 7746 fi 7747done 7748 done 7749IFS=$as_save_IFS 7750 7751fi 7752fi 7753AR=$ac_cv_prog_AR 7754if test -n "$AR"; then 7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7756$as_echo "$AR" >&6; } 7757else 7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7759$as_echo "no" >&6; } 7760fi 7761 7762 7763 done 7764fi 7765 7766for ncn_progname in ar; do 7767 if test -n "$ncn_tool_prefix"; then 7768 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 7769set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 7770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7771$as_echo_n "checking for $ac_word... " >&6; } 7772if test "${ac_cv_prog_AR+set}" = set; then : 7773 $as_echo_n "(cached) " >&6 7774else 7775 if test -n "$AR"; then 7776 ac_cv_prog_AR="$AR" # Let the user override the test. 7777else 7778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7779for as_dir in $PATH 7780do 7781 IFS=$as_save_IFS 7782 test -z "$as_dir" && as_dir=. 7783 for ac_exec_ext in '' $ac_executable_extensions; do 7784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7785 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}" 7786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7787 break 2 7788 fi 7789done 7790 done 7791IFS=$as_save_IFS 7792 7793fi 7794fi 7795AR=$ac_cv_prog_AR 7796if test -n "$AR"; then 7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7798$as_echo "$AR" >&6; } 7799else 7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7801$as_echo "no" >&6; } 7802fi 7803 7804 7805 fi 7806 if test -z "$ac_cv_prog_AR" && test $build = $host ; then 7807 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 7808set dummy ${ncn_progname}; ac_word=$2 7809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7810$as_echo_n "checking for $ac_word... " >&6; } 7811if test "${ac_cv_prog_AR+set}" = set; then : 7812 $as_echo_n "(cached) " >&6 7813else 7814 if test -n "$AR"; then 7815 ac_cv_prog_AR="$AR" # Let the user override the test. 7816else 7817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7818for as_dir in $PATH 7819do 7820 IFS=$as_save_IFS 7821 test -z "$as_dir" && as_dir=. 7822 for ac_exec_ext in '' $ac_executable_extensions; do 7823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7824 ac_cv_prog_AR="${ncn_progname}" 7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7826 break 2 7827 fi 7828done 7829 done 7830IFS=$as_save_IFS 7831 7832fi 7833fi 7834AR=$ac_cv_prog_AR 7835if test -n "$AR"; then 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7837$as_echo "$AR" >&6; } 7838else 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7840$as_echo "no" >&6; } 7841fi 7842 7843 7844 fi 7845 test -n "$ac_cv_prog_AR" && break 7846done 7847 7848if test -z "$ac_cv_prog_AR" ; then 7849 set dummy ar 7850 if test $build = $host ; then 7851 AR="$2" 7852 else 7853 AR="${ncn_tool_prefix}$2" 7854 fi 7855fi 7856 7857 7858 7859if test -n "$AS"; then 7860 ac_cv_prog_AS=$AS 7861elif test -n "$ac_cv_prog_AS"; then 7862 AS=$ac_cv_prog_AS 7863fi 7864 7865if test -n "$ac_cv_prog_AS"; then 7866 for ncn_progname in as; do 7867 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 7868set dummy ${ncn_progname}; ac_word=$2 7869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7870$as_echo_n "checking for $ac_word... " >&6; } 7871if test "${ac_cv_prog_AS+set}" = set; then : 7872 $as_echo_n "(cached) " >&6 7873else 7874 if test -n "$AS"; then 7875 ac_cv_prog_AS="$AS" # Let the user override the test. 7876else 7877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7878for as_dir in $PATH 7879do 7880 IFS=$as_save_IFS 7881 test -z "$as_dir" && as_dir=. 7882 for ac_exec_ext in '' $ac_executable_extensions; do 7883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7884 ac_cv_prog_AS="${ncn_progname}" 7885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7886 break 2 7887 fi 7888done 7889 done 7890IFS=$as_save_IFS 7891 7892fi 7893fi 7894AS=$ac_cv_prog_AS 7895if test -n "$AS"; then 7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 7897$as_echo "$AS" >&6; } 7898else 7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7900$as_echo "no" >&6; } 7901fi 7902 7903 7904 done 7905fi 7906 7907for ncn_progname in as; do 7908 if test -n "$ncn_tool_prefix"; then 7909 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 7910set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 7911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7912$as_echo_n "checking for $ac_word... " >&6; } 7913if test "${ac_cv_prog_AS+set}" = set; then : 7914 $as_echo_n "(cached) " >&6 7915else 7916 if test -n "$AS"; then 7917 ac_cv_prog_AS="$AS" # Let the user override the test. 7918else 7919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7920for as_dir in $PATH 7921do 7922 IFS=$as_save_IFS 7923 test -z "$as_dir" && as_dir=. 7924 for ac_exec_ext in '' $ac_executable_extensions; do 7925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7926 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}" 7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7928 break 2 7929 fi 7930done 7931 done 7932IFS=$as_save_IFS 7933 7934fi 7935fi 7936AS=$ac_cv_prog_AS 7937if test -n "$AS"; then 7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 7939$as_echo "$AS" >&6; } 7940else 7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7942$as_echo "no" >&6; } 7943fi 7944 7945 7946 fi 7947 if test -z "$ac_cv_prog_AS" && test $build = $host ; then 7948 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 7949set dummy ${ncn_progname}; ac_word=$2 7950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7951$as_echo_n "checking for $ac_word... " >&6; } 7952if test "${ac_cv_prog_AS+set}" = set; then : 7953 $as_echo_n "(cached) " >&6 7954else 7955 if test -n "$AS"; then 7956 ac_cv_prog_AS="$AS" # Let the user override the test. 7957else 7958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7959for as_dir in $PATH 7960do 7961 IFS=$as_save_IFS 7962 test -z "$as_dir" && as_dir=. 7963 for ac_exec_ext in '' $ac_executable_extensions; do 7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7965 ac_cv_prog_AS="${ncn_progname}" 7966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7967 break 2 7968 fi 7969done 7970 done 7971IFS=$as_save_IFS 7972 7973fi 7974fi 7975AS=$ac_cv_prog_AS 7976if test -n "$AS"; then 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 7978$as_echo "$AS" >&6; } 7979else 7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7981$as_echo "no" >&6; } 7982fi 7983 7984 7985 fi 7986 test -n "$ac_cv_prog_AS" && break 7987done 7988 7989if test -z "$ac_cv_prog_AS" ; then 7990 set dummy as 7991 if test $build = $host ; then 7992 AS="$2" 7993 else 7994 AS="${ncn_tool_prefix}$2" 7995 fi 7996fi 7997 7998 7999 8000if test -n "$DLLTOOL"; then 8001 ac_cv_prog_DLLTOOL=$DLLTOOL 8002elif test -n "$ac_cv_prog_DLLTOOL"; then 8003 DLLTOOL=$ac_cv_prog_DLLTOOL 8004fi 8005 8006if test -n "$ac_cv_prog_DLLTOOL"; then 8007 for ncn_progname in dlltool; do 8008 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8009set dummy ${ncn_progname}; ac_word=$2 8010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8011$as_echo_n "checking for $ac_word... " >&6; } 8012if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 8013 $as_echo_n "(cached) " >&6 8014else 8015 if test -n "$DLLTOOL"; then 8016 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8017else 8018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8019for as_dir in $PATH 8020do 8021 IFS=$as_save_IFS 8022 test -z "$as_dir" && as_dir=. 8023 for ac_exec_ext in '' $ac_executable_extensions; do 8024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8025 ac_cv_prog_DLLTOOL="${ncn_progname}" 8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8027 break 2 8028 fi 8029done 8030 done 8031IFS=$as_save_IFS 8032 8033fi 8034fi 8035DLLTOOL=$ac_cv_prog_DLLTOOL 8036if test -n "$DLLTOOL"; then 8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8038$as_echo "$DLLTOOL" >&6; } 8039else 8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8041$as_echo "no" >&6; } 8042fi 8043 8044 8045 done 8046fi 8047 8048for ncn_progname in dlltool; do 8049 if test -n "$ncn_tool_prefix"; then 8050 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 8051set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 8052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8053$as_echo_n "checking for $ac_word... " >&6; } 8054if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 8055 $as_echo_n "(cached) " >&6 8056else 8057 if test -n "$DLLTOOL"; then 8058 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8059else 8060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8061for as_dir in $PATH 8062do 8063 IFS=$as_save_IFS 8064 test -z "$as_dir" && as_dir=. 8065 for ac_exec_ext in '' $ac_executable_extensions; do 8066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8067 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}" 8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8069 break 2 8070 fi 8071done 8072 done 8073IFS=$as_save_IFS 8074 8075fi 8076fi 8077DLLTOOL=$ac_cv_prog_DLLTOOL 8078if test -n "$DLLTOOL"; then 8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8080$as_echo "$DLLTOOL" >&6; } 8081else 8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8083$as_echo "no" >&6; } 8084fi 8085 8086 8087 fi 8088 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then 8089 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8090set dummy ${ncn_progname}; ac_word=$2 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8092$as_echo_n "checking for $ac_word... " >&6; } 8093if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 8094 $as_echo_n "(cached) " >&6 8095else 8096 if test -n "$DLLTOOL"; then 8097 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8098else 8099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8100for as_dir in $PATH 8101do 8102 IFS=$as_save_IFS 8103 test -z "$as_dir" && as_dir=. 8104 for ac_exec_ext in '' $ac_executable_extensions; do 8105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8106 ac_cv_prog_DLLTOOL="${ncn_progname}" 8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8108 break 2 8109 fi 8110done 8111 done 8112IFS=$as_save_IFS 8113 8114fi 8115fi 8116DLLTOOL=$ac_cv_prog_DLLTOOL 8117if test -n "$DLLTOOL"; then 8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8119$as_echo "$DLLTOOL" >&6; } 8120else 8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8122$as_echo "no" >&6; } 8123fi 8124 8125 8126 fi 8127 test -n "$ac_cv_prog_DLLTOOL" && break 8128done 8129 8130if test -z "$ac_cv_prog_DLLTOOL" ; then 8131 set dummy dlltool 8132 if test $build = $host ; then 8133 DLLTOOL="$2" 8134 else 8135 DLLTOOL="${ncn_tool_prefix}$2" 8136 fi 8137fi 8138 8139 8140 8141if test -n "$LD"; then 8142 ac_cv_prog_LD=$LD 8143elif test -n "$ac_cv_prog_LD"; then 8144 LD=$ac_cv_prog_LD 8145fi 8146 8147if test -n "$ac_cv_prog_LD"; then 8148 for ncn_progname in ld; do 8149 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8150set dummy ${ncn_progname}; ac_word=$2 8151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8152$as_echo_n "checking for $ac_word... " >&6; } 8153if test "${ac_cv_prog_LD+set}" = set; then : 8154 $as_echo_n "(cached) " >&6 8155else 8156 if test -n "$LD"; then 8157 ac_cv_prog_LD="$LD" # Let the user override the test. 8158else 8159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8160for as_dir in $PATH 8161do 8162 IFS=$as_save_IFS 8163 test -z "$as_dir" && as_dir=. 8164 for ac_exec_ext in '' $ac_executable_extensions; do 8165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8166 ac_cv_prog_LD="${ncn_progname}" 8167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8168 break 2 8169 fi 8170done 8171 done 8172IFS=$as_save_IFS 8173 8174fi 8175fi 8176LD=$ac_cv_prog_LD 8177if test -n "$LD"; then 8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 8179$as_echo "$LD" >&6; } 8180else 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8182$as_echo "no" >&6; } 8183fi 8184 8185 8186 done 8187fi 8188 8189for ncn_progname in ld; do 8190 if test -n "$ncn_tool_prefix"; then 8191 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 8192set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 8193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8194$as_echo_n "checking for $ac_word... " >&6; } 8195if test "${ac_cv_prog_LD+set}" = set; then : 8196 $as_echo_n "(cached) " >&6 8197else 8198 if test -n "$LD"; then 8199 ac_cv_prog_LD="$LD" # Let the user override the test. 8200else 8201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8202for as_dir in $PATH 8203do 8204 IFS=$as_save_IFS 8205 test -z "$as_dir" && as_dir=. 8206 for ac_exec_ext in '' $ac_executable_extensions; do 8207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8208 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}" 8209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8210 break 2 8211 fi 8212done 8213 done 8214IFS=$as_save_IFS 8215 8216fi 8217fi 8218LD=$ac_cv_prog_LD 8219if test -n "$LD"; then 8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 8221$as_echo "$LD" >&6; } 8222else 8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8224$as_echo "no" >&6; } 8225fi 8226 8227 8228 fi 8229 if test -z "$ac_cv_prog_LD" && test $build = $host ; then 8230 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8231set dummy ${ncn_progname}; ac_word=$2 8232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8233$as_echo_n "checking for $ac_word... " >&6; } 8234if test "${ac_cv_prog_LD+set}" = set; then : 8235 $as_echo_n "(cached) " >&6 8236else 8237 if test -n "$LD"; then 8238 ac_cv_prog_LD="$LD" # Let the user override the test. 8239else 8240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8241for as_dir in $PATH 8242do 8243 IFS=$as_save_IFS 8244 test -z "$as_dir" && as_dir=. 8245 for ac_exec_ext in '' $ac_executable_extensions; do 8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8247 ac_cv_prog_LD="${ncn_progname}" 8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8249 break 2 8250 fi 8251done 8252 done 8253IFS=$as_save_IFS 8254 8255fi 8256fi 8257LD=$ac_cv_prog_LD 8258if test -n "$LD"; then 8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 8260$as_echo "$LD" >&6; } 8261else 8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8263$as_echo "no" >&6; } 8264fi 8265 8266 8267 fi 8268 test -n "$ac_cv_prog_LD" && break 8269done 8270 8271if test -z "$ac_cv_prog_LD" ; then 8272 set dummy ld 8273 if test $build = $host ; then 8274 LD="$2" 8275 else 8276 LD="${ncn_tool_prefix}$2" 8277 fi 8278fi 8279 8280 8281 8282if test -n "$LIPO"; then 8283 ac_cv_prog_LIPO=$LIPO 8284elif test -n "$ac_cv_prog_LIPO"; then 8285 LIPO=$ac_cv_prog_LIPO 8286fi 8287 8288if test -n "$ac_cv_prog_LIPO"; then 8289 for ncn_progname in lipo; do 8290 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8291set dummy ${ncn_progname}; ac_word=$2 8292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8293$as_echo_n "checking for $ac_word... " >&6; } 8294if test "${ac_cv_prog_LIPO+set}" = set; then : 8295 $as_echo_n "(cached) " >&6 8296else 8297 if test -n "$LIPO"; then 8298 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8299else 8300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8301for as_dir in $PATH 8302do 8303 IFS=$as_save_IFS 8304 test -z "$as_dir" && as_dir=. 8305 for ac_exec_ext in '' $ac_executable_extensions; do 8306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8307 ac_cv_prog_LIPO="${ncn_progname}" 8308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8309 break 2 8310 fi 8311done 8312 done 8313IFS=$as_save_IFS 8314 8315fi 8316fi 8317LIPO=$ac_cv_prog_LIPO 8318if test -n "$LIPO"; then 8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8320$as_echo "$LIPO" >&6; } 8321else 8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8323$as_echo "no" >&6; } 8324fi 8325 8326 8327 done 8328fi 8329 8330for ncn_progname in lipo; do 8331 if test -n "$ncn_tool_prefix"; then 8332 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 8333set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 8334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8335$as_echo_n "checking for $ac_word... " >&6; } 8336if test "${ac_cv_prog_LIPO+set}" = set; then : 8337 $as_echo_n "(cached) " >&6 8338else 8339 if test -n "$LIPO"; then 8340 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8341else 8342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8343for as_dir in $PATH 8344do 8345 IFS=$as_save_IFS 8346 test -z "$as_dir" && as_dir=. 8347 for ac_exec_ext in '' $ac_executable_extensions; do 8348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8349 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}" 8350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8351 break 2 8352 fi 8353done 8354 done 8355IFS=$as_save_IFS 8356 8357fi 8358fi 8359LIPO=$ac_cv_prog_LIPO 8360if test -n "$LIPO"; then 8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8362$as_echo "$LIPO" >&6; } 8363else 8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8365$as_echo "no" >&6; } 8366fi 8367 8368 8369 fi 8370 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then 8371 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8372set dummy ${ncn_progname}; ac_word=$2 8373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8374$as_echo_n "checking for $ac_word... " >&6; } 8375if test "${ac_cv_prog_LIPO+set}" = set; then : 8376 $as_echo_n "(cached) " >&6 8377else 8378 if test -n "$LIPO"; then 8379 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8380else 8381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8382for as_dir in $PATH 8383do 8384 IFS=$as_save_IFS 8385 test -z "$as_dir" && as_dir=. 8386 for ac_exec_ext in '' $ac_executable_extensions; do 8387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8388 ac_cv_prog_LIPO="${ncn_progname}" 8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8390 break 2 8391 fi 8392done 8393 done 8394IFS=$as_save_IFS 8395 8396fi 8397fi 8398LIPO=$ac_cv_prog_LIPO 8399if test -n "$LIPO"; then 8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8401$as_echo "$LIPO" >&6; } 8402else 8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8404$as_echo "no" >&6; } 8405fi 8406 8407 8408 fi 8409 test -n "$ac_cv_prog_LIPO" && break 8410done 8411 8412if test -z "$ac_cv_prog_LIPO" ; then 8413 set dummy lipo 8414 if test $build = $host ; then 8415 LIPO="$2" 8416 else 8417 LIPO="${ncn_tool_prefix}$2" 8418 fi 8419fi 8420 8421 8422 8423if test -n "$NM"; then 8424 ac_cv_prog_NM=$NM 8425elif test -n "$ac_cv_prog_NM"; then 8426 NM=$ac_cv_prog_NM 8427fi 8428 8429if test -n "$ac_cv_prog_NM"; then 8430 for ncn_progname in nm; do 8431 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8432set dummy ${ncn_progname}; ac_word=$2 8433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8434$as_echo_n "checking for $ac_word... " >&6; } 8435if test "${ac_cv_prog_NM+set}" = set; then : 8436 $as_echo_n "(cached) " >&6 8437else 8438 if test -n "$NM"; then 8439 ac_cv_prog_NM="$NM" # Let the user override the test. 8440else 8441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8442for as_dir in $PATH 8443do 8444 IFS=$as_save_IFS 8445 test -z "$as_dir" && as_dir=. 8446 for ac_exec_ext in '' $ac_executable_extensions; do 8447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8448 ac_cv_prog_NM="${ncn_progname}" 8449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8450 break 2 8451 fi 8452done 8453 done 8454IFS=$as_save_IFS 8455 8456fi 8457fi 8458NM=$ac_cv_prog_NM 8459if test -n "$NM"; then 8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 8461$as_echo "$NM" >&6; } 8462else 8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8464$as_echo "no" >&6; } 8465fi 8466 8467 8468 done 8469fi 8470 8471for ncn_progname in nm; do 8472 if test -n "$ncn_tool_prefix"; then 8473 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 8474set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 8475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8476$as_echo_n "checking for $ac_word... " >&6; } 8477if test "${ac_cv_prog_NM+set}" = set; then : 8478 $as_echo_n "(cached) " >&6 8479else 8480 if test -n "$NM"; then 8481 ac_cv_prog_NM="$NM" # Let the user override the test. 8482else 8483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8484for as_dir in $PATH 8485do 8486 IFS=$as_save_IFS 8487 test -z "$as_dir" && as_dir=. 8488 for ac_exec_ext in '' $ac_executable_extensions; do 8489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8490 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}" 8491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8492 break 2 8493 fi 8494done 8495 done 8496IFS=$as_save_IFS 8497 8498fi 8499fi 8500NM=$ac_cv_prog_NM 8501if test -n "$NM"; then 8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 8503$as_echo "$NM" >&6; } 8504else 8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8506$as_echo "no" >&6; } 8507fi 8508 8509 8510 fi 8511 if test -z "$ac_cv_prog_NM" && test $build = $host ; then 8512 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8513set dummy ${ncn_progname}; ac_word=$2 8514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8515$as_echo_n "checking for $ac_word... " >&6; } 8516if test "${ac_cv_prog_NM+set}" = set; then : 8517 $as_echo_n "(cached) " >&6 8518else 8519 if test -n "$NM"; then 8520 ac_cv_prog_NM="$NM" # Let the user override the test. 8521else 8522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8523for as_dir in $PATH 8524do 8525 IFS=$as_save_IFS 8526 test -z "$as_dir" && as_dir=. 8527 for ac_exec_ext in '' $ac_executable_extensions; do 8528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8529 ac_cv_prog_NM="${ncn_progname}" 8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8531 break 2 8532 fi 8533done 8534 done 8535IFS=$as_save_IFS 8536 8537fi 8538fi 8539NM=$ac_cv_prog_NM 8540if test -n "$NM"; then 8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 8542$as_echo "$NM" >&6; } 8543else 8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8545$as_echo "no" >&6; } 8546fi 8547 8548 8549 fi 8550 test -n "$ac_cv_prog_NM" && break 8551done 8552 8553if test -z "$ac_cv_prog_NM" ; then 8554 set dummy nm 8555 if test $build = $host ; then 8556 NM="$2" 8557 else 8558 NM="${ncn_tool_prefix}$2" 8559 fi 8560fi 8561 8562 8563 8564if test -n "$RANLIB"; then 8565 ac_cv_prog_RANLIB=$RANLIB 8566elif test -n "$ac_cv_prog_RANLIB"; then 8567 RANLIB=$ac_cv_prog_RANLIB 8568fi 8569 8570if test -n "$ac_cv_prog_RANLIB"; then 8571 for ncn_progname in ranlib; do 8572 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8573set dummy ${ncn_progname}; ac_word=$2 8574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8575$as_echo_n "checking for $ac_word... " >&6; } 8576if test "${ac_cv_prog_RANLIB+set}" = set; then : 8577 $as_echo_n "(cached) " >&6 8578else 8579 if test -n "$RANLIB"; then 8580 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8581else 8582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8583for as_dir in $PATH 8584do 8585 IFS=$as_save_IFS 8586 test -z "$as_dir" && as_dir=. 8587 for ac_exec_ext in '' $ac_executable_extensions; do 8588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8589 ac_cv_prog_RANLIB="${ncn_progname}" 8590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8591 break 2 8592 fi 8593done 8594 done 8595IFS=$as_save_IFS 8596 8597fi 8598fi 8599RANLIB=$ac_cv_prog_RANLIB 8600if test -n "$RANLIB"; then 8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8602$as_echo "$RANLIB" >&6; } 8603else 8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8605$as_echo "no" >&6; } 8606fi 8607 8608 8609 done 8610fi 8611 8612for ncn_progname in ranlib; do 8613 if test -n "$ncn_tool_prefix"; then 8614 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 8615set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 8616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8617$as_echo_n "checking for $ac_word... " >&6; } 8618if test "${ac_cv_prog_RANLIB+set}" = set; then : 8619 $as_echo_n "(cached) " >&6 8620else 8621 if test -n "$RANLIB"; then 8622 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8623else 8624as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8625for as_dir in $PATH 8626do 8627 IFS=$as_save_IFS 8628 test -z "$as_dir" && as_dir=. 8629 for ac_exec_ext in '' $ac_executable_extensions; do 8630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8631 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}" 8632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8633 break 2 8634 fi 8635done 8636 done 8637IFS=$as_save_IFS 8638 8639fi 8640fi 8641RANLIB=$ac_cv_prog_RANLIB 8642if test -n "$RANLIB"; then 8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8644$as_echo "$RANLIB" >&6; } 8645else 8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8647$as_echo "no" >&6; } 8648fi 8649 8650 8651 fi 8652 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then 8653 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8654set dummy ${ncn_progname}; ac_word=$2 8655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8656$as_echo_n "checking for $ac_word... " >&6; } 8657if test "${ac_cv_prog_RANLIB+set}" = set; then : 8658 $as_echo_n "(cached) " >&6 8659else 8660 if test -n "$RANLIB"; then 8661 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8662else 8663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8664for as_dir in $PATH 8665do 8666 IFS=$as_save_IFS 8667 test -z "$as_dir" && as_dir=. 8668 for ac_exec_ext in '' $ac_executable_extensions; do 8669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8670 ac_cv_prog_RANLIB="${ncn_progname}" 8671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8672 break 2 8673 fi 8674done 8675 done 8676IFS=$as_save_IFS 8677 8678fi 8679fi 8680RANLIB=$ac_cv_prog_RANLIB 8681if test -n "$RANLIB"; then 8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8683$as_echo "$RANLIB" >&6; } 8684else 8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8686$as_echo "no" >&6; } 8687fi 8688 8689 8690 fi 8691 test -n "$ac_cv_prog_RANLIB" && break 8692done 8693 8694if test -z "$ac_cv_prog_RANLIB" ; then 8695 RANLIB="true" 8696fi 8697 8698 8699 8700if test -n "$STRIP"; then 8701 ac_cv_prog_STRIP=$STRIP 8702elif test -n "$ac_cv_prog_STRIP"; then 8703 STRIP=$ac_cv_prog_STRIP 8704fi 8705 8706if test -n "$ac_cv_prog_STRIP"; then 8707 for ncn_progname in strip; do 8708 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8709set dummy ${ncn_progname}; ac_word=$2 8710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8711$as_echo_n "checking for $ac_word... " >&6; } 8712if test "${ac_cv_prog_STRIP+set}" = set; then : 8713 $as_echo_n "(cached) " >&6 8714else 8715 if test -n "$STRIP"; then 8716 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 8717else 8718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8719for as_dir in $PATH 8720do 8721 IFS=$as_save_IFS 8722 test -z "$as_dir" && as_dir=. 8723 for ac_exec_ext in '' $ac_executable_extensions; do 8724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8725 ac_cv_prog_STRIP="${ncn_progname}" 8726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8727 break 2 8728 fi 8729done 8730 done 8731IFS=$as_save_IFS 8732 8733fi 8734fi 8735STRIP=$ac_cv_prog_STRIP 8736if test -n "$STRIP"; then 8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 8738$as_echo "$STRIP" >&6; } 8739else 8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8741$as_echo "no" >&6; } 8742fi 8743 8744 8745 done 8746fi 8747 8748for ncn_progname in strip; do 8749 if test -n "$ncn_tool_prefix"; then 8750 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 8751set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 8752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8753$as_echo_n "checking for $ac_word... " >&6; } 8754if test "${ac_cv_prog_STRIP+set}" = set; then : 8755 $as_echo_n "(cached) " >&6 8756else 8757 if test -n "$STRIP"; then 8758 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 8759else 8760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8761for as_dir in $PATH 8762do 8763 IFS=$as_save_IFS 8764 test -z "$as_dir" && as_dir=. 8765 for ac_exec_ext in '' $ac_executable_extensions; do 8766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8767 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}" 8768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8769 break 2 8770 fi 8771done 8772 done 8773IFS=$as_save_IFS 8774 8775fi 8776fi 8777STRIP=$ac_cv_prog_STRIP 8778if test -n "$STRIP"; then 8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 8780$as_echo "$STRIP" >&6; } 8781else 8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8783$as_echo "no" >&6; } 8784fi 8785 8786 8787 fi 8788 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then 8789 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8790set dummy ${ncn_progname}; ac_word=$2 8791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8792$as_echo_n "checking for $ac_word... " >&6; } 8793if test "${ac_cv_prog_STRIP+set}" = set; then : 8794 $as_echo_n "(cached) " >&6 8795else 8796 if test -n "$STRIP"; then 8797 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 8798else 8799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8800for as_dir in $PATH 8801do 8802 IFS=$as_save_IFS 8803 test -z "$as_dir" && as_dir=. 8804 for ac_exec_ext in '' $ac_executable_extensions; do 8805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8806 ac_cv_prog_STRIP="${ncn_progname}" 8807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8808 break 2 8809 fi 8810done 8811 done 8812IFS=$as_save_IFS 8813 8814fi 8815fi 8816STRIP=$ac_cv_prog_STRIP 8817if test -n "$STRIP"; then 8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 8819$as_echo "$STRIP" >&6; } 8820else 8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8822$as_echo "no" >&6; } 8823fi 8824 8825 8826 fi 8827 test -n "$ac_cv_prog_STRIP" && break 8828done 8829 8830if test -z "$ac_cv_prog_STRIP" ; then 8831 STRIP="true" 8832fi 8833 8834 8835 8836if test -n "$WINDRES"; then 8837 ac_cv_prog_WINDRES=$WINDRES 8838elif test -n "$ac_cv_prog_WINDRES"; then 8839 WINDRES=$ac_cv_prog_WINDRES 8840fi 8841 8842if test -n "$ac_cv_prog_WINDRES"; then 8843 for ncn_progname in windres; do 8844 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8845set dummy ${ncn_progname}; ac_word=$2 8846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8847$as_echo_n "checking for $ac_word... " >&6; } 8848if test "${ac_cv_prog_WINDRES+set}" = set; then : 8849 $as_echo_n "(cached) " >&6 8850else 8851 if test -n "$WINDRES"; then 8852 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 8853else 8854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8855for as_dir in $PATH 8856do 8857 IFS=$as_save_IFS 8858 test -z "$as_dir" && as_dir=. 8859 for ac_exec_ext in '' $ac_executable_extensions; do 8860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8861 ac_cv_prog_WINDRES="${ncn_progname}" 8862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8863 break 2 8864 fi 8865done 8866 done 8867IFS=$as_save_IFS 8868 8869fi 8870fi 8871WINDRES=$ac_cv_prog_WINDRES 8872if test -n "$WINDRES"; then 8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 8874$as_echo "$WINDRES" >&6; } 8875else 8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8877$as_echo "no" >&6; } 8878fi 8879 8880 8881 done 8882fi 8883 8884for ncn_progname in windres; do 8885 if test -n "$ncn_tool_prefix"; then 8886 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 8887set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 8888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8889$as_echo_n "checking for $ac_word... " >&6; } 8890if test "${ac_cv_prog_WINDRES+set}" = set; then : 8891 $as_echo_n "(cached) " >&6 8892else 8893 if test -n "$WINDRES"; then 8894 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 8895else 8896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8897for as_dir in $PATH 8898do 8899 IFS=$as_save_IFS 8900 test -z "$as_dir" && as_dir=. 8901 for ac_exec_ext in '' $ac_executable_extensions; do 8902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8903 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}" 8904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8905 break 2 8906 fi 8907done 8908 done 8909IFS=$as_save_IFS 8910 8911fi 8912fi 8913WINDRES=$ac_cv_prog_WINDRES 8914if test -n "$WINDRES"; then 8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 8916$as_echo "$WINDRES" >&6; } 8917else 8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8919$as_echo "no" >&6; } 8920fi 8921 8922 8923 fi 8924 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then 8925 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8926set dummy ${ncn_progname}; ac_word=$2 8927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8928$as_echo_n "checking for $ac_word... " >&6; } 8929if test "${ac_cv_prog_WINDRES+set}" = set; then : 8930 $as_echo_n "(cached) " >&6 8931else 8932 if test -n "$WINDRES"; then 8933 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 8934else 8935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8936for as_dir in $PATH 8937do 8938 IFS=$as_save_IFS 8939 test -z "$as_dir" && as_dir=. 8940 for ac_exec_ext in '' $ac_executable_extensions; do 8941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8942 ac_cv_prog_WINDRES="${ncn_progname}" 8943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8944 break 2 8945 fi 8946done 8947 done 8948IFS=$as_save_IFS 8949 8950fi 8951fi 8952WINDRES=$ac_cv_prog_WINDRES 8953if test -n "$WINDRES"; then 8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 8955$as_echo "$WINDRES" >&6; } 8956else 8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8958$as_echo "no" >&6; } 8959fi 8960 8961 8962 fi 8963 test -n "$ac_cv_prog_WINDRES" && break 8964done 8965 8966if test -z "$ac_cv_prog_WINDRES" ; then 8967 set dummy windres 8968 if test $build = $host ; then 8969 WINDRES="$2" 8970 else 8971 WINDRES="${ncn_tool_prefix}$2" 8972 fi 8973fi 8974 8975 8976 8977if test -n "$WINDMC"; then 8978 ac_cv_prog_WINDMC=$WINDMC 8979elif test -n "$ac_cv_prog_WINDMC"; then 8980 WINDMC=$ac_cv_prog_WINDMC 8981fi 8982 8983if test -n "$ac_cv_prog_WINDMC"; then 8984 for ncn_progname in windmc; do 8985 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 8986set dummy ${ncn_progname}; ac_word=$2 8987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8988$as_echo_n "checking for $ac_word... " >&6; } 8989if test "${ac_cv_prog_WINDMC+set}" = set; then : 8990 $as_echo_n "(cached) " >&6 8991else 8992 if test -n "$WINDMC"; then 8993 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test. 8994else 8995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8996for as_dir in $PATH 8997do 8998 IFS=$as_save_IFS 8999 test -z "$as_dir" && as_dir=. 9000 for ac_exec_ext in '' $ac_executable_extensions; do 9001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9002 ac_cv_prog_WINDMC="${ncn_progname}" 9003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9004 break 2 9005 fi 9006done 9007 done 9008IFS=$as_save_IFS 9009 9010fi 9011fi 9012WINDMC=$ac_cv_prog_WINDMC 9013if test -n "$WINDMC"; then 9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5 9015$as_echo "$WINDMC" >&6; } 9016else 9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9018$as_echo "no" >&6; } 9019fi 9020 9021 9022 done 9023fi 9024 9025for ncn_progname in windmc; do 9026 if test -n "$ncn_tool_prefix"; then 9027 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 9028set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 9029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9030$as_echo_n "checking for $ac_word... " >&6; } 9031if test "${ac_cv_prog_WINDMC+set}" = set; then : 9032 $as_echo_n "(cached) " >&6 9033else 9034 if test -n "$WINDMC"; then 9035 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test. 9036else 9037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9038for as_dir in $PATH 9039do 9040 IFS=$as_save_IFS 9041 test -z "$as_dir" && as_dir=. 9042 for ac_exec_ext in '' $ac_executable_extensions; do 9043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9044 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}" 9045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9046 break 2 9047 fi 9048done 9049 done 9050IFS=$as_save_IFS 9051 9052fi 9053fi 9054WINDMC=$ac_cv_prog_WINDMC 9055if test -n "$WINDMC"; then 9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5 9057$as_echo "$WINDMC" >&6; } 9058else 9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9060$as_echo "no" >&6; } 9061fi 9062 9063 9064 fi 9065 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then 9066 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9067set dummy ${ncn_progname}; ac_word=$2 9068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9069$as_echo_n "checking for $ac_word... " >&6; } 9070if test "${ac_cv_prog_WINDMC+set}" = set; then : 9071 $as_echo_n "(cached) " >&6 9072else 9073 if test -n "$WINDMC"; then 9074 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test. 9075else 9076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9077for as_dir in $PATH 9078do 9079 IFS=$as_save_IFS 9080 test -z "$as_dir" && as_dir=. 9081 for ac_exec_ext in '' $ac_executable_extensions; do 9082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9083 ac_cv_prog_WINDMC="${ncn_progname}" 9084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9085 break 2 9086 fi 9087done 9088 done 9089IFS=$as_save_IFS 9090 9091fi 9092fi 9093WINDMC=$ac_cv_prog_WINDMC 9094if test -n "$WINDMC"; then 9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5 9096$as_echo "$WINDMC" >&6; } 9097else 9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9099$as_echo "no" >&6; } 9100fi 9101 9102 9103 fi 9104 test -n "$ac_cv_prog_WINDMC" && break 9105done 9106 9107if test -z "$ac_cv_prog_WINDMC" ; then 9108 set dummy windmc 9109 if test $build = $host ; then 9110 WINDMC="$2" 9111 else 9112 WINDMC="${ncn_tool_prefix}$2" 9113 fi 9114fi 9115 9116 9117 9118if test -n "$OBJCOPY"; then 9119 ac_cv_prog_OBJCOPY=$OBJCOPY 9120elif test -n "$ac_cv_prog_OBJCOPY"; then 9121 OBJCOPY=$ac_cv_prog_OBJCOPY 9122fi 9123 9124if test -n "$ac_cv_prog_OBJCOPY"; then 9125 for ncn_progname in objcopy; do 9126 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9127set dummy ${ncn_progname}; ac_word=$2 9128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9129$as_echo_n "checking for $ac_word... " >&6; } 9130if test "${ac_cv_prog_OBJCOPY+set}" = set; then : 9131 $as_echo_n "(cached) " >&6 9132else 9133 if test -n "$OBJCOPY"; then 9134 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. 9135else 9136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9137for as_dir in $PATH 9138do 9139 IFS=$as_save_IFS 9140 test -z "$as_dir" && as_dir=. 9141 for ac_exec_ext in '' $ac_executable_extensions; do 9142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9143 ac_cv_prog_OBJCOPY="${ncn_progname}" 9144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9145 break 2 9146 fi 9147done 9148 done 9149IFS=$as_save_IFS 9150 9151fi 9152fi 9153OBJCOPY=$ac_cv_prog_OBJCOPY 9154if test -n "$OBJCOPY"; then 9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 9156$as_echo "$OBJCOPY" >&6; } 9157else 9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9159$as_echo "no" >&6; } 9160fi 9161 9162 9163 done 9164fi 9165 9166for ncn_progname in objcopy; do 9167 if test -n "$ncn_tool_prefix"; then 9168 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 9169set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 9170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9171$as_echo_n "checking for $ac_word... " >&6; } 9172if test "${ac_cv_prog_OBJCOPY+set}" = set; then : 9173 $as_echo_n "(cached) " >&6 9174else 9175 if test -n "$OBJCOPY"; then 9176 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. 9177else 9178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9179for as_dir in $PATH 9180do 9181 IFS=$as_save_IFS 9182 test -z "$as_dir" && as_dir=. 9183 for ac_exec_ext in '' $ac_executable_extensions; do 9184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9185 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}" 9186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9187 break 2 9188 fi 9189done 9190 done 9191IFS=$as_save_IFS 9192 9193fi 9194fi 9195OBJCOPY=$ac_cv_prog_OBJCOPY 9196if test -n "$OBJCOPY"; then 9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 9198$as_echo "$OBJCOPY" >&6; } 9199else 9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9201$as_echo "no" >&6; } 9202fi 9203 9204 9205 fi 9206 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then 9207 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9208set dummy ${ncn_progname}; ac_word=$2 9209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9210$as_echo_n "checking for $ac_word... " >&6; } 9211if test "${ac_cv_prog_OBJCOPY+set}" = set; then : 9212 $as_echo_n "(cached) " >&6 9213else 9214 if test -n "$OBJCOPY"; then 9215 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. 9216else 9217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9218for as_dir in $PATH 9219do 9220 IFS=$as_save_IFS 9221 test -z "$as_dir" && as_dir=. 9222 for ac_exec_ext in '' $ac_executable_extensions; do 9223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9224 ac_cv_prog_OBJCOPY="${ncn_progname}" 9225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9226 break 2 9227 fi 9228done 9229 done 9230IFS=$as_save_IFS 9231 9232fi 9233fi 9234OBJCOPY=$ac_cv_prog_OBJCOPY 9235if test -n "$OBJCOPY"; then 9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 9237$as_echo "$OBJCOPY" >&6; } 9238else 9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9240$as_echo "no" >&6; } 9241fi 9242 9243 9244 fi 9245 test -n "$ac_cv_prog_OBJCOPY" && break 9246done 9247 9248if test -z "$ac_cv_prog_OBJCOPY" ; then 9249 set dummy objcopy 9250 if test $build = $host ; then 9251 OBJCOPY="$2" 9252 else 9253 OBJCOPY="${ncn_tool_prefix}$2" 9254 fi 9255fi 9256 9257 9258 9259if test -n "$OBJDUMP"; then 9260 ac_cv_prog_OBJDUMP=$OBJDUMP 9261elif test -n "$ac_cv_prog_OBJDUMP"; then 9262 OBJDUMP=$ac_cv_prog_OBJDUMP 9263fi 9264 9265if test -n "$ac_cv_prog_OBJDUMP"; then 9266 for ncn_progname in objdump; do 9267 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9268set dummy ${ncn_progname}; ac_word=$2 9269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9270$as_echo_n "checking for $ac_word... " >&6; } 9271if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 9272 $as_echo_n "(cached) " >&6 9273else 9274 if test -n "$OBJDUMP"; then 9275 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 9276else 9277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9278for as_dir in $PATH 9279do 9280 IFS=$as_save_IFS 9281 test -z "$as_dir" && as_dir=. 9282 for ac_exec_ext in '' $ac_executable_extensions; do 9283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9284 ac_cv_prog_OBJDUMP="${ncn_progname}" 9285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9286 break 2 9287 fi 9288done 9289 done 9290IFS=$as_save_IFS 9291 9292fi 9293fi 9294OBJDUMP=$ac_cv_prog_OBJDUMP 9295if test -n "$OBJDUMP"; then 9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9297$as_echo "$OBJDUMP" >&6; } 9298else 9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9300$as_echo "no" >&6; } 9301fi 9302 9303 9304 done 9305fi 9306 9307for ncn_progname in objdump; do 9308 if test -n "$ncn_tool_prefix"; then 9309 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args. 9310set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2 9311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9312$as_echo_n "checking for $ac_word... " >&6; } 9313if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 9314 $as_echo_n "(cached) " >&6 9315else 9316 if test -n "$OBJDUMP"; then 9317 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 9318else 9319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9320for as_dir in $PATH 9321do 9322 IFS=$as_save_IFS 9323 test -z "$as_dir" && as_dir=. 9324 for ac_exec_ext in '' $ac_executable_extensions; do 9325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9326 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}" 9327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9328 break 2 9329 fi 9330done 9331 done 9332IFS=$as_save_IFS 9333 9334fi 9335fi 9336OBJDUMP=$ac_cv_prog_OBJDUMP 9337if test -n "$OBJDUMP"; then 9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9339$as_echo "$OBJDUMP" >&6; } 9340else 9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9342$as_echo "no" >&6; } 9343fi 9344 9345 9346 fi 9347 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then 9348 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9349set dummy ${ncn_progname}; ac_word=$2 9350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9351$as_echo_n "checking for $ac_word... " >&6; } 9352if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 9353 $as_echo_n "(cached) " >&6 9354else 9355 if test -n "$OBJDUMP"; then 9356 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 9357else 9358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9359for as_dir in $PATH 9360do 9361 IFS=$as_save_IFS 9362 test -z "$as_dir" && as_dir=. 9363 for ac_exec_ext in '' $ac_executable_extensions; do 9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9365 ac_cv_prog_OBJDUMP="${ncn_progname}" 9366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9367 break 2 9368 fi 9369done 9370 done 9371IFS=$as_save_IFS 9372 9373fi 9374fi 9375OBJDUMP=$ac_cv_prog_OBJDUMP 9376if test -n "$OBJDUMP"; then 9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9378$as_echo "$OBJDUMP" >&6; } 9379else 9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9381$as_echo "no" >&6; } 9382fi 9383 9384 9385 fi 9386 test -n "$ac_cv_prog_OBJDUMP" && break 9387done 9388 9389if test -z "$ac_cv_prog_OBJDUMP" ; then 9390 set dummy objdump 9391 if test $build = $host ; then 9392 OBJDUMP="$2" 9393 else 9394 OBJDUMP="${ncn_tool_prefix}$2" 9395 fi 9396fi 9397 9398 9399 9400 9401 9402 9403# Target tools. 9404 9405# Check whether --with-build-time-tools was given. 9406if test "${with_build_time_tools+set}" = set; then : 9407 withval=$with_build_time_tools; case x"$withval" in 9408 x/*) ;; 9409 *) 9410 with_build_time_tools= 9411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5 9412$as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;} 9413 ;; 9414 esac 9415else 9416 with_build_time_tools= 9417fi 9418 9419 9420 9421 9422if test -n "$CC_FOR_TARGET"; then 9423 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET 9424elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then 9425 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET 9426fi 9427 9428if test -n "$ac_cv_prog_CC_FOR_TARGET"; then 9429 for ncn_progname in cc gcc; do 9430 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9431set dummy ${ncn_progname}; ac_word=$2 9432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9433$as_echo_n "checking for $ac_word... " >&6; } 9434if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then : 9435 $as_echo_n "(cached) " >&6 9436else 9437 if test -n "$CC_FOR_TARGET"; then 9438 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test. 9439else 9440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9441for as_dir in $PATH 9442do 9443 IFS=$as_save_IFS 9444 test -z "$as_dir" && as_dir=. 9445 for ac_exec_ext in '' $ac_executable_extensions; do 9446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9447 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}" 9448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9449 break 2 9450 fi 9451done 9452 done 9453IFS=$as_save_IFS 9454 9455fi 9456fi 9457CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET 9458if test -n "$CC_FOR_TARGET"; then 9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5 9460$as_echo "$CC_FOR_TARGET" >&6; } 9461else 9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9463$as_echo "no" >&6; } 9464fi 9465 9466 9467 done 9468fi 9469 9470if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then 9471 for ncn_progname in cc gcc; do 9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 9473$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 9474 if test -x $with_build_time_tools/${ncn_progname}; then 9475 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname} 9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9477$as_echo "yes" >&6; } 9478 break 9479 else 9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9481$as_echo "no" >&6; } 9482 fi 9483 done 9484fi 9485 9486if test -z "$ac_cv_prog_CC_FOR_TARGET"; then 9487 for ncn_progname in cc gcc; do 9488 if test -n "$ncn_target_tool_prefix"; then 9489 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 9490set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 9491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9492$as_echo_n "checking for $ac_word... " >&6; } 9493if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then : 9494 $as_echo_n "(cached) " >&6 9495else 9496 if test -n "$CC_FOR_TARGET"; then 9497 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test. 9498else 9499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9500for as_dir in $PATH 9501do 9502 IFS=$as_save_IFS 9503 test -z "$as_dir" && as_dir=. 9504 for ac_exec_ext in '' $ac_executable_extensions; do 9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9506 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9508 break 2 9509 fi 9510done 9511 done 9512IFS=$as_save_IFS 9513 9514fi 9515fi 9516CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET 9517if test -n "$CC_FOR_TARGET"; then 9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5 9519$as_echo "$CC_FOR_TARGET" >&6; } 9520else 9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9522$as_echo "no" >&6; } 9523fi 9524 9525 9526 fi 9527 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then 9528 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9529set dummy ${ncn_progname}; ac_word=$2 9530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9531$as_echo_n "checking for $ac_word... " >&6; } 9532if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then : 9533 $as_echo_n "(cached) " >&6 9534else 9535 if test -n "$CC_FOR_TARGET"; then 9536 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test. 9537else 9538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9539for as_dir in $PATH 9540do 9541 IFS=$as_save_IFS 9542 test -z "$as_dir" && as_dir=. 9543 for ac_exec_ext in '' $ac_executable_extensions; do 9544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9545 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}" 9546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9547 break 2 9548 fi 9549done 9550 done 9551IFS=$as_save_IFS 9552 9553fi 9554fi 9555CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET 9556if test -n "$CC_FOR_TARGET"; then 9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5 9558$as_echo "$CC_FOR_TARGET" >&6; } 9559else 9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9561$as_echo "no" >&6; } 9562fi 9563 9564 9565 fi 9566 test -n "$ac_cv_prog_CC_FOR_TARGET" && break 9567 done 9568fi 9569 9570if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then 9571 set dummy cc gcc 9572 if test $build = $target ; then 9573 CC_FOR_TARGET="$2" 9574 else 9575 CC_FOR_TARGET="${ncn_target_tool_prefix}$2" 9576 fi 9577else 9578 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET" 9579fi 9580 9581 9582 9583if test -n "$CXX_FOR_TARGET"; then 9584 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET 9585elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then 9586 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET 9587fi 9588 9589if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then 9590 for ncn_progname in c++ g++ cxx gxx; do 9591 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9592set dummy ${ncn_progname}; ac_word=$2 9593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9594$as_echo_n "checking for $ac_word... " >&6; } 9595if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then : 9596 $as_echo_n "(cached) " >&6 9597else 9598 if test -n "$CXX_FOR_TARGET"; then 9599 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test. 9600else 9601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9602for as_dir in $PATH 9603do 9604 IFS=$as_save_IFS 9605 test -z "$as_dir" && as_dir=. 9606 for ac_exec_ext in '' $ac_executable_extensions; do 9607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9608 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}" 9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9610 break 2 9611 fi 9612done 9613 done 9614IFS=$as_save_IFS 9615 9616fi 9617fi 9618CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET 9619if test -n "$CXX_FOR_TARGET"; then 9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5 9621$as_echo "$CXX_FOR_TARGET" >&6; } 9622else 9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9624$as_echo "no" >&6; } 9625fi 9626 9627 9628 done 9629fi 9630 9631if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then 9632 for ncn_progname in c++ g++ cxx gxx; do 9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 9634$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 9635 if test -x $with_build_time_tools/${ncn_progname}; then 9636 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname} 9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9638$as_echo "yes" >&6; } 9639 break 9640 else 9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9642$as_echo "no" >&6; } 9643 fi 9644 done 9645fi 9646 9647if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then 9648 for ncn_progname in c++ g++ cxx gxx; do 9649 if test -n "$ncn_target_tool_prefix"; then 9650 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 9651set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 9652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9653$as_echo_n "checking for $ac_word... " >&6; } 9654if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then : 9655 $as_echo_n "(cached) " >&6 9656else 9657 if test -n "$CXX_FOR_TARGET"; then 9658 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test. 9659else 9660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9661for as_dir in $PATH 9662do 9663 IFS=$as_save_IFS 9664 test -z "$as_dir" && as_dir=. 9665 for ac_exec_ext in '' $ac_executable_extensions; do 9666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9667 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 9668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9669 break 2 9670 fi 9671done 9672 done 9673IFS=$as_save_IFS 9674 9675fi 9676fi 9677CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET 9678if test -n "$CXX_FOR_TARGET"; then 9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5 9680$as_echo "$CXX_FOR_TARGET" >&6; } 9681else 9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9683$as_echo "no" >&6; } 9684fi 9685 9686 9687 fi 9688 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then 9689 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9690set dummy ${ncn_progname}; ac_word=$2 9691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9692$as_echo_n "checking for $ac_word... " >&6; } 9693if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then : 9694 $as_echo_n "(cached) " >&6 9695else 9696 if test -n "$CXX_FOR_TARGET"; then 9697 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test. 9698else 9699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9700for as_dir in $PATH 9701do 9702 IFS=$as_save_IFS 9703 test -z "$as_dir" && as_dir=. 9704 for ac_exec_ext in '' $ac_executable_extensions; do 9705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9706 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}" 9707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9708 break 2 9709 fi 9710done 9711 done 9712IFS=$as_save_IFS 9713 9714fi 9715fi 9716CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET 9717if test -n "$CXX_FOR_TARGET"; then 9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5 9719$as_echo "$CXX_FOR_TARGET" >&6; } 9720else 9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9722$as_echo "no" >&6; } 9723fi 9724 9725 9726 fi 9727 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break 9728 done 9729fi 9730 9731if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then 9732 set dummy c++ g++ cxx gxx 9733 if test $build = $target ; then 9734 CXX_FOR_TARGET="$2" 9735 else 9736 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2" 9737 fi 9738else 9739 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET" 9740fi 9741 9742 9743 9744if test -n "$GCC_FOR_TARGET"; then 9745 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET 9746elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then 9747 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET 9748fi 9749 9750if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then 9751 for ncn_progname in gcc; do 9752 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9753set dummy ${ncn_progname}; ac_word=$2 9754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9755$as_echo_n "checking for $ac_word... " >&6; } 9756if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then : 9757 $as_echo_n "(cached) " >&6 9758else 9759 if test -n "$GCC_FOR_TARGET"; then 9760 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test. 9761else 9762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9763for as_dir in $PATH 9764do 9765 IFS=$as_save_IFS 9766 test -z "$as_dir" && as_dir=. 9767 for ac_exec_ext in '' $ac_executable_extensions; do 9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9769 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}" 9770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9771 break 2 9772 fi 9773done 9774 done 9775IFS=$as_save_IFS 9776 9777fi 9778fi 9779GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET 9780if test -n "$GCC_FOR_TARGET"; then 9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5 9782$as_echo "$GCC_FOR_TARGET" >&6; } 9783else 9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9785$as_echo "no" >&6; } 9786fi 9787 9788 9789 done 9790fi 9791 9792if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then 9793 for ncn_progname in gcc; do 9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 9795$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 9796 if test -x $with_build_time_tools/${ncn_progname}; then 9797 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname} 9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9799$as_echo "yes" >&6; } 9800 break 9801 else 9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9803$as_echo "no" >&6; } 9804 fi 9805 done 9806fi 9807 9808if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then 9809 for ncn_progname in gcc; do 9810 if test -n "$ncn_target_tool_prefix"; then 9811 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 9812set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 9813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9814$as_echo_n "checking for $ac_word... " >&6; } 9815if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then : 9816 $as_echo_n "(cached) " >&6 9817else 9818 if test -n "$GCC_FOR_TARGET"; then 9819 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test. 9820else 9821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9822for as_dir in $PATH 9823do 9824 IFS=$as_save_IFS 9825 test -z "$as_dir" && as_dir=. 9826 for ac_exec_ext in '' $ac_executable_extensions; do 9827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9828 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 9829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9830 break 2 9831 fi 9832done 9833 done 9834IFS=$as_save_IFS 9835 9836fi 9837fi 9838GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET 9839if test -n "$GCC_FOR_TARGET"; then 9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5 9841$as_echo "$GCC_FOR_TARGET" >&6; } 9842else 9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9844$as_echo "no" >&6; } 9845fi 9846 9847 9848 fi 9849 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then 9850 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9851set dummy ${ncn_progname}; ac_word=$2 9852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9853$as_echo_n "checking for $ac_word... " >&6; } 9854if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then : 9855 $as_echo_n "(cached) " >&6 9856else 9857 if test -n "$GCC_FOR_TARGET"; then 9858 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test. 9859else 9860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9861for as_dir in $PATH 9862do 9863 IFS=$as_save_IFS 9864 test -z "$as_dir" && as_dir=. 9865 for ac_exec_ext in '' $ac_executable_extensions; do 9866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9867 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}" 9868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9869 break 2 9870 fi 9871done 9872 done 9873IFS=$as_save_IFS 9874 9875fi 9876fi 9877GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET 9878if test -n "$GCC_FOR_TARGET"; then 9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5 9880$as_echo "$GCC_FOR_TARGET" >&6; } 9881else 9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9883$as_echo "no" >&6; } 9884fi 9885 9886 9887 fi 9888 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break 9889 done 9890fi 9891 9892if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then 9893 GCC_FOR_TARGET="${CC_FOR_TARGET}" 9894else 9895 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET" 9896fi 9897 9898 9899 9900if test -n "$GCJ_FOR_TARGET"; then 9901 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET 9902elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then 9903 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET 9904fi 9905 9906if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then 9907 for ncn_progname in gcj; do 9908 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 9909set dummy ${ncn_progname}; ac_word=$2 9910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9911$as_echo_n "checking for $ac_word... " >&6; } 9912if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then : 9913 $as_echo_n "(cached) " >&6 9914else 9915 if test -n "$GCJ_FOR_TARGET"; then 9916 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test. 9917else 9918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9919for as_dir in $PATH 9920do 9921 IFS=$as_save_IFS 9922 test -z "$as_dir" && as_dir=. 9923 for ac_exec_ext in '' $ac_executable_extensions; do 9924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9925 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}" 9926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9927 break 2 9928 fi 9929done 9930 done 9931IFS=$as_save_IFS 9932 9933fi 9934fi 9935GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET 9936if test -n "$GCJ_FOR_TARGET"; then 9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5 9938$as_echo "$GCJ_FOR_TARGET" >&6; } 9939else 9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9941$as_echo "no" >&6; } 9942fi 9943 9944 9945 done 9946fi 9947 9948if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then 9949 for ncn_progname in gcj; do 9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 9951$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 9952 if test -x $with_build_time_tools/${ncn_progname}; then 9953 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname} 9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9955$as_echo "yes" >&6; } 9956 break 9957 else 9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9959$as_echo "no" >&6; } 9960 fi 9961 done 9962fi 9963 9964if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then 9965 for ncn_progname in gcj; do 9966 if test -n "$ncn_target_tool_prefix"; then 9967 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 9968set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 9969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9970$as_echo_n "checking for $ac_word... " >&6; } 9971if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then : 9972 $as_echo_n "(cached) " >&6 9973else 9974 if test -n "$GCJ_FOR_TARGET"; then 9975 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test. 9976else 9977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9978for as_dir in $PATH 9979do 9980 IFS=$as_save_IFS 9981 test -z "$as_dir" && as_dir=. 9982 for ac_exec_ext in '' $ac_executable_extensions; do 9983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9984 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 9985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9986 break 2 9987 fi 9988done 9989 done 9990IFS=$as_save_IFS 9991 9992fi 9993fi 9994GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET 9995if test -n "$GCJ_FOR_TARGET"; then 9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5 9997$as_echo "$GCJ_FOR_TARGET" >&6; } 9998else 9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10000$as_echo "no" >&6; } 10001fi 10002 10003 10004 fi 10005 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then 10006 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10007set dummy ${ncn_progname}; ac_word=$2 10008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10009$as_echo_n "checking for $ac_word... " >&6; } 10010if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then : 10011 $as_echo_n "(cached) " >&6 10012else 10013 if test -n "$GCJ_FOR_TARGET"; then 10014 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test. 10015else 10016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10017for as_dir in $PATH 10018do 10019 IFS=$as_save_IFS 10020 test -z "$as_dir" && as_dir=. 10021 for ac_exec_ext in '' $ac_executable_extensions; do 10022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10023 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}" 10024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10025 break 2 10026 fi 10027done 10028 done 10029IFS=$as_save_IFS 10030 10031fi 10032fi 10033GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET 10034if test -n "$GCJ_FOR_TARGET"; then 10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5 10036$as_echo "$GCJ_FOR_TARGET" >&6; } 10037else 10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10039$as_echo "no" >&6; } 10040fi 10041 10042 10043 fi 10044 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break 10045 done 10046fi 10047 10048if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then 10049 set dummy gcj 10050 if test $build = $target ; then 10051 GCJ_FOR_TARGET="$2" 10052 else 10053 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2" 10054 fi 10055else 10056 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET" 10057fi 10058 10059 10060 10061if test -n "$GFORTRAN_FOR_TARGET"; then 10062 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET 10063elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then 10064 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET 10065fi 10066 10067if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then 10068 for ncn_progname in gfortran; do 10069 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10070set dummy ${ncn_progname}; ac_word=$2 10071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10072$as_echo_n "checking for $ac_word... " >&6; } 10073if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then : 10074 $as_echo_n "(cached) " >&6 10075else 10076 if test -n "$GFORTRAN_FOR_TARGET"; then 10077 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test. 10078else 10079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10080for as_dir in $PATH 10081do 10082 IFS=$as_save_IFS 10083 test -z "$as_dir" && as_dir=. 10084 for ac_exec_ext in '' $ac_executable_extensions; do 10085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10086 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}" 10087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10088 break 2 10089 fi 10090done 10091 done 10092IFS=$as_save_IFS 10093 10094fi 10095fi 10096GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET 10097if test -n "$GFORTRAN_FOR_TARGET"; then 10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5 10099$as_echo "$GFORTRAN_FOR_TARGET" >&6; } 10100else 10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10102$as_echo "no" >&6; } 10103fi 10104 10105 10106 done 10107fi 10108 10109if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then 10110 for ncn_progname in gfortran; do 10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 10112$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 10113 if test -x $with_build_time_tools/${ncn_progname}; then 10114 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname} 10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10116$as_echo "yes" >&6; } 10117 break 10118 else 10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10120$as_echo "no" >&6; } 10121 fi 10122 done 10123fi 10124 10125if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then 10126 for ncn_progname in gfortran; do 10127 if test -n "$ncn_target_tool_prefix"; then 10128 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 10129set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 10130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10131$as_echo_n "checking for $ac_word... " >&6; } 10132if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then : 10133 $as_echo_n "(cached) " >&6 10134else 10135 if test -n "$GFORTRAN_FOR_TARGET"; then 10136 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test. 10137else 10138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10139for as_dir in $PATH 10140do 10141 IFS=$as_save_IFS 10142 test -z "$as_dir" && as_dir=. 10143 for ac_exec_ext in '' $ac_executable_extensions; do 10144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10145 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 10146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10147 break 2 10148 fi 10149done 10150 done 10151IFS=$as_save_IFS 10152 10153fi 10154fi 10155GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET 10156if test -n "$GFORTRAN_FOR_TARGET"; then 10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5 10158$as_echo "$GFORTRAN_FOR_TARGET" >&6; } 10159else 10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10161$as_echo "no" >&6; } 10162fi 10163 10164 10165 fi 10166 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then 10167 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10168set dummy ${ncn_progname}; ac_word=$2 10169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10170$as_echo_n "checking for $ac_word... " >&6; } 10171if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then : 10172 $as_echo_n "(cached) " >&6 10173else 10174 if test -n "$GFORTRAN_FOR_TARGET"; then 10175 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test. 10176else 10177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10178for as_dir in $PATH 10179do 10180 IFS=$as_save_IFS 10181 test -z "$as_dir" && as_dir=. 10182 for ac_exec_ext in '' $ac_executable_extensions; do 10183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10184 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}" 10185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10186 break 2 10187 fi 10188done 10189 done 10190IFS=$as_save_IFS 10191 10192fi 10193fi 10194GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET 10195if test -n "$GFORTRAN_FOR_TARGET"; then 10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5 10197$as_echo "$GFORTRAN_FOR_TARGET" >&6; } 10198else 10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10200$as_echo "no" >&6; } 10201fi 10202 10203 10204 fi 10205 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break 10206 done 10207fi 10208 10209if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then 10210 set dummy gfortran 10211 if test $build = $target ; then 10212 GFORTRAN_FOR_TARGET="$2" 10213 else 10214 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2" 10215 fi 10216else 10217 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET" 10218fi 10219 10220 10221 10222cat > conftest.c << \EOF 10223#ifdef __GNUC__ 10224 gcc_yay; 10225#endif 10226EOF 10227if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then 10228 have_gcc_for_target=yes 10229else 10230 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc 10231 have_gcc_for_target=no 10232fi 10233rm conftest.c 10234 10235 10236 10237 10238if test -z "$ac_cv_path_AR_FOR_TARGET" ; then 10239 if test -n "$with_build_time_tools"; then 10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5 10241$as_echo_n "checking for ar in $with_build_time_tools... " >&6; } 10242 if test -x $with_build_time_tools/ar; then 10243 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar 10244 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET 10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5 10246$as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; } 10247 else 10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10249$as_echo "no" >&6; } 10250 fi 10251 elif test $build != $host && test $have_gcc_for_target = yes; then 10252 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar` 10253 test $AR_FOR_TARGET = ar && AR_FOR_TARGET= 10254 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET 10255 fi 10256fi 10257if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 10258 # Extract the first word of "ar", so it can be a program name with args. 10259set dummy ar; ac_word=$2 10260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10261$as_echo_n "checking for $ac_word... " >&6; } 10262if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then : 10263 $as_echo_n "(cached) " >&6 10264else 10265 case $AR_FOR_TARGET in 10266 [\\/]* | ?:[\\/]*) 10267 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path. 10268 ;; 10269 *) 10270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10271for as_dir in $gcc_cv_tool_dirs 10272do 10273 IFS=$as_save_IFS 10274 test -z "$as_dir" && as_dir=. 10275 for ac_exec_ext in '' $ac_executable_extensions; do 10276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10277 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 10278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10279 break 2 10280 fi 10281done 10282 done 10283IFS=$as_save_IFS 10284 10285 ;; 10286esac 10287fi 10288AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET 10289if test -n "$AR_FOR_TARGET"; then 10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5 10291$as_echo "$AR_FOR_TARGET" >&6; } 10292else 10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10294$as_echo "no" >&6; } 10295fi 10296 10297 10298fi 10299if test -z "$ac_cv_path_AR_FOR_TARGET" ; then 10300 10301 10302if test -n "$AR_FOR_TARGET"; then 10303 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET 10304elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then 10305 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET 10306fi 10307 10308if test -n "$ac_cv_prog_AR_FOR_TARGET"; then 10309 for ncn_progname in ar; do 10310 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10311set dummy ${ncn_progname}; ac_word=$2 10312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10313$as_echo_n "checking for $ac_word... " >&6; } 10314if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then : 10315 $as_echo_n "(cached) " >&6 10316else 10317 if test -n "$AR_FOR_TARGET"; then 10318 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test. 10319else 10320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10321for as_dir in $PATH 10322do 10323 IFS=$as_save_IFS 10324 test -z "$as_dir" && as_dir=. 10325 for ac_exec_ext in '' $ac_executable_extensions; do 10326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10327 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}" 10328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10329 break 2 10330 fi 10331done 10332 done 10333IFS=$as_save_IFS 10334 10335fi 10336fi 10337AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET 10338if test -n "$AR_FOR_TARGET"; then 10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5 10340$as_echo "$AR_FOR_TARGET" >&6; } 10341else 10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10343$as_echo "no" >&6; } 10344fi 10345 10346 10347 done 10348fi 10349 10350if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then 10351 for ncn_progname in ar; do 10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 10353$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 10354 if test -x $with_build_time_tools/${ncn_progname}; then 10355 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname} 10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10357$as_echo "yes" >&6; } 10358 break 10359 else 10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10361$as_echo "no" >&6; } 10362 fi 10363 done 10364fi 10365 10366if test -z "$ac_cv_prog_AR_FOR_TARGET"; then 10367 for ncn_progname in ar; do 10368 if test -n "$ncn_target_tool_prefix"; then 10369 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 10370set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 10371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10372$as_echo_n "checking for $ac_word... " >&6; } 10373if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then : 10374 $as_echo_n "(cached) " >&6 10375else 10376 if test -n "$AR_FOR_TARGET"; then 10377 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test. 10378else 10379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10380for as_dir in $PATH 10381do 10382 IFS=$as_save_IFS 10383 test -z "$as_dir" && as_dir=. 10384 for ac_exec_ext in '' $ac_executable_extensions; do 10385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10386 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 10387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10388 break 2 10389 fi 10390done 10391 done 10392IFS=$as_save_IFS 10393 10394fi 10395fi 10396AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET 10397if test -n "$AR_FOR_TARGET"; then 10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5 10399$as_echo "$AR_FOR_TARGET" >&6; } 10400else 10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10402$as_echo "no" >&6; } 10403fi 10404 10405 10406 fi 10407 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then 10408 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10409set dummy ${ncn_progname}; ac_word=$2 10410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10411$as_echo_n "checking for $ac_word... " >&6; } 10412if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then : 10413 $as_echo_n "(cached) " >&6 10414else 10415 if test -n "$AR_FOR_TARGET"; then 10416 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test. 10417else 10418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10419for as_dir in $PATH 10420do 10421 IFS=$as_save_IFS 10422 test -z "$as_dir" && as_dir=. 10423 for ac_exec_ext in '' $ac_executable_extensions; do 10424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10425 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}" 10426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10427 break 2 10428 fi 10429done 10430 done 10431IFS=$as_save_IFS 10432 10433fi 10434fi 10435AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET 10436if test -n "$AR_FOR_TARGET"; then 10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5 10438$as_echo "$AR_FOR_TARGET" >&6; } 10439else 10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10441$as_echo "no" >&6; } 10442fi 10443 10444 10445 fi 10446 test -n "$ac_cv_prog_AR_FOR_TARGET" && break 10447 done 10448fi 10449 10450if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then 10451 set dummy ar 10452 if test $build = $target ; then 10453 AR_FOR_TARGET="$2" 10454 else 10455 AR_FOR_TARGET="${ncn_target_tool_prefix}$2" 10456 fi 10457else 10458 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET" 10459fi 10460 10461else 10462 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET 10463fi 10464 10465 10466 10467 10468if test -z "$ac_cv_path_AS_FOR_TARGET" ; then 10469 if test -n "$with_build_time_tools"; then 10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5 10471$as_echo_n "checking for as in $with_build_time_tools... " >&6; } 10472 if test -x $with_build_time_tools/as; then 10473 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as 10474 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET 10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5 10476$as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; } 10477 else 10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10479$as_echo "no" >&6; } 10480 fi 10481 elif test $build != $host && test $have_gcc_for_target = yes; then 10482 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as` 10483 test $AS_FOR_TARGET = as && AS_FOR_TARGET= 10484 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET 10485 fi 10486fi 10487if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 10488 # Extract the first word of "as", so it can be a program name with args. 10489set dummy as; ac_word=$2 10490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10491$as_echo_n "checking for $ac_word... " >&6; } 10492if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then : 10493 $as_echo_n "(cached) " >&6 10494else 10495 case $AS_FOR_TARGET in 10496 [\\/]* | ?:[\\/]*) 10497 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path. 10498 ;; 10499 *) 10500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10501for as_dir in $gcc_cv_tool_dirs 10502do 10503 IFS=$as_save_IFS 10504 test -z "$as_dir" && as_dir=. 10505 for ac_exec_ext in '' $ac_executable_extensions; do 10506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10507 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 10508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10509 break 2 10510 fi 10511done 10512 done 10513IFS=$as_save_IFS 10514 10515 ;; 10516esac 10517fi 10518AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET 10519if test -n "$AS_FOR_TARGET"; then 10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5 10521$as_echo "$AS_FOR_TARGET" >&6; } 10522else 10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10524$as_echo "no" >&6; } 10525fi 10526 10527 10528fi 10529if test -z "$ac_cv_path_AS_FOR_TARGET" ; then 10530 10531 10532if test -n "$AS_FOR_TARGET"; then 10533 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET 10534elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then 10535 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET 10536fi 10537 10538if test -n "$ac_cv_prog_AS_FOR_TARGET"; then 10539 for ncn_progname in as; do 10540 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10541set dummy ${ncn_progname}; ac_word=$2 10542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10543$as_echo_n "checking for $ac_word... " >&6; } 10544if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then : 10545 $as_echo_n "(cached) " >&6 10546else 10547 if test -n "$AS_FOR_TARGET"; then 10548 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test. 10549else 10550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10551for as_dir in $PATH 10552do 10553 IFS=$as_save_IFS 10554 test -z "$as_dir" && as_dir=. 10555 for ac_exec_ext in '' $ac_executable_extensions; do 10556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10557 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}" 10558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10559 break 2 10560 fi 10561done 10562 done 10563IFS=$as_save_IFS 10564 10565fi 10566fi 10567AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET 10568if test -n "$AS_FOR_TARGET"; then 10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5 10570$as_echo "$AS_FOR_TARGET" >&6; } 10571else 10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10573$as_echo "no" >&6; } 10574fi 10575 10576 10577 done 10578fi 10579 10580if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then 10581 for ncn_progname in as; do 10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 10583$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 10584 if test -x $with_build_time_tools/${ncn_progname}; then 10585 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname} 10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10587$as_echo "yes" >&6; } 10588 break 10589 else 10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10591$as_echo "no" >&6; } 10592 fi 10593 done 10594fi 10595 10596if test -z "$ac_cv_prog_AS_FOR_TARGET"; then 10597 for ncn_progname in as; do 10598 if test -n "$ncn_target_tool_prefix"; then 10599 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 10600set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 10601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10602$as_echo_n "checking for $ac_word... " >&6; } 10603if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then : 10604 $as_echo_n "(cached) " >&6 10605else 10606 if test -n "$AS_FOR_TARGET"; then 10607 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test. 10608else 10609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10610for as_dir in $PATH 10611do 10612 IFS=$as_save_IFS 10613 test -z "$as_dir" && as_dir=. 10614 for ac_exec_ext in '' $ac_executable_extensions; do 10615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10616 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 10617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10618 break 2 10619 fi 10620done 10621 done 10622IFS=$as_save_IFS 10623 10624fi 10625fi 10626AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET 10627if test -n "$AS_FOR_TARGET"; then 10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5 10629$as_echo "$AS_FOR_TARGET" >&6; } 10630else 10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10632$as_echo "no" >&6; } 10633fi 10634 10635 10636 fi 10637 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then 10638 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10639set dummy ${ncn_progname}; ac_word=$2 10640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10641$as_echo_n "checking for $ac_word... " >&6; } 10642if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then : 10643 $as_echo_n "(cached) " >&6 10644else 10645 if test -n "$AS_FOR_TARGET"; then 10646 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test. 10647else 10648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10649for as_dir in $PATH 10650do 10651 IFS=$as_save_IFS 10652 test -z "$as_dir" && as_dir=. 10653 for ac_exec_ext in '' $ac_executable_extensions; do 10654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10655 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}" 10656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10657 break 2 10658 fi 10659done 10660 done 10661IFS=$as_save_IFS 10662 10663fi 10664fi 10665AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET 10666if test -n "$AS_FOR_TARGET"; then 10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5 10668$as_echo "$AS_FOR_TARGET" >&6; } 10669else 10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10671$as_echo "no" >&6; } 10672fi 10673 10674 10675 fi 10676 test -n "$ac_cv_prog_AS_FOR_TARGET" && break 10677 done 10678fi 10679 10680if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then 10681 set dummy as 10682 if test $build = $target ; then 10683 AS_FOR_TARGET="$2" 10684 else 10685 AS_FOR_TARGET="${ncn_target_tool_prefix}$2" 10686 fi 10687else 10688 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET" 10689fi 10690 10691else 10692 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET 10693fi 10694 10695 10696 10697 10698if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then 10699 if test -n "$with_build_time_tools"; then 10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5 10701$as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; } 10702 if test -x $with_build_time_tools/dlltool; then 10703 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool 10704 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET 10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5 10706$as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; } 10707 else 10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10709$as_echo "no" >&6; } 10710 fi 10711 elif test $build != $host && test $have_gcc_for_target = yes; then 10712 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool` 10713 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET= 10714 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET 10715 fi 10716fi 10717if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 10718 # Extract the first word of "dlltool", so it can be a program name with args. 10719set dummy dlltool; ac_word=$2 10720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10721$as_echo_n "checking for $ac_word... " >&6; } 10722if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then : 10723 $as_echo_n "(cached) " >&6 10724else 10725 case $DLLTOOL_FOR_TARGET in 10726 [\\/]* | ?:[\\/]*) 10727 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path. 10728 ;; 10729 *) 10730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10731for as_dir in $gcc_cv_tool_dirs 10732do 10733 IFS=$as_save_IFS 10734 test -z "$as_dir" && as_dir=. 10735 for ac_exec_ext in '' $ac_executable_extensions; do 10736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10737 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 10738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10739 break 2 10740 fi 10741done 10742 done 10743IFS=$as_save_IFS 10744 10745 ;; 10746esac 10747fi 10748DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET 10749if test -n "$DLLTOOL_FOR_TARGET"; then 10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5 10751$as_echo "$DLLTOOL_FOR_TARGET" >&6; } 10752else 10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10754$as_echo "no" >&6; } 10755fi 10756 10757 10758fi 10759if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then 10760 10761 10762if test -n "$DLLTOOL_FOR_TARGET"; then 10763 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET 10764elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then 10765 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET 10766fi 10767 10768if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then 10769 for ncn_progname in dlltool; do 10770 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10771set dummy ${ncn_progname}; ac_word=$2 10772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10773$as_echo_n "checking for $ac_word... " >&6; } 10774if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then : 10775 $as_echo_n "(cached) " >&6 10776else 10777 if test -n "$DLLTOOL_FOR_TARGET"; then 10778 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test. 10779else 10780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10781for as_dir in $PATH 10782do 10783 IFS=$as_save_IFS 10784 test -z "$as_dir" && as_dir=. 10785 for ac_exec_ext in '' $ac_executable_extensions; do 10786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10787 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}" 10788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10789 break 2 10790 fi 10791done 10792 done 10793IFS=$as_save_IFS 10794 10795fi 10796fi 10797DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET 10798if test -n "$DLLTOOL_FOR_TARGET"; then 10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5 10800$as_echo "$DLLTOOL_FOR_TARGET" >&6; } 10801else 10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10803$as_echo "no" >&6; } 10804fi 10805 10806 10807 done 10808fi 10809 10810if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then 10811 for ncn_progname in dlltool; do 10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 10813$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 10814 if test -x $with_build_time_tools/${ncn_progname}; then 10815 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname} 10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10817$as_echo "yes" >&6; } 10818 break 10819 else 10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10821$as_echo "no" >&6; } 10822 fi 10823 done 10824fi 10825 10826if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then 10827 for ncn_progname in dlltool; do 10828 if test -n "$ncn_target_tool_prefix"; then 10829 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 10830set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 10831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10832$as_echo_n "checking for $ac_word... " >&6; } 10833if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then : 10834 $as_echo_n "(cached) " >&6 10835else 10836 if test -n "$DLLTOOL_FOR_TARGET"; then 10837 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test. 10838else 10839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10840for as_dir in $PATH 10841do 10842 IFS=$as_save_IFS 10843 test -z "$as_dir" && as_dir=. 10844 for ac_exec_ext in '' $ac_executable_extensions; do 10845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10846 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 10847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10848 break 2 10849 fi 10850done 10851 done 10852IFS=$as_save_IFS 10853 10854fi 10855fi 10856DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET 10857if test -n "$DLLTOOL_FOR_TARGET"; then 10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5 10859$as_echo "$DLLTOOL_FOR_TARGET" >&6; } 10860else 10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10862$as_echo "no" >&6; } 10863fi 10864 10865 10866 fi 10867 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then 10868 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 10869set dummy ${ncn_progname}; ac_word=$2 10870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10871$as_echo_n "checking for $ac_word... " >&6; } 10872if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then : 10873 $as_echo_n "(cached) " >&6 10874else 10875 if test -n "$DLLTOOL_FOR_TARGET"; then 10876 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test. 10877else 10878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10879for as_dir in $PATH 10880do 10881 IFS=$as_save_IFS 10882 test -z "$as_dir" && as_dir=. 10883 for ac_exec_ext in '' $ac_executable_extensions; do 10884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10885 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}" 10886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10887 break 2 10888 fi 10889done 10890 done 10891IFS=$as_save_IFS 10892 10893fi 10894fi 10895DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET 10896if test -n "$DLLTOOL_FOR_TARGET"; then 10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5 10898$as_echo "$DLLTOOL_FOR_TARGET" >&6; } 10899else 10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10901$as_echo "no" >&6; } 10902fi 10903 10904 10905 fi 10906 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break 10907 done 10908fi 10909 10910if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then 10911 set dummy dlltool 10912 if test $build = $target ; then 10913 DLLTOOL_FOR_TARGET="$2" 10914 else 10915 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2" 10916 fi 10917else 10918 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET" 10919fi 10920 10921else 10922 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET 10923fi 10924 10925 10926 10927 10928if test -z "$ac_cv_path_LD_FOR_TARGET" ; then 10929 if test -n "$with_build_time_tools"; then 10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5 10931$as_echo_n "checking for ld in $with_build_time_tools... " >&6; } 10932 if test -x $with_build_time_tools/ld; then 10933 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld 10934 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET 10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5 10936$as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; } 10937 else 10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10939$as_echo "no" >&6; } 10940 fi 10941 elif test $build != $host && test $have_gcc_for_target = yes; then 10942 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld` 10943 test $LD_FOR_TARGET = ld && LD_FOR_TARGET= 10944 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET 10945 fi 10946fi 10947if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 10948 # Extract the first word of "ld", so it can be a program name with args. 10949set dummy ld; ac_word=$2 10950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10951$as_echo_n "checking for $ac_word... " >&6; } 10952if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then : 10953 $as_echo_n "(cached) " >&6 10954else 10955 case $LD_FOR_TARGET in 10956 [\\/]* | ?:[\\/]*) 10957 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path. 10958 ;; 10959 *) 10960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10961for as_dir in $gcc_cv_tool_dirs 10962do 10963 IFS=$as_save_IFS 10964 test -z "$as_dir" && as_dir=. 10965 for ac_exec_ext in '' $ac_executable_extensions; do 10966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10967 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 10968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10969 break 2 10970 fi 10971done 10972 done 10973IFS=$as_save_IFS 10974 10975 ;; 10976esac 10977fi 10978LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET 10979if test -n "$LD_FOR_TARGET"; then 10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5 10981$as_echo "$LD_FOR_TARGET" >&6; } 10982else 10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10984$as_echo "no" >&6; } 10985fi 10986 10987 10988fi 10989if test -z "$ac_cv_path_LD_FOR_TARGET" ; then 10990 10991 10992if test -n "$LD_FOR_TARGET"; then 10993 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET 10994elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then 10995 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET 10996fi 10997 10998if test -n "$ac_cv_prog_LD_FOR_TARGET"; then 10999 for ncn_progname in ld; do 11000 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11001set dummy ${ncn_progname}; ac_word=$2 11002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11003$as_echo_n "checking for $ac_word... " >&6; } 11004if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then : 11005 $as_echo_n "(cached) " >&6 11006else 11007 if test -n "$LD_FOR_TARGET"; then 11008 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test. 11009else 11010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11011for as_dir in $PATH 11012do 11013 IFS=$as_save_IFS 11014 test -z "$as_dir" && as_dir=. 11015 for ac_exec_ext in '' $ac_executable_extensions; do 11016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11017 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}" 11018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11019 break 2 11020 fi 11021done 11022 done 11023IFS=$as_save_IFS 11024 11025fi 11026fi 11027LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET 11028if test -n "$LD_FOR_TARGET"; then 11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5 11030$as_echo "$LD_FOR_TARGET" >&6; } 11031else 11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11033$as_echo "no" >&6; } 11034fi 11035 11036 11037 done 11038fi 11039 11040if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then 11041 for ncn_progname in ld; do 11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 11043$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 11044 if test -x $with_build_time_tools/${ncn_progname}; then 11045 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname} 11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11047$as_echo "yes" >&6; } 11048 break 11049 else 11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11051$as_echo "no" >&6; } 11052 fi 11053 done 11054fi 11055 11056if test -z "$ac_cv_prog_LD_FOR_TARGET"; then 11057 for ncn_progname in ld; do 11058 if test -n "$ncn_target_tool_prefix"; then 11059 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 11060set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 11061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11062$as_echo_n "checking for $ac_word... " >&6; } 11063if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then : 11064 $as_echo_n "(cached) " >&6 11065else 11066 if test -n "$LD_FOR_TARGET"; then 11067 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test. 11068else 11069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11070for as_dir in $PATH 11071do 11072 IFS=$as_save_IFS 11073 test -z "$as_dir" && as_dir=. 11074 for ac_exec_ext in '' $ac_executable_extensions; do 11075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11076 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 11077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11078 break 2 11079 fi 11080done 11081 done 11082IFS=$as_save_IFS 11083 11084fi 11085fi 11086LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET 11087if test -n "$LD_FOR_TARGET"; then 11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5 11089$as_echo "$LD_FOR_TARGET" >&6; } 11090else 11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11092$as_echo "no" >&6; } 11093fi 11094 11095 11096 fi 11097 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then 11098 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11099set dummy ${ncn_progname}; ac_word=$2 11100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11101$as_echo_n "checking for $ac_word... " >&6; } 11102if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then : 11103 $as_echo_n "(cached) " >&6 11104else 11105 if test -n "$LD_FOR_TARGET"; then 11106 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test. 11107else 11108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11109for as_dir in $PATH 11110do 11111 IFS=$as_save_IFS 11112 test -z "$as_dir" && as_dir=. 11113 for ac_exec_ext in '' $ac_executable_extensions; do 11114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11115 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}" 11116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11117 break 2 11118 fi 11119done 11120 done 11121IFS=$as_save_IFS 11122 11123fi 11124fi 11125LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET 11126if test -n "$LD_FOR_TARGET"; then 11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5 11128$as_echo "$LD_FOR_TARGET" >&6; } 11129else 11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11131$as_echo "no" >&6; } 11132fi 11133 11134 11135 fi 11136 test -n "$ac_cv_prog_LD_FOR_TARGET" && break 11137 done 11138fi 11139 11140if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then 11141 set dummy ld 11142 if test $build = $target ; then 11143 LD_FOR_TARGET="$2" 11144 else 11145 LD_FOR_TARGET="${ncn_target_tool_prefix}$2" 11146 fi 11147else 11148 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET" 11149fi 11150 11151else 11152 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET 11153fi 11154 11155 11156 11157 11158if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then 11159 if test -n "$with_build_time_tools"; then 11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5 11161$as_echo_n "checking for lipo in $with_build_time_tools... " >&6; } 11162 if test -x $with_build_time_tools/lipo; then 11163 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo 11164 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET 11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5 11166$as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; } 11167 else 11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11169$as_echo "no" >&6; } 11170 fi 11171 elif test $build != $host && test $have_gcc_for_target = yes; then 11172 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo` 11173 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET= 11174 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET 11175 fi 11176fi 11177if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 11178 # Extract the first word of "lipo", so it can be a program name with args. 11179set dummy lipo; ac_word=$2 11180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11181$as_echo_n "checking for $ac_word... " >&6; } 11182if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then : 11183 $as_echo_n "(cached) " >&6 11184else 11185 case $LIPO_FOR_TARGET in 11186 [\\/]* | ?:[\\/]*) 11187 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path. 11188 ;; 11189 *) 11190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11191for as_dir in $gcc_cv_tool_dirs 11192do 11193 IFS=$as_save_IFS 11194 test -z "$as_dir" && as_dir=. 11195 for ac_exec_ext in '' $ac_executable_extensions; do 11196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11197 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 11198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11199 break 2 11200 fi 11201done 11202 done 11203IFS=$as_save_IFS 11204 11205 ;; 11206esac 11207fi 11208LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET 11209if test -n "$LIPO_FOR_TARGET"; then 11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5 11211$as_echo "$LIPO_FOR_TARGET" >&6; } 11212else 11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11214$as_echo "no" >&6; } 11215fi 11216 11217 11218fi 11219if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then 11220 11221 11222if test -n "$LIPO_FOR_TARGET"; then 11223 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET 11224elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then 11225 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET 11226fi 11227 11228if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then 11229 for ncn_progname in lipo; do 11230 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11231set dummy ${ncn_progname}; ac_word=$2 11232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11233$as_echo_n "checking for $ac_word... " >&6; } 11234if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then : 11235 $as_echo_n "(cached) " >&6 11236else 11237 if test -n "$LIPO_FOR_TARGET"; then 11238 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test. 11239else 11240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11241for as_dir in $PATH 11242do 11243 IFS=$as_save_IFS 11244 test -z "$as_dir" && as_dir=. 11245 for ac_exec_ext in '' $ac_executable_extensions; do 11246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11247 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}" 11248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11249 break 2 11250 fi 11251done 11252 done 11253IFS=$as_save_IFS 11254 11255fi 11256fi 11257LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET 11258if test -n "$LIPO_FOR_TARGET"; then 11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5 11260$as_echo "$LIPO_FOR_TARGET" >&6; } 11261else 11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11263$as_echo "no" >&6; } 11264fi 11265 11266 11267 done 11268fi 11269 11270if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then 11271 for ncn_progname in lipo; do 11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 11273$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 11274 if test -x $with_build_time_tools/${ncn_progname}; then 11275 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname} 11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11277$as_echo "yes" >&6; } 11278 break 11279 else 11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11281$as_echo "no" >&6; } 11282 fi 11283 done 11284fi 11285 11286if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then 11287 for ncn_progname in lipo; do 11288 if test -n "$ncn_target_tool_prefix"; then 11289 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 11290set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 11291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11292$as_echo_n "checking for $ac_word... " >&6; } 11293if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then : 11294 $as_echo_n "(cached) " >&6 11295else 11296 if test -n "$LIPO_FOR_TARGET"; then 11297 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test. 11298else 11299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11300for as_dir in $PATH 11301do 11302 IFS=$as_save_IFS 11303 test -z "$as_dir" && as_dir=. 11304 for ac_exec_ext in '' $ac_executable_extensions; do 11305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11306 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 11307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11308 break 2 11309 fi 11310done 11311 done 11312IFS=$as_save_IFS 11313 11314fi 11315fi 11316LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET 11317if test -n "$LIPO_FOR_TARGET"; then 11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5 11319$as_echo "$LIPO_FOR_TARGET" >&6; } 11320else 11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11322$as_echo "no" >&6; } 11323fi 11324 11325 11326 fi 11327 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then 11328 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11329set dummy ${ncn_progname}; ac_word=$2 11330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11331$as_echo_n "checking for $ac_word... " >&6; } 11332if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then : 11333 $as_echo_n "(cached) " >&6 11334else 11335 if test -n "$LIPO_FOR_TARGET"; then 11336 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test. 11337else 11338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11339for as_dir in $PATH 11340do 11341 IFS=$as_save_IFS 11342 test -z "$as_dir" && as_dir=. 11343 for ac_exec_ext in '' $ac_executable_extensions; do 11344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11345 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}" 11346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11347 break 2 11348 fi 11349done 11350 done 11351IFS=$as_save_IFS 11352 11353fi 11354fi 11355LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET 11356if test -n "$LIPO_FOR_TARGET"; then 11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5 11358$as_echo "$LIPO_FOR_TARGET" >&6; } 11359else 11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11361$as_echo "no" >&6; } 11362fi 11363 11364 11365 fi 11366 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break 11367 done 11368fi 11369 11370if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then 11371 set dummy lipo 11372 if test $build = $target ; then 11373 LIPO_FOR_TARGET="$2" 11374 else 11375 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2" 11376 fi 11377else 11378 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET" 11379fi 11380 11381else 11382 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET 11383fi 11384 11385 11386 11387 11388if test -z "$ac_cv_path_NM_FOR_TARGET" ; then 11389 if test -n "$with_build_time_tools"; then 11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5 11391$as_echo_n "checking for nm in $with_build_time_tools... " >&6; } 11392 if test -x $with_build_time_tools/nm; then 11393 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm 11394 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET 11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5 11396$as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; } 11397 else 11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11399$as_echo "no" >&6; } 11400 fi 11401 elif test $build != $host && test $have_gcc_for_target = yes; then 11402 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm` 11403 test $NM_FOR_TARGET = nm && NM_FOR_TARGET= 11404 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET 11405 fi 11406fi 11407if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 11408 # Extract the first word of "nm", so it can be a program name with args. 11409set dummy nm; ac_word=$2 11410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11411$as_echo_n "checking for $ac_word... " >&6; } 11412if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then : 11413 $as_echo_n "(cached) " >&6 11414else 11415 case $NM_FOR_TARGET in 11416 [\\/]* | ?:[\\/]*) 11417 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path. 11418 ;; 11419 *) 11420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11421for as_dir in $gcc_cv_tool_dirs 11422do 11423 IFS=$as_save_IFS 11424 test -z "$as_dir" && as_dir=. 11425 for ac_exec_ext in '' $ac_executable_extensions; do 11426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11427 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 11428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11429 break 2 11430 fi 11431done 11432 done 11433IFS=$as_save_IFS 11434 11435 ;; 11436esac 11437fi 11438NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET 11439if test -n "$NM_FOR_TARGET"; then 11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5 11441$as_echo "$NM_FOR_TARGET" >&6; } 11442else 11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11444$as_echo "no" >&6; } 11445fi 11446 11447 11448fi 11449if test -z "$ac_cv_path_NM_FOR_TARGET" ; then 11450 11451 11452if test -n "$NM_FOR_TARGET"; then 11453 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET 11454elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then 11455 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET 11456fi 11457 11458if test -n "$ac_cv_prog_NM_FOR_TARGET"; then 11459 for ncn_progname in nm; do 11460 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11461set dummy ${ncn_progname}; ac_word=$2 11462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11463$as_echo_n "checking for $ac_word... " >&6; } 11464if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then : 11465 $as_echo_n "(cached) " >&6 11466else 11467 if test -n "$NM_FOR_TARGET"; then 11468 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test. 11469else 11470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11471for as_dir in $PATH 11472do 11473 IFS=$as_save_IFS 11474 test -z "$as_dir" && as_dir=. 11475 for ac_exec_ext in '' $ac_executable_extensions; do 11476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11477 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}" 11478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11479 break 2 11480 fi 11481done 11482 done 11483IFS=$as_save_IFS 11484 11485fi 11486fi 11487NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET 11488if test -n "$NM_FOR_TARGET"; then 11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5 11490$as_echo "$NM_FOR_TARGET" >&6; } 11491else 11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11493$as_echo "no" >&6; } 11494fi 11495 11496 11497 done 11498fi 11499 11500if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then 11501 for ncn_progname in nm; do 11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 11503$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 11504 if test -x $with_build_time_tools/${ncn_progname}; then 11505 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname} 11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11507$as_echo "yes" >&6; } 11508 break 11509 else 11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11511$as_echo "no" >&6; } 11512 fi 11513 done 11514fi 11515 11516if test -z "$ac_cv_prog_NM_FOR_TARGET"; then 11517 for ncn_progname in nm; do 11518 if test -n "$ncn_target_tool_prefix"; then 11519 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 11520set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 11521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11522$as_echo_n "checking for $ac_word... " >&6; } 11523if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then : 11524 $as_echo_n "(cached) " >&6 11525else 11526 if test -n "$NM_FOR_TARGET"; then 11527 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test. 11528else 11529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11530for as_dir in $PATH 11531do 11532 IFS=$as_save_IFS 11533 test -z "$as_dir" && as_dir=. 11534 for ac_exec_ext in '' $ac_executable_extensions; do 11535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11536 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 11537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11538 break 2 11539 fi 11540done 11541 done 11542IFS=$as_save_IFS 11543 11544fi 11545fi 11546NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET 11547if test -n "$NM_FOR_TARGET"; then 11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5 11549$as_echo "$NM_FOR_TARGET" >&6; } 11550else 11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11552$as_echo "no" >&6; } 11553fi 11554 11555 11556 fi 11557 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then 11558 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11559set dummy ${ncn_progname}; ac_word=$2 11560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11561$as_echo_n "checking for $ac_word... " >&6; } 11562if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then : 11563 $as_echo_n "(cached) " >&6 11564else 11565 if test -n "$NM_FOR_TARGET"; then 11566 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test. 11567else 11568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11569for as_dir in $PATH 11570do 11571 IFS=$as_save_IFS 11572 test -z "$as_dir" && as_dir=. 11573 for ac_exec_ext in '' $ac_executable_extensions; do 11574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11575 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}" 11576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11577 break 2 11578 fi 11579done 11580 done 11581IFS=$as_save_IFS 11582 11583fi 11584fi 11585NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET 11586if test -n "$NM_FOR_TARGET"; then 11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5 11588$as_echo "$NM_FOR_TARGET" >&6; } 11589else 11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11591$as_echo "no" >&6; } 11592fi 11593 11594 11595 fi 11596 test -n "$ac_cv_prog_NM_FOR_TARGET" && break 11597 done 11598fi 11599 11600if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then 11601 set dummy nm 11602 if test $build = $target ; then 11603 NM_FOR_TARGET="$2" 11604 else 11605 NM_FOR_TARGET="${ncn_target_tool_prefix}$2" 11606 fi 11607else 11608 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET" 11609fi 11610 11611else 11612 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET 11613fi 11614 11615 11616 11617 11618if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then 11619 if test -n "$with_build_time_tools"; then 11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5 11621$as_echo_n "checking for objdump in $with_build_time_tools... " >&6; } 11622 if test -x $with_build_time_tools/objdump; then 11623 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump 11624 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET 11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5 11626$as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; } 11627 else 11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11629$as_echo "no" >&6; } 11630 fi 11631 elif test $build != $host && test $have_gcc_for_target = yes; then 11632 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump` 11633 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET= 11634 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET 11635 fi 11636fi 11637if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 11638 # Extract the first word of "objdump", so it can be a program name with args. 11639set dummy objdump; ac_word=$2 11640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11641$as_echo_n "checking for $ac_word... " >&6; } 11642if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then : 11643 $as_echo_n "(cached) " >&6 11644else 11645 case $OBJDUMP_FOR_TARGET in 11646 [\\/]* | ?:[\\/]*) 11647 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path. 11648 ;; 11649 *) 11650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11651for as_dir in $gcc_cv_tool_dirs 11652do 11653 IFS=$as_save_IFS 11654 test -z "$as_dir" && as_dir=. 11655 for ac_exec_ext in '' $ac_executable_extensions; do 11656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11657 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 11658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11659 break 2 11660 fi 11661done 11662 done 11663IFS=$as_save_IFS 11664 11665 ;; 11666esac 11667fi 11668OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET 11669if test -n "$OBJDUMP_FOR_TARGET"; then 11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5 11671$as_echo "$OBJDUMP_FOR_TARGET" >&6; } 11672else 11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11674$as_echo "no" >&6; } 11675fi 11676 11677 11678fi 11679if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then 11680 11681 11682if test -n "$OBJDUMP_FOR_TARGET"; then 11683 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET 11684elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then 11685 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET 11686fi 11687 11688if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then 11689 for ncn_progname in objdump; do 11690 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11691set dummy ${ncn_progname}; ac_word=$2 11692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11693$as_echo_n "checking for $ac_word... " >&6; } 11694if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then : 11695 $as_echo_n "(cached) " >&6 11696else 11697 if test -n "$OBJDUMP_FOR_TARGET"; then 11698 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test. 11699else 11700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11701for as_dir in $PATH 11702do 11703 IFS=$as_save_IFS 11704 test -z "$as_dir" && as_dir=. 11705 for ac_exec_ext in '' $ac_executable_extensions; do 11706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11707 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}" 11708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11709 break 2 11710 fi 11711done 11712 done 11713IFS=$as_save_IFS 11714 11715fi 11716fi 11717OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET 11718if test -n "$OBJDUMP_FOR_TARGET"; then 11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5 11720$as_echo "$OBJDUMP_FOR_TARGET" >&6; } 11721else 11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11723$as_echo "no" >&6; } 11724fi 11725 11726 11727 done 11728fi 11729 11730if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then 11731 for ncn_progname in objdump; do 11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 11733$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 11734 if test -x $with_build_time_tools/${ncn_progname}; then 11735 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname} 11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11737$as_echo "yes" >&6; } 11738 break 11739 else 11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11741$as_echo "no" >&6; } 11742 fi 11743 done 11744fi 11745 11746if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then 11747 for ncn_progname in objdump; do 11748 if test -n "$ncn_target_tool_prefix"; then 11749 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 11750set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 11751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11752$as_echo_n "checking for $ac_word... " >&6; } 11753if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then : 11754 $as_echo_n "(cached) " >&6 11755else 11756 if test -n "$OBJDUMP_FOR_TARGET"; then 11757 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test. 11758else 11759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11760for as_dir in $PATH 11761do 11762 IFS=$as_save_IFS 11763 test -z "$as_dir" && as_dir=. 11764 for ac_exec_ext in '' $ac_executable_extensions; do 11765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11766 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 11767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11768 break 2 11769 fi 11770done 11771 done 11772IFS=$as_save_IFS 11773 11774fi 11775fi 11776OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET 11777if test -n "$OBJDUMP_FOR_TARGET"; then 11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5 11779$as_echo "$OBJDUMP_FOR_TARGET" >&6; } 11780else 11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11782$as_echo "no" >&6; } 11783fi 11784 11785 11786 fi 11787 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then 11788 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11789set dummy ${ncn_progname}; ac_word=$2 11790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11791$as_echo_n "checking for $ac_word... " >&6; } 11792if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then : 11793 $as_echo_n "(cached) " >&6 11794else 11795 if test -n "$OBJDUMP_FOR_TARGET"; then 11796 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test. 11797else 11798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11799for as_dir in $PATH 11800do 11801 IFS=$as_save_IFS 11802 test -z "$as_dir" && as_dir=. 11803 for ac_exec_ext in '' $ac_executable_extensions; do 11804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11805 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}" 11806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11807 break 2 11808 fi 11809done 11810 done 11811IFS=$as_save_IFS 11812 11813fi 11814fi 11815OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET 11816if test -n "$OBJDUMP_FOR_TARGET"; then 11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5 11818$as_echo "$OBJDUMP_FOR_TARGET" >&6; } 11819else 11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11821$as_echo "no" >&6; } 11822fi 11823 11824 11825 fi 11826 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break 11827 done 11828fi 11829 11830if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then 11831 set dummy objdump 11832 if test $build = $target ; then 11833 OBJDUMP_FOR_TARGET="$2" 11834 else 11835 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2" 11836 fi 11837else 11838 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET" 11839fi 11840 11841else 11842 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET 11843fi 11844 11845 11846 11847 11848if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then 11849 if test -n "$with_build_time_tools"; then 11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5 11851$as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; } 11852 if test -x $with_build_time_tools/ranlib; then 11853 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib 11854 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET 11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5 11856$as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; } 11857 else 11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11859$as_echo "no" >&6; } 11860 fi 11861 elif test $build != $host && test $have_gcc_for_target = yes; then 11862 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib` 11863 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET= 11864 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET 11865 fi 11866fi 11867if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 11868 # Extract the first word of "ranlib", so it can be a program name with args. 11869set dummy ranlib; ac_word=$2 11870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11871$as_echo_n "checking for $ac_word... " >&6; } 11872if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then : 11873 $as_echo_n "(cached) " >&6 11874else 11875 case $RANLIB_FOR_TARGET in 11876 [\\/]* | ?:[\\/]*) 11877 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path. 11878 ;; 11879 *) 11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11881for as_dir in $gcc_cv_tool_dirs 11882do 11883 IFS=$as_save_IFS 11884 test -z "$as_dir" && as_dir=. 11885 for ac_exec_ext in '' $ac_executable_extensions; do 11886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11887 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11889 break 2 11890 fi 11891done 11892 done 11893IFS=$as_save_IFS 11894 11895 ;; 11896esac 11897fi 11898RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET 11899if test -n "$RANLIB_FOR_TARGET"; then 11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5 11901$as_echo "$RANLIB_FOR_TARGET" >&6; } 11902else 11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11904$as_echo "no" >&6; } 11905fi 11906 11907 11908fi 11909if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then 11910 11911 11912if test -n "$RANLIB_FOR_TARGET"; then 11913 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET 11914elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then 11915 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET 11916fi 11917 11918if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then 11919 for ncn_progname in ranlib; do 11920 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 11921set dummy ${ncn_progname}; ac_word=$2 11922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11923$as_echo_n "checking for $ac_word... " >&6; } 11924if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then : 11925 $as_echo_n "(cached) " >&6 11926else 11927 if test -n "$RANLIB_FOR_TARGET"; then 11928 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test. 11929else 11930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11931for as_dir in $PATH 11932do 11933 IFS=$as_save_IFS 11934 test -z "$as_dir" && as_dir=. 11935 for ac_exec_ext in '' $ac_executable_extensions; do 11936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11937 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}" 11938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11939 break 2 11940 fi 11941done 11942 done 11943IFS=$as_save_IFS 11944 11945fi 11946fi 11947RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET 11948if test -n "$RANLIB_FOR_TARGET"; then 11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5 11950$as_echo "$RANLIB_FOR_TARGET" >&6; } 11951else 11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11953$as_echo "no" >&6; } 11954fi 11955 11956 11957 done 11958fi 11959 11960if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then 11961 for ncn_progname in ranlib; do 11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 11963$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 11964 if test -x $with_build_time_tools/${ncn_progname}; then 11965 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname} 11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11967$as_echo "yes" >&6; } 11968 break 11969 else 11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11971$as_echo "no" >&6; } 11972 fi 11973 done 11974fi 11975 11976if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then 11977 for ncn_progname in ranlib; do 11978 if test -n "$ncn_target_tool_prefix"; then 11979 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 11980set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 11981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11982$as_echo_n "checking for $ac_word... " >&6; } 11983if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then : 11984 $as_echo_n "(cached) " >&6 11985else 11986 if test -n "$RANLIB_FOR_TARGET"; then 11987 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test. 11988else 11989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11990for as_dir in $PATH 11991do 11992 IFS=$as_save_IFS 11993 test -z "$as_dir" && as_dir=. 11994 for ac_exec_ext in '' $ac_executable_extensions; do 11995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11996 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 11997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11998 break 2 11999 fi 12000done 12001 done 12002IFS=$as_save_IFS 12003 12004fi 12005fi 12006RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET 12007if test -n "$RANLIB_FOR_TARGET"; then 12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5 12009$as_echo "$RANLIB_FOR_TARGET" >&6; } 12010else 12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12012$as_echo "no" >&6; } 12013fi 12014 12015 12016 fi 12017 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then 12018 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 12019set dummy ${ncn_progname}; ac_word=$2 12020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12021$as_echo_n "checking for $ac_word... " >&6; } 12022if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then : 12023 $as_echo_n "(cached) " >&6 12024else 12025 if test -n "$RANLIB_FOR_TARGET"; then 12026 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test. 12027else 12028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12029for as_dir in $PATH 12030do 12031 IFS=$as_save_IFS 12032 test -z "$as_dir" && as_dir=. 12033 for ac_exec_ext in '' $ac_executable_extensions; do 12034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12035 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}" 12036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12037 break 2 12038 fi 12039done 12040 done 12041IFS=$as_save_IFS 12042 12043fi 12044fi 12045RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET 12046if test -n "$RANLIB_FOR_TARGET"; then 12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5 12048$as_echo "$RANLIB_FOR_TARGET" >&6; } 12049else 12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12051$as_echo "no" >&6; } 12052fi 12053 12054 12055 fi 12056 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break 12057 done 12058fi 12059 12060if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then 12061 set dummy ranlib 12062 if test $build = $target ; then 12063 RANLIB_FOR_TARGET="$2" 12064 else 12065 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2" 12066 fi 12067else 12068 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET" 12069fi 12070 12071else 12072 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET 12073fi 12074 12075 12076 12077 12078if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then 12079 if test -n "$with_build_time_tools"; then 12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5 12081$as_echo_n "checking for strip in $with_build_time_tools... " >&6; } 12082 if test -x $with_build_time_tools/strip; then 12083 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip 12084 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET 12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5 12086$as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; } 12087 else 12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12089$as_echo "no" >&6; } 12090 fi 12091 elif test $build != $host && test $have_gcc_for_target = yes; then 12092 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip` 12093 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET= 12094 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET 12095 fi 12096fi 12097if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 12098 # Extract the first word of "strip", so it can be a program name with args. 12099set dummy strip; ac_word=$2 12100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12101$as_echo_n "checking for $ac_word... " >&6; } 12102if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then : 12103 $as_echo_n "(cached) " >&6 12104else 12105 case $STRIP_FOR_TARGET in 12106 [\\/]* | ?:[\\/]*) 12107 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path. 12108 ;; 12109 *) 12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12111for as_dir in $gcc_cv_tool_dirs 12112do 12113 IFS=$as_save_IFS 12114 test -z "$as_dir" && as_dir=. 12115 for ac_exec_ext in '' $ac_executable_extensions; do 12116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12117 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 12118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12119 break 2 12120 fi 12121done 12122 done 12123IFS=$as_save_IFS 12124 12125 ;; 12126esac 12127fi 12128STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET 12129if test -n "$STRIP_FOR_TARGET"; then 12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5 12131$as_echo "$STRIP_FOR_TARGET" >&6; } 12132else 12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12134$as_echo "no" >&6; } 12135fi 12136 12137 12138fi 12139if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then 12140 12141 12142if test -n "$STRIP_FOR_TARGET"; then 12143 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET 12144elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then 12145 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET 12146fi 12147 12148if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then 12149 for ncn_progname in strip; do 12150 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 12151set dummy ${ncn_progname}; ac_word=$2 12152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12153$as_echo_n "checking for $ac_word... " >&6; } 12154if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then : 12155 $as_echo_n "(cached) " >&6 12156else 12157 if test -n "$STRIP_FOR_TARGET"; then 12158 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test. 12159else 12160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12161for as_dir in $PATH 12162do 12163 IFS=$as_save_IFS 12164 test -z "$as_dir" && as_dir=. 12165 for ac_exec_ext in '' $ac_executable_extensions; do 12166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12167 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}" 12168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12169 break 2 12170 fi 12171done 12172 done 12173IFS=$as_save_IFS 12174 12175fi 12176fi 12177STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET 12178if test -n "$STRIP_FOR_TARGET"; then 12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5 12180$as_echo "$STRIP_FOR_TARGET" >&6; } 12181else 12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12183$as_echo "no" >&6; } 12184fi 12185 12186 12187 done 12188fi 12189 12190if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then 12191 for ncn_progname in strip; do 12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 12193$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 12194 if test -x $with_build_time_tools/${ncn_progname}; then 12195 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname} 12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12197$as_echo "yes" >&6; } 12198 break 12199 else 12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12201$as_echo "no" >&6; } 12202 fi 12203 done 12204fi 12205 12206if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then 12207 for ncn_progname in strip; do 12208 if test -n "$ncn_target_tool_prefix"; then 12209 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 12210set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 12211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12212$as_echo_n "checking for $ac_word... " >&6; } 12213if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then : 12214 $as_echo_n "(cached) " >&6 12215else 12216 if test -n "$STRIP_FOR_TARGET"; then 12217 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test. 12218else 12219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12220for as_dir in $PATH 12221do 12222 IFS=$as_save_IFS 12223 test -z "$as_dir" && as_dir=. 12224 for ac_exec_ext in '' $ac_executable_extensions; do 12225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12226 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 12227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12228 break 2 12229 fi 12230done 12231 done 12232IFS=$as_save_IFS 12233 12234fi 12235fi 12236STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET 12237if test -n "$STRIP_FOR_TARGET"; then 12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5 12239$as_echo "$STRIP_FOR_TARGET" >&6; } 12240else 12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12242$as_echo "no" >&6; } 12243fi 12244 12245 12246 fi 12247 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then 12248 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 12249set dummy ${ncn_progname}; ac_word=$2 12250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12251$as_echo_n "checking for $ac_word... " >&6; } 12252if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then : 12253 $as_echo_n "(cached) " >&6 12254else 12255 if test -n "$STRIP_FOR_TARGET"; then 12256 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test. 12257else 12258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12259for as_dir in $PATH 12260do 12261 IFS=$as_save_IFS 12262 test -z "$as_dir" && as_dir=. 12263 for ac_exec_ext in '' $ac_executable_extensions; do 12264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12265 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}" 12266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12267 break 2 12268 fi 12269done 12270 done 12271IFS=$as_save_IFS 12272 12273fi 12274fi 12275STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET 12276if test -n "$STRIP_FOR_TARGET"; then 12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5 12278$as_echo "$STRIP_FOR_TARGET" >&6; } 12279else 12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12281$as_echo "no" >&6; } 12282fi 12283 12284 12285 fi 12286 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break 12287 done 12288fi 12289 12290if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then 12291 set dummy strip 12292 if test $build = $target ; then 12293 STRIP_FOR_TARGET="$2" 12294 else 12295 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2" 12296 fi 12297else 12298 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET" 12299fi 12300 12301else 12302 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET 12303fi 12304 12305 12306 12307 12308if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then 12309 if test -n "$with_build_time_tools"; then 12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5 12311$as_echo_n "checking for windres in $with_build_time_tools... " >&6; } 12312 if test -x $with_build_time_tools/windres; then 12313 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres 12314 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET 12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5 12316$as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; } 12317 else 12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12319$as_echo "no" >&6; } 12320 fi 12321 elif test $build != $host && test $have_gcc_for_target = yes; then 12322 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres` 12323 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET= 12324 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET 12325 fi 12326fi 12327if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 12328 # Extract the first word of "windres", so it can be a program name with args. 12329set dummy windres; ac_word=$2 12330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12331$as_echo_n "checking for $ac_word... " >&6; } 12332if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then : 12333 $as_echo_n "(cached) " >&6 12334else 12335 case $WINDRES_FOR_TARGET in 12336 [\\/]* | ?:[\\/]*) 12337 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path. 12338 ;; 12339 *) 12340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12341for as_dir in $gcc_cv_tool_dirs 12342do 12343 IFS=$as_save_IFS 12344 test -z "$as_dir" && as_dir=. 12345 for ac_exec_ext in '' $ac_executable_extensions; do 12346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12347 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 12348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12349 break 2 12350 fi 12351done 12352 done 12353IFS=$as_save_IFS 12354 12355 ;; 12356esac 12357fi 12358WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET 12359if test -n "$WINDRES_FOR_TARGET"; then 12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5 12361$as_echo "$WINDRES_FOR_TARGET" >&6; } 12362else 12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12364$as_echo "no" >&6; } 12365fi 12366 12367 12368fi 12369if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then 12370 12371 12372if test -n "$WINDRES_FOR_TARGET"; then 12373 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET 12374elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then 12375 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET 12376fi 12377 12378if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then 12379 for ncn_progname in windres; do 12380 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 12381set dummy ${ncn_progname}; ac_word=$2 12382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12383$as_echo_n "checking for $ac_word... " >&6; } 12384if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then : 12385 $as_echo_n "(cached) " >&6 12386else 12387 if test -n "$WINDRES_FOR_TARGET"; then 12388 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test. 12389else 12390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12391for as_dir in $PATH 12392do 12393 IFS=$as_save_IFS 12394 test -z "$as_dir" && as_dir=. 12395 for ac_exec_ext in '' $ac_executable_extensions; do 12396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12397 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}" 12398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12399 break 2 12400 fi 12401done 12402 done 12403IFS=$as_save_IFS 12404 12405fi 12406fi 12407WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET 12408if test -n "$WINDRES_FOR_TARGET"; then 12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5 12410$as_echo "$WINDRES_FOR_TARGET" >&6; } 12411else 12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12413$as_echo "no" >&6; } 12414fi 12415 12416 12417 done 12418fi 12419 12420if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then 12421 for ncn_progname in windres; do 12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 12423$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 12424 if test -x $with_build_time_tools/${ncn_progname}; then 12425 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname} 12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12427$as_echo "yes" >&6; } 12428 break 12429 else 12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12431$as_echo "no" >&6; } 12432 fi 12433 done 12434fi 12435 12436if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then 12437 for ncn_progname in windres; do 12438 if test -n "$ncn_target_tool_prefix"; then 12439 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 12440set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 12441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12442$as_echo_n "checking for $ac_word... " >&6; } 12443if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then : 12444 $as_echo_n "(cached) " >&6 12445else 12446 if test -n "$WINDRES_FOR_TARGET"; then 12447 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test. 12448else 12449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12450for as_dir in $PATH 12451do 12452 IFS=$as_save_IFS 12453 test -z "$as_dir" && as_dir=. 12454 for ac_exec_ext in '' $ac_executable_extensions; do 12455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12456 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 12457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12458 break 2 12459 fi 12460done 12461 done 12462IFS=$as_save_IFS 12463 12464fi 12465fi 12466WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET 12467if test -n "$WINDRES_FOR_TARGET"; then 12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5 12469$as_echo "$WINDRES_FOR_TARGET" >&6; } 12470else 12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12472$as_echo "no" >&6; } 12473fi 12474 12475 12476 fi 12477 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then 12478 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 12479set dummy ${ncn_progname}; ac_word=$2 12480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12481$as_echo_n "checking for $ac_word... " >&6; } 12482if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then : 12483 $as_echo_n "(cached) " >&6 12484else 12485 if test -n "$WINDRES_FOR_TARGET"; then 12486 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test. 12487else 12488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12489for as_dir in $PATH 12490do 12491 IFS=$as_save_IFS 12492 test -z "$as_dir" && as_dir=. 12493 for ac_exec_ext in '' $ac_executable_extensions; do 12494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12495 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}" 12496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12497 break 2 12498 fi 12499done 12500 done 12501IFS=$as_save_IFS 12502 12503fi 12504fi 12505WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET 12506if test -n "$WINDRES_FOR_TARGET"; then 12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5 12508$as_echo "$WINDRES_FOR_TARGET" >&6; } 12509else 12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12511$as_echo "no" >&6; } 12512fi 12513 12514 12515 fi 12516 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break 12517 done 12518fi 12519 12520if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then 12521 set dummy windres 12522 if test $build = $target ; then 12523 WINDRES_FOR_TARGET="$2" 12524 else 12525 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2" 12526 fi 12527else 12528 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET" 12529fi 12530 12531else 12532 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET 12533fi 12534 12535 12536 12537 12538if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then 12539 if test -n "$with_build_time_tools"; then 12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5 12541$as_echo_n "checking for windmc in $with_build_time_tools... " >&6; } 12542 if test -x $with_build_time_tools/windmc; then 12543 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc 12544 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET 12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5 12546$as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; } 12547 else 12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12549$as_echo "no" >&6; } 12550 fi 12551 elif test $build != $host && test $have_gcc_for_target = yes; then 12552 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc` 12553 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET= 12554 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET 12555 fi 12556fi 12557if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then 12558 # Extract the first word of "windmc", so it can be a program name with args. 12559set dummy windmc; ac_word=$2 12560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12561$as_echo_n "checking for $ac_word... " >&6; } 12562if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then : 12563 $as_echo_n "(cached) " >&6 12564else 12565 case $WINDMC_FOR_TARGET in 12566 [\\/]* | ?:[\\/]*) 12567 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path. 12568 ;; 12569 *) 12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12571for as_dir in $gcc_cv_tool_dirs 12572do 12573 IFS=$as_save_IFS 12574 test -z "$as_dir" && as_dir=. 12575 for ac_exec_ext in '' $ac_executable_extensions; do 12576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12577 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext" 12578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12579 break 2 12580 fi 12581done 12582 done 12583IFS=$as_save_IFS 12584 12585 ;; 12586esac 12587fi 12588WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET 12589if test -n "$WINDMC_FOR_TARGET"; then 12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5 12591$as_echo "$WINDMC_FOR_TARGET" >&6; } 12592else 12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12594$as_echo "no" >&6; } 12595fi 12596 12597 12598fi 12599if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then 12600 12601 12602if test -n "$WINDMC_FOR_TARGET"; then 12603 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET 12604elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then 12605 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET 12606fi 12607 12608if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then 12609 for ncn_progname in windmc; do 12610 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 12611set dummy ${ncn_progname}; ac_word=$2 12612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12613$as_echo_n "checking for $ac_word... " >&6; } 12614if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then : 12615 $as_echo_n "(cached) " >&6 12616else 12617 if test -n "$WINDMC_FOR_TARGET"; then 12618 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test. 12619else 12620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12621for as_dir in $PATH 12622do 12623 IFS=$as_save_IFS 12624 test -z "$as_dir" && as_dir=. 12625 for ac_exec_ext in '' $ac_executable_extensions; do 12626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12627 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}" 12628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12629 break 2 12630 fi 12631done 12632 done 12633IFS=$as_save_IFS 12634 12635fi 12636fi 12637WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET 12638if test -n "$WINDMC_FOR_TARGET"; then 12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5 12640$as_echo "$WINDMC_FOR_TARGET" >&6; } 12641else 12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12643$as_echo "no" >&6; } 12644fi 12645 12646 12647 done 12648fi 12649 12650if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then 12651 for ncn_progname in windmc; do 12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5 12653$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; } 12654 if test -x $with_build_time_tools/${ncn_progname}; then 12655 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname} 12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12657$as_echo "yes" >&6; } 12658 break 12659 else 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12661$as_echo "no" >&6; } 12662 fi 12663 done 12664fi 12665 12666if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then 12667 for ncn_progname in windmc; do 12668 if test -n "$ncn_target_tool_prefix"; then 12669 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args. 12670set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2 12671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12672$as_echo_n "checking for $ac_word... " >&6; } 12673if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then : 12674 $as_echo_n "(cached) " >&6 12675else 12676 if test -n "$WINDMC_FOR_TARGET"; then 12677 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test. 12678else 12679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12680for as_dir in $PATH 12681do 12682 IFS=$as_save_IFS 12683 test -z "$as_dir" && as_dir=. 12684 for ac_exec_ext in '' $ac_executable_extensions; do 12685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12686 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}" 12687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12688 break 2 12689 fi 12690done 12691 done 12692IFS=$as_save_IFS 12693 12694fi 12695fi 12696WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET 12697if test -n "$WINDMC_FOR_TARGET"; then 12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5 12699$as_echo "$WINDMC_FOR_TARGET" >&6; } 12700else 12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12702$as_echo "no" >&6; } 12703fi 12704 12705 12706 fi 12707 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then 12708 # Extract the first word of "${ncn_progname}", so it can be a program name with args. 12709set dummy ${ncn_progname}; ac_word=$2 12710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12711$as_echo_n "checking for $ac_word... " >&6; } 12712if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then : 12713 $as_echo_n "(cached) " >&6 12714else 12715 if test -n "$WINDMC_FOR_TARGET"; then 12716 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test. 12717else 12718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12719for as_dir in $PATH 12720do 12721 IFS=$as_save_IFS 12722 test -z "$as_dir" && as_dir=. 12723 for ac_exec_ext in '' $ac_executable_extensions; do 12724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12725 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}" 12726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12727 break 2 12728 fi 12729done 12730 done 12731IFS=$as_save_IFS 12732 12733fi 12734fi 12735WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET 12736if test -n "$WINDMC_FOR_TARGET"; then 12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5 12738$as_echo "$WINDMC_FOR_TARGET" >&6; } 12739else 12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12741$as_echo "no" >&6; } 12742fi 12743 12744 12745 fi 12746 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break 12747 done 12748fi 12749 12750if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then 12751 set dummy windmc 12752 if test $build = $target ; then 12753 WINDMC_FOR_TARGET="$2" 12754 else 12755 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2" 12756 fi 12757else 12758 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET" 12759fi 12760 12761else 12762 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET 12763fi 12764 12765 12766RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET" 12767 12768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5 12769$as_echo_n "checking where to find the target ar... " >&6; } 12770if test "x${build}" != "x${host}" ; then 12771 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then 12772 # We already found the complete path 12773 ac_dir=`dirname $AR_FOR_TARGET` 12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12775$as_echo "pre-installed in $ac_dir" >&6; } 12776 else 12777 # Canadian cross, just use what we found 12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12779$as_echo "pre-installed" >&6; } 12780 fi 12781else 12782 ok=yes 12783 case " ${configdirs} " in 12784 *" binutils "*) ;; 12785 *) ok=no ;; 12786 esac 12787 12788 if test $ok = yes; then 12789 # An in-tree tool is available and we can use it 12790 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar' 12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 12792$as_echo "just compiled" >&6; } 12793 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then 12794 # We already found the complete path 12795 ac_dir=`dirname $AR_FOR_TARGET` 12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12797$as_echo "pre-installed in $ac_dir" >&6; } 12798 elif test "x$target" = "x$host"; then 12799 # We can use an host tool 12800 AR_FOR_TARGET='$(AR)' 12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 12802$as_echo "host tool" >&6; } 12803 else 12804 # We need a cross tool 12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12806$as_echo "pre-installed" >&6; } 12807 fi 12808fi 12809 12810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5 12811$as_echo_n "checking where to find the target as... " >&6; } 12812if test "x${build}" != "x${host}" ; then 12813 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then 12814 # We already found the complete path 12815 ac_dir=`dirname $AS_FOR_TARGET` 12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12817$as_echo "pre-installed in $ac_dir" >&6; } 12818 else 12819 # Canadian cross, just use what we found 12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12821$as_echo "pre-installed" >&6; } 12822 fi 12823else 12824 ok=yes 12825 case " ${configdirs} " in 12826 *" gas "*) ;; 12827 *) ok=no ;; 12828 esac 12829 12830 if test $ok = yes; then 12831 # An in-tree tool is available and we can use it 12832 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new' 12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 12834$as_echo "just compiled" >&6; } 12835 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then 12836 # We already found the complete path 12837 ac_dir=`dirname $AS_FOR_TARGET` 12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12839$as_echo "pre-installed in $ac_dir" >&6; } 12840 elif test "x$target" = "x$host"; then 12841 # We can use an host tool 12842 AS_FOR_TARGET='$(AS)' 12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 12844$as_echo "host tool" >&6; } 12845 else 12846 # We need a cross tool 12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12848$as_echo "pre-installed" >&6; } 12849 fi 12850fi 12851 12852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5 12853$as_echo_n "checking where to find the target cc... " >&6; } 12854if test "x${build}" != "x${host}" ; then 12855 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then 12856 # We already found the complete path 12857 ac_dir=`dirname $CC_FOR_TARGET` 12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12859$as_echo "pre-installed in $ac_dir" >&6; } 12860 else 12861 # Canadian cross, just use what we found 12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12863$as_echo "pre-installed" >&6; } 12864 fi 12865else 12866 ok=yes 12867 case " ${configdirs} " in 12868 *" gcc "*) ;; 12869 *) ok=no ;; 12870 esac 12871 12872 if test $ok = yes; then 12873 # An in-tree tool is available and we can use it 12874 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/' 12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 12876$as_echo "just compiled" >&6; } 12877 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then 12878 # We already found the complete path 12879 ac_dir=`dirname $CC_FOR_TARGET` 12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12881$as_echo "pre-installed in $ac_dir" >&6; } 12882 elif test "x$target" = "x$host"; then 12883 # We can use an host tool 12884 CC_FOR_TARGET='$(CC)' 12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 12886$as_echo "host tool" >&6; } 12887 else 12888 # We need a cross tool 12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12890$as_echo "pre-installed" >&6; } 12891 fi 12892fi 12893 12894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5 12895$as_echo_n "checking where to find the target c++... " >&6; } 12896if test "x${build}" != "x${host}" ; then 12897 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then 12898 # We already found the complete path 12899 ac_dir=`dirname $CXX_FOR_TARGET` 12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12901$as_echo "pre-installed in $ac_dir" >&6; } 12902 else 12903 # Canadian cross, just use what we found 12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12905$as_echo "pre-installed" >&6; } 12906 fi 12907else 12908 ok=yes 12909 case " ${configdirs} " in 12910 *" gcc "*) ;; 12911 *) ok=no ;; 12912 esac 12913 case ,${enable_languages}, in 12914 *,c++,*) ;; 12915 *) ok=no ;; 12916 esac 12917 if test $ok = yes; then 12918 # An in-tree tool is available and we can use it 12919 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs' 12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 12921$as_echo "just compiled" >&6; } 12922 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then 12923 # We already found the complete path 12924 ac_dir=`dirname $CXX_FOR_TARGET` 12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12926$as_echo "pre-installed in $ac_dir" >&6; } 12927 elif test "x$target" = "x$host"; then 12928 # We can use an host tool 12929 CXX_FOR_TARGET='$(CXX)' 12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 12931$as_echo "host tool" >&6; } 12932 else 12933 # We need a cross tool 12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12935$as_echo "pre-installed" >&6; } 12936 fi 12937fi 12938 12939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5 12940$as_echo_n "checking where to find the target c++ for libstdc++... " >&6; } 12941if test "x${build}" != "x${host}" ; then 12942 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then 12943 # We already found the complete path 12944 ac_dir=`dirname $RAW_CXX_FOR_TARGET` 12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12946$as_echo "pre-installed in $ac_dir" >&6; } 12947 else 12948 # Canadian cross, just use what we found 12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12950$as_echo "pre-installed" >&6; } 12951 fi 12952else 12953 ok=yes 12954 case " ${configdirs} " in 12955 *" gcc "*) ;; 12956 *) ok=no ;; 12957 esac 12958 case ,${enable_languages}, in 12959 *,c++,*) ;; 12960 *) ok=no ;; 12961 esac 12962 if test $ok = yes; then 12963 # An in-tree tool is available and we can use it 12964 RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs' 12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 12966$as_echo "just compiled" >&6; } 12967 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then 12968 # We already found the complete path 12969 ac_dir=`dirname $RAW_CXX_FOR_TARGET` 12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12971$as_echo "pre-installed in $ac_dir" >&6; } 12972 elif test "x$target" = "x$host"; then 12973 # We can use an host tool 12974 RAW_CXX_FOR_TARGET='$(CXX)' 12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 12976$as_echo "host tool" >&6; } 12977 else 12978 # We need a cross tool 12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12980$as_echo "pre-installed" >&6; } 12981 fi 12982fi 12983 12984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5 12985$as_echo_n "checking where to find the target dlltool... " >&6; } 12986if test "x${build}" != "x${host}" ; then 12987 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then 12988 # We already found the complete path 12989 ac_dir=`dirname $DLLTOOL_FOR_TARGET` 12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 12991$as_echo "pre-installed in $ac_dir" >&6; } 12992 else 12993 # Canadian cross, just use what we found 12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 12995$as_echo "pre-installed" >&6; } 12996 fi 12997else 12998 ok=yes 12999 case " ${configdirs} " in 13000 *" binutils "*) ;; 13001 *) ok=no ;; 13002 esac 13003 13004 if test $ok = yes; then 13005 # An in-tree tool is available and we can use it 13006 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool' 13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13008$as_echo "just compiled" >&6; } 13009 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then 13010 # We already found the complete path 13011 ac_dir=`dirname $DLLTOOL_FOR_TARGET` 13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13013$as_echo "pre-installed in $ac_dir" >&6; } 13014 elif test "x$target" = "x$host"; then 13015 # We can use an host tool 13016 DLLTOOL_FOR_TARGET='$(DLLTOOL)' 13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13018$as_echo "host tool" >&6; } 13019 else 13020 # We need a cross tool 13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13022$as_echo "pre-installed" >&6; } 13023 fi 13024fi 13025 13026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5 13027$as_echo_n "checking where to find the target gcc... " >&6; } 13028if test "x${build}" != "x${host}" ; then 13029 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then 13030 # We already found the complete path 13031 ac_dir=`dirname $GCC_FOR_TARGET` 13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13033$as_echo "pre-installed in $ac_dir" >&6; } 13034 else 13035 # Canadian cross, just use what we found 13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13037$as_echo "pre-installed" >&6; } 13038 fi 13039else 13040 ok=yes 13041 case " ${configdirs} " in 13042 *" gcc "*) ;; 13043 *) ok=no ;; 13044 esac 13045 13046 if test $ok = yes; then 13047 # An in-tree tool is available and we can use it 13048 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/' 13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13050$as_echo "just compiled" >&6; } 13051 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then 13052 # We already found the complete path 13053 ac_dir=`dirname $GCC_FOR_TARGET` 13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13055$as_echo "pre-installed in $ac_dir" >&6; } 13056 elif test "x$target" = "x$host"; then 13057 # We can use an host tool 13058 GCC_FOR_TARGET='$()' 13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13060$as_echo "host tool" >&6; } 13061 else 13062 # We need a cross tool 13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13064$as_echo "pre-installed" >&6; } 13065 fi 13066fi 13067 13068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5 13069$as_echo_n "checking where to find the target gcj... " >&6; } 13070if test "x${build}" != "x${host}" ; then 13071 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then 13072 # We already found the complete path 13073 ac_dir=`dirname $GCJ_FOR_TARGET` 13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13075$as_echo "pre-installed in $ac_dir" >&6; } 13076 else 13077 # Canadian cross, just use what we found 13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13079$as_echo "pre-installed" >&6; } 13080 fi 13081else 13082 ok=yes 13083 case " ${configdirs} " in 13084 *" gcc "*) ;; 13085 *) ok=no ;; 13086 esac 13087 case ,${enable_languages}, in 13088 *,java,*) ;; 13089 *) ok=no ;; 13090 esac 13091 if test $ok = yes; then 13092 # An in-tree tool is available and we can use it 13093 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/' 13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13095$as_echo "just compiled" >&6; } 13096 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then 13097 # We already found the complete path 13098 ac_dir=`dirname $GCJ_FOR_TARGET` 13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13100$as_echo "pre-installed in $ac_dir" >&6; } 13101 elif test "x$target" = "x$host"; then 13102 # We can use an host tool 13103 GCJ_FOR_TARGET='$(GCJ)' 13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13105$as_echo "host tool" >&6; } 13106 else 13107 # We need a cross tool 13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13109$as_echo "pre-installed" >&6; } 13110 fi 13111fi 13112 13113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5 13114$as_echo_n "checking where to find the target gfortran... " >&6; } 13115if test "x${build}" != "x${host}" ; then 13116 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then 13117 # We already found the complete path 13118 ac_dir=`dirname $GFORTRAN_FOR_TARGET` 13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13120$as_echo "pre-installed in $ac_dir" >&6; } 13121 else 13122 # Canadian cross, just use what we found 13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13124$as_echo "pre-installed" >&6; } 13125 fi 13126else 13127 ok=yes 13128 case " ${configdirs} " in 13129 *" gcc "*) ;; 13130 *) ok=no ;; 13131 esac 13132 case ,${enable_languages}, in 13133 *,fortran,*) ;; 13134 *) ok=no ;; 13135 esac 13136 if test $ok = yes; then 13137 # An in-tree tool is available and we can use it 13138 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/' 13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13140$as_echo "just compiled" >&6; } 13141 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then 13142 # We already found the complete path 13143 ac_dir=`dirname $GFORTRAN_FOR_TARGET` 13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13145$as_echo "pre-installed in $ac_dir" >&6; } 13146 elif test "x$target" = "x$host"; then 13147 # We can use an host tool 13148 GFORTRAN_FOR_TARGET='$(GFORTRAN)' 13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13150$as_echo "host tool" >&6; } 13151 else 13152 # We need a cross tool 13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13154$as_echo "pre-installed" >&6; } 13155 fi 13156fi 13157 13158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5 13159$as_echo_n "checking where to find the target ld... " >&6; } 13160if test "x${build}" != "x${host}" ; then 13161 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then 13162 # We already found the complete path 13163 ac_dir=`dirname $LD_FOR_TARGET` 13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13165$as_echo "pre-installed in $ac_dir" >&6; } 13166 else 13167 # Canadian cross, just use what we found 13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13169$as_echo "pre-installed" >&6; } 13170 fi 13171else 13172 ok=yes 13173 case " ${configdirs} " in 13174 *" ld "*) ;; 13175 *) ok=no ;; 13176 esac 13177 13178 if test $ok = yes; then 13179 # An in-tree tool is available and we can use it 13180 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new' 13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13182$as_echo "just compiled" >&6; } 13183 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then 13184 # We already found the complete path 13185 ac_dir=`dirname $LD_FOR_TARGET` 13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13187$as_echo "pre-installed in $ac_dir" >&6; } 13188 elif test "x$target" = "x$host"; then 13189 # We can use an host tool 13190 LD_FOR_TARGET='$(LD)' 13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13192$as_echo "host tool" >&6; } 13193 else 13194 # We need a cross tool 13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13196$as_echo "pre-installed" >&6; } 13197 fi 13198fi 13199 13200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5 13201$as_echo_n "checking where to find the target lipo... " >&6; } 13202if test "x${build}" != "x${host}" ; then 13203 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then 13204 # We already found the complete path 13205 ac_dir=`dirname $LIPO_FOR_TARGET` 13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13207$as_echo "pre-installed in $ac_dir" >&6; } 13208 else 13209 # Canadian cross, just use what we found 13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13211$as_echo "pre-installed" >&6; } 13212 fi 13213else 13214 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then 13215 # We already found the complete path 13216 ac_dir=`dirname $LIPO_FOR_TARGET` 13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13218$as_echo "pre-installed in $ac_dir" >&6; } 13219 elif test "x$target" = "x$host"; then 13220 # We can use an host tool 13221 LIPO_FOR_TARGET='$(LIPO)' 13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13223$as_echo "host tool" >&6; } 13224 else 13225 # We need a cross tool 13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13227$as_echo "pre-installed" >&6; } 13228 fi 13229fi 13230 13231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5 13232$as_echo_n "checking where to find the target nm... " >&6; } 13233if test "x${build}" != "x${host}" ; then 13234 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then 13235 # We already found the complete path 13236 ac_dir=`dirname $NM_FOR_TARGET` 13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13238$as_echo "pre-installed in $ac_dir" >&6; } 13239 else 13240 # Canadian cross, just use what we found 13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13242$as_echo "pre-installed" >&6; } 13243 fi 13244else 13245 ok=yes 13246 case " ${configdirs} " in 13247 *" binutils "*) ;; 13248 *) ok=no ;; 13249 esac 13250 13251 if test $ok = yes; then 13252 # An in-tree tool is available and we can use it 13253 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new' 13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13255$as_echo "just compiled" >&6; } 13256 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then 13257 # We already found the complete path 13258 ac_dir=`dirname $NM_FOR_TARGET` 13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13260$as_echo "pre-installed in $ac_dir" >&6; } 13261 elif test "x$target" = "x$host"; then 13262 # We can use an host tool 13263 NM_FOR_TARGET='$(NM)' 13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13265$as_echo "host tool" >&6; } 13266 else 13267 # We need a cross tool 13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13269$as_echo "pre-installed" >&6; } 13270 fi 13271fi 13272 13273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5 13274$as_echo_n "checking where to find the target objdump... " >&6; } 13275if test "x${build}" != "x${host}" ; then 13276 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then 13277 # We already found the complete path 13278 ac_dir=`dirname $OBJDUMP_FOR_TARGET` 13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13280$as_echo "pre-installed in $ac_dir" >&6; } 13281 else 13282 # Canadian cross, just use what we found 13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13284$as_echo "pre-installed" >&6; } 13285 fi 13286else 13287 ok=yes 13288 case " ${configdirs} " in 13289 *" binutils "*) ;; 13290 *) ok=no ;; 13291 esac 13292 13293 if test $ok = yes; then 13294 # An in-tree tool is available and we can use it 13295 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump' 13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13297$as_echo "just compiled" >&6; } 13298 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then 13299 # We already found the complete path 13300 ac_dir=`dirname $OBJDUMP_FOR_TARGET` 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13302$as_echo "pre-installed in $ac_dir" >&6; } 13303 elif test "x$target" = "x$host"; then 13304 # We can use an host tool 13305 OBJDUMP_FOR_TARGET='$(OBJDUMP)' 13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13307$as_echo "host tool" >&6; } 13308 else 13309 # We need a cross tool 13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13311$as_echo "pre-installed" >&6; } 13312 fi 13313fi 13314 13315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5 13316$as_echo_n "checking where to find the target ranlib... " >&6; } 13317if test "x${build}" != "x${host}" ; then 13318 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then 13319 # We already found the complete path 13320 ac_dir=`dirname $RANLIB_FOR_TARGET` 13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13322$as_echo "pre-installed in $ac_dir" >&6; } 13323 else 13324 # Canadian cross, just use what we found 13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13326$as_echo "pre-installed" >&6; } 13327 fi 13328else 13329 ok=yes 13330 case " ${configdirs} " in 13331 *" binutils "*) ;; 13332 *) ok=no ;; 13333 esac 13334 13335 if test $ok = yes; then 13336 # An in-tree tool is available and we can use it 13337 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib' 13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13339$as_echo "just compiled" >&6; } 13340 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then 13341 # We already found the complete path 13342 ac_dir=`dirname $RANLIB_FOR_TARGET` 13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13344$as_echo "pre-installed in $ac_dir" >&6; } 13345 elif test "x$target" = "x$host"; then 13346 # We can use an host tool 13347 RANLIB_FOR_TARGET='$(RANLIB)' 13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13349$as_echo "host tool" >&6; } 13350 else 13351 # We need a cross tool 13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13353$as_echo "pre-installed" >&6; } 13354 fi 13355fi 13356 13357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5 13358$as_echo_n "checking where to find the target strip... " >&6; } 13359if test "x${build}" != "x${host}" ; then 13360 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then 13361 # We already found the complete path 13362 ac_dir=`dirname $STRIP_FOR_TARGET` 13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13364$as_echo "pre-installed in $ac_dir" >&6; } 13365 else 13366 # Canadian cross, just use what we found 13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13368$as_echo "pre-installed" >&6; } 13369 fi 13370else 13371 ok=yes 13372 case " ${configdirs} " in 13373 *" binutils "*) ;; 13374 *) ok=no ;; 13375 esac 13376 13377 if test $ok = yes; then 13378 # An in-tree tool is available and we can use it 13379 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip' 13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13381$as_echo "just compiled" >&6; } 13382 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then 13383 # We already found the complete path 13384 ac_dir=`dirname $STRIP_FOR_TARGET` 13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13386$as_echo "pre-installed in $ac_dir" >&6; } 13387 elif test "x$target" = "x$host"; then 13388 # We can use an host tool 13389 STRIP_FOR_TARGET='$(STRIP)' 13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13391$as_echo "host tool" >&6; } 13392 else 13393 # We need a cross tool 13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13395$as_echo "pre-installed" >&6; } 13396 fi 13397fi 13398 13399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5 13400$as_echo_n "checking where to find the target windres... " >&6; } 13401if test "x${build}" != "x${host}" ; then 13402 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then 13403 # We already found the complete path 13404 ac_dir=`dirname $WINDRES_FOR_TARGET` 13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13406$as_echo "pre-installed in $ac_dir" >&6; } 13407 else 13408 # Canadian cross, just use what we found 13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13410$as_echo "pre-installed" >&6; } 13411 fi 13412else 13413 ok=yes 13414 case " ${configdirs} " in 13415 *" binutils "*) ;; 13416 *) ok=no ;; 13417 esac 13418 13419 if test $ok = yes; then 13420 # An in-tree tool is available and we can use it 13421 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres' 13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13423$as_echo "just compiled" >&6; } 13424 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then 13425 # We already found the complete path 13426 ac_dir=`dirname $WINDRES_FOR_TARGET` 13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13428$as_echo "pre-installed in $ac_dir" >&6; } 13429 elif test "x$target" = "x$host"; then 13430 # We can use an host tool 13431 WINDRES_FOR_TARGET='$(WINDRES)' 13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13433$as_echo "host tool" >&6; } 13434 else 13435 # We need a cross tool 13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13437$as_echo "pre-installed" >&6; } 13438 fi 13439fi 13440 13441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5 13442$as_echo_n "checking where to find the target windmc... " >&6; } 13443if test "x${build}" != "x${host}" ; then 13444 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then 13445 # We already found the complete path 13446 ac_dir=`dirname $WINDMC_FOR_TARGET` 13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13448$as_echo "pre-installed in $ac_dir" >&6; } 13449 else 13450 # Canadian cross, just use what we found 13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13452$as_echo "pre-installed" >&6; } 13453 fi 13454else 13455 ok=yes 13456 case " ${configdirs} " in 13457 *" binutils "*) ;; 13458 *) ok=no ;; 13459 esac 13460 13461 if test $ok = yes; then 13462 # An in-tree tool is available and we can use it 13463 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc' 13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5 13465$as_echo "just compiled" >&6; } 13466 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then 13467 # We already found the complete path 13468 ac_dir=`dirname $WINDMC_FOR_TARGET` 13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5 13470$as_echo "pre-installed in $ac_dir" >&6; } 13471 elif test "x$target" = "x$host"; then 13472 # We can use an host tool 13473 WINDMC_FOR_TARGET='$(WINDMC)' 13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 13475$as_echo "host tool" >&6; } 13476 else 13477 # We need a cross tool 13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 13479$as_echo "pre-installed" >&6; } 13480 fi 13481fi 13482 13483 13484 13485 13486 13487# Certain tools may need extra flags. 13488AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target} 13489RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target} 13490NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target} 13491 13492# When building target libraries, except in a Canadian cross, we use 13493# the same toolchain as the compiler we just built. 13494COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)' 13495COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)' 13496COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)' 13497if test $host = $build; then 13498 case " $configdirs " in 13499 *" gcc "*) 13500 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as' 13501 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld' 13502 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target} 13503 ;; 13504 esac 13505fi 13506 13507 13508 13509 13510 13511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 13512$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 13513# Check whether --enable-maintainer-mode was given. 13514if test "${enable_maintainer_mode+set}" = set; then : 13515 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 13516else 13517 USE_MAINTAINER_MODE=no 13518fi 13519 13520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 13521$as_echo "$USE_MAINTAINER_MODE" >&6; } 13522 13523 13524if test "$USE_MAINTAINER_MODE" = yes; then 13525 MAINTAINER_MODE_TRUE= 13526 MAINTAINER_MODE_FALSE='#' 13527else 13528 MAINTAINER_MODE_TRUE='#' 13529 MAINTAINER_MODE_FALSE= 13530fi 13531MAINT=$MAINTAINER_MODE_TRUE 13532 13533# --------------------- 13534# GCC bootstrap support 13535# --------------------- 13536 13537# Stage specific cflags for build. 13538stage1_cflags="-g" 13539case $build in 13540 vax-*-*) 13541 case ${GCC} in 13542 yes) stage1_cflags="-g -Wa,-J" ;; 13543 *) stage1_cflags="-g -J" ;; 13544 esac ;; 13545esac 13546 13547# This is aimed to mimic bootstrap with a non-GCC compiler to catch problems. 13548if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then 13549 saved_CFLAGS="$CFLAGS" 13550 13551 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it. 13552 CFLAGS="$CFLAGS -fkeep-inline-functions" 13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5 13554$as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; } 13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13556/* end confdefs.h. */ 13557 13558#if (__GNUC__ < 3) \ 13559 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \ 13560 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1))) 13561#error http://gcc.gnu.org/PR29382 13562#endif 13563 13564int 13565main () 13566{ 13567 13568 ; 13569 return 0; 13570} 13571_ACEOF 13572if ac_fn_c_try_compile "$LINENO"; then : 13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13574$as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions" 13575else 13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13577$as_echo "no" >&6; } 13578fi 13579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13580 13581 CFLAGS="$saved_CFLAGS" 13582fi 13583 13584 13585 13586# Enable --enable-checking in stage1 of the compiler. 13587# Check whether --enable-stage1-checking was given. 13588if test "${enable_stage1_checking+set}" = set; then : 13589 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking} 13590else 13591 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then 13592 stage1_checking=--enable-checking=yes,types 13593else 13594 stage1_checking=--enable-checking=$enable_checking,types 13595fi 13596fi 13597 13598 13599 13600# Enable -Werror in bootstrap stage2 and later. 13601# Check whether --enable-werror was given. 13602if test "${enable_werror+set}" = set; then : 13603 enableval=$enable_werror; 13604else 13605 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then 13606 enable_werror=yes 13607else 13608 enable_werror=no 13609fi 13610fi 13611 13612case ${enable_werror} in 13613 yes) stage2_werror_flag="--enable-werror-always" ;; 13614 *) stage2_werror_flag="" ;; 13615esac 13616 13617 13618# Specify what files to not compare during bootstrap. 13619 13620compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*" 13621case "$target" in 13622 hppa*64*-*-hpux*) ;; 13623 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;; 13624esac 13625case " $configdirs " in 13626*" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;; 13627esac 13628 13629 13630ac_config_files="$ac_config_files Makefile" 13631 13632cat >confcache <<\_ACEOF 13633# This file is a shell script that caches the results of configure 13634# tests run on this system so they can be shared between configure 13635# scripts and configure runs, see configure's option --config-cache. 13636# It is not useful on other systems. If it contains results you don't 13637# want to keep, you may remove or edit it. 13638# 13639# config.status only pays attention to the cache file if you give it 13640# the --recheck option to rerun configure. 13641# 13642# `ac_cv_env_foo' variables (set or unset) will be overridden when 13643# loading this file, other *unset* `ac_cv_foo' will be assigned the 13644# following values. 13645 13646_ACEOF 13647 13648# The following way of writing the cache mishandles newlines in values, 13649# but we know of no workaround that is simple, portable, and efficient. 13650# So, we kill variables containing newlines. 13651# Ultrix sh set writes to stderr and can't be redirected directly, 13652# and sets the high bit in the cache file unless we assign to the vars. 13653( 13654 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13655 eval ac_val=\$$ac_var 13656 case $ac_val in #( 13657 *${as_nl}*) 13658 case $ac_var in #( 13659 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13660$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13661 esac 13662 case $ac_var in #( 13663 _ | IFS | as_nl) ;; #( 13664 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13665 *) { eval $ac_var=; unset $ac_var;} ;; 13666 esac ;; 13667 esac 13668 done 13669 13670 (set) 2>&1 | 13671 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13672 *${as_nl}ac_space=\ *) 13673 # `set' does not quote correctly, so add quotes: double-quote 13674 # substitution turns \\\\ into \\, and sed turns \\ into \. 13675 sed -n \ 13676 "s/'/'\\\\''/g; 13677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13678 ;; #( 13679 *) 13680 # `set' quotes correctly as required by POSIX, so do not add quotes. 13681 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13682 ;; 13683 esac | 13684 sort 13685) | 13686 sed ' 13687 /^ac_cv_env_/b end 13688 t clear 13689 :clear 13690 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13691 t end 13692 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13693 :end' >>confcache 13694if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13695 if test -w "$cache_file"; then 13696 test "x$cache_file" != "x/dev/null" && 13697 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13698$as_echo "$as_me: updating cache $cache_file" >&6;} 13699 cat confcache >$cache_file 13700 else 13701 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13702$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13703 fi 13704fi 13705rm -f confcache 13706 13707test "x$prefix" = xNONE && prefix=$ac_default_prefix 13708# Let make expand exec_prefix. 13709test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13710 13711# Transform confdefs.h into DEFS. 13712# Protect against shell expansion while executing Makefile rules. 13713# Protect against Makefile macro expansion. 13714# 13715# If the first sed substitution is executed (which looks for macros that 13716# take arguments), then branch to the quote section. Otherwise, 13717# look for a macro that doesn't take arguments. 13718ac_script=' 13719:mline 13720/\\$/{ 13721 N 13722 s,\\\n,, 13723 b mline 13724} 13725t clear 13726:clear 13727s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 13728t quote 13729s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 13730t quote 13731b any 13732:quote 13733s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 13734s/\[/\\&/g 13735s/\]/\\&/g 13736s/\$/$$/g 13737H 13738:any 13739${ 13740 g 13741 s/^\n// 13742 s/\n/ /g 13743 p 13744} 13745' 13746DEFS=`sed -n "$ac_script" confdefs.h` 13747 13748 13749ac_libobjs= 13750ac_ltlibobjs= 13751for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13752 # 1. Remove the extension, and $U if already installed. 13753 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13754 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13755 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13756 # will be set to the directory where LIBOBJS objects are built. 13757 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13758 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13759done 13760LIBOBJS=$ac_libobjs 13761 13762LTLIBOBJS=$ac_ltlibobjs 13763 13764 13765 13766: ${CONFIG_STATUS=./config.status} 13767ac_write_fail=0 13768ac_clean_files_save=$ac_clean_files 13769ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13770{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13771$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13772as_write_fail=0 13773cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13774#! $SHELL 13775# Generated by $as_me. 13776# Run this file to recreate the current configuration. 13777# Compiler output produced by configure, useful for debugging 13778# configure, is in config.log if it exists. 13779 13780debug=false 13781ac_cs_recheck=false 13782ac_cs_silent=false 13783 13784SHELL=\${CONFIG_SHELL-$SHELL} 13785export SHELL 13786_ASEOF 13787cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13788## -------------------- ## 13789## M4sh Initialization. ## 13790## -------------------- ## 13791 13792# Be more Bourne compatible 13793DUALCASE=1; export DUALCASE # for MKS sh 13794if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13795 emulate sh 13796 NULLCMD=: 13797 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13798 # is contrary to our usage. Disable this feature. 13799 alias -g '${1+"$@"}'='"$@"' 13800 setopt NO_GLOB_SUBST 13801else 13802 case `(set -o) 2>/dev/null` in #( 13803 *posix*) : 13804 set -o posix ;; #( 13805 *) : 13806 ;; 13807esac 13808fi 13809 13810 13811as_nl=' 13812' 13813export as_nl 13814# Printing a long string crashes Solaris 7 /usr/bin/printf. 13815as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13816as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13817as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13818# Prefer a ksh shell builtin over an external printf program on Solaris, 13819# but without wasting forks for bash or zsh. 13820if test -z "$BASH_VERSION$ZSH_VERSION" \ 13821 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13822 as_echo='print -r --' 13823 as_echo_n='print -rn --' 13824elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13825 as_echo='printf %s\n' 13826 as_echo_n='printf %s' 13827else 13828 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13829 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13830 as_echo_n='/usr/ucb/echo -n' 13831 else 13832 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13833 as_echo_n_body='eval 13834 arg=$1; 13835 case $arg in #( 13836 *"$as_nl"*) 13837 expr "X$arg" : "X\\(.*\\)$as_nl"; 13838 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13839 esac; 13840 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13841 ' 13842 export as_echo_n_body 13843 as_echo_n='sh -c $as_echo_n_body as_echo' 13844 fi 13845 export as_echo_body 13846 as_echo='sh -c $as_echo_body as_echo' 13847fi 13848 13849# The user is always right. 13850if test "${PATH_SEPARATOR+set}" != set; then 13851 PATH_SEPARATOR=: 13852 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13853 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13854 PATH_SEPARATOR=';' 13855 } 13856fi 13857 13858 13859# IFS 13860# We need space, tab and new line, in precisely that order. Quoting is 13861# there to prevent editors from complaining about space-tab. 13862# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13863# splitting by setting IFS to empty value.) 13864IFS=" "" $as_nl" 13865 13866# Find who we are. Look in the path if we contain no directory separator. 13867case $0 in #(( 13868 *[\\/]* ) as_myself=$0 ;; 13869 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13870for as_dir in $PATH 13871do 13872 IFS=$as_save_IFS 13873 test -z "$as_dir" && as_dir=. 13874 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13875 done 13876IFS=$as_save_IFS 13877 13878 ;; 13879esac 13880# We did not find ourselves, most probably we were run as `sh COMMAND' 13881# in which case we are not to be found in the path. 13882if test "x$as_myself" = x; then 13883 as_myself=$0 13884fi 13885if test ! -f "$as_myself"; then 13886 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13887 exit 1 13888fi 13889 13890# Unset variables that we do not need and which cause bugs (e.g. in 13891# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13892# suppresses any "Segmentation fault" message there. '((' could 13893# trigger a bug in pdksh 5.2.14. 13894for as_var in BASH_ENV ENV MAIL MAILPATH 13895do eval test x\${$as_var+set} = xset \ 13896 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13897done 13898PS1='$ ' 13899PS2='> ' 13900PS4='+ ' 13901 13902# NLS nuisances. 13903LC_ALL=C 13904export LC_ALL 13905LANGUAGE=C 13906export LANGUAGE 13907 13908# CDPATH. 13909(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13910 13911 13912# as_fn_error ERROR [LINENO LOG_FD] 13913# --------------------------------- 13914# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13915# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13916# script with status $?, using 1 if that was 0. 13917as_fn_error () 13918{ 13919 as_status=$?; test $as_status -eq 0 && as_status=1 13920 if test "$3"; then 13921 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13922 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13923 fi 13924 $as_echo "$as_me: error: $1" >&2 13925 as_fn_exit $as_status 13926} # as_fn_error 13927 13928 13929# as_fn_set_status STATUS 13930# ----------------------- 13931# Set $? to STATUS, without forking. 13932as_fn_set_status () 13933{ 13934 return $1 13935} # as_fn_set_status 13936 13937# as_fn_exit STATUS 13938# ----------------- 13939# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13940as_fn_exit () 13941{ 13942 set +e 13943 as_fn_set_status $1 13944 exit $1 13945} # as_fn_exit 13946 13947# as_fn_unset VAR 13948# --------------- 13949# Portably unset VAR. 13950as_fn_unset () 13951{ 13952 { eval $1=; unset $1;} 13953} 13954as_unset=as_fn_unset 13955# as_fn_append VAR VALUE 13956# ---------------------- 13957# Append the text in VALUE to the end of the definition contained in VAR. Take 13958# advantage of any shell optimizations that allow amortized linear growth over 13959# repeated appends, instead of the typical quadratic growth present in naive 13960# implementations. 13961if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13962 eval 'as_fn_append () 13963 { 13964 eval $1+=\$2 13965 }' 13966else 13967 as_fn_append () 13968 { 13969 eval $1=\$$1\$2 13970 } 13971fi # as_fn_append 13972 13973# as_fn_arith ARG... 13974# ------------------ 13975# Perform arithmetic evaluation on the ARGs, and store the result in the 13976# global $as_val. Take advantage of shells that can avoid forks. The arguments 13977# must be portable across $(()) and expr. 13978if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13979 eval 'as_fn_arith () 13980 { 13981 as_val=$(( $* )) 13982 }' 13983else 13984 as_fn_arith () 13985 { 13986 as_val=`expr "$@" || test $? -eq 1` 13987 } 13988fi # as_fn_arith 13989 13990 13991if expr a : '\(a\)' >/dev/null 2>&1 && 13992 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13993 as_expr=expr 13994else 13995 as_expr=false 13996fi 13997 13998if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13999 as_basename=basename 14000else 14001 as_basename=false 14002fi 14003 14004if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14005 as_dirname=dirname 14006else 14007 as_dirname=false 14008fi 14009 14010as_me=`$as_basename -- "$0" || 14011$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14012 X"$0" : 'X\(//\)$' \| \ 14013 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14014$as_echo X/"$0" | 14015 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14016 s//\1/ 14017 q 14018 } 14019 /^X\/\(\/\/\)$/{ 14020 s//\1/ 14021 q 14022 } 14023 /^X\/\(\/\).*/{ 14024 s//\1/ 14025 q 14026 } 14027 s/.*/./; q'` 14028 14029# Avoid depending upon Character Ranges. 14030as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14031as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14032as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14033as_cr_digits='0123456789' 14034as_cr_alnum=$as_cr_Letters$as_cr_digits 14035 14036ECHO_C= ECHO_N= ECHO_T= 14037case `echo -n x` in #((((( 14038-n*) 14039 case `echo 'xy\c'` in 14040 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14041 xy) ECHO_C='\c';; 14042 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14043 ECHO_T=' ';; 14044 esac;; 14045*) 14046 ECHO_N='-n';; 14047esac 14048 14049rm -f conf$$ conf$$.exe conf$$.file 14050if test -d conf$$.dir; then 14051 rm -f conf$$.dir/conf$$.file 14052else 14053 rm -f conf$$.dir 14054 mkdir conf$$.dir 2>/dev/null 14055fi 14056if (echo >conf$$.file) 2>/dev/null; then 14057 if ln -s conf$$.file conf$$ 2>/dev/null; then 14058 as_ln_s='ln -s' 14059 # ... but there are two gotchas: 14060 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14061 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14062 # In both cases, we have to default to `cp -p'. 14063 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14064 as_ln_s='cp -p' 14065 elif ln conf$$.file conf$$ 2>/dev/null; then 14066 as_ln_s=ln 14067 else 14068 as_ln_s='cp -p' 14069 fi 14070else 14071 as_ln_s='cp -p' 14072fi 14073rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14074rmdir conf$$.dir 2>/dev/null 14075 14076 14077# as_fn_mkdir_p 14078# ------------- 14079# Create "$as_dir" as a directory, including parents if necessary. 14080as_fn_mkdir_p () 14081{ 14082 14083 case $as_dir in #( 14084 -*) as_dir=./$as_dir;; 14085 esac 14086 test -d "$as_dir" || eval $as_mkdir_p || { 14087 as_dirs= 14088 while :; do 14089 case $as_dir in #( 14090 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14091 *) as_qdir=$as_dir;; 14092 esac 14093 as_dirs="'$as_qdir' $as_dirs" 14094 as_dir=`$as_dirname -- "$as_dir" || 14095$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14096 X"$as_dir" : 'X\(//\)[^/]' \| \ 14097 X"$as_dir" : 'X\(//\)$' \| \ 14098 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14099$as_echo X"$as_dir" | 14100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14101 s//\1/ 14102 q 14103 } 14104 /^X\(\/\/\)[^/].*/{ 14105 s//\1/ 14106 q 14107 } 14108 /^X\(\/\/\)$/{ 14109 s//\1/ 14110 q 14111 } 14112 /^X\(\/\).*/{ 14113 s//\1/ 14114 q 14115 } 14116 s/.*/./; q'` 14117 test -d "$as_dir" && break 14118 done 14119 test -z "$as_dirs" || eval "mkdir $as_dirs" 14120 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 14121 14122 14123} # as_fn_mkdir_p 14124if mkdir -p . 2>/dev/null; then 14125 as_mkdir_p='mkdir -p "$as_dir"' 14126else 14127 test -d ./-p && rmdir ./-p 14128 as_mkdir_p=false 14129fi 14130 14131if test -x / >/dev/null 2>&1; then 14132 as_test_x='test -x' 14133else 14134 if ls -dL / >/dev/null 2>&1; then 14135 as_ls_L_option=L 14136 else 14137 as_ls_L_option= 14138 fi 14139 as_test_x=' 14140 eval sh -c '\'' 14141 if test -d "$1"; then 14142 test -d "$1/."; 14143 else 14144 case $1 in #( 14145 -*)set "./$1";; 14146 esac; 14147 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 14148 ???[sx]*):;;*)false;;esac;fi 14149 '\'' sh 14150 ' 14151fi 14152as_executable_p=$as_test_x 14153 14154# Sed expression to map a string onto a valid CPP name. 14155as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14156 14157# Sed expression to map a string onto a valid variable name. 14158as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14159 14160 14161exec 6>&1 14162## ----------------------------------- ## 14163## Main body of $CONFIG_STATUS script. ## 14164## ----------------------------------- ## 14165_ASEOF 14166test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14167 14168cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14169# Save the log message, to keep $0 and so on meaningful, and to 14170# report actual input values of CONFIG_FILES etc. instead of their 14171# values after options handling. 14172ac_log=" 14173This file was extended by $as_me, which was 14174generated by GNU Autoconf 2.64. Invocation command line was 14175 14176 CONFIG_FILES = $CONFIG_FILES 14177 CONFIG_HEADERS = $CONFIG_HEADERS 14178 CONFIG_LINKS = $CONFIG_LINKS 14179 CONFIG_COMMANDS = $CONFIG_COMMANDS 14180 $ $0 $@ 14181 14182on `(hostname || uname -n) 2>/dev/null | sed 1q` 14183" 14184 14185_ACEOF 14186 14187case $ac_config_files in *" 14188"*) set x $ac_config_files; shift; ac_config_files=$*;; 14189esac 14190 14191 14192 14193cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14194# Files that config.status was made for. 14195config_files="$ac_config_files" 14196 14197_ACEOF 14198 14199cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14200ac_cs_usage="\ 14201\`$as_me' instantiates files and other configuration actions 14202from templates according to the current configuration. Unless the files 14203and actions are specified as TAGs, all are instantiated by default. 14204 14205Usage: $0 [OPTION]... [TAG]... 14206 14207 -h, --help print this help, then exit 14208 -V, --version print version number and configuration settings, then exit 14209 -q, --quiet, --silent 14210 do not print progress messages 14211 -d, --debug don't remove temporary files 14212 --recheck update $as_me by reconfiguring in the same conditions 14213 --file=FILE[:TEMPLATE] 14214 instantiate the configuration file FILE 14215 14216Configuration files: 14217$config_files 14218 14219Report bugs to the package provider." 14220 14221_ACEOF 14222cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14223ac_cs_version="\\ 14224config.status 14225configured by $0, generated by GNU Autoconf 2.64, 14226 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 14227 14228Copyright (C) 2009 Free Software Foundation, Inc. 14229This config.status script is free software; the Free Software Foundation 14230gives unlimited permission to copy, distribute and modify it." 14231 14232ac_pwd='$ac_pwd' 14233srcdir='$srcdir' 14234INSTALL='$INSTALL' 14235AWK='$AWK' 14236test -n "\$AWK" || AWK=awk 14237_ACEOF 14238 14239cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14240# The default lists apply if the user does not specify any file. 14241ac_need_defaults=: 14242while test $# != 0 14243do 14244 case $1 in 14245 --*=*) 14246 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14247 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14248 ac_shift=: 14249 ;; 14250 *) 14251 ac_option=$1 14252 ac_optarg=$2 14253 ac_shift=shift 14254 ;; 14255 esac 14256 14257 case $ac_option in 14258 # Handling of the options. 14259 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14260 ac_cs_recheck=: ;; 14261 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14262 $as_echo "$ac_cs_version"; exit ;; 14263 --debug | --debu | --deb | --de | --d | -d ) 14264 debug=: ;; 14265 --file | --fil | --fi | --f ) 14266 $ac_shift 14267 case $ac_optarg in 14268 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14269 esac 14270 as_fn_append CONFIG_FILES " '$ac_optarg'" 14271 ac_need_defaults=false;; 14272 --he | --h | --help | --hel | -h ) 14273 $as_echo "$ac_cs_usage"; exit ;; 14274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14275 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14276 ac_cs_silent=: ;; 14277 14278 # This is an error. 14279 -*) as_fn_error "unrecognized option: \`$1' 14280Try \`$0 --help' for more information." ;; 14281 14282 *) as_fn_append ac_config_targets " $1" 14283 ac_need_defaults=false ;; 14284 14285 esac 14286 shift 14287done 14288 14289ac_configure_extra_args= 14290 14291if $ac_cs_silent; then 14292 exec 6>/dev/null 14293 ac_configure_extra_args="$ac_configure_extra_args --silent" 14294fi 14295 14296_ACEOF 14297cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14298if \$ac_cs_recheck; then 14299 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14300 shift 14301 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14302 CONFIG_SHELL='$SHELL' 14303 export CONFIG_SHELL 14304 exec "\$@" 14305fi 14306 14307_ACEOF 14308cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14309exec 5>>config.log 14310{ 14311 echo 14312 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14313## Running $as_me. ## 14314_ASBOX 14315 $as_echo "$ac_log" 14316} >&5 14317 14318_ACEOF 14319cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14320# 14321# INIT-COMMANDS 14322# 14323extrasub_build="$extrasub_build" 14324 extrasub_host="$extrasub_host" 14325 extrasub_target="$extrasub_target" 14326 14327_ACEOF 14328 14329cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14330 14331# Handling of arguments. 14332for ac_config_target in $ac_config_targets 14333do 14334 case $ac_config_target in 14335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14336 14337 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14338 esac 14339done 14340 14341 14342# If the user did not use the arguments to specify the items to instantiate, 14343# then the envvar interface is used. Set only those that are not. 14344# We use the long form for the default assignment because of an extremely 14345# bizarre bug on SunOS 4.1.3. 14346if $ac_need_defaults; then 14347 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14348fi 14349 14350# Have a temporary directory for convenience. Make it in the build tree 14351# simply because there is no reason against having it here, and in addition, 14352# creating and moving files from /tmp can sometimes cause problems. 14353# Hook for its removal unless debugging. 14354# Note that there is a small window in which the directory will not be cleaned: 14355# after its creation but before its name has been assigned to `$tmp'. 14356$debug || 14357{ 14358 tmp= 14359 trap 'exit_status=$? 14360 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14361' 0 14362 trap 'as_fn_exit 1' 1 2 13 15 14363} 14364# Create a (secure) tmp directory for tmp files. 14365 14366{ 14367 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14368 test -n "$tmp" && test -d "$tmp" 14369} || 14370{ 14371 tmp=./conf$$-$RANDOM 14372 (umask 077 && mkdir "$tmp") 14373} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 14374 14375# Set up the scripts for CONFIG_FILES section. 14376# No need to generate them if there are no CONFIG_FILES. 14377# This happens for instance with `./config.status config.h'. 14378if test -n "$CONFIG_FILES"; then 14379 14380if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then 14381 ac_cs_awk_getline=: 14382 ac_cs_awk_pipe_init= 14383 ac_cs_awk_read_file=' 14384 while ((getline aline < (F[key])) > 0) 14385 print(aline) 14386 close(F[key])' 14387 ac_cs_awk_pipe_fini= 14388else 14389 ac_cs_awk_getline=false 14390 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\"" 14391 ac_cs_awk_read_file=' 14392 print "|#_!!_#|" 14393 print "cat " F[key] " &&" 14394 '$ac_cs_awk_pipe_init 14395 # The final `:' finishes the AND list. 14396 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' 14397fi 14398ac_cr=`echo X | tr X '\015'` 14399# On cygwin, bash can eat \r inside `` if the user requested igncr. 14400# But we know of no other shell where ac_cr would be empty at this 14401# point, so we can use a bashism as a fallback. 14402if test "x$ac_cr" = x; then 14403 eval ac_cr=\$\'\\r\' 14404fi 14405ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14406if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14407 ac_cs_awk_cr='\r' 14408else 14409 ac_cs_awk_cr=$ac_cr 14410fi 14411 14412echo 'BEGIN {' >"$tmp/subs1.awk" && 14413_ACEOF 14414 14415# Create commands to substitute file output variables. 14416{ 14417 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 14418 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 14419 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 14420 echo "_ACAWK" && 14421 echo "_ACEOF" 14422} >conf$$files.sh && 14423. ./conf$$files.sh || 14424 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14425rm -f conf$$files.sh 14426 14427{ 14428 echo "cat >conf$$subs.awk <<_ACEOF" && 14429 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14430 echo "_ACEOF" 14431} >conf$$subs.sh || 14432 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14433ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14434ac_delim='%!_!# ' 14435for ac_last_try in false false false false false :; do 14436 . ./conf$$subs.sh || 14437 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14438 14439 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14440 if test $ac_delim_n = $ac_delim_num; then 14441 break 14442 elif $ac_last_try; then 14443 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14444 else 14445 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14446 fi 14447done 14448rm -f conf$$subs.sh 14449 14450cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14451cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 14452_ACEOF 14453sed -n ' 14454h 14455s/^/S["/; s/!.*/"]=/ 14456p 14457g 14458s/^[^!]*!// 14459:repl 14460t repl 14461s/'"$ac_delim"'$// 14462t delim 14463:nl 14464h 14465s/\(.\{148\}\).*/\1/ 14466t more1 14467s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14468p 14469n 14470b repl 14471:more1 14472s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14473p 14474g 14475s/.\{148\}// 14476t nl 14477:delim 14478h 14479s/\(.\{148\}\).*/\1/ 14480t more2 14481s/["\\]/\\&/g; s/^/"/; s/$/"/ 14482p 14483b 14484:more2 14485s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14486p 14487g 14488s/.\{148\}// 14489t delim 14490' <conf$$subs.awk | sed ' 14491/^[^""]/{ 14492 N 14493 s/\n// 14494} 14495' >>$CONFIG_STATUS || ac_write_fail=1 14496rm -f conf$$subs.awk 14497cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14498_ACAWK 14499cat >>"\$tmp/subs1.awk" <<_ACAWK && 14500 for (key in S) S_is_set[key] = 1 14501 FS = "" 14502 \$ac_cs_awk_pipe_init 14503} 14504{ 14505 line = $ 0 14506 nfields = split(line, field, "@") 14507 substed = 0 14508 len = length(field[1]) 14509 for (i = 2; i < nfields; i++) { 14510 key = field[i] 14511 keylen = length(key) 14512 if (S_is_set[key]) { 14513 value = S[key] 14514 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14515 len += length(value) + length(field[++i]) 14516 substed = 1 14517 } else 14518 len += 1 + keylen 14519 } 14520 if (nfields == 3 && !substed) { 14521 key = field[2] 14522 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) { 14523 \$ac_cs_awk_read_file 14524 next 14525 } 14526 } 14527 print line 14528} 14529\$ac_cs_awk_pipe_fini 14530_ACAWK 14531_ACEOF 14532cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14533if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14534 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14535else 14536 cat 14537fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14538 || as_fn_error "could not setup config files machinery" "$LINENO" 5 14539_ACEOF 14540 14541# VPATH may cause trouble with some makes, so we remove $(srcdir), 14542# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14543# trailing colons and then remove the whole line if VPATH becomes empty 14544# (actually we leave an empty line to preserve line numbers). 14545if test "x$srcdir" = x.; then 14546 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14547s/:*\$(srcdir):*/:/ 14548s/:*\${srcdir}:*/:/ 14549s/:*@srcdir@:*/:/ 14550s/^\([^=]*=[ ]*\):*/\1/ 14551s/:*$// 14552s/^[^=]*=[ ]*$// 14553}' 14554fi 14555 14556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14557fi # test -n "$CONFIG_FILES" 14558 14559 14560eval set X " :F $CONFIG_FILES " 14561shift 14562for ac_tag 14563do 14564 case $ac_tag in 14565 :[FHLC]) ac_mode=$ac_tag; continue;; 14566 esac 14567 case $ac_mode$ac_tag in 14568 :[FHL]*:*);; 14569 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 14570 :[FH]-) ac_tag=-:-;; 14571 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14572 esac 14573 ac_save_IFS=$IFS 14574 IFS=: 14575 set x $ac_tag 14576 IFS=$ac_save_IFS 14577 shift 14578 ac_file=$1 14579 shift 14580 14581 case $ac_mode in 14582 :L) ac_source=$1;; 14583 :[FH]) 14584 ac_file_inputs= 14585 for ac_f 14586 do 14587 case $ac_f in 14588 -) ac_f="$tmp/stdin";; 14589 *) # Look for the file first in the build tree, then in the source tree 14590 # (if the path is not absolute). The absolute path cannot be DOS-style, 14591 # because $ac_f cannot contain `:'. 14592 test -f "$ac_f" || 14593 case $ac_f in 14594 [\\/$]*) false;; 14595 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14596 esac || 14597 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14598 esac 14599 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14600 as_fn_append ac_file_inputs " '$ac_f'" 14601 done 14602 14603 # Let's still pretend it is `configure' which instantiates (i.e., don't 14604 # use $as_me), people would be surprised to read: 14605 # /* config.h. Generated by config.status. */ 14606 configure_input='Generated from '` 14607 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14608 `' by configure.' 14609 if test x"$ac_file" != x-; then 14610 configure_input="$ac_file. $configure_input" 14611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14612$as_echo "$as_me: creating $ac_file" >&6;} 14613 fi 14614 # Neutralize special characters interpreted by sed in replacement strings. 14615 case $configure_input in #( 14616 *\&* | *\|* | *\\* ) 14617 ac_sed_conf_input=`$as_echo "$configure_input" | 14618 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14619 *) ac_sed_conf_input=$configure_input;; 14620 esac 14621 14622 case $ac_tag in 14623 *:-:* | *:-) cat >"$tmp/stdin" \ 14624 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 14625 esac 14626 ;; 14627 esac 14628 14629 ac_dir=`$as_dirname -- "$ac_file" || 14630$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14631 X"$ac_file" : 'X\(//\)[^/]' \| \ 14632 X"$ac_file" : 'X\(//\)$' \| \ 14633 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14634$as_echo X"$ac_file" | 14635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14636 s//\1/ 14637 q 14638 } 14639 /^X\(\/\/\)[^/].*/{ 14640 s//\1/ 14641 q 14642 } 14643 /^X\(\/\/\)$/{ 14644 s//\1/ 14645 q 14646 } 14647 /^X\(\/\).*/{ 14648 s//\1/ 14649 q 14650 } 14651 s/.*/./; q'` 14652 as_dir="$ac_dir"; as_fn_mkdir_p 14653 ac_builddir=. 14654 14655case "$ac_dir" in 14656.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14657*) 14658 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14659 # A ".." for each directory in $ac_dir_suffix. 14660 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14661 case $ac_top_builddir_sub in 14662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14664 esac ;; 14665esac 14666ac_abs_top_builddir=$ac_pwd 14667ac_abs_builddir=$ac_pwd$ac_dir_suffix 14668# for backward compatibility: 14669ac_top_builddir=$ac_top_build_prefix 14670 14671case $srcdir in 14672 .) # We are building in place. 14673 ac_srcdir=. 14674 ac_top_srcdir=$ac_top_builddir_sub 14675 ac_abs_top_srcdir=$ac_pwd ;; 14676 [\\/]* | ?:[\\/]* ) # Absolute name. 14677 ac_srcdir=$srcdir$ac_dir_suffix; 14678 ac_top_srcdir=$srcdir 14679 ac_abs_top_srcdir=$srcdir ;; 14680 *) # Relative name. 14681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14682 ac_top_srcdir=$ac_top_build_prefix$srcdir 14683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14684esac 14685ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14686 14687 14688 case $ac_mode in 14689 :F) 14690 # 14691 # CONFIG_FILE 14692 # 14693 14694 case $INSTALL in 14695 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14696 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14697 esac 14698_ACEOF 14699 14700cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14701# If the template does not know about datarootdir, expand it. 14702# FIXME: This hack should be removed a few years after 2.60. 14703ac_datarootdir_hack=; ac_datarootdir_seen= 14704ac_sed_dataroot=' 14705/datarootdir/ { 14706 p 14707 q 14708} 14709/@datadir@/p 14710/@docdir@/p 14711/@infodir@/p 14712/@localedir@/p 14713/@mandir@/p' 14714case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14715*datarootdir*) ac_datarootdir_seen=yes;; 14716*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14718$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14719_ACEOF 14720cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14721 ac_datarootdir_hack=' 14722 s&@datadir@&$datadir&g 14723 s&@docdir@&$docdir&g 14724 s&@infodir@&$infodir&g 14725 s&@localedir@&$localedir&g 14726 s&@mandir@&$mandir&g 14727 s&\\\${datarootdir}&$datarootdir&g' ;; 14728esac 14729_ACEOF 14730 14731# Neutralize VPATH when `$srcdir' = `.'. 14732# Shell code in configure.ac might set extrasub. 14733# FIXME: do we really want to maintain this feature? 14734cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14735ac_sed_extra="$ac_vpsub 14736$extrasub 14737_ACEOF 14738cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14739:t 14740/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14741s|@configure_input@|$ac_sed_conf_input|;t t 14742s&@top_builddir@&$ac_top_builddir_sub&;t t 14743s&@top_build_prefix@&$ac_top_build_prefix&;t t 14744s&@srcdir@&$ac_srcdir&;t t 14745s&@abs_srcdir@&$ac_abs_srcdir&;t t 14746s&@top_srcdir@&$ac_top_srcdir&;t t 14747s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14748s&@builddir@&$ac_builddir&;t t 14749s&@abs_builddir@&$ac_abs_builddir&;t t 14750s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14751s&@INSTALL@&$ac_INSTALL&;t t 14752$ac_datarootdir_hack 14753" 14754eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 14755if $ac_cs_awk_getline; then 14756 $AWK -f "$tmp/subs.awk" 14757else 14758 $AWK -f "$tmp/subs.awk" | $SHELL 14759fi >$tmp/out \ 14760 || as_fn_error "could not create $ac_file" "$LINENO" 5 14761 14762test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14763 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14766which seems to be undefined. Please make sure it is defined." >&5 14767$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14768which seems to be undefined. Please make sure it is defined." >&2;} 14769 14770 rm -f "$tmp/stdin" 14771 case $ac_file in 14772 -) cat "$tmp/out" && rm -f "$tmp/out";; 14773 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14774 esac \ 14775 || as_fn_error "could not create $ac_file" "$LINENO" 5 14776 ;; 14777 14778 14779 14780 esac 14781 14782 14783 case $ac_file$ac_mode in 14784 "Makefile":F) sed "$extrasub_build" Makefile | 14785 sed "$extrasub_host" | 14786 sed "$extrasub_target" > mf$$ 14787 mv -f mf$$ Makefile ;; 14788 14789 esac 14790done # for ac_tag 14791 14792 14793as_fn_exit 0 14794_ACEOF 14795ac_clean_files=$ac_clean_files_save 14796 14797test $ac_write_fail = 0 || 14798 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 14799 14800 14801# configure is writing to config.log, and then calls config.status. 14802# config.status does its own redirection, appending to config.log. 14803# Unfortunately, on DOS this fails, as config.log is still kept open 14804# by configure, so config.status won't be able to write to it; its 14805# output is simply discarded. So we exec the FD to /dev/null, 14806# effectively closing config.log, so it can be properly (re)opened and 14807# appended to by config.status. When coming back to configure, we 14808# need to make the FD available again. 14809if test "$no_create" != yes; then 14810 ac_cs_success=: 14811 ac_config_status_args= 14812 test "$silent" = yes && 14813 ac_config_status_args="$ac_config_status_args --quiet" 14814 exec 5>/dev/null 14815 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14816 exec 5>>config.log 14817 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14818 # would make configure fail if this is the last instruction. 14819 $ac_cs_success || as_fn_exit $? 14820fi 14821if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14823$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14824fi 14825 14826