Home | History | Annotate | Line # | Download | only in dist
configure revision 1.8
      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
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if 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
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_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.
     43 if 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 --'
     47 elif (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'
     50 else
     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'
     70 fi
     71 
     72 # The user is always right.
     73 if 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   }
     79 fi
     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.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 case $0 in #((
     91   *[\\/]* ) as_myself=$0 ;;
     92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     93 for as_dir in $PATH
     94 do
     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
     99 IFS=$as_save_IFS
    100 
    101      ;;
    102 esac
    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.
    105 if test "x$as_myself" = x; then
    106   as_myself=$0
    107 fi
    108 if test ! -f "$as_myself"; then
    109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    110   exit 1
    111 fi
    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.
    117 for as_var in BASH_ENV ENV MAIL MAILPATH
    118 do eval test x\${$as_var+set} = xset \
    119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    120 done
    121 PS1='$ '
    122 PS2='> '
    123 PS4='+ '
    124 
    125 # NLS nuisances.
    126 LC_ALL=C
    127 export LC_ALL
    128 LANGUAGE=C
    129 export LANGUAGE
    130 
    131 # CDPATH.
    132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    133 
    134 if 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
    142 else
    143   case \`(set -o) 2>/dev/null\` in #(
    144   *posix*) :
    145     set -o posix ;; #(
    146   *) :
    147      ;;
    148 esac
    149 fi
    150 "
    151   as_required="as_fn_return () { (exit \$1); }
    152 as_fn_success () { as_fn_return 0; }
    153 as_fn_failure () { as_fn_return 1; }
    154 as_fn_ret_success () { return 0; }
    155 as_fn_ret_failure () { return 1; }
    156 
    157 exitcode=0
    158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    163 
    164 else
    165   exitcode=1; echo positional parameters were not saved.
    166 fi
    167 test 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
    172 test \$(( 1 + 1 )) = 2 || exit 1"
    173   if (eval "$as_required") 2>/dev/null; then :
    174   as_have_required=yes
    175 else
    176   as_have_required=no
    177 fi
    178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    179 
    180 else
    181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    182 as_found=false
    183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    184 do
    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
    198 fi
    199 fi
    200 	   done;;
    201        esac
    202   as_found=false
    203 done
    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
    207 fi; }
    208 IFS=$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+"$@"}
    220 fi
    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 (at] 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
    235 fi
    236 fi
    237 fi
    238 SHELL=${CONFIG_SHELL-/bin/sh}
    239 export SHELL
    240 # Unset more variables known to interfere with behavior of common tools.
    241 CLICOLOR_FORCE= GREP_OPTIONS=
    242 unset CLICOLOR_FORCE GREP_OPTIONS
    243 
    244 ## --------------------- ##
    245 ## M4sh Shell Functions. ##
    246 ## --------------------- ##
    247 # as_fn_unset VAR
    248 # ---------------
    249 # Portably unset VAR.
    250 as_fn_unset ()
    251 {
    252   { eval $1=; unset $1;}
    253 }
    254 as_unset=as_fn_unset
    255 
    256 # as_fn_set_status STATUS
    257 # -----------------------
    258 # Set $? to STATUS, without forking.
    259 as_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.
    267 as_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.
    277 as_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.
    327 if (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   }'
    332 else
    333   as_fn_append ()
    334   {
    335     eval $1=\$$1\$2
    336   }
    337 fi # 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.
    344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    345   eval 'as_fn_arith ()
    346   {
    347     as_val=$(( $* ))
    348   }'
    349 else
    350   as_fn_arith ()
    351   {
    352     as_val=`expr "$@" || test $? -eq 1`
    353   }
    354 fi # 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.
    362 as_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 
    373 if expr a : '\(a\)' >/dev/null 2>&1 &&
    374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    375   as_expr=expr
    376 else
    377   as_expr=false
    378 fi
    379 
    380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    381   as_basename=basename
    382 else
    383   as_basename=false
    384 fi
    385 
    386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    387   as_dirname=dirname
    388 else
    389   as_dirname=false
    390 fi
    391 
    392 as_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.
    412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    415 as_cr_digits='0123456789'
    416 as_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 
    450 ECHO_C= ECHO_N= ECHO_T=
    451 case `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';;
    461 esac
    462 
    463 rm -f conf$$ conf$$.exe conf$$.file
    464 if test -d conf$$.dir; then
    465   rm -f conf$$.dir/conf$$.file
    466 else
    467   rm -f conf$$.dir
    468   mkdir conf$$.dir 2>/dev/null
    469 fi
    470 if (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
    484 else
    485   as_ln_s='cp -p'
    486 fi
    487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    488 rmdir conf$$.dir 2>/dev/null
    489 
    490 if mkdir -p . 2>/dev/null; then
    491   as_mkdir_p='mkdir -p "$as_dir"'
    492 else
    493   test -d ./-p && rmdir ./-p
    494   as_mkdir_p=false
    495 fi
    496 
    497 if test -x / >/dev/null 2>&1; then
    498   as_test_x='test -x'
    499 else
    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   '
    517 fi
    518 as_executable_p=$as_test_x
    519 
    520 # Sed expression to map a string onto a valid CPP name.
    521 as_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.
    524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    525 
    526 
    527 exec 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.
    532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    533 
    534 #
    535 # Initializations.
    536 #
    537 ac_default_prefix=/usr/local
    538 ac_clean_files=
    539 ac_config_libobj_dir=.
    540 LIBOBJS=
    541 cross_compiling=no
    542 subdirs=
    543 MFLAGS=
    544 MAKEFLAGS=
    545 
    546 # Identity of this package.
    547 PACKAGE_NAME=
    548 PACKAGE_TARNAME=
    549 PACKAGE_VERSION=
    550 PACKAGE_STRING=
    551 PACKAGE_BUGREPORT=
    552 PACKAGE_URL=
    553 
    554 ac_unique_file="move-if-change"
    555 enable_option_checking=no
    556 ac_subst_vars='LTLIBOBJS
    557 LIBOBJS
    558 compare_exclusions
    559 host_shared
    560 stage2_werror_flag
    561 stage1_checking
    562 stage1_cflags
    563 MAINT
    564 MAINTAINER_MODE_FALSE
    565 MAINTAINER_MODE_TRUE
    566 COMPILER_NM_FOR_TARGET
    567 COMPILER_LD_FOR_TARGET
    568 COMPILER_AS_FOR_TARGET
    569 FLAGS_FOR_TARGET
    570 RAW_CXX_FOR_TARGET
    571 WINDMC_FOR_TARGET
    572 WINDRES_FOR_TARGET
    573 STRIP_FOR_TARGET
    574 READELF_FOR_TARGET
    575 RANLIB_FOR_TARGET
    576 OBJDUMP_FOR_TARGET
    577 OBJCOPY_FOR_TARGET
    578 NM_FOR_TARGET
    579 LIPO_FOR_TARGET
    580 LD_FOR_TARGET
    581 DLLTOOL_FOR_TARGET
    582 AS_FOR_TARGET
    583 AR_FOR_TARGET
    584 GOC_FOR_TARGET
    585 GFORTRAN_FOR_TARGET
    586 GCJ_FOR_TARGET
    587 GCC_FOR_TARGET
    588 CXX_FOR_TARGET
    589 CC_FOR_TARGET
    590 READELF
    591 OBJDUMP
    592 OBJCOPY
    593 WINDMC
    594 WINDRES
    595 STRIP
    596 RANLIB
    597 NM
    598 LIPO
    599 LD
    600 DLLTOOL
    601 AS
    602 AR
    603 RUNTEST
    604 EXPECT
    605 MAKEINFO
    606 FLEX
    607 LEX
    608 M4
    609 BISON
    610 YACC
    611 WINDRES_FOR_BUILD
    612 WINDMC_FOR_BUILD
    613 RANLIB_FOR_BUILD
    614 NM_FOR_BUILD
    615 LD_FOR_BUILD
    616 LDFLAGS_FOR_BUILD
    617 GOC_FOR_BUILD
    618 GFORTRAN_FOR_BUILD
    619 GCJ_FOR_BUILD
    620 DLLTOOL_FOR_BUILD
    621 CXX_FOR_BUILD
    622 CXXFLAGS_FOR_BUILD
    623 CFLAGS_FOR_BUILD
    624 CC_FOR_BUILD
    625 AS_FOR_BUILD
    626 AR_FOR_BUILD
    627 target_configdirs
    628 configdirs
    629 build_configdirs
    630 INSTALL_GDB_TK
    631 GDB_TK
    632 CONFIGURE_GDB_TK
    633 build_tooldir
    634 tooldir
    635 GCC_SHLIB_SUBDIR
    636 RPATH_ENVVAR
    637 target_configargs
    638 host_configargs
    639 build_configargs
    640 BUILD_CONFIG
    641 LDFLAGS_FOR_TARGET
    642 CXXFLAGS_FOR_TARGET
    643 CFLAGS_FOR_TARGET
    644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
    645 SYSROOT_CFLAGS_FOR_TARGET
    646 extra_host_zlib_configure_flags
    647 extra_host_libiberty_configure_flags
    648 stage1_languages
    649 extra_linker_plugin_flags
    650 extra_linker_plugin_configure_flags
    651 islinc
    652 isllibs
    653 islver
    654 poststage1_ldflags
    655 poststage1_libs
    656 stage1_ldflags
    657 stage1_libs
    658 extra_isl_gmp_configure_flags
    659 extra_mpc_mpfr_configure_flags
    660 extra_mpc_gmp_configure_flags
    661 extra_mpfr_configure_flags
    662 gmpinc
    663 gmplibs
    664 do_compare
    665 GNATMAKE
    666 GNATBIND
    667 ac_ct_CXX
    668 CXXFLAGS
    669 CXX
    670 OBJEXT
    671 EXEEXT
    672 ac_ct_CC
    673 CPPFLAGS
    674 LDFLAGS
    675 CFLAGS
    676 CC
    677 EXTRA_CONFIGARGS_LIBJAVA
    678 extra_liboffloadmic_configure_flags
    679 target_subdir
    680 host_subdir
    681 build_subdir
    682 build_libsubdir
    683 AWK
    684 SED
    685 LN_S
    686 LN
    687 INSTALL_DATA
    688 INSTALL_SCRIPT
    689 INSTALL_PROGRAM
    690 target_os
    691 target_vendor
    692 target_cpu
    693 target
    694 host_os
    695 host_vendor
    696 host_cpu
    697 host
    698 target_noncanonical
    699 host_noncanonical
    700 build_noncanonical
    701 build_os
    702 build_vendor
    703 build_cpu
    704 build
    705 TOPLEVEL_CONFIGURE_ARGUMENTS
    706 target_alias
    707 host_alias
    708 build_alias
    709 LIBS
    710 ECHO_T
    711 ECHO_N
    712 ECHO_C
    713 DEFS
    714 mandir
    715 localedir
    716 libdir
    717 psdir
    718 pdfdir
    719 dvidir
    720 htmldir
    721 infodir
    722 docdir
    723 oldincludedir
    724 includedir
    725 localstatedir
    726 sharedstatedir
    727 sysconfdir
    728 datadir
    729 datarootdir
    730 libexecdir
    731 sbindir
    732 bindir
    733 program_transform_name
    734 prefix
    735 exec_prefix
    736 PACKAGE_URL
    737 PACKAGE_BUGREPORT
    738 PACKAGE_STRING
    739 PACKAGE_VERSION
    740 PACKAGE_TARNAME
    741 PACKAGE_NAME
    742 PATH_SEPARATOR
    743 SHELL'
    744 ac_subst_files='serialization_dependencies
    745 host_makefile_frag
    746 target_makefile_frag
    747 alphaieee_frag
    748 ospace_frag'
    749 ac_user_opts='
    750 enable_option_checking
    751 with_build_libsubdir
    752 with_system_zlib
    753 enable_as_accelerator_for
    754 enable_offload_targets
    755 enable_gold
    756 enable_ld
    757 enable_compressed_debug_sections
    758 enable_libquadmath
    759 enable_libquadmath_support
    760 enable_libada
    761 enable_libssp
    762 enable_libstdcxx
    763 enable_liboffloadmic
    764 enable_static_libjava
    765 enable_bootstrap
    766 with_mpc
    767 with_mpc_include
    768 with_mpc_lib
    769 with_mpfr_dir
    770 with_mpfr
    771 with_mpfr_include
    772 with_mpfr_lib
    773 with_gmp_dir
    774 with_gmp
    775 with_gmp_include
    776 with_gmp_lib
    777 with_stage1_libs
    778 with_stage1_ldflags
    779 with_boot_libs
    780 with_boot_ldflags
    781 with_isl
    782 with_isl_include
    783 with_isl_lib
    784 enable_isl_version_check
    785 enable_lto
    786 enable_linker_plugin_configure_flags
    787 enable_linker_plugin_flags
    788 enable_stage1_languages
    789 enable_objc_gc
    790 with_build_sysroot
    791 with_debug_prefix_map
    792 with_build_config
    793 enable_vtable_verify
    794 enable_serial_configure
    795 with_build_time_tools
    796 enable_maintainer_mode
    797 enable_stage1_checking
    798 enable_werror
    799 enable_host_shared
    800 '
    801       ac_precious_vars='build_alias
    802 host_alias
    803 target_alias
    804 CC
    805 CFLAGS
    806 LDFLAGS
    807 LIBS
    808 CPPFLAGS
    809 CXX
    810 CXXFLAGS
    811 CCC
    812 build_configargs
    813 host_configargs
    814 target_configargs
    815 AR
    816 AS
    817 DLLTOOL
    818 LD
    819 LIPO
    820 NM
    821 RANLIB
    822 STRIP
    823 WINDRES
    824 WINDMC
    825 OBJCOPY
    826 OBJDUMP
    827 READELF
    828 CC_FOR_TARGET
    829 CXX_FOR_TARGET
    830 GCC_FOR_TARGET
    831 GCJ_FOR_TARGET
    832 GFORTRAN_FOR_TARGET
    833 GOC_FOR_TARGET
    834 AR_FOR_TARGET
    835 AS_FOR_TARGET
    836 DLLTOOL_FOR_TARGET
    837 LD_FOR_TARGET
    838 LIPO_FOR_TARGET
    839 NM_FOR_TARGET
    840 OBJCOPY_FOR_TARGET
    841 OBJDUMP_FOR_TARGET
    842 RANLIB_FOR_TARGET
    843 READELF_FOR_TARGET
    844 STRIP_FOR_TARGET
    845 WINDRES_FOR_TARGET
    846 WINDMC_FOR_TARGET'
    847 
    848 
    849 # Initialize some variables set by options.
    850 ac_init_help=
    851 ac_init_version=false
    852 ac_unrecognized_opts=
    853 ac_unrecognized_sep=
    854 # The variables have the same names as the options, with
    855 # dashes changed to underlines.
    856 cache_file=/dev/null
    857 exec_prefix=NONE
    858 no_create=
    859 no_recursion=
    860 prefix=NONE
    861 program_prefix=NONE
    862 program_suffix=NONE
    863 program_transform_name=s,x,x,
    864 silent=
    865 site=
    866 srcdir=
    867 verbose=
    868 x_includes=NONE
    869 x_libraries=NONE
    870 
    871 # Installation directory options.
    872 # These are left unexpanded so users can "make install exec_prefix=/foo"
    873 # and all the variables that are supposed to be based on exec_prefix
    874 # by default will actually change.
    875 # Use braces instead of parens because sh, perl, etc. also accept them.
    876 # (The list follows the same order as the GNU Coding Standards.)
    877 bindir='${exec_prefix}/bin'
    878 sbindir='${exec_prefix}/sbin'
    879 libexecdir='${exec_prefix}/libexec'
    880 datarootdir='${prefix}/share'
    881 datadir='${datarootdir}'
    882 sysconfdir='${prefix}/etc'
    883 sharedstatedir='${prefix}/com'
    884 localstatedir='${prefix}/var'
    885 includedir='${prefix}/include'
    886 oldincludedir='/usr/include'
    887 docdir='${datarootdir}/doc/${PACKAGE}'
    888 infodir='${datarootdir}/info'
    889 htmldir='${docdir}'
    890 dvidir='${docdir}'
    891 pdfdir='${docdir}'
    892 psdir='${docdir}'
    893 libdir='${exec_prefix}/lib'
    894 localedir='${datarootdir}/locale'
    895 mandir='${datarootdir}/man'
    896 
    897 ac_prev=
    898 ac_dashdash=
    899 for ac_option
    900 do
    901   # If the previous option needs an argument, assign it.
    902   if test -n "$ac_prev"; then
    903     eval $ac_prev=\$ac_option
    904     ac_prev=
    905     continue
    906   fi
    907 
    908   case $ac_option in
    909   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    910   *)	ac_optarg=yes ;;
    911   esac
    912 
    913   # Accept the important Cygnus configure options, so we can diagnose typos.
    914 
    915   case $ac_dashdash$ac_option in
    916   --)
    917     ac_dashdash=yes ;;
    918 
    919   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    920     ac_prev=bindir ;;
    921   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    922     bindir=$ac_optarg ;;
    923 
    924   -build | --build | --buil | --bui | --bu)
    925     ac_prev=build_alias ;;
    926   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    927     build_alias=$ac_optarg ;;
    928 
    929   -cache-file | --cache-file | --cache-fil | --cache-fi \
    930   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    931     ac_prev=cache_file ;;
    932   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    933   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    934     cache_file=$ac_optarg ;;
    935 
    936   --config-cache | -C)
    937     cache_file=config.cache ;;
    938 
    939   -datadir | --datadir | --datadi | --datad)
    940     ac_prev=datadir ;;
    941   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    942     datadir=$ac_optarg ;;
    943 
    944   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    945   | --dataroo | --dataro | --datar)
    946     ac_prev=datarootdir ;;
    947   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    948   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    949     datarootdir=$ac_optarg ;;
    950 
    951   -disable-* | --disable-*)
    952     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    953     # Reject names that are not valid shell variable names.
    954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    955       as_fn_error "invalid feature name: $ac_useropt"
    956     ac_useropt_orig=$ac_useropt
    957     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    958     case $ac_user_opts in
    959       *"
    960 "enable_$ac_useropt"
    961 "*) ;;
    962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    963 	 ac_unrecognized_sep=', ';;
    964     esac
    965     eval enable_$ac_useropt=no ;;
    966 
    967   -docdir | --docdir | --docdi | --doc | --do)
    968     ac_prev=docdir ;;
    969   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    970     docdir=$ac_optarg ;;
    971 
    972   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    973     ac_prev=dvidir ;;
    974   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    975     dvidir=$ac_optarg ;;
    976 
    977   -enable-* | --enable-*)
    978     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    979     # Reject names that are not valid shell variable names.
    980     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    981       as_fn_error "invalid feature name: $ac_useropt"
    982     ac_useropt_orig=$ac_useropt
    983     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    984     case $ac_user_opts in
    985       *"
    986 "enable_$ac_useropt"
    987 "*) ;;
    988       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    989 	 ac_unrecognized_sep=', ';;
    990     esac
    991     eval enable_$ac_useropt=\$ac_optarg ;;
    992 
    993   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    994   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    995   | --exec | --exe | --ex)
    996     ac_prev=exec_prefix ;;
    997   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    998   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    999   | --exec=* | --exe=* | --ex=*)
   1000     exec_prefix=$ac_optarg ;;
   1001 
   1002   -gas | --gas | --ga | --g)
   1003     # Obsolete; use --with-gas.
   1004     with_gas=yes ;;
   1005 
   1006   -help | --help | --hel | --he | -h)
   1007     ac_init_help=long ;;
   1008   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1009     ac_init_help=recursive ;;
   1010   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1011     ac_init_help=short ;;
   1012 
   1013   -host | --host | --hos | --ho)
   1014     ac_prev=host_alias ;;
   1015   -host=* | --host=* | --hos=* | --ho=*)
   1016     host_alias=$ac_optarg ;;
   1017 
   1018   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1019     ac_prev=htmldir ;;
   1020   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1021   | --ht=*)
   1022     htmldir=$ac_optarg ;;
   1023 
   1024   -includedir | --includedir | --includedi | --included | --include \
   1025   | --includ | --inclu | --incl | --inc)
   1026     ac_prev=includedir ;;
   1027   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1028   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1029     includedir=$ac_optarg ;;
   1030 
   1031   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1032     ac_prev=infodir ;;
   1033   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1034     infodir=$ac_optarg ;;
   1035 
   1036   -libdir | --libdir | --libdi | --libd)
   1037     ac_prev=libdir ;;
   1038   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1039     libdir=$ac_optarg ;;
   1040 
   1041   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1042   | --libexe | --libex | --libe)
   1043     ac_prev=libexecdir ;;
   1044   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1045   | --libexe=* | --libex=* | --libe=*)
   1046     libexecdir=$ac_optarg ;;
   1047 
   1048   -localedir | --localedir | --localedi | --localed | --locale)
   1049     ac_prev=localedir ;;
   1050   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1051     localedir=$ac_optarg ;;
   1052 
   1053   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1054   | --localstate | --localstat | --localsta | --localst | --locals)
   1055     ac_prev=localstatedir ;;
   1056   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1057   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1058     localstatedir=$ac_optarg ;;
   1059 
   1060   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1061     ac_prev=mandir ;;
   1062   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1063     mandir=$ac_optarg ;;
   1064 
   1065   -nfp | --nfp | --nf)
   1066     # Obsolete; use --without-fp.
   1067     with_fp=no ;;
   1068 
   1069   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1070   | --no-cr | --no-c | -n)
   1071     no_create=yes ;;
   1072 
   1073   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1074   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1075     no_recursion=yes ;;
   1076 
   1077   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1078   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1079   | --oldin | --oldi | --old | --ol | --o)
   1080     ac_prev=oldincludedir ;;
   1081   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1082   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1083   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1084     oldincludedir=$ac_optarg ;;
   1085 
   1086   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1087     ac_prev=prefix ;;
   1088   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1089     prefix=$ac_optarg ;;
   1090 
   1091   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1092   | --program-pre | --program-pr | --program-p)
   1093     ac_prev=program_prefix ;;
   1094   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1095   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1096     program_prefix=$ac_optarg ;;
   1097 
   1098   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1099   | --program-suf | --program-su | --program-s)
   1100     ac_prev=program_suffix ;;
   1101   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1102   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1103     program_suffix=$ac_optarg ;;
   1104 
   1105   -program-transform-name | --program-transform-name \
   1106   | --program-transform-nam | --program-transform-na \
   1107   | --program-transform-n | --program-transform- \
   1108   | --program-transform | --program-transfor \
   1109   | --program-transfo | --program-transf \
   1110   | --program-trans | --program-tran \
   1111   | --progr-tra | --program-tr | --program-t)
   1112     ac_prev=program_transform_name ;;
   1113   -program-transform-name=* | --program-transform-name=* \
   1114   | --program-transform-nam=* | --program-transform-na=* \
   1115   | --program-transform-n=* | --program-transform-=* \
   1116   | --program-transform=* | --program-transfor=* \
   1117   | --program-transfo=* | --program-transf=* \
   1118   | --program-trans=* | --program-tran=* \
   1119   | --progr-tra=* | --program-tr=* | --program-t=*)
   1120     program_transform_name=$ac_optarg ;;
   1121 
   1122   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1123     ac_prev=pdfdir ;;
   1124   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1125     pdfdir=$ac_optarg ;;
   1126 
   1127   -psdir | --psdir | --psdi | --psd | --ps)
   1128     ac_prev=psdir ;;
   1129   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1130     psdir=$ac_optarg ;;
   1131 
   1132   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1133   | -silent | --silent | --silen | --sile | --sil)
   1134     silent=yes ;;
   1135 
   1136   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1137     ac_prev=sbindir ;;
   1138   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1139   | --sbi=* | --sb=*)
   1140     sbindir=$ac_optarg ;;
   1141 
   1142   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1143   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1144   | --sharedst | --shareds | --shared | --share | --shar \
   1145   | --sha | --sh)
   1146     ac_prev=sharedstatedir ;;
   1147   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1148   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1149   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1150   | --sha=* | --sh=*)
   1151     sharedstatedir=$ac_optarg ;;
   1152 
   1153   -site | --site | --sit)
   1154     ac_prev=site ;;
   1155   -site=* | --site=* | --sit=*)
   1156     site=$ac_optarg ;;
   1157 
   1158   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1159     ac_prev=srcdir ;;
   1160   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1161     srcdir=$ac_optarg ;;
   1162 
   1163   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1164   | --syscon | --sysco | --sysc | --sys | --sy)
   1165     ac_prev=sysconfdir ;;
   1166   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1167   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1168     sysconfdir=$ac_optarg ;;
   1169 
   1170   -target | --target | --targe | --targ | --tar | --ta | --t)
   1171     ac_prev=target_alias ;;
   1172   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1173     target_alias=$ac_optarg ;;
   1174 
   1175   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1176     verbose=yes ;;
   1177 
   1178   -version | --version | --versio | --versi | --vers | -V)
   1179     ac_init_version=: ;;
   1180 
   1181   -with-* | --with-*)
   1182     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1183     # Reject names that are not valid shell variable names.
   1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1185       as_fn_error "invalid package name: $ac_useropt"
   1186     ac_useropt_orig=$ac_useropt
   1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1188     case $ac_user_opts in
   1189       *"
   1190 "with_$ac_useropt"
   1191 "*) ;;
   1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1193 	 ac_unrecognized_sep=', ';;
   1194     esac
   1195     eval with_$ac_useropt=\$ac_optarg ;;
   1196 
   1197   -without-* | --without-*)
   1198     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1199     # Reject names that are not valid shell variable names.
   1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1201       as_fn_error "invalid package name: $ac_useropt"
   1202     ac_useropt_orig=$ac_useropt
   1203     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1204     case $ac_user_opts in
   1205       *"
   1206 "with_$ac_useropt"
   1207 "*) ;;
   1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1209 	 ac_unrecognized_sep=', ';;
   1210     esac
   1211     eval with_$ac_useropt=no ;;
   1212 
   1213   --x)
   1214     # Obsolete; use --with-x.
   1215     with_x=yes ;;
   1216 
   1217   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1218   | --x-incl | --x-inc | --x-in | --x-i)
   1219     ac_prev=x_includes ;;
   1220   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1221   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1222     x_includes=$ac_optarg ;;
   1223 
   1224   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1225   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1226     ac_prev=x_libraries ;;
   1227   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1228   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1229     x_libraries=$ac_optarg ;;
   1230 
   1231   -*) as_fn_error "unrecognized option: \`$ac_option'
   1232 Try \`$0 --help' for more information."
   1233     ;;
   1234 
   1235   *=*)
   1236     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1237     # Reject names that are not valid shell variable names.
   1238     case $ac_envvar in #(
   1239       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1240       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1241     esac
   1242     eval $ac_envvar=\$ac_optarg
   1243     export $ac_envvar ;;
   1244 
   1245   *)
   1246     # FIXME: should be removed in autoconf 3.0.
   1247     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1248     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1249       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1250     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1251     ;;
   1252 
   1253   esac
   1254 done
   1255 
   1256 if test -n "$ac_prev"; then
   1257   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1258   as_fn_error "missing argument to $ac_option"
   1259 fi
   1260 
   1261 if test -n "$ac_unrecognized_opts"; then
   1262   case $enable_option_checking in
   1263     no) ;;
   1264     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1265     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1266   esac
   1267 fi
   1268 
   1269 # Check all directory arguments for consistency.
   1270 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1271 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1272 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1273 		libdir localedir mandir
   1274 do
   1275   eval ac_val=\$$ac_var
   1276   # Remove trailing slashes.
   1277   case $ac_val in
   1278     */ )
   1279       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1280       eval $ac_var=\$ac_val;;
   1281   esac
   1282   # Be sure to have absolute directory names.
   1283   case $ac_val in
   1284     [\\/$]* | ?:[\\/]* )  continue;;
   1285     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1286   esac
   1287   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1288 done
   1289 
   1290 # There might be people who depend on the old broken behavior: `$host'
   1291 # used to hold the argument of --host etc.
   1292 # FIXME: To remove some day.
   1293 build=$build_alias
   1294 host=$host_alias
   1295 target=$target_alias
   1296 
   1297 # FIXME: To remove some day.
   1298 if test "x$host_alias" != x; then
   1299   if test "x$build_alias" = x; then
   1300     cross_compiling=maybe
   1301     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1302     If a cross compiler is detected then cross compile mode will be used." >&2
   1303   elif test "x$build_alias" != "x$host_alias"; then
   1304     cross_compiling=yes
   1305   fi
   1306 fi
   1307 
   1308 ac_tool_prefix=
   1309 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1310 
   1311 test "$silent" = yes && exec 6>/dev/null
   1312 
   1313 
   1314 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1315 ac_ls_di=`ls -di .` &&
   1316 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1317   as_fn_error "working directory cannot be determined"
   1318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1319   as_fn_error "pwd does not report name of working directory"
   1320 
   1321 
   1322 # Find the source files, if location was not specified.
   1323 if test -z "$srcdir"; then
   1324   ac_srcdir_defaulted=yes
   1325   # Try the directory containing this script, then the parent directory.
   1326   ac_confdir=`$as_dirname -- "$as_myself" ||
   1327 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1328 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1329 	 X"$as_myself" : 'X\(//\)$' \| \
   1330 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1331 $as_echo X"$as_myself" |
   1332     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1333 	    s//\1/
   1334 	    q
   1335 	  }
   1336 	  /^X\(\/\/\)[^/].*/{
   1337 	    s//\1/
   1338 	    q
   1339 	  }
   1340 	  /^X\(\/\/\)$/{
   1341 	    s//\1/
   1342 	    q
   1343 	  }
   1344 	  /^X\(\/\).*/{
   1345 	    s//\1/
   1346 	    q
   1347 	  }
   1348 	  s/.*/./; q'`
   1349   srcdir=$ac_confdir
   1350   if test ! -r "$srcdir/$ac_unique_file"; then
   1351     srcdir=..
   1352   fi
   1353 else
   1354   ac_srcdir_defaulted=no
   1355 fi
   1356 if test ! -r "$srcdir/$ac_unique_file"; then
   1357   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1358   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1359 fi
   1360 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1361 ac_abs_confdir=`(
   1362 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1363 	pwd)`
   1364 # When building in place, set srcdir=.
   1365 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1366   srcdir=.
   1367 fi
   1368 # Remove unnecessary trailing slashes from srcdir.
   1369 # Double slashes in file names in object file debugging info
   1370 # mess up M-x gdb in Emacs.
   1371 case $srcdir in
   1372 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1373 esac
   1374 case $srcdir in
   1375   *" "*)
   1376     as_fn_error "path to source, $srcdir, contains spaces"
   1377     ;;
   1378 esac
   1379 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
   1380 
   1381 for ac_var in $ac_precious_vars; do
   1382   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1383   eval ac_env_${ac_var}_value=\$${ac_var}
   1384   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1385   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1386 done
   1387 
   1388 #
   1389 # Report the --help message.
   1390 #
   1391 if test "$ac_init_help" = "long"; then
   1392   # Omit some internal or obsolete options to make the list less imposing.
   1393   # This message is too long to be a string in the A/UX 3.1 sh.
   1394   cat <<_ACEOF
   1395 \`configure' configures this package to adapt to many kinds of systems.
   1396 
   1397 Usage: $0 [OPTION]... [VAR=VALUE]...
   1398 
   1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1400 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1401 
   1402 Defaults for the options are specified in brackets.
   1403 
   1404 Configuration:
   1405   -h, --help              display this help and exit
   1406       --help=short        display options specific to this package
   1407       --help=recursive    display the short help of all the included packages
   1408   -V, --version           display version information and exit
   1409   -q, --quiet, --silent   do not print \`checking...' messages
   1410       --cache-file=FILE   cache test results in FILE [disabled]
   1411   -C, --config-cache      alias for \`--cache-file=config.cache'
   1412   -n, --no-create         do not create output files
   1413       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1414 
   1415 Installation directories:
   1416   --prefix=PREFIX         install architecture-independent files in PREFIX
   1417                           [$ac_default_prefix]
   1418   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1419                           [PREFIX]
   1420 
   1421 By default, \`make install' will install all the files in
   1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1424 for instance \`--prefix=\$HOME'.
   1425 
   1426 For better control, use the options below.
   1427 
   1428 Fine tuning of the installation directories:
   1429   --bindir=DIR            user executables [EPREFIX/bin]
   1430   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1431   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1432   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1433   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1434   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1435   --libdir=DIR            object code libraries [EPREFIX/lib]
   1436   --includedir=DIR        C header files [PREFIX/include]
   1437   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1438   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1439   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1440   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1441   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1442   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1443   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1444   --htmldir=DIR           html documentation [DOCDIR]
   1445   --dvidir=DIR            dvi documentation [DOCDIR]
   1446   --pdfdir=DIR            pdf documentation [DOCDIR]
   1447   --psdir=DIR             ps documentation [DOCDIR]
   1448 _ACEOF
   1449 
   1450   cat <<\_ACEOF
   1451 
   1452 Program names:
   1453   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1454   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1455   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1456 
   1457 System types:
   1458   --build=BUILD     configure for building on BUILD [guessed]
   1459   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1460   --target=TARGET   configure for building compilers for TARGET [HOST]
   1461 _ACEOF
   1462 fi
   1463 
   1464 if test -n "$ac_init_help"; then
   1465 
   1466   cat <<\_ACEOF
   1467 
   1468 Optional Features:
   1469   --disable-option-checking  ignore unrecognized --enable/--with options
   1470   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1471   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1472   --enable-as-accelerator-for=ARG
   1473                           build as offload target compiler. Specify offload
   1474                           host triple by ARG
   1475   --enable-offload-targets=LIST
   1476                           enable offloading to devices from comma-separated
   1477                           LIST of TARGET[=DIR]. Use optional path to find
   1478                           offload target compiler during the build
   1479   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
   1480   --enable-ld[=ARG]       build ld [ARG={default,yes,no}]
   1481   --enable-compressed-debug-sections={all,gas,gold,ld,none}
   1482                           Enable compressed debug sections for gas, gold or ld
   1483                           by default
   1484   --disable-libquadmath   do not build libquadmath directory
   1485   --disable-libquadmath-support
   1486                           disable libquadmath support for Fortran
   1487   --enable-libada         build libada directory
   1488   --enable-libssp         build libssp directory
   1489   --disable-libstdcxx     do not build libstdc++-v3 directory
   1490   --enable-liboffloadmic=ARG
   1491                           build liboffloadmic [ARG={no,host,target}]
   1492   --enable-static-libjava[=ARG]
   1493                           build static libjava [default=no]
   1494   --enable-bootstrap      enable bootstrapping [yes if native build]
   1495   --disable-isl-version-check
   1496                           disable check for isl version
   1497   --enable-lto            enable link time optimization support
   1498   --enable-linker-plugin-configure-flags=FLAGS
   1499                           additional flags for configuring linker plugins
   1500                           [none]
   1501   --enable-linker-plugin-flags=FLAGS
   1502                           additional flags for configuring and building linker
   1503                           plugins [none]
   1504   --enable-stage1-languages[=all]
   1505                           choose additional languages to build during stage1.
   1506                           Mostly useful for compiler development
   1507   --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
   1508                           Objective-C runtime
   1509   --enable-vtable-verify  Enable vtable verification feature
   1510   --enable-serial-[{host,target,build}-]configure
   1511                           force sequential configuration of sub-packages for
   1512                           the host, target or build machine, or all
   1513                           sub-packages
   1514   --enable-maintainer-mode
   1515                           enable make rules and dependencies not useful (and
   1516                           sometimes confusing) to the casual installer
   1517   --enable-stage1-checking[=all]
   1518                           choose additional checking for stage1 of the
   1519                           compiler
   1520   --enable-werror         enable -Werror in bootstrap stage2 and later
   1521   --enable-host-shared    build host code as shared libraries
   1522 
   1523 Optional Packages:
   1524   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1525   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1526   --with-build-libsubdir=DIR  Directory where to find libraries for build system
   1527   --with-system-zlib      use installed libz
   1528   --with-mpc=PATH         specify prefix directory for installed MPC package.
   1529                           Equivalent to --with-mpc-include=PATH/include plus
   1530                           --with-mpc-lib=PATH/lib
   1531   --with-mpc-include=PATH specify directory for installed MPC include files
   1532   --with-mpc-lib=PATH     specify directory for the installed MPC library
   1533   --with-mpfr-dir=PATH    this option has been REMOVED
   1534   --with-mpfr=PATH        specify prefix directory for installed MPFR package.
   1535                           Equivalent to --with-mpfr-include=PATH/include plus
   1536                           --with-mpfr-lib=PATH/lib
   1537   --with-mpfr-include=PATH
   1538                           specify directory for installed MPFR include files
   1539   --with-mpfr-lib=PATH    specify directory for the installed MPFR library
   1540   --with-gmp-dir=PATH     this option has been REMOVED
   1541   --with-gmp=PATH         specify prefix directory for the installed GMP
   1542                           package. Equivalent to
   1543                           --with-gmp-include=PATH/include plus
   1544                           --with-gmp-lib=PATH/lib
   1545   --with-gmp-include=PATH specify directory for installed GMP include files
   1546   --with-gmp-lib=PATH     specify directory for the installed GMP library
   1547   --with-stage1-libs=LIBS libraries for stage1
   1548   --with-stage1-ldflags=FLAGS
   1549                           linker flags for stage1
   1550   --with-boot-libs=LIBS   libraries for stage2 and later
   1551   --with-boot-ldflags=FLAGS
   1552                           linker flags for stage2 and later
   1553   --with-isl=PATH         Specify prefix directory for the installed isl
   1554                           package. Equivalent to
   1555                           --with-isl-include=PATH/include plus
   1556                           --with-isl-lib=PATH/lib
   1557   --with-isl-include=PATH Specify directory for installed isl include files
   1558   --with-isl-lib=PATH     Specify the directory for the installed isl library
   1559   --with-build-sysroot=SYSROOT
   1560                           use sysroot as the system root during the build
   1561   --with-debug-prefix-map='A=B C=D ...'
   1562                           map A to B, C to D ... in debug information
   1563   --with-build-config='NAME NAME2...'
   1564                           use config/NAME.mk build configuration
   1565   --with-build-time-tools=PATH
   1566                           use given path to find target tools during the build
   1567 
   1568 Some influential environment variables:
   1569   CC          C compiler command
   1570   CFLAGS      C compiler flags
   1571   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1572               nonstandard directory <lib dir>
   1573   LIBS        libraries to pass to the linker, e.g. -l<library>
   1574   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1575               you have headers in a nonstandard directory <include dir>
   1576   CXX         C++ compiler command
   1577   CXXFLAGS    C++ compiler flags
   1578   build_configargs
   1579               additional configure arguments for build directories
   1580   host_configargs
   1581               additional configure arguments for host directories
   1582   target_configargs
   1583               additional configure arguments for target directories
   1584   AR          AR for the host
   1585   AS          AS for the host
   1586   DLLTOOL     DLLTOOL for the host
   1587   LD          LD for the host
   1588   LIPO        LIPO for the host
   1589   NM          NM for the host
   1590   RANLIB      RANLIB for the host
   1591   STRIP       STRIP for the host
   1592   WINDRES     WINDRES for the host
   1593   WINDMC      WINDMC for the host
   1594   OBJCOPY     OBJCOPY for the host
   1595   OBJDUMP     OBJDUMP for the host
   1596   READELF     READELF for the host
   1597   CC_FOR_TARGET
   1598               CC for the target
   1599   CXX_FOR_TARGET
   1600               CXX for the target
   1601   GCC_FOR_TARGET
   1602               GCC for the target
   1603   GCJ_FOR_TARGET
   1604               GCJ for the target
   1605   GFORTRAN_FOR_TARGET
   1606               GFORTRAN for the target
   1607   GOC_FOR_TARGET
   1608               GOC for the target
   1609   AR_FOR_TARGET
   1610               AR for the target
   1611   AS_FOR_TARGET
   1612               AS for the target
   1613   DLLTOOL_FOR_TARGET
   1614               DLLTOOL for the target
   1615   LD_FOR_TARGET
   1616               LD for the target
   1617   LIPO_FOR_TARGET
   1618               LIPO for the target
   1619   NM_FOR_TARGET
   1620               NM for the target
   1621   OBJCOPY_FOR_TARGET
   1622               OBJCOPY for the target
   1623   OBJDUMP_FOR_TARGET
   1624               OBJDUMP for the target
   1625   RANLIB_FOR_TARGET
   1626               RANLIB for the target
   1627   READELF_FOR_TARGET
   1628               READELF for the target
   1629   STRIP_FOR_TARGET
   1630               STRIP for the target
   1631   WINDRES_FOR_TARGET
   1632               WINDRES for the target
   1633   WINDMC_FOR_TARGET
   1634               WINDMC for the target
   1635 
   1636 Use these variables to override the choices made by `configure' or to help
   1637 it to find libraries and programs with nonstandard names/locations.
   1638 
   1639 Report bugs to the package provider.
   1640 _ACEOF
   1641 ac_status=$?
   1642 fi
   1643 
   1644 if test "$ac_init_help" = "recursive"; then
   1645   # If there are subdirs, report their specific --help.
   1646   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1647     test -d "$ac_dir" ||
   1648       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1649       continue
   1650     ac_builddir=.
   1651 
   1652 case "$ac_dir" in
   1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1654 *)
   1655   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1656   # A ".." for each directory in $ac_dir_suffix.
   1657   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1658   case $ac_top_builddir_sub in
   1659   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1660   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1661   esac ;;
   1662 esac
   1663 ac_abs_top_builddir=$ac_pwd
   1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1665 # for backward compatibility:
   1666 ac_top_builddir=$ac_top_build_prefix
   1667 
   1668 case $srcdir in
   1669   .)  # We are building in place.
   1670     ac_srcdir=.
   1671     ac_top_srcdir=$ac_top_builddir_sub
   1672     ac_abs_top_srcdir=$ac_pwd ;;
   1673   [\\/]* | ?:[\\/]* )  # Absolute name.
   1674     ac_srcdir=$srcdir$ac_dir_suffix;
   1675     ac_top_srcdir=$srcdir
   1676     ac_abs_top_srcdir=$srcdir ;;
   1677   *) # Relative name.
   1678     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1679     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1680     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1681 esac
   1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1683 
   1684     cd "$ac_dir" || { ac_status=$?; continue; }
   1685     # Check for guested configure.
   1686     if test -f "$ac_srcdir/configure.gnu"; then
   1687       echo &&
   1688       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1689     elif test -f "$ac_srcdir/configure"; then
   1690       echo &&
   1691       $SHELL "$ac_srcdir/configure" --help=recursive
   1692     else
   1693       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1694     fi || ac_status=$?
   1695     cd "$ac_pwd" || { ac_status=$?; break; }
   1696   done
   1697 fi
   1698 
   1699 test -n "$ac_init_help" && exit $ac_status
   1700 if $ac_init_version; then
   1701   cat <<\_ACEOF
   1702 configure
   1703 generated by GNU Autoconf 2.64
   1704 
   1705 Copyright (C) 2009 Free Software Foundation, Inc.
   1706 This configure script is free software; the Free Software Foundation
   1707 gives unlimited permission to copy, distribute and modify it.
   1708 _ACEOF
   1709   exit
   1710 fi
   1711 
   1712 ## ------------------------ ##
   1713 ## Autoconf initialization. ##
   1714 ## ------------------------ ##
   1715 
   1716 # ac_fn_c_try_compile LINENO
   1717 # --------------------------
   1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1719 ac_fn_c_try_compile ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   rm -f conftest.$ac_objext
   1723   if { { ac_try="$ac_compile"
   1724 case "(($ac_try" in
   1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1726   *) ac_try_echo=$ac_try;;
   1727 esac
   1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1729 $as_echo "$ac_try_echo"; } >&5
   1730   (eval "$ac_compile") 2>conftest.err
   1731   ac_status=$?
   1732   if test -s conftest.err; then
   1733     grep -v '^ *+' conftest.err >conftest.er1
   1734     cat conftest.er1 >&5
   1735     mv -f conftest.er1 conftest.err
   1736   fi
   1737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1738   test $ac_status = 0; } && {
   1739 	 test -z "$ac_c_werror_flag" ||
   1740 	 test ! -s conftest.err
   1741        } && test -s conftest.$ac_objext; then :
   1742   ac_retval=0
   1743 else
   1744   $as_echo "$as_me: failed program was:" >&5
   1745 sed 's/^/| /' conftest.$ac_ext >&5
   1746 
   1747 	ac_retval=1
   1748 fi
   1749   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1750   return $ac_retval
   1751 
   1752 } # ac_fn_c_try_compile
   1753 
   1754 # ac_fn_cxx_try_compile LINENO
   1755 # ----------------------------
   1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1757 ac_fn_cxx_try_compile ()
   1758 {
   1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1760   rm -f conftest.$ac_objext
   1761   if { { ac_try="$ac_compile"
   1762 case "(($ac_try" in
   1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1764   *) ac_try_echo=$ac_try;;
   1765 esac
   1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1767 $as_echo "$ac_try_echo"; } >&5
   1768   (eval "$ac_compile") 2>conftest.err
   1769   ac_status=$?
   1770   if test -s conftest.err; then
   1771     grep -v '^ *+' conftest.err >conftest.er1
   1772     cat conftest.er1 >&5
   1773     mv -f conftest.er1 conftest.err
   1774   fi
   1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1776   test $ac_status = 0; } && {
   1777 	 test -z "$ac_cxx_werror_flag" ||
   1778 	 test ! -s conftest.err
   1779        } && test -s conftest.$ac_objext; then :
   1780   ac_retval=0
   1781 else
   1782   $as_echo "$as_me: failed program was:" >&5
   1783 sed 's/^/| /' conftest.$ac_ext >&5
   1784 
   1785 	ac_retval=1
   1786 fi
   1787   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1788   return $ac_retval
   1789 
   1790 } # ac_fn_cxx_try_compile
   1791 
   1792 # ac_fn_cxx_try_link LINENO
   1793 # -------------------------
   1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1795 ac_fn_cxx_try_link ()
   1796 {
   1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1798   rm -f conftest.$ac_objext conftest$ac_exeext
   1799   if { { ac_try="$ac_link"
   1800 case "(($ac_try" in
   1801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1802   *) ac_try_echo=$ac_try;;
   1803 esac
   1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1805 $as_echo "$ac_try_echo"; } >&5
   1806   (eval "$ac_link") 2>conftest.err
   1807   ac_status=$?
   1808   if test -s conftest.err; then
   1809     grep -v '^ *+' conftest.err >conftest.er1
   1810     cat conftest.er1 >&5
   1811     mv -f conftest.er1 conftest.err
   1812   fi
   1813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1814   test $ac_status = 0; } && {
   1815 	 test -z "$ac_cxx_werror_flag" ||
   1816 	 test ! -s conftest.err
   1817        } && test -s conftest$ac_exeext && {
   1818 	 test "$cross_compiling" = yes ||
   1819 	 $as_test_x conftest$ac_exeext
   1820        }; then :
   1821   ac_retval=0
   1822 else
   1823   $as_echo "$as_me: failed program was:" >&5
   1824 sed 's/^/| /' conftest.$ac_ext >&5
   1825 
   1826 	ac_retval=1
   1827 fi
   1828   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1829   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1830   # interfere with the next link command; also delete a directory that is
   1831   # left behind by Apple's compiler.  We do this before executing the actions.
   1832   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1833   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1834   return $ac_retval
   1835 
   1836 } # ac_fn_cxx_try_link
   1837 
   1838 # ac_fn_c_try_link LINENO
   1839 # -----------------------
   1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1841 ac_fn_c_try_link ()
   1842 {
   1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1844   rm -f conftest.$ac_objext conftest$ac_exeext
   1845   if { { ac_try="$ac_link"
   1846 case "(($ac_try" in
   1847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1848   *) ac_try_echo=$ac_try;;
   1849 esac
   1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1851 $as_echo "$ac_try_echo"; } >&5
   1852   (eval "$ac_link") 2>conftest.err
   1853   ac_status=$?
   1854   if test -s conftest.err; then
   1855     grep -v '^ *+' conftest.err >conftest.er1
   1856     cat conftest.er1 >&5
   1857     mv -f conftest.er1 conftest.err
   1858   fi
   1859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1860   test $ac_status = 0; } && {
   1861 	 test -z "$ac_c_werror_flag" ||
   1862 	 test ! -s conftest.err
   1863        } && test -s conftest$ac_exeext && {
   1864 	 test "$cross_compiling" = yes ||
   1865 	 $as_test_x conftest$ac_exeext
   1866        }; then :
   1867   ac_retval=0
   1868 else
   1869   $as_echo "$as_me: failed program was:" >&5
   1870 sed 's/^/| /' conftest.$ac_ext >&5
   1871 
   1872 	ac_retval=1
   1873 fi
   1874   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1875   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1876   # interfere with the next link command; also delete a directory that is
   1877   # left behind by Apple's compiler.  We do this before executing the actions.
   1878   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1879   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1880   return $ac_retval
   1881 
   1882 } # ac_fn_c_try_link
   1883 cat >config.log <<_ACEOF
   1884 This file contains any messages produced by compilers while
   1885 running configure, to aid debugging if configure makes a mistake.
   1886 
   1887 It was created by $as_me, which was
   1888 generated by GNU Autoconf 2.64.  Invocation command line was
   1889 
   1890   $ $0 $@
   1891 
   1892 _ACEOF
   1893 exec 5>>config.log
   1894 {
   1895 cat <<_ASUNAME
   1896 ## --------- ##
   1897 ## Platform. ##
   1898 ## --------- ##
   1899 
   1900 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1901 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1902 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1903 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1904 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1905 
   1906 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1907 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1908 
   1909 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1910 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1911 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1912 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1913 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1914 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1915 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1916 
   1917 _ASUNAME
   1918 
   1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1920 for as_dir in $PATH
   1921 do
   1922   IFS=$as_save_IFS
   1923   test -z "$as_dir" && as_dir=.
   1924     $as_echo "PATH: $as_dir"
   1925   done
   1926 IFS=$as_save_IFS
   1927 
   1928 } >&5
   1929 
   1930 cat >&5 <<_ACEOF
   1931 
   1932 
   1933 ## ----------- ##
   1934 ## Core tests. ##
   1935 ## ----------- ##
   1936 
   1937 _ACEOF
   1938 
   1939 
   1940 # Keep a trace of the command line.
   1941 # Strip out --no-create and --no-recursion so they do not pile up.
   1942 # Strip out --silent because we don't want to record it for future runs.
   1943 # Also quote any args containing shell meta-characters.
   1944 # Make two passes to allow for proper duplicate-argument suppression.
   1945 ac_configure_args=
   1946 ac_configure_args0=
   1947 ac_configure_args1=
   1948 ac_must_keep_next=false
   1949 for ac_pass in 1 2
   1950 do
   1951   for ac_arg
   1952   do
   1953     case $ac_arg in
   1954     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1955     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1956     | -silent | --silent | --silen | --sile | --sil)
   1957       continue ;;
   1958     *\'*)
   1959       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1960     esac
   1961     case $ac_pass in
   1962     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1963     2)
   1964       as_fn_append ac_configure_args1 " '$ac_arg'"
   1965       if test $ac_must_keep_next = true; then
   1966 	ac_must_keep_next=false # Got value, back to normal.
   1967       else
   1968 	case $ac_arg in
   1969 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1970 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1971 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1972 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1973 	    case "$ac_configure_args0 " in
   1974 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1975 	    esac
   1976 	    ;;
   1977 	  -* ) ac_must_keep_next=true ;;
   1978 	esac
   1979       fi
   1980       as_fn_append ac_configure_args " '$ac_arg'"
   1981       ;;
   1982     esac
   1983   done
   1984 done
   1985 { ac_configure_args0=; unset ac_configure_args0;}
   1986 { ac_configure_args1=; unset ac_configure_args1;}
   1987 
   1988 # When interrupted or exit'd, cleanup temporary files, and complete
   1989 # config.log.  We remove comments because anyway the quotes in there
   1990 # would cause problems or look ugly.
   1991 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1992 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1993 trap 'exit_status=$?
   1994   # Save into config.log some information that might help in debugging.
   1995   {
   1996     echo
   1997 
   1998     cat <<\_ASBOX
   1999 ## ---------------- ##
   2000 ## Cache variables. ##
   2001 ## ---------------- ##
   2002 _ASBOX
   2003     echo
   2004     # The following way of writing the cache mishandles newlines in values,
   2005 (
   2006   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2007     eval ac_val=\$$ac_var
   2008     case $ac_val in #(
   2009     *${as_nl}*)
   2010       case $ac_var in #(
   2011       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2013       esac
   2014       case $ac_var in #(
   2015       _ | IFS | as_nl) ;; #(
   2016       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2017       *) { eval $ac_var=; unset $ac_var;} ;;
   2018       esac ;;
   2019     esac
   2020   done
   2021   (set) 2>&1 |
   2022     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2023     *${as_nl}ac_space=\ *)
   2024       sed -n \
   2025 	"s/'\''/'\''\\\\'\'''\''/g;
   2026 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2027       ;; #(
   2028     *)
   2029       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2030       ;;
   2031     esac |
   2032     sort
   2033 )
   2034     echo
   2035 
   2036     cat <<\_ASBOX
   2037 ## ----------------- ##
   2038 ## Output variables. ##
   2039 ## ----------------- ##
   2040 _ASBOX
   2041     echo
   2042     for ac_var in $ac_subst_vars
   2043     do
   2044       eval ac_val=\$$ac_var
   2045       case $ac_val in
   2046       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2047       esac
   2048       $as_echo "$ac_var='\''$ac_val'\''"
   2049     done | sort
   2050     echo
   2051 
   2052     if test -n "$ac_subst_files"; then
   2053       cat <<\_ASBOX
   2054 ## ------------------- ##
   2055 ## File substitutions. ##
   2056 ## ------------------- ##
   2057 _ASBOX
   2058       echo
   2059       for ac_var in $ac_subst_files
   2060       do
   2061 	eval ac_val=\$$ac_var
   2062 	case $ac_val in
   2063 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2064 	esac
   2065 	$as_echo "$ac_var='\''$ac_val'\''"
   2066       done | sort
   2067       echo
   2068     fi
   2069 
   2070     if test -s confdefs.h; then
   2071       cat <<\_ASBOX
   2072 ## ----------- ##
   2073 ## confdefs.h. ##
   2074 ## ----------- ##
   2075 _ASBOX
   2076       echo
   2077       cat confdefs.h
   2078       echo
   2079     fi
   2080     test "$ac_signal" != 0 &&
   2081       $as_echo "$as_me: caught signal $ac_signal"
   2082     $as_echo "$as_me: exit $exit_status"
   2083   } >&5
   2084   rm -f core *.core core.conftest.* &&
   2085     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2086     exit $exit_status
   2087 ' 0
   2088 for ac_signal in 1 2 13 15; do
   2089   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2090 done
   2091 ac_signal=0
   2092 
   2093 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2094 rm -f -r conftest* confdefs.h
   2095 
   2096 $as_echo "/* confdefs.h */" > confdefs.h
   2097 
   2098 # Predefined preprocessor variables.
   2099 
   2100 cat >>confdefs.h <<_ACEOF
   2101 #define PACKAGE_NAME "$PACKAGE_NAME"
   2102 _ACEOF
   2103 
   2104 cat >>confdefs.h <<_ACEOF
   2105 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2106 _ACEOF
   2107 
   2108 cat >>confdefs.h <<_ACEOF
   2109 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2110 _ACEOF
   2111 
   2112 cat >>confdefs.h <<_ACEOF
   2113 #define PACKAGE_STRING "$PACKAGE_STRING"
   2114 _ACEOF
   2115 
   2116 cat >>confdefs.h <<_ACEOF
   2117 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2118 _ACEOF
   2119 
   2120 cat >>confdefs.h <<_ACEOF
   2121 #define PACKAGE_URL "$PACKAGE_URL"
   2122 _ACEOF
   2123 
   2124 
   2125 # Let the site file select an alternate cache file if it wants to.
   2126 # Prefer an explicitly selected file to automatically selected ones.
   2127 ac_site_file1=NONE
   2128 ac_site_file2=NONE
   2129 if test -n "$CONFIG_SITE"; then
   2130   ac_site_file1=$CONFIG_SITE
   2131 elif test "x$prefix" != xNONE; then
   2132   ac_site_file1=$prefix/share/config.site
   2133   ac_site_file2=$prefix/etc/config.site
   2134 else
   2135   ac_site_file1=$ac_default_prefix/share/config.site
   2136   ac_site_file2=$ac_default_prefix/etc/config.site
   2137 fi
   2138 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2139 do
   2140   test "x$ac_site_file" = xNONE && continue
   2141   if test -r "$ac_site_file"; then
   2142     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2143 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2144     sed 's/^/| /' "$ac_site_file" >&5
   2145     . "$ac_site_file"
   2146   fi
   2147 done
   2148 
   2149 if test -r "$cache_file"; then
   2150   # Some versions of bash will fail to source /dev/null (special
   2151   # files actually), so we avoid doing that.
   2152   if test -f "$cache_file"; then
   2153     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2154 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2155     case $cache_file in
   2156       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2157       *)                      . "./$cache_file";;
   2158     esac
   2159   fi
   2160 else
   2161   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2162 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2163   >$cache_file
   2164 fi
   2165 
   2166 # Check that the precious variables saved in the cache have kept the same
   2167 # value.
   2168 ac_cache_corrupted=false
   2169 for ac_var in $ac_precious_vars; do
   2170   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2171   eval ac_new_set=\$ac_env_${ac_var}_set
   2172   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2173   eval ac_new_val=\$ac_env_${ac_var}_value
   2174   case $ac_old_set,$ac_new_set in
   2175     set,)
   2176       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2177 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2178       ac_cache_corrupted=: ;;
   2179     ,set)
   2180       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2181 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2182       ac_cache_corrupted=: ;;
   2183     ,);;
   2184     *)
   2185       if test "x$ac_old_val" != "x$ac_new_val"; then
   2186 	# differences in whitespace do not lead to failure.
   2187 	ac_old_val_w=`echo x $ac_old_val`
   2188 	ac_new_val_w=`echo x $ac_new_val`
   2189 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2190 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2191 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2192 	  ac_cache_corrupted=:
   2193 	else
   2194 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2195 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2196 	  eval $ac_var=\$ac_old_val
   2197 	fi
   2198 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2199 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2200 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2201 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2202       fi;;
   2203   esac
   2204   # Pass precious variables to config.status.
   2205   if test "$ac_new_set" = set; then
   2206     case $ac_new_val in
   2207     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2208     *) ac_arg=$ac_var=$ac_new_val ;;
   2209     esac
   2210     case " $ac_configure_args " in
   2211       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2212       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2213     esac
   2214   fi
   2215 done
   2216 if $ac_cache_corrupted; then
   2217   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2219   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2220 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2221   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2222 fi
   2223 ## -------------------- ##
   2224 ## Main body of script. ##
   2225 ## -------------------- ##
   2226 
   2227 ac_ext=c
   2228 ac_cpp='$CPP $CPPFLAGS'
   2229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2232 
   2233 
   2234 
   2235 
   2236 
   2237 
   2238 
   2239 
   2240 
   2241 progname=$0
   2242 # if PWD already has a value, it is probably wrong.
   2243 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
   2244 
   2245 # Export original configure arguments for use by sub-configures.
   2246 # Quote arguments with shell meta charatcers.
   2247 TOPLEVEL_CONFIGURE_ARGUMENTS=
   2248 set -- "$progname" "$@"
   2249 for ac_arg
   2250 do
   2251   case "$ac_arg" in
   2252   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
   2253     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
   2254     # if the argument is of the form -foo=baz, quote the baz part only
   2255     ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
   2256   *) ;;
   2257   esac
   2258   # Add the quoted argument to the list.
   2259   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
   2260 done
   2261 if test "$silent" = yes; then
   2262   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
   2263 fi
   2264 # Remove the initial space we just introduced and, as these will be
   2265 # expanded by make, quote '$'.
   2266 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   2267 
   2268 
   2269 # Find the build, host, and target systems.
   2270 ac_aux_dir=
   2271 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2272   for ac_t in install-sh install.sh shtool; do
   2273     if test -f "$ac_dir/$ac_t"; then
   2274       ac_aux_dir=$ac_dir
   2275       ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
   2276       break 2
   2277     fi
   2278   done
   2279 done
   2280 if test -z "$ac_aux_dir"; then
   2281   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2282 fi
   2283 
   2284 # These three variables are undocumented and unsupported,
   2285 # and are intended to be withdrawn in a future Autoconf release.
   2286 # They can cause serious problems if a builder's source tree is in a directory
   2287 # whose full name contains unusual characters.
   2288 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2289 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2290 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2291 
   2292 
   2293 # Make sure we can run config.sub.
   2294 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2295   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2296 
   2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2298 $as_echo_n "checking build system type... " >&6; }
   2299 if test "${ac_cv_build+set}" = set; then :
   2300   $as_echo_n "(cached) " >&6
   2301 else
   2302   ac_build_alias=$build_alias
   2303 test "x$ac_build_alias" = x &&
   2304   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2305 test "x$ac_build_alias" = x &&
   2306   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2307 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2308   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2309 
   2310 fi
   2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2312 $as_echo "$ac_cv_build" >&6; }
   2313 case $ac_cv_build in
   2314 *-*-*) ;;
   2315 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2316 esac
   2317 build=$ac_cv_build
   2318 ac_save_IFS=$IFS; IFS='-'
   2319 set x $ac_cv_build
   2320 shift
   2321 build_cpu=$1
   2322 build_vendor=$2
   2323 shift; shift
   2324 # Remember, the first character of IFS is used to create $*,
   2325 # except with old shells:
   2326 build_os=$*
   2327 IFS=$ac_save_IFS
   2328 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2329 
   2330 
   2331  case ${build_alias} in
   2332   "") build_noncanonical=${build} ;;
   2333   *) build_noncanonical=${build_alias} ;;
   2334 esac
   2335 
   2336 
   2337 
   2338  case ${host_alias} in
   2339   "") host_noncanonical=${build_noncanonical} ;;
   2340   *) host_noncanonical=${host_alias} ;;
   2341 esac
   2342 
   2343 
   2344 
   2345  case ${target_alias} in
   2346   "") target_noncanonical=${host_noncanonical} ;;
   2347   *) target_noncanonical=${target_alias} ;;
   2348 esac
   2349 
   2350 
   2351 
   2352 
   2353 test "$host_noncanonical" = "$target_noncanonical" &&
   2354   test "$program_prefix$program_suffix$program_transform_name" = \
   2355     NONENONEs,x,x, &&
   2356   program_transform_name=s,y,y,
   2357 
   2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2359 $as_echo_n "checking host system type... " >&6; }
   2360 if test "${ac_cv_host+set}" = set; then :
   2361   $as_echo_n "(cached) " >&6
   2362 else
   2363   if test "x$host_alias" = x; then
   2364   ac_cv_host=$ac_cv_build
   2365 else
   2366   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2367     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2368 fi
   2369 
   2370 fi
   2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2372 $as_echo "$ac_cv_host" >&6; }
   2373 case $ac_cv_host in
   2374 *-*-*) ;;
   2375 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2376 esac
   2377 host=$ac_cv_host
   2378 ac_save_IFS=$IFS; IFS='-'
   2379 set x $ac_cv_host
   2380 shift
   2381 host_cpu=$1
   2382 host_vendor=$2
   2383 shift; shift
   2384 # Remember, the first character of IFS is used to create $*,
   2385 # except with old shells:
   2386 host_os=$*
   2387 IFS=$ac_save_IFS
   2388 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2389 
   2390 
   2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2392 $as_echo_n "checking target system type... " >&6; }
   2393 if test "${ac_cv_target+set}" = set; then :
   2394   $as_echo_n "(cached) " >&6
   2395 else
   2396   if test "x$target_alias" = x; then
   2397   ac_cv_target=$ac_cv_host
   2398 else
   2399   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2400     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2401 fi
   2402 
   2403 fi
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2405 $as_echo "$ac_cv_target" >&6; }
   2406 case $ac_cv_target in
   2407 *-*-*) ;;
   2408 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
   2409 esac
   2410 target=$ac_cv_target
   2411 ac_save_IFS=$IFS; IFS='-'
   2412 set x $ac_cv_target
   2413 shift
   2414 target_cpu=$1
   2415 target_vendor=$2
   2416 shift; shift
   2417 # Remember, the first character of IFS is used to create $*,
   2418 # except with old shells:
   2419 target_os=$*
   2420 IFS=$ac_save_IFS
   2421 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2422 
   2423 
   2424 # The aliases save the names the user supplied, while $host etc.
   2425 # will get canonicalized.
   2426 test -n "$target_alias" &&
   2427   test "$program_prefix$program_suffix$program_transform_name" = \
   2428     NONENONEs,x,x, &&
   2429   program_prefix=${target_alias}-
   2430 
   2431 test "$program_prefix" != NONE &&
   2432   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2433 # Use a double $ so make ignores it.
   2434 test "$program_suffix" != NONE &&
   2435   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2436 # Double any \ or $.
   2437 # By default was `s,x,x', remove it if useless.
   2438 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2439 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2440 
   2441 
   2442 
   2443 # Get 'install' or 'install-sh' and its variants.
   2444 # Find a good install program.  We prefer a C program (faster),
   2445 # so one script is as good as another.  But avoid the broken or
   2446 # incompatible versions:
   2447 # SysV /etc/install, /usr/sbin/install
   2448 # SunOS /usr/etc/install
   2449 # IRIX /sbin/install
   2450 # AIX /bin/install
   2451 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2455 # OS/2's system install, which has a completely different semantic
   2456 # ./install, which can be erroneously created by make from ./install.sh.
   2457 # Reject install programs that cannot install multiple files.
   2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2459 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2460 if test -z "$INSTALL"; then
   2461 if test "${ac_cv_path_install+set}" = set; then :
   2462   $as_echo_n "(cached) " >&6
   2463 else
   2464   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2465 for as_dir in $PATH
   2466 do
   2467   IFS=$as_save_IFS
   2468   test -z "$as_dir" && as_dir=.
   2469     # Account for people who put trailing slashes in PATH elements.
   2470 case $as_dir/ in #((
   2471   ./ | .// | /[cC]/* | \
   2472   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2473   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2474   /usr/ucb/* ) ;;
   2475   *)
   2476     # OSF1 and SCO ODT 3.0 have their own names for install.
   2477     # Don't use installbsd from OSF since it installs stuff as root
   2478     # by default.
   2479     for ac_prog in ginstall scoinst install; do
   2480       for ac_exec_ext in '' $ac_executable_extensions; do
   2481 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2482 	  if test $ac_prog = install &&
   2483 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2484 	    # AIX install.  It has an incompatible calling convention.
   2485 	    :
   2486 	  elif test $ac_prog = install &&
   2487 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2488 	    # program-specific install script used by HP pwplus--don't use.
   2489 	    :
   2490 	  else
   2491 	    rm -rf conftest.one conftest.two conftest.dir
   2492 	    echo one > conftest.one
   2493 	    echo two > conftest.two
   2494 	    mkdir conftest.dir
   2495 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2496 	      test -s conftest.one && test -s conftest.two &&
   2497 	      test -s conftest.dir/conftest.one &&
   2498 	      test -s conftest.dir/conftest.two
   2499 	    then
   2500 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2501 	      break 3
   2502 	    fi
   2503 	  fi
   2504 	fi
   2505       done
   2506     done
   2507     ;;
   2508 esac
   2509 
   2510   done
   2511 IFS=$as_save_IFS
   2512 
   2513 rm -rf conftest.one conftest.two conftest.dir
   2514 
   2515 fi
   2516   if test "${ac_cv_path_install+set}" = set; then
   2517     INSTALL=$ac_cv_path_install
   2518   else
   2519     # As a last resort, use the slow shell script.  Don't cache a
   2520     # value for INSTALL within a source directory, because that will
   2521     # break other packages using the cache if that directory is
   2522     # removed, or if the value is a relative name.
   2523     INSTALL=$ac_install_sh
   2524   fi
   2525 fi
   2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2527 $as_echo "$INSTALL" >&6; }
   2528 
   2529 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2530 # It thinks the first close brace ends the variable substitution.
   2531 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2532 
   2533 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2534 
   2535 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2536 
   2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
   2538 $as_echo_n "checking whether ln works... " >&6; }
   2539 if test "${acx_cv_prog_LN+set}" = set; then :
   2540   $as_echo_n "(cached) " >&6
   2541 else
   2542   rm -f conftestdata_t
   2543 echo >conftestdata_f
   2544 if ln conftestdata_f conftestdata_t 2>/dev/null
   2545 then
   2546   acx_cv_prog_LN=ln
   2547 else
   2548   acx_cv_prog_LN=no
   2549 fi
   2550 rm -f conftestdata_f conftestdata_t
   2551 
   2552 fi
   2553 if test $acx_cv_prog_LN = no; then
   2554   LN="cp"
   2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
   2556 $as_echo "no, using $LN" >&6; }
   2557 else
   2558   LN="$acx_cv_prog_LN"
   2559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2560 $as_echo "yes" >&6; }
   2561 fi
   2562 
   2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   2564 $as_echo_n "checking whether ln -s works... " >&6; }
   2565 LN_S=$as_ln_s
   2566 if test "$LN_S" = "ln -s"; then
   2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2568 $as_echo "yes" >&6; }
   2569 else
   2570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   2571 $as_echo "no, using $LN_S" >&6; }
   2572 fi
   2573 
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   2575 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   2576 if test "${ac_cv_path_SED+set}" = set; then :
   2577   $as_echo_n "(cached) " >&6
   2578 else
   2579             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   2580      for ac_i in 1 2 3 4 5 6 7; do
   2581        ac_script="$ac_script$as_nl$ac_script"
   2582      done
   2583      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   2584      { ac_script=; unset ac_script;}
   2585      if test -z "$SED"; then
   2586   ac_path_SED_found=false
   2587   # Loop through the user's path and test for each of PROGNAME-LIST
   2588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2589 for as_dir in $PATH
   2590 do
   2591   IFS=$as_save_IFS
   2592   test -z "$as_dir" && as_dir=.
   2593     for ac_prog in sed gsed; do
   2594     for ac_exec_ext in '' $ac_executable_extensions; do
   2595       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   2596       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   2597 # Check for GNU ac_path_SED and select it if it is found.
   2598   # Check for GNU $ac_path_SED
   2599 case `"$ac_path_SED" --version 2>&1` in
   2600 *GNU*)
   2601   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   2602 *)
   2603   ac_count=0
   2604   $as_echo_n 0123456789 >"conftest.in"
   2605   while :
   2606   do
   2607     cat "conftest.in" "conftest.in" >"conftest.tmp"
   2608     mv "conftest.tmp" "conftest.in"
   2609     cp "conftest.in" "conftest.nl"
   2610     $as_echo '' >> "conftest.nl"
   2611     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   2612     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   2613     as_fn_arith $ac_count + 1 && ac_count=$as_val
   2614     if test $ac_count -gt ${ac_path_SED_max-0}; then
   2615       # Best one so far, save it but keep looking for a better one
   2616       ac_cv_path_SED="$ac_path_SED"
   2617       ac_path_SED_max=$ac_count
   2618     fi
   2619     # 10*(2^10) chars as input seems more than enough
   2620     test $ac_count -gt 10 && break
   2621   done
   2622   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   2623 esac
   2624 
   2625       $ac_path_SED_found && break 3
   2626     done
   2627   done
   2628   done
   2629 IFS=$as_save_IFS
   2630   if test -z "$ac_cv_path_SED"; then
   2631     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   2632   fi
   2633 else
   2634   ac_cv_path_SED=$SED
   2635 fi
   2636 
   2637 fi
   2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   2639 $as_echo "$ac_cv_path_SED" >&6; }
   2640  SED="$ac_cv_path_SED"
   2641   rm -f conftest.sed
   2642 
   2643 for ac_prog in gawk mawk nawk awk
   2644 do
   2645   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2646 set dummy $ac_prog; ac_word=$2
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2648 $as_echo_n "checking for $ac_word... " >&6; }
   2649 if test "${ac_cv_prog_AWK+set}" = set; then :
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$AWK"; then
   2653   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2654 else
   2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2656 for as_dir in $PATH
   2657 do
   2658   IFS=$as_save_IFS
   2659   test -z "$as_dir" && as_dir=.
   2660     for ac_exec_ext in '' $ac_executable_extensions; do
   2661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2662     ac_cv_prog_AWK="$ac_prog"
   2663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2664     break 2
   2665   fi
   2666 done
   2667   done
   2668 IFS=$as_save_IFS
   2669 
   2670 fi
   2671 fi
   2672 AWK=$ac_cv_prog_AWK
   2673 if test -n "$AWK"; then
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2675 $as_echo "$AWK" >&6; }
   2676 else
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681 
   2682   test -n "$AWK" && break
   2683 done
   2684 
   2685 
   2686 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
   2687 
   2688 # We pass INSTALL explicitly to sub-makes.  Make sure that it is not
   2689 # a relative path.
   2690 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
   2691   INSTALL="${srcpwd}/install-sh -c"
   2692 fi
   2693 
   2694 # Set srcdir to "." if that's what it is.
   2695 # This is important for multilib support.
   2696 pwd=`${PWDCMD-pwd}`
   2697 if test "${pwd}" = "${srcpwd}" ; then
   2698   srcdir=.
   2699 fi
   2700 
   2701 topsrcdir=$srcpwd
   2702 
   2703 extra_host_args=
   2704 
   2705 ### To add a new directory to the tree, first choose whether it is a target
   2706 ### or a host dependent tool.  Then put it into the appropriate list
   2707 ### (library or tools, host or target), doing a dependency sort.
   2708 
   2709 # Subdirs will be configured in the order listed in build_configdirs,
   2710 # configdirs, or target_configdirs; see the serialization section below.
   2711 
   2712 # Dependency sorting is only needed when *configuration* must be done in
   2713 # a particular order.  In all cases a dependency should be specified in
   2714 # the Makefile, whether or not it's implicitly specified here.
   2715 
   2716 # Double entries in build_configdirs, configdirs, or target_configdirs may
   2717 # cause circular dependencies and break everything horribly.
   2718 
   2719 # these library is used by various programs built for the build
   2720 # environment
   2721 #
   2722 build_libs="build-libiberty build-libcpp"
   2723 
   2724 # these tools are built for the build environment
   2725 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
   2726 
   2727 # these libraries are used by various programs built for the host environment
   2728 #f
   2729 host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
   2730 
   2731 # these tools are built for the host environment
   2732 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
   2733 # know that we are building the simulator.
   2734 # binutils, gas and ld appear in that order because it makes sense to run
   2735 # "make check" in that particular order.
   2736 # If --enable-gold is used, "gold" may replace "ld".
   2737 host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
   2738 
   2739 # libgcj represents the runtime libraries only used by gcj.
   2740 libgcj="target-libffi \
   2741 	target-zlib \
   2742 	target-libjava"
   2743 
   2744 # these libraries are built for the target environment, and are built after
   2745 # the host libraries and the host tools (which may be a cross compiler)
   2746 # Note that libiberty is not a target library.
   2747 target_libraries="target-libgcc \
   2748 		target-libbacktrace \
   2749 		target-libgloss \
   2750 		target-newlib \
   2751 		target-libgomp \
   2752 		target-libcilkrts \
   2753 		target-liboffloadmic \
   2754 		target-libatomic \
   2755 		target-libitm \
   2756 		target-libstdc++-v3 \
   2757 		target-libsanitizer \
   2758 		target-libvtv \
   2759 		target-libmpx \
   2760 		target-libssp \
   2761 		target-libquadmath \
   2762 		target-libgfortran \
   2763 		target-boehm-gc \
   2764 		${libgcj} \
   2765 		target-libobjc \
   2766 		target-libada \
   2767 		target-libgo"
   2768 
   2769 # these tools are built using the target libraries, and are intended to
   2770 # run only in the target environment
   2771 #
   2772 # note: any program that *uses* libraries that are in the "target_libraries"
   2773 # list belongs in this list.
   2774 #
   2775 target_tools="target-rda"
   2776 
   2777 ################################################################################
   2778 
   2779 ## All tools belong in one of the four categories, and are assigned above
   2780 ## We assign ${configdirs} this way to remove all embedded newlines.  This
   2781 ## is important because configure will choke if they ever get through.
   2782 ## ${configdirs} is directories we build using the host tools.
   2783 ## ${target_configdirs} is directories we build using the target tools.
   2784 configdirs=`echo ${host_libs} ${host_tools}`
   2785 target_configdirs=`echo ${target_libraries} ${target_tools}`
   2786 build_configdirs=`echo ${build_libs} ${build_tools}`
   2787 
   2788 
   2789 
   2790 ################################################################################
   2791 
   2792 srcname="gnu development package"
   2793 
   2794 # This gets set non-empty for some net releases of packages.
   2795 appdirs=""
   2796 
   2797 # Define is_cross_compiler to save on calls to 'test'.
   2798 is_cross_compiler=
   2799 if test x"${host}" = x"${target}" ; then
   2800   is_cross_compiler=no
   2801 else
   2802   is_cross_compiler=yes
   2803 fi
   2804 
   2805 # Find the build and target subdir names.
   2806 
   2807 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
   2808 # have matching libraries, they should use host libraries: Makefile.tpl
   2809 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
   2810 # However, they still use the build modules, because the corresponding
   2811 # host modules (e.g. bison) are only built for the host when bootstrap
   2812 # finishes. So:
   2813 # - build_subdir is where we find build modules, and never changes.
   2814 # - build_libsubdir is where we find build libraries, and can be overridden.
   2815 
   2816 # Prefix 'build-' so this never conflicts with target_subdir.
   2817 build_subdir="build-${build_noncanonical}"
   2818 
   2819 # Check whether --with-build-libsubdir was given.
   2820 if test "${with_build_libsubdir+set}" = set; then :
   2821   withval=$with_build_libsubdir; build_libsubdir="$withval"
   2822 else
   2823   build_libsubdir="$build_subdir"
   2824 fi
   2825 
   2826 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
   2827 if ( test $srcdir = . && test -d gcc ) \
   2828    || test -d $srcdir/../host-${host_noncanonical}; then
   2829   host_subdir="host-${host_noncanonical}"
   2830 else
   2831   host_subdir=.
   2832 fi
   2833 # No prefix.
   2834 target_subdir=${target_noncanonical}
   2835 
   2836 # Be sure to cover against remnants of an in-tree build.
   2837 if test $srcdir != .  && test -d $srcdir/host-${host_noncanonical}; then
   2838   as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
   2839 Use a pristine source tree when building in a separate tree" "$LINENO" 5
   2840 fi
   2841 
   2842 # Skipdirs are removed silently.
   2843 skipdirs=
   2844 # Noconfigdirs are removed loudly.
   2845 noconfigdirs=""
   2846 
   2847 use_gnu_ld=
   2848 # Make sure we don't let GNU ld be added if we didn't want it.
   2849 if test x$with_gnu_ld = xno ; then
   2850   use_gnu_ld=no
   2851   noconfigdirs="$noconfigdirs ld gold"
   2852 fi
   2853 
   2854 use_gnu_as=
   2855 # Make sure we don't let GNU as be added if we didn't want it.
   2856 if test x$with_gnu_as = xno ; then
   2857   use_gnu_as=no
   2858   noconfigdirs="$noconfigdirs gas"
   2859 fi
   2860 
   2861 use_included_zlib=
   2862 
   2863 # Check whether --with-system-zlib was given.
   2864 if test "${with_system_zlib+set}" = set; then :
   2865   withval=$with_system_zlib;
   2866 fi
   2867 
   2868 # Make sure we don't let ZLIB be added if we didn't want it.
   2869 if test x$with_system_zlib = xyes ; then
   2870   use_included_zlib=no
   2871   noconfigdirs="$noconfigdirs zlib"
   2872 fi
   2873 
   2874 # some tools are so dependent upon X11 that if we're not building with X,
   2875 # it's not even worth trying to configure, much less build, that tool.
   2876 
   2877 case ${with_x} in
   2878   yes | "") ;; # the default value for this tree is that X11 is available
   2879   no)
   2880     skipdirs="${skipdirs} tk itcl libgui"
   2881     # We won't be able to build gdbtk without X.
   2882     enable_gdbtk=no
   2883     ;;
   2884   *)  echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
   2885 esac
   2886 
   2887 # Some are only suitable for cross toolchains.
   2888 # Remove these if host=target.
   2889 cross_only="target-libgloss target-newlib target-opcodes"
   2890 
   2891 case $is_cross_compiler in
   2892   no) skipdirs="${skipdirs} ${cross_only}" ;;
   2893 esac
   2894 
   2895 # If both --with-headers and --with-libs are specified, default to
   2896 # --without-newlib.
   2897 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
   2898    && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   2899   if test x"${with_newlib}" = x ; then
   2900     with_newlib=no
   2901   fi
   2902 fi
   2903 
   2904 # Recognize --with-newlib/--without-newlib.
   2905 case ${with_newlib} in
   2906   no) skipdirs="${skipdirs} target-newlib" ;;
   2907   yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
   2908 esac
   2909 
   2910 # Check whether --enable-as-accelerator-for was given.
   2911 if test "${enable_as_accelerator_for+set}" = set; then :
   2912   enableval=$enable_as_accelerator_for;
   2913 fi
   2914 
   2915 
   2916 # Check whether --enable-offload-targets was given.
   2917 if test "${enable_offload_targets+set}" = set; then :
   2918   enableval=$enable_offload_targets;
   2919   if test x"$enable_offload_targets" = x; then
   2920     as_fn_error "no offload targets specified" "$LINENO" 5
   2921   fi
   2922 
   2923 else
   2924   enable_offload_targets=
   2925 fi
   2926 
   2927 
   2928 # Handle --enable-gold, --enable-ld.
   2929 # --disable-gold [--enable-ld]
   2930 #     Build only ld.  Default option.
   2931 # --enable-gold [--enable-ld]
   2932 #     Build both gold and ld.  Install gold as "ld.gold", install ld
   2933 #     as "ld.bfd" and "ld".
   2934 # --enable-gold=default [--enable-ld]
   2935 #     Build both gold and ld.  Install gold as "ld.gold" and "ld",
   2936 #     install ld as "ld.bfd".
   2937 # --enable-gold[=default] --disable-ld
   2938 #     Build only gold, which is then installed as both "ld.gold" and "ld".
   2939 # --enable-gold --enable-ld=default
   2940 #     Build both gold (installed as "ld.gold") and ld (installed as "ld"
   2941 #     and ld.bfd).
   2942 #     In other words, ld is default
   2943 # --enable-gold=default --enable-ld=default
   2944 #     Error.
   2945 
   2946 default_ld=
   2947 # Check whether --enable-gold was given.
   2948 if test "${enable_gold+set}" = set; then :
   2949   enableval=$enable_gold; ENABLE_GOLD=$enableval
   2950 else
   2951   ENABLE_GOLD=no
   2952 fi
   2953 
   2954 case "${ENABLE_GOLD}" in
   2955   yes|default)
   2956     # Check for ELF target.
   2957     is_elf=no
   2958     case "${target}" in
   2959       *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
   2960       | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
   2961       | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
   2962       | *-*-solaris2* | *-*-nto* | *-*-nacl*)
   2963         case "${target}" in
   2964           *-*-linux*aout* | *-*-linux*oldld*)
   2965             ;;
   2966           *)
   2967             is_elf=yes
   2968             ;;
   2969         esac
   2970     esac
   2971 
   2972     if test "$is_elf" = "yes"; then
   2973       # Check for target supported by gold.
   2974       case "${target}" in
   2975         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
   2976         | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*)
   2977 	  configdirs="$configdirs gold"
   2978 	  if test x${ENABLE_GOLD} = xdefault; then
   2979 	    default_ld=gold
   2980 	  fi
   2981 	  ENABLE_GOLD=yes
   2982           ;;
   2983       esac
   2984     fi
   2985     ;;
   2986   no)
   2987     ;;
   2988   *)
   2989     as_fn_error "invalid --enable-gold argument" "$LINENO" 5
   2990     ;;
   2991 esac
   2992 
   2993 # Check whether --enable-ld was given.
   2994 if test "${enable_ld+set}" = set; then :
   2995   enableval=$enable_ld; ENABLE_LD=$enableval
   2996 else
   2997   ENABLE_LD=yes
   2998 fi
   2999 
   3000 
   3001 case "${ENABLE_LD}" in
   3002   default)
   3003     if test x${default_ld} != x; then
   3004       as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
   3005     fi
   3006     ;;
   3007   yes)
   3008     ;;
   3009   no)
   3010     if test x${ENABLE_GOLD} != xyes; then
   3011       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
   3012 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
   3013     fi
   3014     configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
   3015     ;;
   3016   *)
   3017     as_fn_error "invalid --enable-ld argument" "$LINENO" 5
   3018     ;;
   3019 esac
   3020 
   3021 # PR gas/19109
   3022 # Decide the default method for compressing debug sections.
   3023 # Provide a configure time option to override our default.
   3024 # Check whether --enable-compressed_debug_sections was given.
   3025 if test "${enable_compressed_debug_sections+set}" = set; then :
   3026   enableval=$enable_compressed_debug_sections;
   3027   if test x"$enable_compressed_debug_sections" = xyes; then
   3028     as_fn_error "no program with compressed debug sections specified" "$LINENO" 5
   3029   fi
   3030 
   3031 else
   3032   enable_compressed_debug_sections=
   3033 fi
   3034 
   3035 
   3036 # Configure extra directories which are host specific
   3037 
   3038 case "${host}" in
   3039   *-cygwin*)
   3040     configdirs="$configdirs libtermcap" ;;
   3041 esac
   3042 
   3043 # A target can indicate whether a language isn't supported for some reason.
   3044 # Only spaces may be used in this macro; not newlines or tabs.
   3045 unsupported_languages=
   3046 
   3047 # Remove more programs from consideration, based on the host or
   3048 # target this usually means that a port of the program doesn't
   3049 # exist yet.
   3050 
   3051 case "${host}" in
   3052   i[3456789]86-*-msdosdjgpp*)
   3053     noconfigdirs="$noconfigdirs tcl tk itcl"
   3054     ;;
   3055 esac
   3056 
   3057 
   3058 # Check whether --enable-libquadmath was given.
   3059 if test "${enable_libquadmath+set}" = set; then :
   3060   enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
   3061 else
   3062   ENABLE_LIBQUADMATH=yes
   3063 fi
   3064 
   3065 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
   3066   noconfigdirs="$noconfigdirs target-libquadmath"
   3067 fi
   3068 
   3069 
   3070 # Check whether --enable-libquadmath-support was given.
   3071 if test "${enable_libquadmath_support+set}" = set; then :
   3072   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
   3073 else
   3074   ENABLE_LIBQUADMATH_SUPPORT=yes
   3075 fi
   3076 
   3077 enable_libquadmath_support=
   3078 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
   3079   enable_libquadmath_support=no
   3080 fi
   3081 
   3082 
   3083 # Check whether --enable-libada was given.
   3084 if test "${enable_libada+set}" = set; then :
   3085   enableval=$enable_libada; ENABLE_LIBADA=$enableval
   3086 else
   3087   ENABLE_LIBADA=yes
   3088 fi
   3089 
   3090 if test "${ENABLE_LIBADA}" != "yes" ; then
   3091   noconfigdirs="$noconfigdirs gnattools"
   3092 fi
   3093 
   3094 # Check whether --enable-libssp was given.
   3095 if test "${enable_libssp+set}" = set; then :
   3096   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
   3097 else
   3098   ENABLE_LIBSSP=yes
   3099 fi
   3100 
   3101 
   3102 # Check whether --enable-libstdcxx was given.
   3103 if test "${enable_libstdcxx+set}" = set; then :
   3104   enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
   3105 else
   3106   ENABLE_LIBSTDCXX=default
   3107 fi
   3108 
   3109 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
   3110   noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3111 fi
   3112 
   3113 # If this is accelerator compiler and its target is intelmic we enable
   3114 # target liboffloadmic by default.  If this is compiler with offloading
   3115 # for intelmic we enable host liboffloadmic by default.  Otherwise
   3116 # liboffloadmic is disabled by default.
   3117 # Check whether --enable-liboffloadmic was given.
   3118 if test "${enable_liboffloadmic+set}" = set; then :
   3119   enableval=$enable_liboffloadmic; case "$enableval" in
   3120   no | host | target)
   3121     enable_liboffloadmic=$enableval ;;
   3122   *)
   3123     as_fn_error "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
   3124 esac
   3125 else
   3126   if test x"$enable_as_accelerator_for" != x; then
   3127   case "${target}" in
   3128     *-intelmic-* | *-intelmicemul-*)
   3129       enable_liboffloadmic=target
   3130       extra_liboffloadmic_configure_flags="--enable-liboffloadmic=target"
   3131       ;;
   3132     *)
   3133       enable_liboffloadmic=no
   3134       ;;
   3135   esac
   3136 else
   3137   case "${enable_offload_targets}" in
   3138     *-intelmic-* | *-intelmicemul-*)
   3139       enable_liboffloadmic=host
   3140       extra_liboffloadmic_configure_flags="--enable-liboffloadmic=host"
   3141       ;;
   3142     *)
   3143       enable_liboffloadmic=no
   3144       ;;
   3145     esac
   3146 fi
   3147 fi
   3148 
   3149 
   3150 
   3151 # Save it here so that, even in case of --enable-libgcj, if the Java
   3152 # front-end isn't enabled, we still get libgcj disabled.
   3153 libgcj_saved=$libgcj
   3154 case $enable_libgcj in
   3155 yes)
   3156   # If we reset it here, it won't get added to noconfigdirs in the
   3157   # target-specific build rules, so it will be forcibly enabled
   3158   # (unless the Java language itself isn't enabled).
   3159   libgcj=
   3160   ;;
   3161 no)
   3162   # Make sure we get it printed in the list of not supported target libs.
   3163   # Don't disable libffi, though, other languages use it.
   3164   noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
   3165   # Clear libgcj_saved so that even if java is enabled libffi won't be
   3166   # built.
   3167   libgcj_saved=
   3168   ;;
   3169 esac
   3170 
   3171 # Check whether --enable-static-libjava was given.
   3172 if test "${enable_static_libjava+set}" = set; then :
   3173   enableval=$enable_static_libjava; ENABLE_STATIC_LIBJAVA=$enableval
   3174 else
   3175   ENABLE_STATIC_LIBJAVA=no
   3176 fi
   3177 
   3178 enable_static_libjava=
   3179 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
   3180   enable_static_libjava=yes
   3181 fi
   3182 
   3183 if test x$enable_static_libjava != xyes ; then
   3184   EXTRA_CONFIGARGS_LIBJAVA=--disable-static
   3185 fi
   3186 
   3187 
   3188 # Enable libgomp by default on hosted POSIX systems, and a few others.
   3189 if test x$enable_libgomp = x ; then
   3190     case "${target}" in
   3191     *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3192 	;;
   3193     *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
   3194 	;;
   3195     *-*-solaris2* | *-*-hpux11*)
   3196 	;;
   3197     *-*-darwin* | *-*-aix*)
   3198 	;;
   3199     nvptx*-*-*)
   3200 	;;
   3201     *)
   3202 	noconfigdirs="$noconfigdirs target-libgomp"
   3203 	;;
   3204     esac
   3205 fi
   3206 
   3207 # Disable libatomic on unsupported systems.
   3208 if test -d ${srcdir}/libatomic; then
   3209     if test x$enable_libatomic = x; then
   3210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
   3211 $as_echo_n "checking for libatomic support... " >&6; }
   3212 	if (srcdir=${srcdir}/libatomic; \
   3213 		. ${srcdir}/configure.tgt; \
   3214 		test -n "$UNSUPPORTED")
   3215 	then
   3216 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3217 $as_echo "no" >&6; }
   3218 	    noconfigdirs="$noconfigdirs target-libatomic"
   3219 	else
   3220 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3221 $as_echo "yes" >&6; }
   3222 	fi
   3223     fi
   3224 fi
   3225 
   3226 # Disable libcilkrts on unsupported systems.
   3227 if test -d ${srcdir}/libcilkrts; then
   3228     if test x$enable_libcilkrts = x; then
   3229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
   3230 $as_echo_n "checking for libcilkrts support... " >&6; }
   3231 	if (srcdir=${srcdir}/libcilkrts; \
   3232 		. ${srcdir}/configure.tgt; \
   3233 		test -n "$UNSUPPORTED")
   3234 	then
   3235 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3236 $as_echo "no" >&6; }
   3237 	    noconfigdirs="$noconfigdirs target-libcilkrts"
   3238 	else
   3239 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3240 $as_echo "yes" >&6; }
   3241 	fi
   3242     fi
   3243 fi
   3244 
   3245 # Disable liboffloadmic on unsupported systems.
   3246 if test -d ${srcdir}/liboffloadmic; then
   3247     if test x$enable_liboffloadmic != xno; then
   3248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
   3249 $as_echo_n "checking for liboffloadmic support... " >&6; }
   3250 	if (srcdir=${srcdir}/liboffloadmic; \
   3251 		. ${srcdir}/configure.tgt; \
   3252 		test -n "$UNSUPPORTED")
   3253 	then
   3254 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3255 $as_echo "no" >&6; }
   3256 	    noconfigdirs="$noconfigdirs target-liboffloadmic"
   3257 	else
   3258 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3259 $as_echo "yes" >&6; }
   3260 	fi
   3261     fi
   3262 fi
   3263 
   3264 # Disable libitm on unsupported systems.
   3265 if test -d ${srcdir}/libitm; then
   3266     if test x$enable_libitm = x; then
   3267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
   3268 $as_echo_n "checking for libitm support... " >&6; }
   3269 	if (srcdir=${srcdir}/libitm; \
   3270 		. ${srcdir}/configure.tgt; \
   3271 		test -n "$UNSUPPORTED")
   3272 	then
   3273 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3274 $as_echo "no" >&6; }
   3275 	    noconfigdirs="$noconfigdirs target-libitm"
   3276 	else
   3277 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3278 $as_echo "yes" >&6; }
   3279 	fi
   3280     fi
   3281 fi
   3282 
   3283 # Disable libsanitizer on unsupported systems.
   3284 if test -d ${srcdir}/libsanitizer; then
   3285     if test x$enable_libsanitizer = x; then
   3286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
   3287 $as_echo_n "checking for libsanitizer support... " >&6; }
   3288 	if (srcdir=${srcdir}/libsanitizer; \
   3289 		. ${srcdir}/configure.tgt; \
   3290 		test -n "$UNSUPPORTED")
   3291 	then
   3292 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3293 $as_echo "no" >&6; }
   3294 	    noconfigdirs="$noconfigdirs target-libsanitizer"
   3295 	else
   3296 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3297 $as_echo "yes" >&6; }
   3298 	fi
   3299     fi
   3300 fi
   3301 
   3302 # Disable libvtv on unsupported systems.
   3303 if test -d ${srcdir}/libvtv; then
   3304     if test x$enable_libvtv = x; then
   3305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
   3306 $as_echo_n "checking for libvtv support... " >&6; }
   3307 	if (srcdir=${srcdir}/libvtv; \
   3308 		. ${srcdir}/configure.tgt; \
   3309 		test "$VTV_SUPPORTED" != "yes")
   3310 	then
   3311 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3312 $as_echo "no" >&6; }
   3313 	    noconfigdirs="$noconfigdirs target-libvtv"
   3314 	else
   3315 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3316 $as_echo "yes" >&6; }
   3317 	fi
   3318     fi
   3319 fi
   3320 
   3321 
   3322 # Enable libmpx on supported systems by request.
   3323 if test -d ${srcdir}/libmpx; then
   3324     if test x$enable_libmpx = x; then
   3325        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
   3326 $as_echo_n "checking for libmpx support... " >&6; }
   3327        if (srcdir=${srcdir}/libmpx; \
   3328                . ${srcdir}/configure.tgt; \
   3329                test "$LIBMPX_SUPPORTED" != "yes")
   3330        then
   3331            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3332 $as_echo "no" >&6; }
   3333            noconfigdirs="$noconfigdirs target-libmpx"
   3334        else
   3335            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3336 $as_echo "yes" >&6; }
   3337        fi
   3338     fi
   3339 fi
   3340 
   3341 
   3342 
   3343 # Disable libquadmath for some systems.
   3344 case "${target}" in
   3345   avr-*-*)
   3346     noconfigdirs="$noconfigdirs target-libquadmath"
   3347     ;;
   3348   # libquadmath is unused on AIX and libquadmath build process use of
   3349   # LD_LIBRARY_PATH can break AIX bootstrap.
   3350   powerpc-*-aix* | rs6000-*-aix*)
   3351     noconfigdirs="$noconfigdirs target-libquadmath"
   3352     ;;
   3353 esac
   3354 
   3355 # Disable libssp for some systems.
   3356 case "${target}" in
   3357   avr-*-*)
   3358     # No hosted I/O support.
   3359     noconfigdirs="$noconfigdirs target-libssp"
   3360     ;;
   3361   powerpc-*-aix* | rs6000-*-aix*)
   3362     noconfigdirs="$noconfigdirs target-libssp"
   3363     ;;
   3364   rl78-*-*)
   3365     # libssp uses a misaligned load to trigger a fault, but the RL78
   3366     # doesn't fault for those - instead, it gives a build-time error
   3367     # for explicit misaligned loads.
   3368     noconfigdirs="$noconfigdirs target-libssp"
   3369     ;;
   3370   visium-*-*)
   3371     # No hosted I/O support.
   3372     noconfigdirs="$noconfigdirs target-libssp"
   3373     ;;
   3374 esac
   3375 
   3376 # Disable libstdc++-v3 for some systems.
   3377 # Allow user to override this if they pass --enable-libstdc++-v3
   3378 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
   3379   case "${target}" in
   3380     *-*-vxworks*)
   3381       # VxWorks uses the Dinkumware C++ library.
   3382       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3383       ;;
   3384     arm*-wince-pe*)
   3385       # the C++ libraries don't build on top of CE's C libraries
   3386       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3387       ;;
   3388     avr-*-*)
   3389       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3390       ;;
   3391     ft32-*-*)
   3392       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3393       ;;
   3394   esac
   3395 fi
   3396 
   3397 # Disable Fortran for some systems.
   3398 case "${target}" in
   3399   mmix-*-*)
   3400     # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
   3401     unsupported_languages="$unsupported_languages fortran"
   3402     ;;
   3403 esac
   3404 
   3405 # Disable Java if libffi is not supported.
   3406 case "${target}" in
   3407   aarch64-*-*)
   3408     ;;
   3409   alpha*-*-*)
   3410     ;;
   3411   arm*-*-*)
   3412     ;;
   3413   cris-*-*)
   3414     ;;
   3415   frv-*-*)
   3416     ;;
   3417   hppa*-*-linux*)
   3418     ;;
   3419   hppa*-*-hpux*)
   3420     ;;
   3421   i?86-*-*)
   3422     ;;
   3423   ia64*-*-*)
   3424     ;;
   3425   m32r*-*-*)
   3426     ;;
   3427   m68k-*-*)
   3428     ;;
   3429   mips*-*-rtems*)
   3430     ;;
   3431   mips*-*-linux*)
   3432     ;;
   3433   powerpc*-*-linux*)
   3434     ;;
   3435   powerpc-*-darwin*)
   3436     ;;
   3437   powerpc-*-aix* | rs6000-*-aix*)
   3438     ;;
   3439   powerpc-*-freebsd*)
   3440     ;;
   3441   powerpc64-*-freebsd*)
   3442     ;;
   3443   powerpc*-*-rtems*)
   3444     ;;
   3445   s390-*-* | s390x-*-*)
   3446     ;;
   3447   sh-*-* | sh[34]*-*-*)
   3448     ;;
   3449   sh64-*-* | sh5*-*-*)
   3450     ;;
   3451   sparc*-*-*)
   3452     ;;
   3453   x86_64-*-*)
   3454     ;;
   3455   *-*-*)
   3456     unsupported_languages="$unsupported_languages java"
   3457     ;;
   3458 esac
   3459 
   3460 # Disable Java, libgcj or related libraries for some systems.
   3461 case "${target}" in
   3462   powerpc-*-darwin*)
   3463     ;;
   3464   i[3456789]86-*-darwin*)
   3465     ;;
   3466   x86_64-*-darwin[912]*)
   3467     ;;
   3468   *-*-darwin*)
   3469     noconfigdirs="$noconfigdirs ${libgcj}"
   3470     ;;
   3471   *-*-netware*)
   3472     noconfigdirs="$noconfigdirs ${libgcj}"
   3473     ;;
   3474   *-*-rtems*)
   3475     noconfigdirs="$noconfigdirs ${libgcj}"
   3476     ;;
   3477   *-*-tpf*)
   3478     noconfigdirs="$noconfigdirs ${libgcj}"
   3479     ;;
   3480   *-*-uclinux*)
   3481     noconfigdirs="$noconfigdirs ${libgcj}"
   3482     ;;
   3483   *-*-vxworks*)
   3484     noconfigdirs="$noconfigdirs ${libgcj}"
   3485     ;;
   3486   aarch64*-*-freebsd*)
   3487     noconfigdirs="$noconfigdirs ${libgcj}"
   3488     ;;
   3489   alpha*-*-*vms*)
   3490     noconfigdirs="$noconfigdirs ${libgcj}"
   3491     ;;
   3492   arm*-*-freebsd*)
   3493     noconfigdirs="$noconfigdirs ${libgcj}"
   3494     ;;
   3495   arm-wince-pe)
   3496     noconfigdirs="$noconfigdirs ${libgcj}"
   3497     ;;
   3498   arm*-*-symbianelf*)
   3499     noconfigdirs="$noconfigdirs ${libgcj}"
   3500     ;;
   3501   bfin-*-*)
   3502     noconfigdirs="$noconfigdirs target-boehm-gc"
   3503     ;;
   3504   cris-*-* | crisv32-*-*)
   3505     unsupported_languages="$unsupported_languages java"
   3506     case "${target}" in
   3507       *-*-linux*)
   3508 	;;
   3509       *) # See PR46792 regarding target-libffi.
   3510 	noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
   3511     esac
   3512     ;;
   3513   hppa*64*-*-linux*)
   3514     # In this case, it's because the hppa64-linux target is for
   3515     # the kernel only at this point and has no libc, and thus no
   3516     # headers, crt*.o, etc., all of which are needed by these.
   3517     unsupported_languages="$unsupported_languages java"
   3518     ;;
   3519   hppa*64*-*-hpux*)
   3520     noconfigdirs="$noconfigdirs ${libgcj}"
   3521     ;;
   3522   hppa*-hp-hpux11*)
   3523     ;;
   3524   hppa*-*-hpux*)
   3525     # According to Alexandre Oliva <aoliva (at] redhat.com>, libjava won't
   3526     # build on HP-UX 10.20.
   3527     noconfigdirs="$noconfigdirs ${libgcj}"
   3528     ;;
   3529   ia64*-*-*vms*)
   3530     noconfigdirs="$noconfigdirs ${libgcj}"
   3531     ;;
   3532   i[3456789]86-w64-mingw*)
   3533     noconfigdirs="$noconfigdirs ${libgcj}"
   3534     ;;
   3535   i[3456789]86-*-mingw*)
   3536     noconfigdirs="$noconfigdirs ${libgcj}"
   3537     ;;
   3538   x86_64-*-mingw*)
   3539     noconfigdirs="$noconfigdirs ${libgcj}"
   3540     ;;
   3541   mmix-*-*)
   3542     noconfigdirs="$noconfigdirs target-libffi target-boehm-gc"
   3543     ;;
   3544   powerpc-*-aix*)
   3545     # copied from rs6000-*-* entry
   3546     noconfigdirs="$noconfigdirs ${libgcj}"
   3547     ;;
   3548   rs6000-*-aix*)
   3549     noconfigdirs="$noconfigdirs ${libgcj}"
   3550     ;;
   3551   ft32-*-*)
   3552     noconfigdirs="$noconfigdirs ${libgcj}"
   3553     ;;
   3554   *-*-lynxos*)
   3555     noconfigdirs="$noconfigdirs ${libgcj}"
   3556     ;;
   3557 esac
   3558 
   3559 # Disable the go frontend on systems where it is known to not work. Please keep
   3560 # this in sync with contrib/config-list.mk.
   3561 case "${target}" in
   3562 *-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
   3563     unsupported_languages="$unsupported_languages go"
   3564     ;;
   3565 esac
   3566 
   3567 # Disable libgo for some systems where it is known to not work.
   3568 # For testing, you can easily override this with --enable-libgo.
   3569 if test x$enable_libgo = x; then
   3570     case "${target}" in
   3571     *-*-darwin*)
   3572 	# PR 46986
   3573 	noconfigdirs="$noconfigdirs target-libgo"
   3574 	;;
   3575     *-*-cygwin* | *-*-mingw*)
   3576 	noconfigdirs="$noconfigdirs target-libgo"
   3577 	;;
   3578     *-*-aix*)
   3579 	noconfigdirs="$noconfigdirs target-libgo"
   3580 	;;
   3581     esac
   3582 fi
   3583 
   3584 # Default libgloss CPU subdirectory.
   3585 libgloss_dir="$target_cpu"
   3586 
   3587 case "${target}" in
   3588   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3589     libgloss_dir=wince
   3590     ;;
   3591   aarch64*-*-* )
   3592     libgloss_dir=aarch64
   3593     ;;
   3594   arm*-*-*)
   3595     libgloss_dir=arm
   3596     ;;
   3597   cris-*-* | crisv32-*-*)
   3598     libgloss_dir=cris
   3599     ;;
   3600   hppa*-*-*)
   3601     libgloss_dir=pa
   3602     ;;
   3603   i[3456789]86-*-*)
   3604     libgloss_dir=i386
   3605     ;;
   3606   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
   3607     libgloss_dir=m68hc11
   3608     ;;
   3609   m68*-*-* | fido-*-*)
   3610     libgloss_dir=m68k
   3611     ;;
   3612   mips*-*-*)
   3613     libgloss_dir=mips
   3614     ;;
   3615   powerpc*-*-*)
   3616     libgloss_dir=rs6000
   3617     ;;
   3618   sparc*-*-*)
   3619     libgloss_dir=sparc
   3620     ;;
   3621 esac
   3622 
   3623 # Disable newlib and libgloss for various target OSes.
   3624 case "${target}" in
   3625   alpha*-dec-osf*)
   3626     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3627     ;;
   3628   i[3456789]86-*-linux*)
   3629     # This section makes it possible to build newlib natively on linux.
   3630     # If we are using a cross compiler then don't configure newlib.
   3631     if test x${is_cross_compiler} != xno ; then
   3632       noconfigdirs="$noconfigdirs target-newlib"
   3633     fi
   3634     noconfigdirs="$noconfigdirs target-libgloss"
   3635     # If we are not using a cross compiler, do configure newlib.
   3636     # Note however, that newlib will only be configured in this situation
   3637     # if the --with-newlib option has been given, because otherwise
   3638     # 'target-newlib' will appear in skipdirs.
   3639     ;;
   3640   i[3456789]86-*-rdos*)
   3641     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3642     ;;
   3643   sh*-*-pe|mips*-*-pe|arm-wince-pe)
   3644     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3645     ;;
   3646   sparc-*-sunos4*)
   3647     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3648     ;;
   3649   *-*-aix*)
   3650     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3651     ;;
   3652   *-*-beos*)
   3653     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3654     ;;
   3655   *-*-chorusos)
   3656     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3657     ;;
   3658   *-*-dragonfly*)
   3659     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3660     ;;
   3661   *-*-freebsd*)
   3662     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3663     ;;
   3664   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3665     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3666     ;;
   3667   *-*-lynxos*)
   3668     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3669     ;;
   3670   *-*-mingw*)
   3671     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3672     ;;
   3673   *-*-netbsd*)
   3674     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3675     ;;
   3676   *-*-netware*)
   3677     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3678     ;;
   3679   *-*-tpf*)
   3680     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3681     ;;
   3682   *-*-uclinux*)
   3683     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3684     ;;
   3685   *-*-vxworks*)
   3686     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3687     ;;
   3688 esac
   3689 
   3690 case "${target}" in
   3691   *-*-chorusos)
   3692     ;;
   3693   aarch64-*-darwin*)
   3694     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3695     noconfigdirs="$noconfigdirs sim target-rda"
   3696     ;;
   3697   arm-*-darwin*)
   3698     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3699     noconfigdirs="$noconfigdirs sim target-rda"
   3700     ;;
   3701   powerpc-*-darwin*)
   3702     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3703     noconfigdirs="$noconfigdirs sim target-rda"
   3704     ;;
   3705   i[3456789]86-*-darwin*)
   3706     noconfigdirs="$noconfigdirs ld gprof"
   3707     noconfigdirs="$noconfigdirs sim target-rda"
   3708     ;;
   3709   x86_64-*-darwin[912]*)
   3710     noconfigdirs="$noconfigdirs ld gas gprof"
   3711     noconfigdirs="$noconfigdirs sim target-rda"
   3712     ;;
   3713   *-*-darwin*)
   3714     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3715     noconfigdirs="$noconfigdirs sim target-rda"
   3716     ;;
   3717   *-*-dragonfly*)
   3718     ;;
   3719   *-*-freebsd*)
   3720     if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
   3721 	&& test -f /usr/local/include/gmp.h; then
   3722       with_gmp=/usr/local
   3723     fi
   3724     ;;
   3725   *-*-kaos*)
   3726     # Remove unsupported stuff on all kaOS configurations.
   3727     noconfigdirs="$noconfigdirs target-libgloss"
   3728     ;;
   3729   *-*-netbsd*)
   3730     ;;
   3731   *-*-netware*)
   3732     ;;
   3733   *-*-rtems*)
   3734     noconfigdirs="$noconfigdirs target-libgloss"
   3735     # this is not caught below because this stanza matches earlier
   3736     case $target in
   3737       or1k*-*-*) noconfigdirs="$noconfigdirs gdb" ;;
   3738     esac
   3739     ;;
   3740     # The tpf target doesn't support gdb yet.
   3741   *-*-tpf*)
   3742     noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
   3743     ;;
   3744   *-*-uclinux*)
   3745     noconfigdirs="$noconfigdirs target-rda"
   3746     ;;
   3747   *-*-vxworks*)
   3748     ;;
   3749   alpha*-dec-osf*)
   3750     # ld works, but does not support shared libraries.
   3751     # gas doesn't generate exception information.
   3752     noconfigdirs="$noconfigdirs gas ld"
   3753     ;;
   3754   alpha*-*-*vms*)
   3755     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
   3756     ;;
   3757   alpha*-*-*)
   3758     # newlib is not 64 bit ready
   3759     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3760     ;;
   3761   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3762     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
   3763     ;;
   3764   arc-*-*|arceb-*-*)
   3765     noconfigdirs="$noconfigdirs target-libgloss"
   3766     ;;
   3767   arm-*-pe*)
   3768     noconfigdirs="$noconfigdirs target-libgloss"
   3769     ;;
   3770   arm-*-riscix*)
   3771     noconfigdirs="$noconfigdirs ld target-libgloss"
   3772     ;;
   3773   avr-*-rtems*)
   3774     ;;
   3775   avr-*-*)
   3776     if test x${with_avrlibc} != xno; then
   3777       noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3778     fi
   3779     ;;
   3780   c4x-*-* | tic4x-*-*)
   3781     noconfigdirs="$noconfigdirs target-libgloss"
   3782     ;;
   3783   tic54x-*-*)
   3784     noconfigdirs="$noconfigdirs target-libgloss gdb"
   3785     ;;
   3786   d10v-*-*)
   3787     noconfigdirs="$noconfigdirs target-libgloss"
   3788     ;;
   3789   d30v-*-*)
   3790     noconfigdirs="$noconfigdirs gdb"
   3791     ;;
   3792   fr30-*-elf*)
   3793     noconfigdirs="$noconfigdirs gdb"
   3794     ;;
   3795   ft32-*-*)
   3796     noconfigdirs="$noconfigdirs target-rda gprof"
   3797     ;;
   3798   moxie-*-*)
   3799     noconfigdirs="$noconfigdirs"
   3800     ;;
   3801   h8300*-*-*)
   3802     noconfigdirs="$noconfigdirs target-libgloss"
   3803     ;;
   3804   h8500-*-*)
   3805     noconfigdirs="$noconfigdirs target-libgloss"
   3806     ;;
   3807   hppa1.1-*-osf* | hppa1.1-*-bsd* )
   3808     ;;
   3809   hppa*64*-*-hpux*)
   3810     noconfigdirs="$noconfigdirs gdb"
   3811     ;;
   3812   hppa*-*-hpux11*)
   3813     noconfigdirs="$noconfigdirs gdb ld"
   3814     ;;
   3815   hppa*64*-*-linux*)
   3816     ;;
   3817   hppa*-*-linux*)
   3818     ;;
   3819   hppa*-*-*elf* | \
   3820   hppa*-*-lites* | \
   3821   hppa*-*-openbsd* | \
   3822   hppa*64*-*-*)
   3823     ;;
   3824   hppa*-*-pro*)
   3825     ;;
   3826   hppa*-*-*)
   3827     noconfigdirs="$noconfigdirs ld"
   3828     ;;
   3829   i960-*-*)
   3830     noconfigdirs="$noconfigdirs gdb"
   3831     ;;
   3832   ia64*-*-elf*)
   3833     # No gdb support yet.
   3834     noconfigdirs="$noconfigdirs readline libgui itcl gdb"
   3835     ;;
   3836   ia64*-**-hpux*)
   3837     # No ld support yet.
   3838     noconfigdirs="$noconfigdirs gdb libgui itcl ld"
   3839     ;;
   3840   ia64*-*-*vms*)
   3841     # No ld support yet.
   3842     noconfigdirs="$noconfigdirs libgui itcl ld"
   3843     ;;
   3844   i[3456789]86-w64-mingw*)
   3845     ;;
   3846   i[3456789]86-*-mingw*)
   3847     target_configdirs="$target_configdirs target-winsup"
   3848     ;;
   3849   *-*-cygwin*)
   3850     target_configdirs="$target_configdirs target-libtermcap target-winsup"
   3851     noconfigdirs="$noconfigdirs target-libgloss"
   3852     # always build newlib if winsup directory is present.
   3853     if test -d "$srcdir/winsup/cygwin"; then
   3854       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3855     elif test -d "$srcdir/newlib"; then
   3856       echo "Warning: winsup/cygwin is missing so newlib can't be built."
   3857     fi
   3858     ;;
   3859   i[3456789]86-*-pe)
   3860     noconfigdirs="$noconfigdirs target-libgloss"
   3861     ;;
   3862   i[3456789]86-*-sco3.2v5*)
   3863     # The linker does not yet know about weak symbols in COFF,
   3864     # and is not configured to handle mixed ELF and COFF.
   3865     noconfigdirs="$noconfigdirs ld target-libgloss"
   3866     ;;
   3867   i[3456789]86-*-sco*)
   3868     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3869     ;;
   3870   i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
   3871     noconfigdirs="$noconfigdirs target-libgloss"
   3872     ;;
   3873   i[3456789]86-*-sysv4*)
   3874     noconfigdirs="$noconfigdirs target-libgloss"
   3875     ;;
   3876   i[3456789]86-*-beos*)
   3877     noconfigdirs="$noconfigdirs gdb"
   3878     ;;
   3879   i[3456789]86-*-rdos*)
   3880     noconfigdirs="$noconfigdirs gdb"
   3881     ;;
   3882   mmix-*-*)
   3883     noconfigdirs="$noconfigdirs gdb"
   3884     ;;
   3885   mt-*-*)
   3886     noconfigdirs="$noconfigdirs sim"
   3887     ;;
   3888   powerpc-*-aix*)
   3889     # copied from rs6000-*-* entry
   3890     noconfigdirs="$noconfigdirs gprof"
   3891     ;;
   3892   powerpc*-*-winnt* | powerpc*-*-pe*)
   3893     target_configdirs="$target_configdirs target-winsup"
   3894     noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
   3895     # always build newlib.
   3896     skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3897     ;;
   3898     # This is temporary until we can link against shared libraries
   3899   powerpcle-*-solaris*)
   3900     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
   3901     ;;
   3902   powerpc-*-beos*)
   3903     noconfigdirs="$noconfigdirs gdb"
   3904     ;;
   3905   rs6000-*-lynxos*)
   3906     noconfigdirs="$noconfigdirs gprof"
   3907     ;;
   3908   rs6000-*-aix*)
   3909     noconfigdirs="$noconfigdirs gprof"
   3910     ;;
   3911   rs6000-*-*)
   3912     noconfigdirs="$noconfigdirs gprof"
   3913     ;;
   3914   m68k-apollo-*)
   3915     noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
   3916     ;;
   3917   microblaze*)
   3918     noconfigdirs="$noconfigdirs gprof"
   3919     ;;
   3920   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   3921     if test x$with_newlib = xyes; then
   3922       noconfigdirs="$noconfigdirs gprof"
   3923     fi
   3924     ;;
   3925   mips*-*-irix5*)
   3926     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3927     ;;
   3928   mips*-*-irix6*)
   3929     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3930     ;;
   3931   mips*-*-bsd*)
   3932     noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
   3933     ;;
   3934   mips*-*-linux*)
   3935     ;;
   3936   mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
   3937   | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
   3938     noconfigdirs="$noconfigdirs ld gas gprof"
   3939     ;;
   3940   mips*-*-*)
   3941     noconfigdirs="$noconfigdirs gprof"
   3942     ;;
   3943   nds32*-*-*)
   3944     noconfigdirs="$noconfigdirs gdb"
   3945     ;;
   3946   nvptx*-*-*)
   3947     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
   3948     ;;
   3949   or1k*-*-*)
   3950     noconfigdirs="$noconfigdirs gdb"
   3951     ;;
   3952   sh-*-* | sh64-*-*)
   3953     case "${target}" in
   3954       sh*-*-elf)
   3955          ;;
   3956       *)
   3957          noconfigdirs="$noconfigdirs target-libgloss" ;;
   3958     esac
   3959     ;;
   3960   sparc-*-sunos4*)
   3961     if test x${is_cross_compiler} = xno ; then
   3962            use_gnu_ld=no
   3963     fi
   3964     ;;
   3965   tic6x-*-*)
   3966     noconfigdirs="$noconfigdirs sim"
   3967     ;;
   3968   tilepro*-*-* | tilegx*-*-*)
   3969     noconfigdirs="$noconfigdirs sim"
   3970     ;;
   3971   v810-*-*)
   3972     noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
   3973     ;;
   3974   vax-*-*)
   3975     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3976     ;;
   3977 esac
   3978 
   3979 # If we aren't building newlib, then don't build libgloss, since libgloss
   3980 # depends upon some newlib header files.
   3981 case "${noconfigdirs}" in
   3982   *target-libgloss*) ;;
   3983   *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
   3984 esac
   3985 
   3986 # Work in distributions that contain no compiler tools, like Autoconf.
   3987 host_makefile_frag=/dev/null
   3988 if test -d ${srcdir}/config ; then
   3989 case "${host}" in
   3990   i[3456789]86-*-msdosdjgpp*)
   3991     host_makefile_frag="config/mh-djgpp"
   3992     ;;
   3993   *-cygwin*)
   3994 
   3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
   3996 $as_echo_n "checking to see if cat works as expected... " >&6; }
   3997 echo a >cygwin-cat-check
   3998 if test `cat cygwin-cat-check` = a ; then
   3999   rm cygwin-cat-check
   4000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4001 $as_echo "yes" >&6; }
   4002 else
   4003   rm cygwin-cat-check
   4004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4005 $as_echo "no" >&6; }
   4006   as_fn_error "The cat command does not ignore carriage return characters.
   4007   Please either mount the build directory in binary mode or run the following
   4008   commands before running any configure script:
   4009 set -o igncr
   4010 export SHELLOPTS
   4011   " "$LINENO" 5
   4012 fi
   4013 
   4014     host_makefile_frag="config/mh-cygwin"
   4015     ;;
   4016   *-mingw*)
   4017     host_makefile_frag="config/mh-mingw"
   4018     ;;
   4019   alpha*-linux*)
   4020     host_makefile_frag="config/mh-alpha-linux"
   4021     ;;
   4022   hppa*-hp-hpux10*)
   4023     host_makefile_frag="config/mh-pa-hpux10"
   4024     ;;
   4025   hppa*-hp-hpux*)
   4026     host_makefile_frag="config/mh-pa"
   4027     ;;
   4028   hppa*-*)
   4029     host_makefile_frag="config/mh-pa"
   4030     ;;
   4031   *-*-darwin*)
   4032     host_makefile_frag="config/mh-darwin"
   4033     ;;
   4034   powerpc-*-aix*)
   4035     host_makefile_frag="config/mh-ppc-aix"
   4036     ;;
   4037   rs6000-*-aix*)
   4038     host_makefile_frag="config/mh-ppc-aix"
   4039     ;;
   4040 esac
   4041 fi
   4042 
   4043 if test "${build}" != "${host}" ; then
   4044   AR_FOR_BUILD=${AR_FOR_BUILD-ar}
   4045   AS_FOR_BUILD=${AS_FOR_BUILD-as}
   4046   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   4047   CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
   4048   GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
   4049   GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
   4050   GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
   4051   DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
   4052   LD_FOR_BUILD=${LD_FOR_BUILD-ld}
   4053   NM_FOR_BUILD=${NM_FOR_BUILD-nm}
   4054   RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
   4055   WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
   4056   WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
   4057 else
   4058   AR_FOR_BUILD="\$(AR)"
   4059   AS_FOR_BUILD="\$(AS)"
   4060   CC_FOR_BUILD="\$(CC)"
   4061   CXX_FOR_BUILD="\$(CXX)"
   4062   GCJ_FOR_BUILD="\$(GCJ)"
   4063   GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
   4064   GOC_FOR_BUILD="\$(GOC)"
   4065   DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
   4066   LD_FOR_BUILD="\$(LD)"
   4067   NM_FOR_BUILD="\$(NM)"
   4068   RANLIB_FOR_BUILD="\$(RANLIB)"
   4069   WINDRES_FOR_BUILD="\$(WINDRES)"
   4070   WINDMC_FOR_BUILD="\$(WINDMC)"
   4071 fi
   4072 
   4073 ac_ext=c
   4074 ac_cpp='$CPP $CPPFLAGS'
   4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4078 if test -n "$ac_tool_prefix"; then
   4079   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4080 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4082 $as_echo_n "checking for $ac_word... " >&6; }
   4083 if test "${ac_cv_prog_CC+set}" = set; then :
   4084   $as_echo_n "(cached) " >&6
   4085 else
   4086   if test -n "$CC"; then
   4087   ac_cv_prog_CC="$CC" # Let the user override the test.
   4088 else
   4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4090 for as_dir in $PATH
   4091 do
   4092   IFS=$as_save_IFS
   4093   test -z "$as_dir" && as_dir=.
   4094     for ac_exec_ext in '' $ac_executable_extensions; do
   4095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4096     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4098     break 2
   4099   fi
   4100 done
   4101   done
   4102 IFS=$as_save_IFS
   4103 
   4104 fi
   4105 fi
   4106 CC=$ac_cv_prog_CC
   4107 if test -n "$CC"; then
   4108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4109 $as_echo "$CC" >&6; }
   4110 else
   4111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4112 $as_echo "no" >&6; }
   4113 fi
   4114 
   4115 
   4116 fi
   4117 if test -z "$ac_cv_prog_CC"; then
   4118   ac_ct_CC=$CC
   4119   # Extract the first word of "gcc", so it can be a program name with args.
   4120 set dummy gcc; ac_word=$2
   4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4122 $as_echo_n "checking for $ac_word... " >&6; }
   4123 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4124   $as_echo_n "(cached) " >&6
   4125 else
   4126   if test -n "$ac_ct_CC"; then
   4127   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4128 else
   4129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4130 for as_dir in $PATH
   4131 do
   4132   IFS=$as_save_IFS
   4133   test -z "$as_dir" && as_dir=.
   4134     for ac_exec_ext in '' $ac_executable_extensions; do
   4135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4136     ac_cv_prog_ac_ct_CC="gcc"
   4137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4138     break 2
   4139   fi
   4140 done
   4141   done
   4142 IFS=$as_save_IFS
   4143 
   4144 fi
   4145 fi
   4146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4147 if test -n "$ac_ct_CC"; then
   4148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4149 $as_echo "$ac_ct_CC" >&6; }
   4150 else
   4151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4152 $as_echo "no" >&6; }
   4153 fi
   4154 
   4155   if test "x$ac_ct_CC" = x; then
   4156     CC=""
   4157   else
   4158     case $cross_compiling:$ac_tool_warned in
   4159 yes:)
   4160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4162 ac_tool_warned=yes ;;
   4163 esac
   4164     CC=$ac_ct_CC
   4165   fi
   4166 else
   4167   CC="$ac_cv_prog_CC"
   4168 fi
   4169 
   4170 if test -z "$CC"; then
   4171           if test -n "$ac_tool_prefix"; then
   4172     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4173 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4175 $as_echo_n "checking for $ac_word... " >&6; }
   4176 if test "${ac_cv_prog_CC+set}" = set; then :
   4177   $as_echo_n "(cached) " >&6
   4178 else
   4179   if test -n "$CC"; then
   4180   ac_cv_prog_CC="$CC" # Let the user override the test.
   4181 else
   4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4183 for as_dir in $PATH
   4184 do
   4185   IFS=$as_save_IFS
   4186   test -z "$as_dir" && as_dir=.
   4187     for ac_exec_ext in '' $ac_executable_extensions; do
   4188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4189     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4191     break 2
   4192   fi
   4193 done
   4194   done
   4195 IFS=$as_save_IFS
   4196 
   4197 fi
   4198 fi
   4199 CC=$ac_cv_prog_CC
   4200 if test -n "$CC"; then
   4201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4202 $as_echo "$CC" >&6; }
   4203 else
   4204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4205 $as_echo "no" >&6; }
   4206 fi
   4207 
   4208 
   4209   fi
   4210 fi
   4211 if test -z "$CC"; then
   4212   # Extract the first word of "cc", so it can be a program name with args.
   4213 set dummy cc; ac_word=$2
   4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4215 $as_echo_n "checking for $ac_word... " >&6; }
   4216 if test "${ac_cv_prog_CC+set}" = set; then :
   4217   $as_echo_n "(cached) " >&6
   4218 else
   4219   if test -n "$CC"; then
   4220   ac_cv_prog_CC="$CC" # Let the user override the test.
   4221 else
   4222   ac_prog_rejected=no
   4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4224 for as_dir in $PATH
   4225 do
   4226   IFS=$as_save_IFS
   4227   test -z "$as_dir" && as_dir=.
   4228     for ac_exec_ext in '' $ac_executable_extensions; do
   4229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4230     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4231        ac_prog_rejected=yes
   4232        continue
   4233      fi
   4234     ac_cv_prog_CC="cc"
   4235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4236     break 2
   4237   fi
   4238 done
   4239   done
   4240 IFS=$as_save_IFS
   4241 
   4242 if test $ac_prog_rejected = yes; then
   4243   # We found a bogon in the path, so make sure we never use it.
   4244   set dummy $ac_cv_prog_CC
   4245   shift
   4246   if test $# != 0; then
   4247     # We chose a different compiler from the bogus one.
   4248     # However, it has the same basename, so the bogon will be chosen
   4249     # first if we set CC to just the basename; use the full file name.
   4250     shift
   4251     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4252   fi
   4253 fi
   4254 fi
   4255 fi
   4256 CC=$ac_cv_prog_CC
   4257 if test -n "$CC"; then
   4258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4259 $as_echo "$CC" >&6; }
   4260 else
   4261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4262 $as_echo "no" >&6; }
   4263 fi
   4264 
   4265 
   4266 fi
   4267 if test -z "$CC"; then
   4268   if test -n "$ac_tool_prefix"; then
   4269   for ac_prog in cl.exe
   4270   do
   4271     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4274 $as_echo_n "checking for $ac_word... " >&6; }
   4275 if test "${ac_cv_prog_CC+set}" = set; then :
   4276   $as_echo_n "(cached) " >&6
   4277 else
   4278   if test -n "$CC"; then
   4279   ac_cv_prog_CC="$CC" # Let the user override the test.
   4280 else
   4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4282 for as_dir in $PATH
   4283 do
   4284   IFS=$as_save_IFS
   4285   test -z "$as_dir" && as_dir=.
   4286     for ac_exec_ext in '' $ac_executable_extensions; do
   4287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4288     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4290     break 2
   4291   fi
   4292 done
   4293   done
   4294 IFS=$as_save_IFS
   4295 
   4296 fi
   4297 fi
   4298 CC=$ac_cv_prog_CC
   4299 if test -n "$CC"; then
   4300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4301 $as_echo "$CC" >&6; }
   4302 else
   4303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4304 $as_echo "no" >&6; }
   4305 fi
   4306 
   4307 
   4308     test -n "$CC" && break
   4309   done
   4310 fi
   4311 if test -z "$CC"; then
   4312   ac_ct_CC=$CC
   4313   for ac_prog in cl.exe
   4314 do
   4315   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4316 set dummy $ac_prog; ac_word=$2
   4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4318 $as_echo_n "checking for $ac_word... " >&6; }
   4319 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4320   $as_echo_n "(cached) " >&6
   4321 else
   4322   if test -n "$ac_ct_CC"; then
   4323   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4324 else
   4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4326 for as_dir in $PATH
   4327 do
   4328   IFS=$as_save_IFS
   4329   test -z "$as_dir" && as_dir=.
   4330     for ac_exec_ext in '' $ac_executable_extensions; do
   4331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4332     ac_cv_prog_ac_ct_CC="$ac_prog"
   4333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4334     break 2
   4335   fi
   4336 done
   4337   done
   4338 IFS=$as_save_IFS
   4339 
   4340 fi
   4341 fi
   4342 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4343 if test -n "$ac_ct_CC"; then
   4344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4345 $as_echo "$ac_ct_CC" >&6; }
   4346 else
   4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4348 $as_echo "no" >&6; }
   4349 fi
   4350 
   4351 
   4352   test -n "$ac_ct_CC" && break
   4353 done
   4354 
   4355   if test "x$ac_ct_CC" = x; then
   4356     CC=""
   4357   else
   4358     case $cross_compiling:$ac_tool_warned in
   4359 yes:)
   4360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4362 ac_tool_warned=yes ;;
   4363 esac
   4364     CC=$ac_ct_CC
   4365   fi
   4366 fi
   4367 
   4368 fi
   4369 
   4370 
   4371 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4373 as_fn_error "no acceptable C compiler found in \$PATH
   4374 See \`config.log' for more details." "$LINENO" 5; }
   4375 
   4376 # Provide some information about the compiler.
   4377 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4378 set X $ac_compile
   4379 ac_compiler=$2
   4380 for ac_option in --version -v -V -qversion; do
   4381   { { ac_try="$ac_compiler $ac_option >&5"
   4382 case "(($ac_try" in
   4383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4384   *) ac_try_echo=$ac_try;;
   4385 esac
   4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4387 $as_echo "$ac_try_echo"; } >&5
   4388   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4389   ac_status=$?
   4390   if test -s conftest.err; then
   4391     sed '10a\
   4392 ... rest of stderr output deleted ...
   4393          10q' conftest.err >conftest.er1
   4394     cat conftest.er1 >&5
   4395     rm -f conftest.er1 conftest.err
   4396   fi
   4397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4398   test $ac_status = 0; }
   4399 done
   4400 
   4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4402 /* end confdefs.h.  */
   4403 
   4404 int
   4405 main ()
   4406 {
   4407 
   4408   ;
   4409   return 0;
   4410 }
   4411 _ACEOF
   4412 ac_clean_files_save=$ac_clean_files
   4413 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
   4414 # Try to create an executable without -o first, disregard a.out.
   4415 # It will help us diagnose broken compilers, and finding out an intuition
   4416 # of exeext.
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4418 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4419 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4420 
   4421 # The possible output files:
   4422 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4423 
   4424 ac_rmfiles=
   4425 for ac_file in $ac_files
   4426 do
   4427   case $ac_file in
   4428     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4429     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4430   esac
   4431 done
   4432 rm -f $ac_rmfiles
   4433 
   4434 if { { ac_try="$ac_link_default"
   4435 case "(($ac_try" in
   4436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4437   *) ac_try_echo=$ac_try;;
   4438 esac
   4439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4440 $as_echo "$ac_try_echo"; } >&5
   4441   (eval "$ac_link_default") 2>&5
   4442   ac_status=$?
   4443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4444   test $ac_status = 0; }; then :
   4445   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4446 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4447 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4448 # so that the user can short-circuit this test for compilers unknown to
   4449 # Autoconf.
   4450 for ac_file in $ac_files ''
   4451 do
   4452   test -f "$ac_file" || continue
   4453   case $ac_file in
   4454     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4455 	;;
   4456     [ab].out )
   4457 	# We found the default executable, but exeext='' is most
   4458 	# certainly right.
   4459 	break;;
   4460     *.* )
   4461 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   4462 	then :; else
   4463 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4464 	fi
   4465 	# We set ac_cv_exeext here because the later test for it is not
   4466 	# safe: cross compilers may not add the suffix if given an `-o'
   4467 	# argument, so we may need to know it at that point already.
   4468 	# Even if this section looks crufty: it has the advantage of
   4469 	# actually working.
   4470 	break;;
   4471     * )
   4472 	break;;
   4473   esac
   4474 done
   4475 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4476 
   4477 else
   4478   ac_file=''
   4479 fi
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4481 $as_echo "$ac_file" >&6; }
   4482 if test -z "$ac_file"; then :
   4483   $as_echo "$as_me: failed program was:" >&5
   4484 sed 's/^/| /' conftest.$ac_ext >&5
   4485 
   4486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4488 { as_fn_set_status 77
   4489 as_fn_error "C compiler cannot create executables
   4490 See \`config.log' for more details." "$LINENO" 5; }; }
   4491 fi
   4492 ac_exeext=$ac_cv_exeext
   4493 
   4494 # Check that the compiler produces executables we can run.  If not, either
   4495 # the compiler is broken, or we cross compile.
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4497 $as_echo_n "checking whether the C compiler works... " >&6; }
   4498 # If not cross compiling, check that we can run a simple program.
   4499 if test "$cross_compiling" != yes; then
   4500   if { ac_try='./$ac_file'
   4501   { { case "(($ac_try" in
   4502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4503   *) ac_try_echo=$ac_try;;
   4504 esac
   4505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4506 $as_echo "$ac_try_echo"; } >&5
   4507   (eval "$ac_try") 2>&5
   4508   ac_status=$?
   4509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4510   test $ac_status = 0; }; }; then
   4511     cross_compiling=no
   4512   else
   4513     if test "$cross_compiling" = maybe; then
   4514 	cross_compiling=yes
   4515     else
   4516 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4518 as_fn_error "cannot run C compiled programs.
   4519 If you meant to cross compile, use \`--host'.
   4520 See \`config.log' for more details." "$LINENO" 5; }
   4521     fi
   4522   fi
   4523 fi
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4525 $as_echo "yes" >&6; }
   4526 
   4527 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
   4528 ac_clean_files=$ac_clean_files_save
   4529 # Check that the compiler produces executables we can run.  If not, either
   4530 # the compiler is broken, or we cross compile.
   4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4532 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4534 $as_echo "$cross_compiling" >&6; }
   4535 
   4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4537 $as_echo_n "checking for suffix of executables... " >&6; }
   4538 if { { ac_try="$ac_link"
   4539 case "(($ac_try" in
   4540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4541   *) ac_try_echo=$ac_try;;
   4542 esac
   4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4544 $as_echo "$ac_try_echo"; } >&5
   4545   (eval "$ac_link") 2>&5
   4546   ac_status=$?
   4547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4548   test $ac_status = 0; }; then :
   4549   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4550 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4551 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4552 # `rm'.
   4553 for ac_file in conftest.exe conftest conftest.*; do
   4554   test -f "$ac_file" || continue
   4555   case $ac_file in
   4556     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4557     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4558 	  break;;
   4559     * ) break;;
   4560   esac
   4561 done
   4562 else
   4563   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4565 as_fn_error "cannot compute suffix of executables: cannot compile and link
   4566 See \`config.log' for more details." "$LINENO" 5; }
   4567 fi
   4568 rm -f conftest$ac_cv_exeext
   4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4570 $as_echo "$ac_cv_exeext" >&6; }
   4571 
   4572 rm -f conftest.$ac_ext
   4573 EXEEXT=$ac_cv_exeext
   4574 ac_exeext=$EXEEXT
   4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4576 $as_echo_n "checking for suffix of object files... " >&6; }
   4577 if test "${ac_cv_objext+set}" = set; then :
   4578   $as_echo_n "(cached) " >&6
   4579 else
   4580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4581 /* end confdefs.h.  */
   4582 
   4583 int
   4584 main ()
   4585 {
   4586 
   4587   ;
   4588   return 0;
   4589 }
   4590 _ACEOF
   4591 rm -f conftest.o conftest.obj
   4592 if { { ac_try="$ac_compile"
   4593 case "(($ac_try" in
   4594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4595   *) ac_try_echo=$ac_try;;
   4596 esac
   4597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4598 $as_echo "$ac_try_echo"; } >&5
   4599   (eval "$ac_compile") 2>&5
   4600   ac_status=$?
   4601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4602   test $ac_status = 0; }; then :
   4603   for ac_file in conftest.o conftest.obj conftest.*; do
   4604   test -f "$ac_file" || continue;
   4605   case $ac_file in
   4606     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4607     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4608        break;;
   4609   esac
   4610 done
   4611 else
   4612   $as_echo "$as_me: failed program was:" >&5
   4613 sed 's/^/| /' conftest.$ac_ext >&5
   4614 
   4615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4617 as_fn_error "cannot compute suffix of object files: cannot compile
   4618 See \`config.log' for more details." "$LINENO" 5; }
   4619 fi
   4620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4621 fi
   4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4623 $as_echo "$ac_cv_objext" >&6; }
   4624 OBJEXT=$ac_cv_objext
   4625 ac_objext=$OBJEXT
   4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4627 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4628 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   4629   $as_echo_n "(cached) " >&6
   4630 else
   4631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4632 /* end confdefs.h.  */
   4633 
   4634 int
   4635 main ()
   4636 {
   4637 #ifndef __GNUC__
   4638        choke me
   4639 #endif
   4640 
   4641   ;
   4642   return 0;
   4643 }
   4644 _ACEOF
   4645 if ac_fn_c_try_compile "$LINENO"; then :
   4646   ac_compiler_gnu=yes
   4647 else
   4648   ac_compiler_gnu=no
   4649 fi
   4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4652 
   4653 fi
   4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4655 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4656 if test $ac_compiler_gnu = yes; then
   4657   GCC=yes
   4658 else
   4659   GCC=
   4660 fi
   4661 ac_test_CFLAGS=${CFLAGS+set}
   4662 ac_save_CFLAGS=$CFLAGS
   4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4664 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4665 if test "${ac_cv_prog_cc_g+set}" = set; then :
   4666   $as_echo_n "(cached) " >&6
   4667 else
   4668   ac_save_c_werror_flag=$ac_c_werror_flag
   4669    ac_c_werror_flag=yes
   4670    ac_cv_prog_cc_g=no
   4671    CFLAGS="-g"
   4672    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4673 /* end confdefs.h.  */
   4674 
   4675 int
   4676 main ()
   4677 {
   4678 
   4679   ;
   4680   return 0;
   4681 }
   4682 _ACEOF
   4683 if ac_fn_c_try_compile "$LINENO"; then :
   4684   ac_cv_prog_cc_g=yes
   4685 else
   4686   CFLAGS=""
   4687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4688 /* end confdefs.h.  */
   4689 
   4690 int
   4691 main ()
   4692 {
   4693 
   4694   ;
   4695   return 0;
   4696 }
   4697 _ACEOF
   4698 if ac_fn_c_try_compile "$LINENO"; then :
   4699 
   4700 else
   4701   ac_c_werror_flag=$ac_save_c_werror_flag
   4702 	 CFLAGS="-g"
   4703 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4704 /* end confdefs.h.  */
   4705 
   4706 int
   4707 main ()
   4708 {
   4709 
   4710   ;
   4711   return 0;
   4712 }
   4713 _ACEOF
   4714 if ac_fn_c_try_compile "$LINENO"; then :
   4715   ac_cv_prog_cc_g=yes
   4716 fi
   4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4718 fi
   4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4720 fi
   4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4722    ac_c_werror_flag=$ac_save_c_werror_flag
   4723 fi
   4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4725 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4726 if test "$ac_test_CFLAGS" = set; then
   4727   CFLAGS=$ac_save_CFLAGS
   4728 elif test $ac_cv_prog_cc_g = yes; then
   4729   if test "$GCC" = yes; then
   4730     CFLAGS="-g -O2"
   4731   else
   4732     CFLAGS="-g"
   4733   fi
   4734 else
   4735   if test "$GCC" = yes; then
   4736     CFLAGS="-O2"
   4737   else
   4738     CFLAGS=
   4739   fi
   4740 fi
   4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4742 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4743 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   ac_cv_prog_cc_c89=no
   4747 ac_save_CC=$CC
   4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4749 /* end confdefs.h.  */
   4750 #include <stdarg.h>
   4751 #include <stdio.h>
   4752 #include <sys/types.h>
   4753 #include <sys/stat.h>
   4754 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4755 struct buf { int x; };
   4756 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4757 static char *e (p, i)
   4758      char **p;
   4759      int i;
   4760 {
   4761   return p[i];
   4762 }
   4763 static char *f (char * (*g) (char **, int), char **p, ...)
   4764 {
   4765   char *s;
   4766   va_list v;
   4767   va_start (v,p);
   4768   s = g (p, va_arg (v,int));
   4769   va_end (v);
   4770   return s;
   4771 }
   4772 
   4773 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4774    function prototypes and stuff, but not '\xHH' hex character constants.
   4775    These don't provoke an error unfortunately, instead are silently treated
   4776    as 'x'.  The following induces an error, until -std is added to get
   4777    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4778    array size at least.  It's necessary to write '\x00'==0 to get something
   4779    that's true only with -std.  */
   4780 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4781 
   4782 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4783    inside strings and character constants.  */
   4784 #define FOO(x) 'x'
   4785 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4786 
   4787 int test (int i, double x);
   4788 struct s1 {int (*f) (int a);};
   4789 struct s2 {int (*f) (double a);};
   4790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4791 int argc;
   4792 char **argv;
   4793 int
   4794 main ()
   4795 {
   4796 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4797   ;
   4798   return 0;
   4799 }
   4800 _ACEOF
   4801 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4802 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4803 do
   4804   CC="$ac_save_CC $ac_arg"
   4805   if ac_fn_c_try_compile "$LINENO"; then :
   4806   ac_cv_prog_cc_c89=$ac_arg
   4807 fi
   4808 rm -f core conftest.err conftest.$ac_objext
   4809   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4810 done
   4811 rm -f conftest.$ac_ext
   4812 CC=$ac_save_CC
   4813 
   4814 fi
   4815 # AC_CACHE_VAL
   4816 case "x$ac_cv_prog_cc_c89" in
   4817   x)
   4818     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4819 $as_echo "none needed" >&6; } ;;
   4820   xno)
   4821     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4822 $as_echo "unsupported" >&6; } ;;
   4823   *)
   4824     CC="$CC $ac_cv_prog_cc_c89"
   4825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4826 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4827 esac
   4828 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4829 
   4830 fi
   4831 
   4832 ac_ext=c
   4833 ac_cpp='$CPP $CPPFLAGS'
   4834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4837 
   4838 ac_ext=cpp
   4839 ac_cpp='$CXXCPP $CPPFLAGS'
   4840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4843 if test -z "$CXX"; then
   4844   if test -n "$CCC"; then
   4845     CXX=$CCC
   4846   else
   4847     if test -n "$ac_tool_prefix"; then
   4848   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4849   do
   4850     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4853 $as_echo_n "checking for $ac_word... " >&6; }
   4854 if test "${ac_cv_prog_CXX+set}" = set; then :
   4855   $as_echo_n "(cached) " >&6
   4856 else
   4857   if test -n "$CXX"; then
   4858   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4859 else
   4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4861 for as_dir in $PATH
   4862 do
   4863   IFS=$as_save_IFS
   4864   test -z "$as_dir" && as_dir=.
   4865     for ac_exec_ext in '' $ac_executable_extensions; do
   4866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4867     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4869     break 2
   4870   fi
   4871 done
   4872   done
   4873 IFS=$as_save_IFS
   4874 
   4875 fi
   4876 fi
   4877 CXX=$ac_cv_prog_CXX
   4878 if test -n "$CXX"; then
   4879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   4880 $as_echo "$CXX" >&6; }
   4881 else
   4882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4883 $as_echo "no" >&6; }
   4884 fi
   4885 
   4886 
   4887     test -n "$CXX" && break
   4888   done
   4889 fi
   4890 if test -z "$CXX"; then
   4891   ac_ct_CXX=$CXX
   4892   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4893 do
   4894   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4895 set dummy $ac_prog; ac_word=$2
   4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4897 $as_echo_n "checking for $ac_word... " >&6; }
   4898 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
   4899   $as_echo_n "(cached) " >&6
   4900 else
   4901   if test -n "$ac_ct_CXX"; then
   4902   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4903 else
   4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4905 for as_dir in $PATH
   4906 do
   4907   IFS=$as_save_IFS
   4908   test -z "$as_dir" && as_dir=.
   4909     for ac_exec_ext in '' $ac_executable_extensions; do
   4910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4911     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4913     break 2
   4914   fi
   4915 done
   4916   done
   4917 IFS=$as_save_IFS
   4918 
   4919 fi
   4920 fi
   4921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4922 if test -n "$ac_ct_CXX"; then
   4923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   4924 $as_echo "$ac_ct_CXX" >&6; }
   4925 else
   4926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4927 $as_echo "no" >&6; }
   4928 fi
   4929 
   4930 
   4931   test -n "$ac_ct_CXX" && break
   4932 done
   4933 
   4934   if test "x$ac_ct_CXX" = x; then
   4935     CXX="g++"
   4936   else
   4937     case $cross_compiling:$ac_tool_warned in
   4938 yes:)
   4939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4941 ac_tool_warned=yes ;;
   4942 esac
   4943     CXX=$ac_ct_CXX
   4944   fi
   4945 fi
   4946 
   4947   fi
   4948 fi
   4949 # Provide some information about the compiler.
   4950 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   4951 set X $ac_compile
   4952 ac_compiler=$2
   4953 for ac_option in --version -v -V -qversion; do
   4954   { { ac_try="$ac_compiler $ac_option >&5"
   4955 case "(($ac_try" in
   4956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4957   *) ac_try_echo=$ac_try;;
   4958 esac
   4959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4960 $as_echo "$ac_try_echo"; } >&5
   4961   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4962   ac_status=$?
   4963   if test -s conftest.err; then
   4964     sed '10a\
   4965 ... rest of stderr output deleted ...
   4966          10q' conftest.err >conftest.er1
   4967     cat conftest.er1 >&5
   4968     rm -f conftest.er1 conftest.err
   4969   fi
   4970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4971   test $ac_status = 0; }
   4972 done
   4973 
   4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   4975 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   4976 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 
   4982 int
   4983 main ()
   4984 {
   4985 #ifndef __GNUC__
   4986        choke me
   4987 #endif
   4988 
   4989   ;
   4990   return 0;
   4991 }
   4992 _ACEOF
   4993 if ac_fn_cxx_try_compile "$LINENO"; then :
   4994   ac_compiler_gnu=yes
   4995 else
   4996   ac_compiler_gnu=no
   4997 fi
   4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4999 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5000 
   5001 fi
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5003 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5004 if test $ac_compiler_gnu = yes; then
   5005   GXX=yes
   5006 else
   5007   GXX=
   5008 fi
   5009 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5010 ac_save_CXXFLAGS=$CXXFLAGS
   5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5012 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5013 if test "${ac_cv_prog_cxx_g+set}" = set; then :
   5014   $as_echo_n "(cached) " >&6
   5015 else
   5016   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5017    ac_cxx_werror_flag=yes
   5018    ac_cv_prog_cxx_g=no
   5019    CXXFLAGS="-g"
   5020    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5021 /* end confdefs.h.  */
   5022 
   5023 int
   5024 main ()
   5025 {
   5026 
   5027   ;
   5028   return 0;
   5029 }
   5030 _ACEOF
   5031 if ac_fn_cxx_try_compile "$LINENO"; then :
   5032   ac_cv_prog_cxx_g=yes
   5033 else
   5034   CXXFLAGS=""
   5035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5036 /* end confdefs.h.  */
   5037 
   5038 int
   5039 main ()
   5040 {
   5041 
   5042   ;
   5043   return 0;
   5044 }
   5045 _ACEOF
   5046 if ac_fn_cxx_try_compile "$LINENO"; then :
   5047 
   5048 else
   5049   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5050 	 CXXFLAGS="-g"
   5051 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5052 /* end confdefs.h.  */
   5053 
   5054 int
   5055 main ()
   5056 {
   5057 
   5058   ;
   5059   return 0;
   5060 }
   5061 _ACEOF
   5062 if ac_fn_cxx_try_compile "$LINENO"; then :
   5063   ac_cv_prog_cxx_g=yes
   5064 fi
   5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5066 fi
   5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5068 fi
   5069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5070    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5071 fi
   5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5073 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5074 if test "$ac_test_CXXFLAGS" = set; then
   5075   CXXFLAGS=$ac_save_CXXFLAGS
   5076 elif test $ac_cv_prog_cxx_g = yes; then
   5077   if test "$GXX" = yes; then
   5078     CXXFLAGS="-g -O2"
   5079   else
   5080     CXXFLAGS="-g"
   5081   fi
   5082 else
   5083   if test "$GXX" = yes; then
   5084     CXXFLAGS="-O2"
   5085   else
   5086     CXXFLAGS=
   5087   fi
   5088 fi
   5089 ac_ext=c
   5090 ac_cpp='$CPP $CPPFLAGS'
   5091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5094 
   5095 
   5096 # We must set the default linker to the linker used by gcc for the correct
   5097 # operation of libtool.  If LD is not defined and we are using gcc, try to
   5098 # set the LD default to the ld used by gcc.
   5099 if test -z "$LD"; then
   5100   if test "$GCC" = yes; then
   5101     case $build in
   5102     *-*-mingw*)
   5103       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
   5104     *)
   5105       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
   5106     esac
   5107     case $gcc_prog_ld in
   5108     # Accept absolute paths.
   5109     [\\/]* | [A-Za-z]:[\\/]*)
   5110       LD="$gcc_prog_ld" ;;
   5111     esac
   5112   fi
   5113 fi
   5114 
   5115 # Check whether -static-libstdc++ -static-libgcc is supported.
   5116 have_static_libs=no
   5117 if test "$GCC" = yes; then
   5118   saved_LDFLAGS="$LDFLAGS"
   5119 
   5120   LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
   5121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
   5122 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
   5123   ac_ext=cpp
   5124 ac_cpp='$CXXCPP $CPPFLAGS'
   5125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5128 
   5129 
   5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5131 /* end confdefs.h.  */
   5132 
   5133 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
   5134 #error -static-libstdc++ not implemented
   5135 #endif
   5136 int main() {}
   5137 _ACEOF
   5138 if ac_fn_cxx_try_link "$LINENO"; then :
   5139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5140 $as_echo "yes" >&6; }; have_static_libs=yes
   5141 else
   5142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5143 $as_echo "no" >&6; }
   5144 fi
   5145 rm -f core conftest.err conftest.$ac_objext \
   5146     conftest$ac_exeext conftest.$ac_ext
   5147   ac_ext=c
   5148 ac_cpp='$CPP $CPPFLAGS'
   5149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5152 
   5153 
   5154   LDFLAGS="$saved_LDFLAGS"
   5155 fi
   5156 
   5157 
   5158 
   5159 
   5160 if test -n "$ac_tool_prefix"; then
   5161   # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
   5162 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
   5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5164 $as_echo_n "checking for $ac_word... " >&6; }
   5165 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
   5166   $as_echo_n "(cached) " >&6
   5167 else
   5168   if test -n "$GNATBIND"; then
   5169   ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
   5170 else
   5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5172 for as_dir in $PATH
   5173 do
   5174   IFS=$as_save_IFS
   5175   test -z "$as_dir" && as_dir=.
   5176     for ac_exec_ext in '' $ac_executable_extensions; do
   5177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5178     ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
   5179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5180     break 2
   5181   fi
   5182 done
   5183   done
   5184 IFS=$as_save_IFS
   5185 
   5186 fi
   5187 fi
   5188 GNATBIND=$ac_cv_prog_GNATBIND
   5189 if test -n "$GNATBIND"; then
   5190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
   5191 $as_echo "$GNATBIND" >&6; }
   5192 else
   5193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5194 $as_echo "no" >&6; }
   5195 fi
   5196 
   5197 
   5198 fi
   5199 if test -z "$ac_cv_prog_GNATBIND"; then
   5200   ac_ct_GNATBIND=$GNATBIND
   5201   # Extract the first word of "gnatbind", so it can be a program name with args.
   5202 set dummy gnatbind; ac_word=$2
   5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5204 $as_echo_n "checking for $ac_word... " >&6; }
   5205 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
   5206   $as_echo_n "(cached) " >&6
   5207 else
   5208   if test -n "$ac_ct_GNATBIND"; then
   5209   ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
   5210 else
   5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5212 for as_dir in $PATH
   5213 do
   5214   IFS=$as_save_IFS
   5215   test -z "$as_dir" && as_dir=.
   5216     for ac_exec_ext in '' $ac_executable_extensions; do
   5217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5218     ac_cv_prog_ac_ct_GNATBIND="gnatbind"
   5219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5220     break 2
   5221   fi
   5222 done
   5223   done
   5224 IFS=$as_save_IFS
   5225 
   5226 fi
   5227 fi
   5228 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
   5229 if test -n "$ac_ct_GNATBIND"; then
   5230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
   5231 $as_echo "$ac_ct_GNATBIND" >&6; }
   5232 else
   5233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5234 $as_echo "no" >&6; }
   5235 fi
   5236 
   5237   if test "x$ac_ct_GNATBIND" = x; then
   5238     GNATBIND="no"
   5239   else
   5240     case $cross_compiling:$ac_tool_warned in
   5241 yes:)
   5242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5244 ac_tool_warned=yes ;;
   5245 esac
   5246     GNATBIND=$ac_ct_GNATBIND
   5247   fi
   5248 else
   5249   GNATBIND="$ac_cv_prog_GNATBIND"
   5250 fi
   5251 
   5252 if test -n "$ac_tool_prefix"; then
   5253   # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
   5254 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
   5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5256 $as_echo_n "checking for $ac_word... " >&6; }
   5257 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
   5258   $as_echo_n "(cached) " >&6
   5259 else
   5260   if test -n "$GNATMAKE"; then
   5261   ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
   5262 else
   5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5264 for as_dir in $PATH
   5265 do
   5266   IFS=$as_save_IFS
   5267   test -z "$as_dir" && as_dir=.
   5268     for ac_exec_ext in '' $ac_executable_extensions; do
   5269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5270     ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
   5271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5272     break 2
   5273   fi
   5274 done
   5275   done
   5276 IFS=$as_save_IFS
   5277 
   5278 fi
   5279 fi
   5280 GNATMAKE=$ac_cv_prog_GNATMAKE
   5281 if test -n "$GNATMAKE"; then
   5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
   5283 $as_echo "$GNATMAKE" >&6; }
   5284 else
   5285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5286 $as_echo "no" >&6; }
   5287 fi
   5288 
   5289 
   5290 fi
   5291 if test -z "$ac_cv_prog_GNATMAKE"; then
   5292   ac_ct_GNATMAKE=$GNATMAKE
   5293   # Extract the first word of "gnatmake", so it can be a program name with args.
   5294 set dummy gnatmake; ac_word=$2
   5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5296 $as_echo_n "checking for $ac_word... " >&6; }
   5297 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   if test -n "$ac_ct_GNATMAKE"; then
   5301   ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
   5302 else
   5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5304 for as_dir in $PATH
   5305 do
   5306   IFS=$as_save_IFS
   5307   test -z "$as_dir" && as_dir=.
   5308     for ac_exec_ext in '' $ac_executable_extensions; do
   5309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5310     ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
   5311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5312     break 2
   5313   fi
   5314 done
   5315   done
   5316 IFS=$as_save_IFS
   5317 
   5318 fi
   5319 fi
   5320 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
   5321 if test -n "$ac_ct_GNATMAKE"; then
   5322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
   5323 $as_echo "$ac_ct_GNATMAKE" >&6; }
   5324 else
   5325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5326 $as_echo "no" >&6; }
   5327 fi
   5328 
   5329   if test "x$ac_ct_GNATMAKE" = x; then
   5330     GNATMAKE="no"
   5331   else
   5332     case $cross_compiling:$ac_tool_warned in
   5333 yes:)
   5334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5336 ac_tool_warned=yes ;;
   5337 esac
   5338     GNATMAKE=$ac_ct_GNATMAKE
   5339   fi
   5340 else
   5341   GNATMAKE="$ac_cv_prog_GNATMAKE"
   5342 fi
   5343 
   5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
   5345 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
   5346 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
   5347   $as_echo_n "(cached) " >&6
   5348 else
   5349   cat >conftest.adb <<EOF
   5350 procedure conftest is begin null; end conftest;
   5351 EOF
   5352 acx_cv_cc_gcc_supports_ada=no
   5353 # There is a bug in old released versions of GCC which causes the
   5354 # driver to exit successfully when the appropriate language module
   5355 # has not been installed.  This is fixed in 2.95.4, 3.0.2, and 3.1.
   5356 # Therefore we must check for the error message as well as an
   5357 # unsuccessful exit.
   5358 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
   5359 # given a .adb file, but produce no object file.  So we must check
   5360 # if an object file was really produced to guard against this.
   5361 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
   5362 if test x"$errors" = x && test -f conftest.$ac_objext; then
   5363   acx_cv_cc_gcc_supports_ada=yes
   5364 fi
   5365 rm -f conftest.*
   5366 fi
   5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
   5368 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
   5369 
   5370 if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
   5371   have_gnat=yes
   5372 else
   5373   have_gnat=no
   5374 fi
   5375 
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   5377 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   5378 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
   5379   $as_echo_n "(cached) " >&6
   5380 else
   5381    echo abfoo >t1
   5382   echo cdfoo >t2
   5383   gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   5384   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   5385     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   5386       :
   5387     else
   5388       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   5389     fi
   5390   fi
   5391   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   5392     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   5393       :
   5394     else
   5395       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   5396     fi
   5397   fi
   5398   rm t1 t2
   5399 
   5400 fi
   5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   5402 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   5403 do_compare="$gcc_cv_prog_cmp_skip"
   5404 
   5405 
   5406 
   5407 # Check whether --enable-bootstrap was given.
   5408 if test "${enable_bootstrap+set}" = set; then :
   5409   enableval=$enable_bootstrap;
   5410 else
   5411   enable_bootstrap=default
   5412 fi
   5413 
   5414 
   5415 # Issue errors and warnings for invalid/strange bootstrap combinations.
   5416 if test -r $srcdir/gcc/configure; then
   5417   have_compiler=yes
   5418 else
   5419   have_compiler=no
   5420 fi
   5421 
   5422 case "$have_compiler:$host:$target:$enable_bootstrap" in
   5423   *:*:*:no) ;;
   5424 
   5425   # Default behavior.  Enable bootstrap if we have a compiler
   5426   # and we are in a native configuration.
   5427   yes:$build:$build:default)
   5428     enable_bootstrap=yes ;;
   5429 
   5430   *:*:*:default)
   5431     enable_bootstrap=no ;;
   5432 
   5433   # We have a compiler and we are in a native configuration, bootstrap is ok
   5434   yes:$build:$build:yes)
   5435     ;;
   5436 
   5437   # Other configurations, but we have a compiler.  Assume the user knows
   5438   # what he's doing.
   5439   yes:*:*:yes)
   5440     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
   5441 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
   5442     ;;
   5443 
   5444   # No compiler: if they passed --enable-bootstrap explicitly, fail
   5445   no:*:*:yes)
   5446     as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
   5447 
   5448   # Fail if wrong command line
   5449   *)
   5450     as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
   5451     ;;
   5452 esac
   5453 
   5454 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
   5455 # C++98 compiler can still start the bootstrap.
   5456 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
   5457   CXX="$CXX -std=gnu++98"
   5458 fi
   5459 
   5460 # Used for setting $lt_cv_objdir
   5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   5462 $as_echo_n "checking for objdir... " >&6; }
   5463 if test "${lt_cv_objdir+set}" = set; then :
   5464   $as_echo_n "(cached) " >&6
   5465 else
   5466   rm -f .libs 2>/dev/null
   5467 mkdir .libs 2>/dev/null
   5468 if test -d .libs; then
   5469   lt_cv_objdir=.libs
   5470 else
   5471   # MS-DOS does not allow filenames that begin with a dot.
   5472   lt_cv_objdir=_libs
   5473 fi
   5474 rmdir .libs 2>/dev/null
   5475 fi
   5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   5477 $as_echo "$lt_cv_objdir" >&6; }
   5478 objdir=$lt_cv_objdir
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 cat >>confdefs.h <<_ACEOF
   5485 #define LT_OBJDIR "$lt_cv_objdir/"
   5486 _ACEOF
   5487 
   5488 
   5489 
   5490 # Check for GMP, MPFR and MPC
   5491 gmplibs="-lmpc -lmpfr -lgmp"
   5492 gmpinc=
   5493 have_gmp=no
   5494 
   5495 # Specify a location for mpc
   5496 # check for this first so it ends up on the link line before mpfr.
   5497 
   5498 # Check whether --with-mpc was given.
   5499 if test "${with_mpc+set}" = set; then :
   5500   withval=$with_mpc;
   5501 fi
   5502 
   5503 
   5504 # Check whether --with-mpc-include was given.
   5505 if test "${with_mpc_include+set}" = set; then :
   5506   withval=$with_mpc_include;
   5507 fi
   5508 
   5509 
   5510 # Check whether --with-mpc-lib was given.
   5511 if test "${with_mpc_lib+set}" = set; then :
   5512   withval=$with_mpc_lib;
   5513 fi
   5514 
   5515 
   5516 if test "x$with_mpc" != x; then
   5517   gmplibs="-L$with_mpc/lib $gmplibs"
   5518   gmpinc="-I$with_mpc/include $gmpinc"
   5519 fi
   5520 if test "x$with_mpc_include" != x; then
   5521   gmpinc="-I$with_mpc_include $gmpinc"
   5522 fi
   5523 if test "x$with_mpc_lib" != x; then
   5524   gmplibs="-L$with_mpc_lib $gmplibs"
   5525 fi
   5526 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
   5527   gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
   5528   gmpinc='-I$$s/mpc/src '"$gmpinc"
   5529   # Do not test the mpc version.  Assume that it is sufficient, since
   5530   # it is in the source tree, and the library has not been built yet
   5531   # but it would be included on the link line in the version check below
   5532   # hence making the test fail.
   5533   have_gmp=yes
   5534 fi
   5535 
   5536 # Specify a location for mpfr
   5537 # check for this first so it ends up on the link line before gmp.
   5538 
   5539 # Check whether --with-mpfr-dir was given.
   5540 if test "${with_mpfr_dir+set}" = set; then :
   5541   withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
   5542 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
   5543 fi
   5544 
   5545 
   5546 
   5547 # Check whether --with-mpfr was given.
   5548 if test "${with_mpfr+set}" = set; then :
   5549   withval=$with_mpfr;
   5550 fi
   5551 
   5552 
   5553 # Check whether --with-mpfr-include was given.
   5554 if test "${with_mpfr_include+set}" = set; then :
   5555   withval=$with_mpfr_include;
   5556 fi
   5557 
   5558 
   5559 # Check whether --with-mpfr-lib was given.
   5560 if test "${with_mpfr_lib+set}" = set; then :
   5561   withval=$with_mpfr_lib;
   5562 fi
   5563 
   5564 
   5565 if test "x$with_mpfr" != x; then
   5566   gmplibs="-L$with_mpfr/lib $gmplibs"
   5567   gmpinc="-I$with_mpfr/include $gmpinc"
   5568 fi
   5569 if test "x$with_mpfr_include" != x; then
   5570   gmpinc="-I$with_mpfr_include $gmpinc"
   5571 fi
   5572 if test "x$with_mpfr_lib" != x; then
   5573   gmplibs="-L$with_mpfr_lib $gmplibs"
   5574 fi
   5575 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
   5576   # MPFR v3.1.0 moved the sources into a src sub-directory.
   5577   if test -d ${srcdir}/mpfr/src; then
   5578     gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
   5579     gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
   5580     extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
   5581   else
   5582     gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
   5583     gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
   5584     extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
   5585   fi
   5586   # Do not test the mpfr version.  Assume that it is sufficient, since
   5587   # it is in the source tree, and the library has not been built yet
   5588   # but it would be included on the link line in the version check below
   5589   # hence making the test fail.
   5590   have_gmp=yes
   5591 fi
   5592 
   5593 # Specify a location for gmp
   5594 
   5595 # Check whether --with-gmp-dir was given.
   5596 if test "${with_gmp_dir+set}" = set; then :
   5597   withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
   5598 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
   5599 fi
   5600 
   5601 
   5602 
   5603 # Check whether --with-gmp was given.
   5604 if test "${with_gmp+set}" = set; then :
   5605   withval=$with_gmp;
   5606 fi
   5607 
   5608 
   5609 # Check whether --with-gmp-include was given.
   5610 if test "${with_gmp_include+set}" = set; then :
   5611   withval=$with_gmp_include;
   5612 fi
   5613 
   5614 
   5615 # Check whether --with-gmp-lib was given.
   5616 if test "${with_gmp_lib+set}" = set; then :
   5617   withval=$with_gmp_lib;
   5618 fi
   5619 
   5620 
   5621 
   5622 if test "x$with_gmp" != x; then
   5623   gmplibs="-L$with_gmp/lib $gmplibs"
   5624   gmpinc="-I$with_gmp/include $gmpinc"
   5625 fi
   5626 if test "x$with_gmp_include" != x; then
   5627   gmpinc="-I$with_gmp_include $gmpinc"
   5628 fi
   5629 if test "x$with_gmp_lib" != x; then
   5630   gmplibs="-L$with_gmp_lib $gmplibs"
   5631 fi
   5632 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
   5633   gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
   5634   gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
   5635   extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5636   extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5637   extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
   5638   # Do not test the gmp version.  Assume that it is sufficient, since
   5639   # it is in the source tree, and the library has not been built yet
   5640   # but it would be included on the link line in the version check below
   5641   # hence making the test fail.
   5642   have_gmp=yes
   5643 fi
   5644 
   5645 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   5646   have_gmp=yes
   5647   saved_CFLAGS="$CFLAGS"
   5648   CFLAGS="$CFLAGS $gmpinc"
   5649   # Check for the recommended and required versions of GMP.
   5650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
   5651 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
   5652 
   5653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 #include "gmp.h"
   5656 int
   5657 main ()
   5658 {
   5659 
   5660   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5661   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5662   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
   5663   choke me
   5664   #endif
   5665 
   5666   ;
   5667   return 0;
   5668 }
   5669 _ACEOF
   5670 if ac_fn_c_try_compile "$LINENO"; then :
   5671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5672 /* end confdefs.h.  */
   5673 #include <gmp.h>
   5674 int
   5675 main ()
   5676 {
   5677 
   5678   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5679   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5680   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
   5681   choke me
   5682   #endif
   5683 
   5684   ;
   5685   return 0;
   5686 }
   5687 _ACEOF
   5688 if ac_fn_c_try_compile "$LINENO"; then :
   5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5690 $as_echo "yes" >&6; }
   5691 else
   5692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5693 $as_echo "buggy but acceptable" >&6; }
   5694 fi
   5695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5696 else
   5697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5698 $as_echo "no" >&6; }; have_gmp=no
   5699 fi
   5700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5701 
   5702   # If we have GMP, check the MPFR version.
   5703   if test x"$have_gmp" = xyes; then
   5704     # Check for the recommended and required versions of MPFR.
   5705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
   5706 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
   5707     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5708 /* end confdefs.h.  */
   5709 #include <gmp.h>
   5710     #include <mpfr.h>
   5711 int
   5712 main ()
   5713 {
   5714 
   5715     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
   5716     choke me
   5717     #endif
   5718 
   5719   ;
   5720   return 0;
   5721 }
   5722 _ACEOF
   5723 if ac_fn_c_try_compile "$LINENO"; then :
   5724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5725 /* end confdefs.h.  */
   5726 #include <gmp.h>
   5727     #include <mpfr.h>
   5728 int
   5729 main ()
   5730 {
   5731 
   5732     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
   5733     choke me
   5734     #endif
   5735 
   5736   ;
   5737   return 0;
   5738 }
   5739 _ACEOF
   5740 if ac_fn_c_try_compile "$LINENO"; then :
   5741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5742 $as_echo "yes" >&6; }
   5743 else
   5744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5745 $as_echo "buggy but acceptable" >&6; }
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5748 else
   5749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5750 $as_echo "no" >&6; }; have_gmp=no
   5751 fi
   5752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5753   fi
   5754 
   5755   # Check for the MPC header version.
   5756   if test x"$have_gmp" = xyes ; then
   5757     # Check for the recommended and required versions of MPC.
   5758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
   5759 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
   5760     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5761 /* end confdefs.h.  */
   5762 #include <mpc.h>
   5763 int
   5764 main ()
   5765 {
   5766 
   5767     #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
   5768     choke me
   5769     #endif
   5770 
   5771   ;
   5772   return 0;
   5773 }
   5774 _ACEOF
   5775 if ac_fn_c_try_compile "$LINENO"; then :
   5776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 #include <mpc.h>
   5779 int
   5780 main ()
   5781 {
   5782 
   5783     #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
   5784     choke me
   5785     #endif
   5786 
   5787   ;
   5788   return 0;
   5789 }
   5790 _ACEOF
   5791 if ac_fn_c_try_compile "$LINENO"; then :
   5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5793 $as_echo "yes" >&6; }
   5794 else
   5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5796 $as_echo "buggy but acceptable" >&6; }
   5797 fi
   5798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5799 else
   5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5801 $as_echo "no" >&6; }; have_gmp=no
   5802 fi
   5803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5804   fi
   5805 
   5806   # Now check the MPFR library.
   5807   if test x"$have_gmp" = xyes; then
   5808     saved_LIBS="$LIBS"
   5809     LIBS="$LIBS $gmplibs"
   5810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
   5811 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
   5812     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5813 /* end confdefs.h.  */
   5814 #include <mpc.h>
   5815 int
   5816 main ()
   5817 {
   5818 
   5819     mpfr_t n;
   5820     mpfr_t x;
   5821     mpc_t c;
   5822     int t;
   5823     mpfr_init (n);
   5824     mpfr_init (x);
   5825     mpfr_atan2 (n, n, x, GMP_RNDN);
   5826     mpfr_erfc (n, x, GMP_RNDN);
   5827     mpfr_subnormalize (x, t, GMP_RNDN);
   5828     mpfr_clear(n);
   5829     mpfr_clear(x);
   5830     mpc_init2 (c, 53);
   5831     mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
   5832     mpc_cosh (c, c, MPC_RNDNN);
   5833     mpc_pow (c, c, c, MPC_RNDNN);
   5834     mpc_acosh (c, c, MPC_RNDNN);
   5835     mpc_clear (c);
   5836 
   5837   ;
   5838   return 0;
   5839 }
   5840 _ACEOF
   5841 if ac_fn_c_try_link "$LINENO"; then :
   5842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5843 $as_echo "yes" >&6; }
   5844 else
   5845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5846 $as_echo "no" >&6; }; have_gmp=no
   5847 fi
   5848 rm -f core conftest.err conftest.$ac_objext \
   5849     conftest$ac_exeext conftest.$ac_ext
   5850     LIBS="$saved_LIBS"
   5851   fi
   5852 
   5853   CFLAGS="$saved_CFLAGS"
   5854 
   5855 # The library versions listed in the error message below should match
   5856 # the HARD-minimums enforced above.
   5857   if test x$have_gmp != xyes; then
   5858     as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
   5859 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
   5860 their locations.  Source code for these libraries can be found at
   5861 their respective hosting sites as well as at
   5862 ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
   5863 http://gcc.gnu.org/install/prerequisites.html for additional info.  If
   5864 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
   5865 make sure that you have installed both the libraries and the header
   5866 files.  They may be located in separate packages." "$LINENO" 5
   5867   fi
   5868 fi
   5869 
   5870 # Flags needed for both GMP, MPFR and/or MPC.
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 # Libraries to use for stage1 or when not bootstrapping.
   5879 
   5880 # Check whether --with-stage1-libs was given.
   5881 if test "${with_stage1_libs+set}" = set; then :
   5882   withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   5883    stage1_libs=
   5884  else
   5885    stage1_libs=$withval
   5886  fi
   5887 else
   5888   stage1_libs=
   5889 fi
   5890 
   5891 
   5892 
   5893 # Linker flags to use for stage1 or when not bootstrapping.
   5894 
   5895 # Check whether --with-stage1-ldflags was given.
   5896 if test "${with_stage1_ldflags+set}" = set; then :
   5897   withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   5898    stage1_ldflags=
   5899  else
   5900    stage1_ldflags=$withval
   5901  fi
   5902 else
   5903   stage1_ldflags=
   5904  # In stage 1, default to linking libstdc++ and libgcc statically with GCC
   5905  # if supported.  But if the user explicitly specified the libraries to use,
   5906  # trust that they are doing what they want.
   5907  if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
   5908    stage1_ldflags="-static-libstdc++ -static-libgcc"
   5909  fi
   5910 fi
   5911 
   5912 
   5913 
   5914 # Libraries to use for stage2 and later builds.
   5915 
   5916 # Check whether --with-boot-libs was given.
   5917 if test "${with_boot_libs+set}" = set; then :
   5918   withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   5919    poststage1_libs=
   5920  else
   5921    poststage1_libs=$withval
   5922  fi
   5923 else
   5924   poststage1_libs=
   5925 fi
   5926 
   5927 
   5928 
   5929 # Linker flags to use for stage2 and later builds.
   5930 
   5931 # Check whether --with-boot-ldflags was given.
   5932 if test "${with_boot_ldflags+set}" = set; then :
   5933   withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   5934    poststage1_ldflags=
   5935  else
   5936    poststage1_ldflags=$withval
   5937  fi
   5938 else
   5939   poststage1_ldflags=
   5940  # In stages 2 and 3, default to linking libstdc++ and libgcc
   5941  # statically.  But if the user explicitly specified the libraries to
   5942  # use, trust that they are doing what they want.
   5943  if test "$poststage1_libs" = ""; then
   5944    poststage1_ldflags="-static-libstdc++ -static-libgcc"
   5945  fi
   5946 fi
   5947 
   5948 
   5949 
   5950 # GCC GRAPHITE dependency isl.
   5951 # Basic setup is inlined here, actual checks are in config/isl.m4
   5952 
   5953 
   5954 # Check whether --with-isl was given.
   5955 if test "${with_isl+set}" = set; then :
   5956   withval=$with_isl;
   5957 fi
   5958 
   5959 
   5960 # Treat --without-isl as a request to disable
   5961 # GRAPHITE support and skip all following checks.
   5962 if test "x$with_isl" != "xno"; then
   5963   # Check for isl
   5964 
   5965 
   5966 # Check whether --with-isl-include was given.
   5967 if test "${with_isl_include+set}" = set; then :
   5968   withval=$with_isl_include;
   5969 fi
   5970 
   5971 
   5972 # Check whether --with-isl-lib was given.
   5973 if test "${with_isl_lib+set}" = set; then :
   5974   withval=$with_isl_lib;
   5975 fi
   5976 
   5977 
   5978   # Check whether --enable-isl-version-check was given.
   5979 if test "${enable_isl_version_check+set}" = set; then :
   5980   enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
   5981 else
   5982   ENABLE_ISL_CHECK=yes
   5983 fi
   5984 
   5985 
   5986   # Initialize isllibs and islinc.
   5987   case $with_isl in
   5988     no)
   5989       isllibs=
   5990       islinc=
   5991       ;;
   5992     "" | yes)
   5993       ;;
   5994     *)
   5995       isllibs="-L$with_isl/lib"
   5996       islinc="-I$with_isl/include"
   5997       ;;
   5998   esac
   5999   if test "x${with_isl_include}" != x ; then
   6000     islinc="-I$with_isl_include"
   6001   fi
   6002   if test "x${with_isl_lib}" != x; then
   6003     isllibs="-L$with_isl_lib"
   6004   fi
   6005         if test "x${islinc}" = x && test "x${isllibs}" = x \
   6006      && test -d ${srcdir}/isl; then
   6007     isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
   6008     islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
   6009     ENABLE_ISL_CHECK=no
   6010     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
   6011 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
   6012   fi
   6013 
   6014   isllibs="${isllibs} -lisl"
   6015 
   6016 
   6017 
   6018   if test "${ENABLE_ISL_CHECK}" = yes ; then
   6019     _isl_saved_CFLAGS=$CFLAGS
   6020     _isl_saved_LDFLAGS=$LDFLAGS
   6021     _isl_saved_LIBS=$LIBS
   6022 
   6023     CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
   6024     LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
   6025     LIBS="${_isl_saved_LIBS} -lisl -lgmp"
   6026 
   6027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
   6028 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
   6029     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6030 /* end confdefs.h.  */
   6031 #include <isl/ctx.h>
   6032 int
   6033 main ()
   6034 {
   6035 isl_ctx_get_max_operations (isl_ctx_alloc ());
   6036   ;
   6037   return 0;
   6038 }
   6039 _ACEOF
   6040 if ac_fn_c_try_link "$LINENO"; then :
   6041   gcc_cv_isl=yes
   6042 else
   6043   gcc_cv_isl=no
   6044 fi
   6045 rm -f core conftest.err conftest.$ac_objext \
   6046     conftest$ac_exeext conftest.$ac_ext
   6047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
   6048 $as_echo "$gcc_cv_isl" >&6; }
   6049 
   6050     if test "${gcc_cv_isl}" = no ; then
   6051       { $as_echo "$as_me:${as_lineno-$LINENO}: result: recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&5
   6052 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
   6053     fi
   6054 
   6055     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
   6056 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
   6057     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6058 /* end confdefs.h.  */
   6059 #include <isl/schedule.h>
   6060 int
   6061 main ()
   6062 {
   6063 isl_options_set_schedule_serialize_sccs (NULL, 0);
   6064   ;
   6065   return 0;
   6066 }
   6067 _ACEOF
   6068 if ac_fn_c_try_link "$LINENO"; then :
   6069   ac_has_isl_options_set_schedule_serialize_sccs=yes
   6070 else
   6071   ac_has_isl_options_set_schedule_serialize_sccs=no
   6072 fi
   6073 rm -f core conftest.err conftest.$ac_objext \
   6074     conftest$ac_exeext conftest.$ac_ext
   6075     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
   6076 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
   6077 
   6078     if test x"$ac_has_isl_options_set_schedule_serialize_sccs" = x"yes"; then
   6079       islver="0.15"
   6080 
   6081     fi
   6082 
   6083     CFLAGS=$_isl_saved_CFLAGS
   6084     LDFLAGS=$_isl_saved_LDFLAGS
   6085     LIBS=$_isl_saved_LIBS
   6086   fi
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093   if test "x${with_isl}" = xno; then
   6094     graphite_requested=no
   6095   elif test "x${with_isl}" != x \
   6096     || test "x${with_isl_include}" != x \
   6097     || test "x${with_isl_lib}" != x ; then
   6098     graphite_requested=yes
   6099   else
   6100     graphite_requested=no
   6101   fi
   6102 
   6103 
   6104 
   6105   if test "${gcc_cv_isl}" = no ; then
   6106     isllibs=
   6107     islinc=
   6108   fi
   6109 
   6110   if test "${graphite_requested}" = yes \
   6111     && test "x${isllibs}" = x \
   6112     && test "x${islinc}" = x ; then
   6113 
   6114     as_fn_error "Unable to find a usable isl.  See config.log for details." "$LINENO" 5
   6115   fi
   6116 
   6117 
   6118 fi
   6119 
   6120 # If the isl check failed, disable builds of in-tree variant of isl
   6121 if test "x$with_isl" = xno ||
   6122    test "x$gcc_cv_isl" = xno; then
   6123   noconfigdirs="$noconfigdirs isl"
   6124   islinc=
   6125 fi
   6126 
   6127 
   6128 
   6129 
   6130 # Check for LTO support.
   6131 # Check whether --enable-lto was given.
   6132 if test "${enable_lto+set}" = set; then :
   6133   enableval=$enable_lto; enable_lto=$enableval
   6134 else
   6135   enable_lto=yes; default_enable_lto=yes
   6136 fi
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 target_elf=no
   6143 case $target in
   6144   *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
   6145   *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
   6146   alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \
   6147   nvptx-*-none)
   6148     target_elf=no
   6149     ;;
   6150   *)
   6151     target_elf=yes
   6152     ;;
   6153 esac
   6154 
   6155 if test $target_elf = yes; then :
   6156   # ELF platforms build the lto-plugin always.
   6157   case $target in
   6158   m68010-*)
   6159     build_lto_plugin=no;;
   6160   *)
   6161     build_lto_plugin=yes;;
   6162   esac
   6163 
   6164 else
   6165   if test x"$default_enable_lto" = x"yes" ; then
   6166     case $target in
   6167       *-apple-darwin9* | *-cygwin* | *-mingw* | *djgpp*) ;;
   6168       # On other non-ELF platforms, LTO has yet to be validated.
   6169       *) enable_lto=no ;;
   6170     esac
   6171   else
   6172   # Apart from ELF platforms, only Windows and Darwin support LTO so far.
   6173   # It would also be nice to check the binutils support, but we don't
   6174   # have gcc_GAS_CHECK_FEATURE available here.  For now, we'll just
   6175   # warn during gcc/ subconfigure; unless you're bootstrapping with
   6176   # -flto it won't be needed until after installation anyway.
   6177     case $target in
   6178       *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
   6179       *) if test x"$enable_lto" = x"yes"; then
   6180 	as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
   6181         fi
   6182       ;;
   6183     esac
   6184   fi
   6185   # Among non-ELF, only Windows platforms support the lto-plugin so far.
   6186   # Build it unless LTO was explicitly disabled.
   6187   case $target in
   6188     *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
   6189     *) ;;
   6190   esac
   6191 
   6192 fi
   6193 
   6194 
   6195 # Check whether --enable-linker-plugin-configure-flags was given.
   6196 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
   6197   enableval=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags=$enableval
   6198 else
   6199   extra_linker_plugin_configure_flags=
   6200 fi
   6201 
   6202 
   6203 # Check whether --enable-linker-plugin-flags was given.
   6204 if test "${enable_linker_plugin_flags+set}" = set; then :
   6205   enableval=$enable_linker_plugin_flags; extra_linker_plugin_flags=$enableval
   6206 else
   6207   extra_linker_plugin_flags=
   6208 fi
   6209 
   6210 
   6211 
   6212 
   6213 # By default, C and C++ are the only stage 1 languages.
   6214 stage1_languages=,c,
   6215 
   6216 # Target libraries that we bootstrap.
   6217 bootstrap_target_libs=,target-libgcc,
   6218 
   6219 # Figure out what language subdirectories are present.
   6220 # Look if the user specified --enable-languages="..."; if not, use
   6221 # the environment variable $LANGUAGES if defined. $LANGUAGES might
   6222 # go away some day.
   6223 # NB:  embedded tabs in this IF block -- do not untabify
   6224 if test -d ${srcdir}/gcc; then
   6225   if test x"${enable_languages+set}" != xset; then
   6226     if test x"${LANGUAGES+set}" = xset; then
   6227       enable_languages="${LANGUAGES}"
   6228         echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
   6229     else
   6230       enable_languages=all
   6231     fi
   6232   else
   6233     if test x"${enable_languages}" = x ||
   6234        test x"${enable_languages}" = xyes;
   6235        then
   6236       echo configure.ac: --enable-languages needs at least one language argument 1>&2
   6237       exit 1
   6238     fi
   6239   fi
   6240   enable_languages=`echo "${enable_languages}" | sed -e 's/[ 	,][ 	,]*/,/g' -e 's/,$//'`
   6241 
   6242   # 'f95' is the old name for the 'fortran' language. We issue a warning
   6243   # and make the substitution.
   6244   case ,${enable_languages}, in
   6245     *,f95,*)
   6246       echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
   6247       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
   6248       ;;
   6249   esac
   6250 
   6251   # If bootstrapping, C++ must be enabled.
   6252   case ",$enable_languages,:$enable_bootstrap" in
   6253     *,c++,*:*) ;;
   6254     *:yes)
   6255       if test -f ${srcdir}/gcc/cp/config-lang.in; then
   6256         enable_languages="${enable_languages},c++"
   6257       else
   6258         as_fn_error "bootstrapping requires c++ sources" "$LINENO" 5
   6259       fi
   6260       ;;
   6261   esac
   6262 
   6263   # First scan to see if an enabled language requires some other language.
   6264   # We assume that a given config-lang.in will list all the language
   6265   # front ends it requires, even if some are required indirectly.
   6266   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6267     case ${lang_frag} in
   6268       ..) ;;
   6269       # The odd quoting in the next line works around
   6270       # an apparent bug in bash 1.12 on linux.
   6271       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6272       *)
   6273         # From the config-lang.in, get $language, $lang_requires, and
   6274         # $lang_requires_boot_languages.
   6275         language=
   6276         lang_requires=
   6277         lang_requires_boot_languages=
   6278         . ${lang_frag}
   6279         for other in ${lang_requires} ${lang_requires_boot_languages}; do
   6280           case ,${enable_languages}, in
   6281 	    *,$other,*) ;;
   6282 	    *,all,*) ;;
   6283 	    *,$language,*)
   6284 	      echo " \`$other' language required by \`$language'; enabling" 1>&2
   6285 	      enable_languages="${enable_languages},${other}"
   6286 	      ;;
   6287 	  esac
   6288         done
   6289 	for other in ${lang_requires_boot_languages} ; do
   6290 	  if test "$other" != "c"; then
   6291 	    case ,${enable_stage1_languages}, in
   6292 	      *,$other,*) ;;
   6293 	      *,all,*) ;;
   6294 	      *)
   6295 		case ,${enable_languages}, in
   6296 		  *,$language,*)
   6297 		    echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
   6298 		    enable_stage1_languages="$enable_stage1_languages,${other}"
   6299 		    ;;
   6300 		esac
   6301 		;;
   6302 	    esac
   6303           fi
   6304         done
   6305         ;;
   6306     esac
   6307   done
   6308 
   6309   new_enable_languages=,c,
   6310 
   6311   # If LTO is enabled, add the LTO front end.
   6312   if test "$enable_lto" = "yes" ; then
   6313     case ,${enable_languages}, in
   6314       *,lto,*) ;;
   6315       *) enable_languages="${enable_languages},lto" ;;
   6316     esac
   6317     if test "${build_lto_plugin}" = "yes" ; then
   6318       configdirs="$configdirs lto-plugin"
   6319     fi
   6320   fi
   6321 
   6322   # If we're building an offloading compiler, add the LTO front end.
   6323   if test x"$enable_as_accelerator_for" != x ; then
   6324     case ,${enable_languages}, in
   6325       *,lto,*) ;;
   6326       *) enable_languages="${enable_languages},lto" ;;
   6327     esac
   6328   fi
   6329 
   6330   missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
   6331   potential_languages=,c,
   6332 
   6333   enabled_target_libs=
   6334   disabled_target_libs=
   6335 
   6336   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6337     case ${lang_frag} in
   6338       ..) ;;
   6339       # The odd quoting in the next line works around
   6340       # an apparent bug in bash 1.12 on linux.
   6341       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6342       *)
   6343         # From the config-lang.in, get $language, $target_libs,
   6344         # $lang_dirs, $boot_language, and $build_by_default
   6345         language=
   6346         target_libs=
   6347         lang_dirs=
   6348         subdir_requires=
   6349         boot_language=no
   6350         build_by_default=yes
   6351         . ${lang_frag}
   6352         if test x${language} = x; then
   6353           echo "${lang_frag} doesn't set \$language." 1>&2
   6354           exit 1
   6355         fi
   6356 
   6357 	if test "$language" = "c++"; then
   6358 	  boot_language=yes
   6359 	fi
   6360 
   6361         add_this_lang=no
   6362         case ,${enable_languages}, in
   6363           *,${language},*)
   6364             # Language was explicitly selected; include it
   6365 	    # unless it is C, which is enabled by default.
   6366 	    if test "$language" != "c"; then
   6367 	      add_this_lang=yes
   6368 	    fi
   6369             ;;
   6370           *,all,*)
   6371             # 'all' was selected, select it if it is a default language
   6372 	    if test "$language" != "c"; then
   6373 	      add_this_lang=${build_by_default}
   6374 	    fi
   6375             ;;
   6376         esac
   6377 
   6378         # Disable languages that need other directories if these aren't available.
   6379 	for i in $subdir_requires; do
   6380 	  test -f "$srcdir/gcc/$i/config-lang.in" && continue
   6381 	  case ,${enable_languages}, in
   6382             *,${language},*)
   6383               # Specifically requested language; tell them.
   6384               as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
   6385               ;;
   6386             *)
   6387               # Silently disable.
   6388               add_this_lang=unsupported
   6389               ;;
   6390           esac
   6391 	done
   6392 
   6393         # Disable Ada if no preexisting GNAT is available.
   6394         case ,${enable_languages},:${language}:${have_gnat} in
   6395           *,${language},*:ada:no)
   6396             # Specifically requested language; tell them.
   6397             as_fn_error "GNAT is required to build $language" "$LINENO" 5
   6398             ;;
   6399           *:ada:no)
   6400             # Silently disable.
   6401             add_this_lang=unsupported
   6402             ;;
   6403         esac
   6404 
   6405 	# Disable a language that is unsupported by the target.
   6406 	case " $unsupported_languages " in
   6407 	  *" $language "*)
   6408 	    add_this_lang=unsupported
   6409 	    ;;
   6410 	esac
   6411 
   6412 	case $add_this_lang in
   6413 	  unsupported)
   6414             # Remove language-dependent dirs.
   6415 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6416 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6417 	    ;;
   6418 	  no)
   6419             # Remove language-dependent dirs; still show language as supported.
   6420 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6421 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6422             potential_languages="${potential_languages}${language},"
   6423 	    ;;
   6424           yes)
   6425 	    new_enable_languages="${new_enable_languages}${language},"
   6426             potential_languages="${potential_languages}${language},"
   6427 	    missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
   6428 	    enabled_target_libs="$enabled_target_libs $target_libs"
   6429 	    case "${boot_language}:,$enable_stage1_languages," in
   6430 	      yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
   6431 		# Add to (comma-separated) list of stage 1 languages.
   6432 		case ",$stage1_languages," in
   6433 		  *,$language,* | ,yes, | ,all,) ;;
   6434 		  *) stage1_languages="${stage1_languages}${language}," ;;
   6435 		esac
   6436 		# We need to bootstrap any supporting libraries.
   6437 		bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
   6438 		;;
   6439 	    esac
   6440 	    ;;
   6441         esac
   6442         ;;
   6443     esac
   6444   done
   6445 
   6446   # Add target libraries which are only needed for disabled languages
   6447   # to noconfigdirs.
   6448   if test -n "$disabled_target_libs"; then
   6449     for dir in $disabled_target_libs; do
   6450       case " $enabled_target_libs " in
   6451       *" ${dir} "*) ;;
   6452       *) noconfigdirs="$noconfigdirs $dir" ;;
   6453       esac
   6454     done
   6455   fi
   6456 
   6457   # Check whether --enable-stage1-languages was given.
   6458 if test "${enable_stage1_languages+set}" = set; then :
   6459   enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
   6460     ,no,|,,)
   6461       # Set it to something that will have no effect in the loop below
   6462       enable_stage1_languages=c ;;
   6463     ,yes,)
   6464       enable_stage1_languages=`echo $new_enable_languages | \
   6465 	sed -e "s/^,//" -e "s/,$//" ` ;;
   6466     *,all,*)
   6467       enable_stage1_languages=`echo ,$enable_stage1_languages, | \
   6468 	sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
   6469   esac
   6470 
   6471   # Add "good" languages from enable_stage1_languages to stage1_languages,
   6472   # while "bad" languages go in missing_languages.  Leave no duplicates.
   6473   for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
   6474     case $potential_languages in
   6475       *,$i,*)
   6476         case $stage1_languages in
   6477           *,$i,*) ;;
   6478           *) stage1_languages="$stage1_languages$i," ;;
   6479         esac ;;
   6480       *)
   6481         case $missing_languages in
   6482           *,$i,*) ;;
   6483           *) missing_languages="$missing_languages$i," ;;
   6484         esac ;;
   6485      esac
   6486   done
   6487 fi
   6488 
   6489 
   6490   # Remove leading/trailing commas that were added for simplicity
   6491   potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
   6492   missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
   6493   stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
   6494   new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
   6495 
   6496   if test "x$missing_languages" != x; then
   6497     as_fn_error "
   6498 The following requested languages could not be built: ${missing_languages}
   6499 Supported languages are: ${potential_languages}" "$LINENO" 5
   6500   fi
   6501   if test "x$new_enable_languages" != "x$enable_languages"; then
   6502     echo The following languages will be built: ${new_enable_languages}
   6503     enable_languages="$new_enable_languages"
   6504   fi
   6505 
   6506 
   6507   ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
   6508 fi
   6509 
   6510 # Handle --disable-<component> generically.
   6511 for dir in $configdirs $build_configdirs $target_configdirs ; do
   6512   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
   6513   varname=`echo $dirname | sed -e s/+/_/g`
   6514   if eval test x\${enable_${varname}} "=" xno ; then
   6515     noconfigdirs="$noconfigdirs $dir"
   6516   fi
   6517 done
   6518 
   6519 # Check for Boehm's garbage collector
   6520 # Check whether --enable-objc-gc was given.
   6521 if test "${enable_objc_gc+set}" = set; then :
   6522   enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
   6523   *,objc,*:*:yes:*target-boehm-gc*)
   6524     as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
   6525     ;;
   6526 esac
   6527 fi
   6528 
   6529 
   6530 # Make sure we only build Boehm's garbage collector if required.
   6531 case ,${enable_languages},:${enable_objc_gc} in
   6532   *,objc,*:yes)
   6533     # Keep target-boehm-gc if requested for Objective-C.
   6534     ;;
   6535   *)
   6536     # Otherwise remove target-boehm-gc depending on target-libjava.
   6537     if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
   6538       noconfigdirs="$noconfigdirs target-boehm-gc"
   6539     fi
   6540     ;;
   6541 esac
   6542 
   6543 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
   6544 case ,${enable_languages}, in
   6545   *,c++,*)
   6546     # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
   6547     case "${noconfigdirs}" in
   6548       *target-libstdc++-v3*)
   6549         noconfigdirs="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
   6550         ;;
   6551       *) ;;
   6552     esac
   6553     ;;
   6554   *)
   6555     noconfigdirs="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
   6556     ;;
   6557 esac
   6558 
   6559 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
   6560 # $build_configdirs and $target_configdirs.
   6561 # If we have the source for $noconfigdirs entries, add them to $notsupp.
   6562 
   6563 notsupp=""
   6564 for dir in . $skipdirs $noconfigdirs ; do
   6565   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
   6566   if test $dir != .  && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6567     configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
   6568     if test -r $srcdir/$dirname/configure ; then
   6569       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6570 	true
   6571       else
   6572 	notsupp="$notsupp $dir"
   6573       fi
   6574     fi
   6575   fi
   6576   if test $dir != .  && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6577     build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
   6578     if test -r $srcdir/$dirname/configure ; then
   6579       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6580 	true
   6581       else
   6582 	notsupp="$notsupp $dir"
   6583       fi
   6584     fi
   6585   fi
   6586   if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6587     target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
   6588     if test -r $srcdir/$dirname/configure ; then
   6589       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6590 	true
   6591       else
   6592 	notsupp="$notsupp $dir"
   6593       fi
   6594     fi
   6595   fi
   6596 done
   6597 
   6598 # Quietly strip out all directories which aren't configurable in this tree.
   6599 # This relies on all configurable subdirectories being autoconfiscated, which
   6600 # is now the case.
   6601 build_configdirs_all="$build_configdirs"
   6602 build_configdirs=
   6603 for i in ${build_configdirs_all} ; do
   6604   j=`echo $i | sed -e s/build-//g`
   6605   if test -f ${srcdir}/$j/configure ; then
   6606     build_configdirs="${build_configdirs} $i"
   6607   fi
   6608 done
   6609 
   6610 configdirs_all="$configdirs"
   6611 configdirs=
   6612 for i in ${configdirs_all} ; do
   6613   if test -f ${srcdir}/$i/configure ; then
   6614     configdirs="${configdirs} $i"
   6615   fi
   6616 done
   6617 
   6618 target_configdirs_all="$target_configdirs"
   6619 target_configdirs=
   6620 for i in ${target_configdirs_all} ; do
   6621   j=`echo $i | sed -e s/target-//g`
   6622   if test -f ${srcdir}/$j/configure ; then
   6623     target_configdirs="${target_configdirs} $i"
   6624   fi
   6625 done
   6626 
   6627 # Exclude target-zlib if target-libjava isn't built.
   6628 case ${target_configdirs} in
   6629 *target-libjava*)
   6630   ;;
   6631 *)
   6632   target_configdirs="`echo ${target_configdirs} | sed -e 's/target-zlib//'`"
   6633   ;;
   6634 esac
   6635 
   6636 # libiberty-linker-plugin is special: it doesn't have its own source directory,
   6637 # so we have to add it after the preceding checks.
   6638 if test x"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
   6639 then
   6640   case " $configdirs " in
   6641     *" libiberty "*)
   6642       # If we can build libiberty, we can also build libiberty-linker-plugin.
   6643       configdirs="$configdirs libiberty-linker-plugin"
   6644       extra_linker_plugin_configure_flags="$extra_linker_plugin_configure_flags \
   6645         --with-libiberty=../libiberty-linker-plugin";;
   6646     *)
   6647       as_fn_error "libiberty missing" "$LINENO" 5;;
   6648   esac
   6649 fi
   6650 
   6651 # Sometimes we have special requirements for the host libiberty.
   6652 extra_host_libiberty_configure_flags=
   6653 extra_host_zlib_configure_flags=
   6654 case " $configdirs " in
   6655   *" lto-plugin "* | *" libcc1 "*)
   6656     # When these are to be built as shared libraries, the same applies to
   6657     # libiberty.
   6658     extra_host_libiberty_configure_flags=--enable-shared
   6659     ;;
   6660   *" bfd "*)
   6661     # When bfd is to be built as a shared library, the same applies to
   6662     # zlib.
   6663     if test "$enable_shared" = "yes"; then
   6664       extra_host_zlib_configure_flags=--enable-host-shared
   6665     fi
   6666     ;;
   6667 esac
   6668 
   6669 
   6670 
   6671 # Produce a warning message for the subdirs we can't configure.
   6672 # This isn't especially interesting in the Cygnus tree, but in the individual
   6673 # FSF releases, it's important to let people know when their machine isn't
   6674 # supported by the one or two programs in a package.
   6675 
   6676 if test -n "${notsupp}" && test -z "${norecursion}" ; then
   6677   # If $appdirs is non-empty, at least one of those directories must still
   6678   # be configured, or we error out.  (E.g., if the gas release supports a
   6679   # specified target in some subdirs but not the gas subdir, we shouldn't
   6680   # pretend that all is well.)
   6681   if test -n "$appdirs" ; then
   6682     for dir in $appdirs ; do
   6683       if test -r $dir/Makefile.in ; then
   6684 	if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6685 	  appdirs=""
   6686 	  break
   6687 	fi
   6688 	if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
   6689 	  appdirs=""
   6690 	  break
   6691 	fi
   6692       fi
   6693     done
   6694     if test -n "$appdirs" ; then
   6695       echo "*** This configuration is not supported by this package." 1>&2
   6696       exit 1
   6697     fi
   6698   fi
   6699   # Okay, some application will build, or we don't care to check.  Still
   6700   # notify of subdirs not getting built.
   6701   echo "*** This configuration is not supported in the following subdirectories:" 1>&2
   6702   echo "    ${notsupp}" 1>&2
   6703   echo "    (Any other directories should still work fine.)" 1>&2
   6704 fi
   6705 
   6706 case "$host" in
   6707   *msdosdjgpp*)
   6708     enable_gdbtk=no ;;
   6709 esac
   6710 
   6711 # To find our prefix, in gcc_cv_tool_prefix.
   6712 
   6713 # The user is always right.
   6714 if test "${PATH_SEPARATOR+set}" != set; then
   6715   echo "#! /bin/sh" >conf$$.sh
   6716   echo  "exit 0"   >>conf$$.sh
   6717   chmod +x conf$$.sh
   6718   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   6719     PATH_SEPARATOR=';'
   6720   else
   6721     PATH_SEPARATOR=:
   6722   fi
   6723   rm -f conf$$.sh
   6724 fi
   6725 
   6726 
   6727 
   6728 if test "x$exec_prefix" = xNONE; then
   6729         if test "x$prefix" = xNONE; then
   6730                 gcc_cv_tool_prefix=$ac_default_prefix
   6731         else
   6732                 gcc_cv_tool_prefix=$prefix
   6733         fi
   6734 else
   6735         gcc_cv_tool_prefix=$exec_prefix
   6736 fi
   6737 
   6738 # If there is no compiler in the tree, use the PATH only.  In any
   6739 # case, if there is no compiler in the tree nobody should use
   6740 # AS_FOR_TARGET and LD_FOR_TARGET.
   6741 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
   6742     gcc_version=`cat $srcdir/gcc/BASE-VER`
   6743     gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6744     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
   6745     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6746     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
   6747     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6748     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
   6749 else
   6750     gcc_cv_tool_dirs=
   6751 fi
   6752 
   6753 if test x$build = x$target && test -n "$md_exec_prefix"; then
   6754         gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
   6755 fi
   6756 
   6757 
   6758 
   6759 copy_dirs=
   6760 
   6761 
   6762 # Check whether --with-build-sysroot was given.
   6763 if test "${with_build_sysroot+set}" = set; then :
   6764   withval=$with_build_sysroot; if test x"$withval" != x ; then
   6765      SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
   6766    fi
   6767 else
   6768   SYSROOT_CFLAGS_FOR_TARGET=
   6769 fi
   6770 
   6771 
   6772 
   6773 
   6774 # Check whether --with-debug-prefix-map was given.
   6775 if test "${with_debug_prefix_map+set}" = set; then :
   6776   withval=$with_debug_prefix_map; if test x"$withval" != x; then
   6777      DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6778      for debug_map in $withval; do
   6779        DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
   6780      done
   6781    fi
   6782 else
   6783   DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6784 fi
   6785 
   6786 
   6787 
   6788 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
   6789 # might be empty or "-g".  We don't require a C++ compiler, so CXXFLAGS
   6790 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
   6791 # We want to ensure that TARGET libraries (which we know are built with
   6792 # gcc) are built with "-O2 -g", so include those options when setting
   6793 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
   6794 if test "x$CFLAGS_FOR_TARGET" = x; then
   6795   if test "x${is_cross_compiler}" = xyes; then
   6796     CFLAGS_FOR_TARGET="-g -O2"
   6797   else
   6798     CFLAGS_FOR_TARGET=$CFLAGS
   6799     case " $CFLAGS " in
   6800       *" -O2 "*) ;;
   6801       *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
   6802     esac
   6803     case " $CFLAGS " in
   6804       *" -g "* | *" -g3 "*) ;;
   6805       *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
   6806     esac
   6807   fi
   6808 fi
   6809 
   6810 
   6811 if test "x$CXXFLAGS_FOR_TARGET" = x; then
   6812   if test "x${is_cross_compiler}" = xyes; then
   6813     CXXFLAGS_FOR_TARGET="-g -O2"
   6814   else
   6815     CXXFLAGS_FOR_TARGET=$CXXFLAGS
   6816     case " $CXXFLAGS " in
   6817       *" -O2 "*) ;;
   6818       *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
   6819     esac
   6820     case " $CXXFLAGS " in
   6821       *" -g "* | *" -g3 "*) ;;
   6822       *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
   6823     esac
   6824   fi
   6825 fi
   6826 
   6827 
   6828 
   6829 
   6830 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
   6831 # the named directory are copied to $(tooldir)/sys-include.
   6832 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
   6833   if test x${is_cross_compiler} = xno ; then
   6834     echo 1>&2 '***' --with-headers is only supported when cross compiling
   6835     exit 1
   6836   fi
   6837   if test x"${with_headers}" != xyes ; then
   6838     x=${gcc_cv_tool_prefix}
   6839     copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
   6840   fi
   6841 fi
   6842 
   6843 # Handle --with-libs=XXX.  If the value is not "yes", the contents of
   6844 # the name directories are copied to $(tooldir)/lib.  Multiple directories
   6845 # are permitted.
   6846 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   6847   if test x${is_cross_compiler} = xno ; then
   6848     echo 1>&2 '***' --with-libs is only supported when cross compiling
   6849     exit 1
   6850   fi
   6851   if test x"${with_libs}" != xyes ; then
   6852     # Copy the libraries in reverse order, so that files in the first named
   6853     # library override files in subsequent libraries.
   6854     x=${gcc_cv_tool_prefix}
   6855     for l in ${with_libs}; do
   6856       copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
   6857     done
   6858   fi
   6859 fi
   6860 
   6861 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
   6862 #
   6863 # This is done by determining whether or not the appropriate directory
   6864 # is available, and by checking whether or not specific configurations
   6865 # have requested that this magic not happen.
   6866 #
   6867 # The command line options always override the explicit settings in
   6868 # configure.ac, and the settings in configure.ac override this magic.
   6869 #
   6870 # If the default for a toolchain is to use GNU as and ld, and you don't
   6871 # want to do that, then you should use the --without-gnu-as and
   6872 # --without-gnu-ld options for the configure script.  Similarly, if
   6873 # the default is to use the included zlib and you don't want to do that,
   6874 # you should use the --with-system-zlib option for the configure script.
   6875 
   6876 if test x${use_gnu_as} = x &&
   6877    echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
   6878   with_gnu_as=yes
   6879   extra_host_args="$extra_host_args --with-gnu-as"
   6880 fi
   6881 
   6882 if test x${use_gnu_ld} = x &&
   6883    echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
   6884   with_gnu_ld=yes
   6885   extra_host_args="$extra_host_args --with-gnu-ld"
   6886 fi
   6887 
   6888 if test x${use_included_zlib} = x &&
   6889    echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
   6890   :
   6891 else
   6892   with_system_zlib=yes
   6893   extra_host_args="$extra_host_args --with-system-zlib"
   6894 fi
   6895 
   6896 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
   6897 # can detect this case.
   6898 
   6899 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
   6900   with_newlib=yes
   6901   extra_host_args="$extra_host_args --with-newlib"
   6902 fi
   6903 
   6904 # Handle ${copy_dirs}
   6905 set fnord ${copy_dirs}
   6906 shift
   6907 while test $# != 0 ; do
   6908   if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
   6909     :
   6910   else
   6911     echo Copying $1 to $2
   6912 
   6913     # Use the install script to create the directory and all required
   6914     # parent directories.
   6915     if test -d $2 ; then
   6916       :
   6917     else
   6918       echo >config.temp
   6919       ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
   6920     fi
   6921 
   6922     # Copy the directory, assuming we have tar.
   6923     # FIXME: Should we use B in the second tar?  Not all systems support it.
   6924     (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
   6925 
   6926     # It is the responsibility of the user to correctly adjust all
   6927     # symlinks.  If somebody can figure out how to handle them correctly
   6928     # here, feel free to add the code.
   6929 
   6930     echo $1 > $2/COPIED
   6931   fi
   6932   shift; shift
   6933 done
   6934 
   6935 # Determine a target-dependent exec_prefix that the installed
   6936 # gcc will search in.  Keep this list sorted by triplet, with
   6937 # the *-*-osname triplets last.
   6938 md_exec_prefix=
   6939 case "${target}" in
   6940   i[34567]86-pc-msdosdjgpp*)
   6941     md_exec_prefix=/dev/env/DJDIR/bin
   6942     ;;
   6943   *-*-hpux* | \
   6944   *-*-nto-qnx* | \
   6945   *-*-solaris2*)
   6946     md_exec_prefix=/usr/ccs/bin
   6947     ;;
   6948 esac
   6949 
   6950 extra_arflags_for_target=
   6951 extra_nmflags_for_target=
   6952 extra_ranlibflags_for_target=
   6953 target_makefile_frag=/dev/null
   6954 case "${target}" in
   6955   spu-*-*)
   6956     target_makefile_frag="config/mt-spu"
   6957     ;;
   6958   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   6959     target_makefile_frag="config/mt-sde"
   6960     ;;
   6961   mipsisa*-*-elfoabi*)
   6962     target_makefile_frag="config/mt-mips-elfoabi"
   6963     ;;
   6964   mips*-*-*linux* | mips*-*-gnu*)
   6965     target_makefile_frag="config/mt-mips-gnu"
   6966     ;;
   6967   nios2-*-elf*)
   6968     target_makefile_frag="config/mt-nios2-elf"
   6969     ;;
   6970   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   6971     target_makefile_frag="config/mt-gnu"
   6972     ;;
   6973   *-*-aix4.[3456789]* | *-*-aix[56789].*)
   6974     # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
   6975     # commands to handle both 32-bit and 64-bit objects.  These flags are
   6976     # harmless if we're using GNU nm or ar.
   6977     extra_arflags_for_target=" -X32_64"
   6978     extra_nmflags_for_target=" -B -X32_64"
   6979     ;;
   6980 esac
   6981 
   6982 alphaieee_frag=/dev/null
   6983 case $target in
   6984   alpha*-*-*)
   6985     # This just makes sure to use the -mieee option to build target libs.
   6986     # This should probably be set individually by each library.
   6987     alphaieee_frag="config/mt-alphaieee"
   6988     ;;
   6989 esac
   6990 
   6991 # If --enable-target-optspace always use -Os instead of -O2 to build
   6992 # the target libraries, similarly if it is not specified, use -Os
   6993 # on selected platforms.
   6994 ospace_frag=/dev/null
   6995 case "${enable_target_optspace}:${target}" in
   6996   yes:*)
   6997     ospace_frag="config/mt-ospace"
   6998     ;;
   6999   :d30v-*)
   7000     ospace_frag="config/mt-d30v"
   7001     ;;
   7002   :m32r-* | :d10v-* | :fr30-* | :i?86*-*-elfiamcu)
   7003     ospace_frag="config/mt-ospace"
   7004     ;;
   7005   no:* | :*)
   7006     ;;
   7007   *)
   7008     echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
   7009     ;;
   7010 esac
   7011 
   7012 # Some systems (e.g., one of the i386-aix systems the gas testers are
   7013 # using) don't handle "\$" correctly, so don't use it here.
   7014 tooldir='${exec_prefix}'/${target_noncanonical}
   7015 build_tooldir=${tooldir}
   7016 
   7017 # Create a .gdbinit file which runs the one in srcdir
   7018 # and tells GDB to look there for source files.
   7019 
   7020 if test -r ${srcdir}/.gdbinit ; then
   7021   case ${srcdir} in
   7022     .) ;;
   7023     *) cat > ./.gdbinit <<EOF
   7024 # ${NO_EDIT}
   7025 dir ${srcdir}
   7026 dir .
   7027 source ${srcdir}/.gdbinit
   7028 EOF
   7029     ;;
   7030   esac
   7031 fi
   7032 
   7033 # Make sure that the compiler is able to generate an executable.  If it
   7034 # can't, we are probably in trouble.  We don't care whether we can run the
   7035 # executable--we might be using a cross compiler--we only care whether it
   7036 # can be created.  At this point the main configure script has set CC.
   7037 we_are_ok=no
   7038 echo "int main () { return 0; }" > conftest.c
   7039 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7040 if test $? = 0 ; then
   7041   if test -s conftest || test -s conftest.exe ; then
   7042     we_are_ok=yes
   7043   fi
   7044 fi
   7045 case $we_are_ok in
   7046   no)
   7047     echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
   7048     echo 1>&2 "*** You must set the environment variable CC to a working compiler."
   7049     rm -f conftest*
   7050     exit 1
   7051     ;;
   7052 esac
   7053 rm -f conftest*
   7054 
   7055 # Decide which environment variable is used to find dynamic libraries.
   7056 case "${host}" in
   7057   *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
   7058   *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
   7059   *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
   7060   *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
   7061 esac
   7062 
   7063 # On systems where the dynamic library environment variable is PATH,
   7064 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
   7065 # built executables to PATH.
   7066 if test "$RPATH_ENVVAR" = PATH; then
   7067   GCC_SHLIB_SUBDIR=/shlib
   7068 else
   7069   GCC_SHLIB_SUBDIR=
   7070 fi
   7071 
   7072 # Adjust the toplevel makefile according to whether bootstrap was selected.
   7073 case $enable_bootstrap in
   7074   yes)
   7075     bootstrap_suffix=bootstrap
   7076     BUILD_CONFIG=bootstrap-debug
   7077     ;;
   7078   no)
   7079     bootstrap_suffix=no-bootstrap
   7080     BUILD_CONFIG=
   7081     ;;
   7082 esac
   7083 
   7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
   7085 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
   7086 
   7087 
   7088 # Check whether --with-build-config was given.
   7089 if test "${with_build_config+set}" = set; then :
   7090   withval=$with_build_config; case $with_build_config in
   7091    yes) with_build_config= ;;
   7092    no) with_build_config= BUILD_CONFIG= ;;
   7093    esac
   7094 fi
   7095 
   7096 
   7097 if test "x${with_build_config}" != x; then
   7098   BUILD_CONFIG=$with_build_config
   7099 else
   7100   case $BUILD_CONFIG in
   7101   bootstrap-debug)
   7102     if echo "int f (void) { return 0; }" > conftest.c &&
   7103        ${CC} -c conftest.c &&
   7104        mv conftest.o conftest.o.g0 &&
   7105        ${CC} -c -g conftest.c &&
   7106        mv conftest.o conftest.o.g &&
   7107        ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
   7108       :
   7109     else
   7110       BUILD_CONFIG=
   7111     fi
   7112     rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
   7113     ;;
   7114   esac
   7115 fi
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
   7117 $as_echo "$BUILD_CONFIG" >&6; }
   7118 
   7119 
   7120 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
   7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
   7122 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
   7123 # Check whether --enable-vtable-verify was given.
   7124 if test "${enable_vtable_verify+set}" = set; then :
   7125   enableval=$enable_vtable_verify; case "$enableval" in
   7126  yes) enable_vtable_verify=yes ;;
   7127  no)  enable_vtable_verify=no ;;
   7128  *)   enable_vtable_verify=no;;
   7129  esac
   7130 else
   7131   enable_vtable_verify=no
   7132 fi
   7133 
   7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
   7135 $as_echo "$enable_vtable_verify" >&6; }
   7136 
   7137 # Record target_configdirs and the configure arguments for target and
   7138 # build configuration in Makefile.
   7139 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
   7140 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
   7141 bootstrap_fixincludes=no
   7142 
   7143 # If we are building libgomp, bootstrap it.
   7144 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
   7145   bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
   7146 fi
   7147 
   7148 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
   7149 # or bootstrap-ubsan, bootstrap it.
   7150 if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then
   7151   case "$BUILD_CONFIG" in
   7152     *bootstrap-asan* | *bootstrap-ubsan* )
   7153       bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
   7154       bootstrap_fixincludes=yes
   7155       ;;
   7156   esac
   7157 fi
   7158 
   7159 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
   7160 if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
   7161    test "$enable_vtable_verify" != no; then
   7162   bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
   7163 fi
   7164 
   7165 # If we are building libmpx, bootstrap it.
   7166 if echo " ${target_configdirs} " | grep " libmpx " > /dev/null 2>&1; then
   7167   bootstrap_target_libs=${bootstrap_target_libs}target-libmpx,
   7168 fi
   7169 
   7170 # Determine whether gdb needs tk/tcl or not.
   7171 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
   7172 # and in that case we want gdb to be built without tk.  Ugh!
   7173 # In fact I believe gdb is the *only* package directly dependent on tk,
   7174 # so we should be able to put the 'maybe's in unconditionally and
   7175 # leave out the maybe dependencies when enable_gdbtk is false.  I'm not
   7176 # 100% sure that that's safe though.
   7177 
   7178 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
   7179 case "$enable_gdbtk" in
   7180   no)
   7181     GDB_TK="" ;;
   7182   yes)
   7183     GDB_TK="${gdb_tk}" ;;
   7184   *)
   7185     # Only add the dependency on gdbtk when GDBtk is part of the gdb
   7186     # distro.  Eventually someone will fix this and move Insight, nee
   7187     # gdbtk to a separate directory.
   7188     if test -d ${srcdir}/gdb/gdbtk ; then
   7189       GDB_TK="${gdb_tk}"
   7190     else
   7191       GDB_TK=""
   7192     fi
   7193     ;;
   7194 esac
   7195 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
   7196 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
   7197 
   7198 # Strip out unwanted targets.
   7199 
   7200 # While at that, we remove Makefiles if we were started for recursive
   7201 # configuration, so that the top-level Makefile reconfigures them,
   7202 # like we used to do when configure itself was recursive.
   7203 
   7204 # Loop over modules.  We used to use the "$extrasub" feature from Autoconf
   7205 # but now we're fixing up the Makefile ourselves with the additional
   7206 # commands passed to AC_CONFIG_FILES.  Use separate variables
   7207 # extrasub-{build,host,target} not because there is any reason to split
   7208 # the substitutions up that way, but only to remain below the limit of
   7209 # 99 commands in a script, for HP-UX sed.
   7210 # Do not nest @if/@endif pairs, because configure will not warn you at all.
   7211 
   7212 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
   7213   yes:yes:*\ gold\ *:*,c++,*) ;;
   7214   yes:yes:*\ gold\ *:*)
   7215     as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
   7216     ;;
   7217 esac
   7218 
   7219 extrasub_build=
   7220 for module in ${build_configdirs} ; do
   7221   if test -z "${no_recursion}" \
   7222      && test -f ${build_subdir}/${module}/Makefile; then
   7223     echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
   7224     rm -f ${build_subdir}/${module}/Makefile
   7225   fi
   7226   extrasub_build="$extrasub_build
   7227 /^@if build-$module\$/d
   7228 /^@endif build-$module\$/d
   7229 /^@if build-$module-$bootstrap_suffix\$/d
   7230 /^@endif build-$module-$bootstrap_suffix\$/d"
   7231 done
   7232 extrasub_host=
   7233 for module in ${configdirs} ; do
   7234   if test -z "${no_recursion}"; then
   7235     for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
   7236       if test -f ${file}; then
   7237 	echo 1>&2 "*** removing ${file} to force reconfigure"
   7238 	rm -f ${file}
   7239       fi
   7240     done
   7241   fi
   7242   case ${module},${bootstrap_fixincludes} in
   7243     fixincludes,no) host_bootstrap_suffix=no-bootstrap ;;
   7244     *) host_bootstrap_suffix=$bootstrap_suffix ;;
   7245   esac
   7246   extrasub_host="$extrasub_host
   7247 /^@if $module\$/d
   7248 /^@endif $module\$/d
   7249 /^@if $module-$host_bootstrap_suffix\$/d
   7250 /^@endif $module-$host_bootstrap_suffix\$/d"
   7251 done
   7252 extrasub_target=
   7253 for module in ${target_configdirs} ; do
   7254   if test -z "${no_recursion}" \
   7255      && test -f ${target_subdir}/${module}/Makefile; then
   7256     echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
   7257     rm -f ${target_subdir}/${module}/Makefile
   7258   fi
   7259 
   7260   # We only bootstrap target libraries listed in bootstrap_target_libs.
   7261   case $bootstrap_target_libs in
   7262     *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
   7263     *) target_bootstrap_suffix=no-bootstrap ;;
   7264   esac
   7265 
   7266   extrasub_target="$extrasub_target
   7267 /^@if target-$module\$/d
   7268 /^@endif target-$module\$/d
   7269 /^@if target-$module-$target_bootstrap_suffix\$/d
   7270 /^@endif target-$module-$target_bootstrap_suffix\$/d"
   7271 done
   7272 
   7273 # Do the final fixup along with target modules.
   7274 extrasub_target="$extrasub_target
   7275 /^@if /,/^@endif /d"
   7276 
   7277 # Create the serialization dependencies.  This uses a temporary file.
   7278 
   7279 # Check whether --enable-serial-configure was given.
   7280 if test "${enable_serial_configure+set}" = set; then :
   7281   enableval=$enable_serial_configure;
   7282 fi
   7283 
   7284 
   7285 case ${enable_serial_configure} in
   7286   yes)
   7287     enable_serial_build_configure=yes
   7288     enable_serial_host_configure=yes
   7289     enable_serial_target_configure=yes
   7290     ;;
   7291 esac
   7292 
   7293 # These force 'configure's to be done one at a time, to avoid problems
   7294 # with contention over a shared config.cache.
   7295 rm -f serdep.tmp
   7296 echo '# serdep.tmp' > serdep.tmp
   7297 olditem=
   7298 test "x${enable_serial_build_configure}" = xyes &&
   7299 for item in ${build_configdirs} ; do
   7300   case ${olditem} in
   7301     "") ;;
   7302     *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
   7303   esac
   7304   olditem=${item}
   7305 done
   7306 olditem=
   7307 test "x${enable_serial_host_configure}" = xyes &&
   7308 for item in ${configdirs} ; do
   7309   case ${olditem} in
   7310     "") ;;
   7311     *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
   7312   esac
   7313   olditem=${item}
   7314 done
   7315 olditem=
   7316 test "x${enable_serial_target_configure}" = xyes &&
   7317 for item in ${target_configdirs} ; do
   7318   case ${olditem} in
   7319     "") ;;
   7320     *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
   7321   esac
   7322   olditem=${item}
   7323 done
   7324 serialization_dependencies=serdep.tmp
   7325 
   7326 
   7327 # Base args.  Strip norecursion, cache-file, srcdir, host, build,
   7328 # target, nonopt, and variable assignments.  These are the ones we
   7329 # might not want to pass down to subconfigures.  The exception being
   7330 # --cache-file=/dev/null, which is used to turn off the use of cache
   7331 # files altogether, and which should be passed on to subconfigures.
   7332 # Also strip program-prefix, program-suffix, and program-transform-name,
   7333 # so that we can pass down a consistent program-transform-name.
   7334 baseargs=
   7335 tbaseargs=
   7336 keep_next=no
   7337 skip_next=no
   7338 eval "set -- $ac_configure_args"
   7339 for ac_arg
   7340 do
   7341   if test X"$skip_next" = X"yes"; then
   7342     skip_next=no
   7343     continue
   7344   fi
   7345   if test X"$keep_next" = X"yes"; then
   7346     case $ac_arg in
   7347       *\'*)
   7348 	ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7349     esac
   7350     baseargs="$baseargs '$ac_arg'"
   7351     tbaseargs="$tbaseargs '$ac_arg'"
   7352     keep_next=no
   7353     continue
   7354   fi
   7355 
   7356   # Handle separated arguments.  Based on the logic generated by
   7357   # autoconf 2.59.
   7358   case $ac_arg in
   7359     *=* | --config-cache | -C | -disable-* | --disable-* \
   7360       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   7361       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   7362       | -with-* | --with-* | -without-* | --without-* | --x)
   7363       separate_arg=no
   7364       ;;
   7365     -*)
   7366       separate_arg=yes
   7367       ;;
   7368     *)
   7369       separate_arg=no
   7370       ;;
   7371   esac
   7372 
   7373   skip_targ=no
   7374   case $ac_arg in
   7375 
   7376   --with-* | --without-*)
   7377     libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
   7378 
   7379     case $libopt in
   7380     *[-_]include)
   7381       lib=`echo "$libopt" | sed 's,[-_]include$,,'`
   7382       ;;
   7383     *[-_]lib)
   7384       lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
   7385       ;;
   7386     *)
   7387       lib=$libopt
   7388       ;;
   7389     esac
   7390 
   7391 
   7392     case $lib in
   7393     mpc | mpfr | gmp | isl)
   7394       # If we're processing --with-$lib, --with-$lib-include or
   7395       # --with-$lib-lib, for one of the libs above, and target is
   7396       # different from host, don't pass the current argument to any
   7397       # target library's configure.
   7398       if test x$is_cross_compiler = xyes; then
   7399         skip_targ=yes
   7400       fi
   7401       ;;
   7402     esac
   7403     ;;
   7404   esac
   7405 
   7406   case "$ac_arg" in
   7407     --cache-file=/dev/null | \
   7408     -cache-file=/dev/null )
   7409       # Handled here to avoid the test to skip args below.
   7410       baseargs="$baseargs '$ac_arg'"
   7411       tbaseargs="$tbaseargs '$ac_arg'"
   7412       # Assert: $separate_arg should always be no.
   7413       keep_next=$separate_arg
   7414       ;;
   7415     --no*)
   7416       continue
   7417       ;;
   7418     --c* | \
   7419     --sr* | \
   7420     --ho* | \
   7421     --bu* | \
   7422     --t* | \
   7423     --program-* | \
   7424     -cache_file* | \
   7425     -srcdir* | \
   7426     -host* | \
   7427     -build* | \
   7428     -target* | \
   7429     -program-prefix* | \
   7430     -program-suffix* | \
   7431     -program-transform-name* )
   7432       skip_next=$separate_arg
   7433       continue
   7434       ;;
   7435     -*)
   7436       # An option.  Add it.
   7437       case $ac_arg in
   7438 	*\'*)
   7439 	  ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7440       esac
   7441       baseargs="$baseargs '$ac_arg'"
   7442       if test X"$skip_targ" = Xno; then
   7443         tbaseargs="$tbaseargs '$ac_arg'"
   7444       fi
   7445       keep_next=$separate_arg
   7446       ;;
   7447     *)
   7448       # Either a variable assignment, or a nonopt (triplet).  Don't
   7449       # pass it down; let the Makefile handle this.
   7450       continue
   7451       ;;
   7452   esac
   7453 done
   7454 # Remove the initial space we just introduced and, as these will be
   7455 # expanded by make, quote '$'.
   7456 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   7457 
   7458 # Add in --program-transform-name, after --program-prefix and
   7459 # --program-suffix have been applied to it.  Autoconf has already
   7460 # doubled dollar signs and backslashes in program_transform_name; we want
   7461 # the backslashes un-doubled, and then the entire thing wrapped in single
   7462 # quotes, because this will be expanded first by make and then by the shell.
   7463 # Also, because we want to override the logic in subdir configure scripts to
   7464 # choose program_transform_name, replace any s,x,x, with s,y,y,.
   7465 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
   7466 ${program_transform_name}
   7467 EOF_SED
   7468 gcc_transform_name=`cat conftestsed.out`
   7469 rm -f conftestsed.out
   7470 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
   7471 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
   7472 if test "$silent" = yes; then
   7473   baseargs="$baseargs --silent"
   7474   tbaseargs="$tbaseargs --silent"
   7475 fi
   7476 baseargs="$baseargs --disable-option-checking"
   7477 tbaseargs="$tbaseargs --disable-option-checking"
   7478 
   7479 # Record and document user additions to sub configure arguments.
   7480 
   7481 
   7482 
   7483 
   7484 # For the build-side libraries, we just need to pretend we're native,
   7485 # and not use the same cache file.  Multilibs are neither needed nor
   7486 # desired.  We can't even use the same cache file for all build-side
   7487 # libraries, as they're compiled differently; some with C, some with
   7488 # C++ or with different feature-enabling options.
   7489 build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}"
   7490 
   7491 # For host modules, accept cache file option, or specification as blank.
   7492 case "${cache_file}" in
   7493 "") # empty
   7494   cache_file_option="" ;;
   7495 /* | [A-Za-z]:[\\/]* ) # absolute path
   7496   cache_file_option="--cache-file=${cache_file}" ;;
   7497 *) # relative path
   7498   cache_file_option="--cache-file=../${cache_file}" ;;
   7499 esac
   7500 
   7501 # Host dirs don't like to share a cache file either, horribly enough.
   7502 # This seems to be due to autoconf 2.5x stupidity.
   7503 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
   7504 
   7505 target_configargs="$target_configargs ${tbaseargs}"
   7506 
   7507 # Passing a --with-cross-host argument lets the target libraries know
   7508 # whether they are being built with a cross-compiler or being built
   7509 # native.  However, it would be better to use other mechanisms to make the
   7510 # sorts of decisions they want to make on this basis.  Please consider
   7511 # this option to be deprecated.  FIXME.
   7512 if test x${is_cross_compiler} = xyes ; then
   7513   target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
   7514 fi
   7515 
   7516 # Special user-friendly check for native x86_64-linux build, if
   7517 # multilib is not explicitly enabled.
   7518 case "$target:$have_compiler:$host:$target:$enable_multilib" in
   7519   x86_64-*linux*:yes:$build:$build:)
   7520     # Make sure we have a development environment that handles 32-bit
   7521     dev64=no
   7522     echo "int main () { return 0; }" > conftest.c
   7523     ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7524     if test $? = 0 ; then
   7525       if test -s conftest || test -s conftest.exe ; then
   7526 	dev64=yes
   7527       fi
   7528     fi
   7529     rm -f conftest*
   7530     if test x${dev64} != xyes ; then
   7531       as_fn_error "I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
   7532     fi
   7533     ;;
   7534 esac
   7535 
   7536 # Default to --enable-multilib.
   7537 if test x${enable_multilib} = x ; then
   7538   target_configargs="--enable-multilib ${target_configargs}"
   7539 fi
   7540 
   7541 # Pass --with-newlib if appropriate.  Note that target_configdirs has
   7542 # changed from the earlier setting of with_newlib.
   7543 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
   7544   target_configargs="--with-newlib ${target_configargs}"
   7545 fi
   7546 
   7547 # Different target subdirs use different values of certain variables
   7548 # (notably CXX).  Worse, multilibs use *lots* of different values.
   7549 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
   7550 # it doesn't automatically accept command-line overrides of them.
   7551 # This means it's not safe for target subdirs to share a cache file,
   7552 # which is disgusting, but there you have it.  Hopefully this can be
   7553 # fixed in future.  It's still worthwhile to use a cache file for each
   7554 # directory.  I think.
   7555 
   7556 # Pass the appropriate --build, --host, --target and --cache-file arguments.
   7557 # We need to pass --target, as newer autoconf's requires consistency
   7558 # for target_alias and gcc doesn't manage it consistently.
   7559 target_configargs="--cache-file=./config.cache ${target_configargs}"
   7560 
   7561 FLAGS_FOR_TARGET=
   7562 case " $target_configdirs " in
   7563  *" newlib "*)
   7564   case " $target_configargs " in
   7565   *" --with-newlib "*)
   7566    case "$target" in
   7567     *-cygwin*)
   7568       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
   7569       ;;
   7570    esac
   7571 
   7572    # If we're not building GCC, don't discard standard headers.
   7573    if test -d ${srcdir}/gcc; then
   7574      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
   7575 
   7576      if test "${build}" != "${host}"; then
   7577        # On Canadian crosses, CC_FOR_TARGET will have already been set
   7578        # by `configure', so we won't have an opportunity to add -Bgcc/
   7579        # to it.  This is right: we don't want to search that directory
   7580        # for binaries, but we want the header files in there, so add
   7581        # them explicitly.
   7582        FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
   7583 
   7584        # Someone might think of using the pre-installed headers on
   7585        # Canadian crosses, in case the installed compiler is not fully
   7586        # compatible with the compiler being built.  In this case, it
   7587        # would be better to flag an error than risking having
   7588        # incompatible object files being constructed.  We can't
   7589        # guarantee that an error will be flagged, but let's hope the
   7590        # compiler will do it, when presented with incompatible header
   7591        # files.
   7592      fi
   7593    fi
   7594 
   7595    case "${target}-${is_cross_compiler}" in
   7596    i[3456789]86-*-linux*-no)
   7597       # Here host == target, so we don't need to build gcc,
   7598       # so we don't want to discard standard headers.
   7599       FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
   7600       ;;
   7601    *)
   7602       # If we're building newlib, use its generic headers last, but search
   7603       # for any libc-related directories first (so make it the last -B
   7604       # switch).
   7605       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
   7606 
   7607       # If we're building libgloss, find the startup file, simulator library
   7608       # and linker script.
   7609       case " $target_configdirs " in
   7610 	*" libgloss "*)
   7611 	# Look for startup file, simulator library and maybe linker script.
   7612 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
   7613 	# Look for libnosys.a in case the target needs it.
   7614 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
   7615 	# Most targets have the linker script in the source directory.
   7616 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
   7617 	;;
   7618       esac
   7619       ;;
   7620    esac
   7621    ;;
   7622   esac
   7623   ;;
   7624 esac
   7625 
   7626 case "$target" in
   7627   x86_64-*mingw* | *-w64-mingw*)
   7628   # MinGW-w64 does not use newlib, nor does it use winsup. It may,
   7629   # however, use a symlink named 'mingw' in ${prefix} .
   7630     FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
   7631     ;;
   7632   *-mingw*)
   7633   # MinGW can't be handled as Cygwin above since it does not use newlib.
   7634     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'
   7635     ;;
   7636 esac
   7637 
   7638 # Allow the user to override the flags for
   7639 # our build compiler if desired.
   7640 if test x"${build}" = x"${host}" ; then
   7641   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
   7642   CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
   7643   LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
   7644 fi
   7645 
   7646 # On Canadian crosses, we'll be searching the right directories for
   7647 # the previously-installed cross compiler, so don't bother to add
   7648 # flags for directories within the install tree of the compiler
   7649 # being built; programs in there won't even run.
   7650 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
   7651   # Search for pre-installed headers if nothing else fits.
   7652   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
   7653 fi
   7654 
   7655 if test "x${use_gnu_ld}" = x &&
   7656    echo " ${configdirs} " | grep " ld " > /dev/null ; then
   7657   # Arrange for us to find uninstalled linker scripts.
   7658   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
   7659 fi
   7660 
   7661 # Search for other target-specific linker scripts and such.
   7662 case "${target}" in
   7663   mep*)
   7664     FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
   7665     ;;
   7666 esac
   7667 
   7668 # Makefile fragments.
   7669 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
   7670 do
   7671   eval fragval=\$$frag
   7672   if test $fragval != /dev/null; then
   7673     eval $frag=${srcdir}/$fragval
   7674   fi
   7675 done
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 # Miscellanea: directories, flags, etc.
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 # Build module lists & subconfigure args.
   7691 
   7692 
   7693 
   7694 # Host module lists & subconfigure args.
   7695 
   7696 
   7697 
   7698 
   7699 # Target module lists & subconfigure args.
   7700 
   7701 
   7702 
   7703 # Build tools.
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 # Generate default definitions for YACC, M4, LEX and other programs that run
   7722 # on the build machine.  These are used if the Makefile can't locate these
   7723 # programs in objdir.
   7724 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
   7725 
   7726 for ac_prog in 'bison -y' byacc yacc
   7727 do
   7728   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7729 set dummy $ac_prog; ac_word=$2
   7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7731 $as_echo_n "checking for $ac_word... " >&6; }
   7732 if test "${ac_cv_prog_YACC+set}" = set; then :
   7733   $as_echo_n "(cached) " >&6
   7734 else
   7735   if test -n "$YACC"; then
   7736   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   7737 else
   7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7739 for as_dir in $PATH
   7740 do
   7741   IFS=$as_save_IFS
   7742   test -z "$as_dir" && as_dir=.
   7743     for ac_exec_ext in '' $ac_executable_extensions; do
   7744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7745     ac_cv_prog_YACC="$ac_prog"
   7746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7747     break 2
   7748   fi
   7749 done
   7750   done
   7751 IFS=$as_save_IFS
   7752 
   7753 fi
   7754 fi
   7755 YACC=$ac_cv_prog_YACC
   7756 if test -n "$YACC"; then
   7757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   7758 $as_echo "$YACC" >&6; }
   7759 else
   7760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7761 $as_echo "no" >&6; }
   7762 fi
   7763 
   7764 
   7765   test -n "$YACC" && break
   7766 done
   7767 test -n "$YACC" || YACC="$MISSING bison -y"
   7768 
   7769 case " $build_configdirs " in
   7770   *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
   7771 esac
   7772 
   7773 for ac_prog in bison
   7774 do
   7775   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7776 set dummy $ac_prog; ac_word=$2
   7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7778 $as_echo_n "checking for $ac_word... " >&6; }
   7779 if test "${ac_cv_prog_BISON+set}" = set; then :
   7780   $as_echo_n "(cached) " >&6
   7781 else
   7782   if test -n "$BISON"; then
   7783   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   7784 else
   7785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7786 for as_dir in $PATH
   7787 do
   7788   IFS=$as_save_IFS
   7789   test -z "$as_dir" && as_dir=.
   7790     for ac_exec_ext in '' $ac_executable_extensions; do
   7791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7792     ac_cv_prog_BISON="$ac_prog"
   7793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7794     break 2
   7795   fi
   7796 done
   7797   done
   7798 IFS=$as_save_IFS
   7799 
   7800 fi
   7801 fi
   7802 BISON=$ac_cv_prog_BISON
   7803 if test -n "$BISON"; then
   7804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   7805 $as_echo "$BISON" >&6; }
   7806 else
   7807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7808 $as_echo "no" >&6; }
   7809 fi
   7810 
   7811 
   7812   test -n "$BISON" && break
   7813 done
   7814 test -n "$BISON" || BISON="$MISSING bison"
   7815 
   7816 case " $build_configdirs " in
   7817   *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
   7818 esac
   7819 
   7820 for ac_prog in gm4 gnum4 m4
   7821 do
   7822   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7823 set dummy $ac_prog; ac_word=$2
   7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7825 $as_echo_n "checking for $ac_word... " >&6; }
   7826 if test "${ac_cv_prog_M4+set}" = set; then :
   7827   $as_echo_n "(cached) " >&6
   7828 else
   7829   if test -n "$M4"; then
   7830   ac_cv_prog_M4="$M4" # Let the user override the test.
   7831 else
   7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7833 for as_dir in $PATH
   7834 do
   7835   IFS=$as_save_IFS
   7836   test -z "$as_dir" && as_dir=.
   7837     for ac_exec_ext in '' $ac_executable_extensions; do
   7838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7839     ac_cv_prog_M4="$ac_prog"
   7840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7841     break 2
   7842   fi
   7843 done
   7844   done
   7845 IFS=$as_save_IFS
   7846 
   7847 fi
   7848 fi
   7849 M4=$ac_cv_prog_M4
   7850 if test -n "$M4"; then
   7851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
   7852 $as_echo "$M4" >&6; }
   7853 else
   7854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7855 $as_echo "no" >&6; }
   7856 fi
   7857 
   7858 
   7859   test -n "$M4" && break
   7860 done
   7861 test -n "$M4" || M4="$MISSING m4"
   7862 
   7863 case " $build_configdirs " in
   7864   *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
   7865 esac
   7866 
   7867 for ac_prog in flex lex
   7868 do
   7869   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7870 set dummy $ac_prog; ac_word=$2
   7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7872 $as_echo_n "checking for $ac_word... " >&6; }
   7873 if test "${ac_cv_prog_LEX+set}" = set; then :
   7874   $as_echo_n "(cached) " >&6
   7875 else
   7876   if test -n "$LEX"; then
   7877   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   7878 else
   7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7880 for as_dir in $PATH
   7881 do
   7882   IFS=$as_save_IFS
   7883   test -z "$as_dir" && as_dir=.
   7884     for ac_exec_ext in '' $ac_executable_extensions; do
   7885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7886     ac_cv_prog_LEX="$ac_prog"
   7887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7888     break 2
   7889   fi
   7890 done
   7891   done
   7892 IFS=$as_save_IFS
   7893 
   7894 fi
   7895 fi
   7896 LEX=$ac_cv_prog_LEX
   7897 if test -n "$LEX"; then
   7898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   7899 $as_echo "$LEX" >&6; }
   7900 else
   7901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7902 $as_echo "no" >&6; }
   7903 fi
   7904 
   7905 
   7906   test -n "$LEX" && break
   7907 done
   7908 test -n "$LEX" || LEX="$MISSING flex"
   7909 
   7910 case " $build_configdirs " in
   7911   *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   7912   *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
   7913 esac
   7914 
   7915 for ac_prog in flex
   7916 do
   7917   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7918 set dummy $ac_prog; ac_word=$2
   7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7920 $as_echo_n "checking for $ac_word... " >&6; }
   7921 if test "${ac_cv_prog_FLEX+set}" = set; then :
   7922   $as_echo_n "(cached) " >&6
   7923 else
   7924   if test -n "$FLEX"; then
   7925   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
   7926 else
   7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7928 for as_dir in $PATH
   7929 do
   7930   IFS=$as_save_IFS
   7931   test -z "$as_dir" && as_dir=.
   7932     for ac_exec_ext in '' $ac_executable_extensions; do
   7933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7934     ac_cv_prog_FLEX="$ac_prog"
   7935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7936     break 2
   7937   fi
   7938 done
   7939   done
   7940 IFS=$as_save_IFS
   7941 
   7942 fi
   7943 fi
   7944 FLEX=$ac_cv_prog_FLEX
   7945 if test -n "$FLEX"; then
   7946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
   7947 $as_echo "$FLEX" >&6; }
   7948 else
   7949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7950 $as_echo "no" >&6; }
   7951 fi
   7952 
   7953 
   7954   test -n "$FLEX" && break
   7955 done
   7956 test -n "$FLEX" || FLEX="$MISSING flex"
   7957 
   7958 case " $build_configdirs " in
   7959   *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   7960 esac
   7961 
   7962 for ac_prog in makeinfo
   7963 do
   7964   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7965 set dummy $ac_prog; ac_word=$2
   7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7967 $as_echo_n "checking for $ac_word... " >&6; }
   7968 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
   7969   $as_echo_n "(cached) " >&6
   7970 else
   7971   if test -n "$MAKEINFO"; then
   7972   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   7973 else
   7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7975 for as_dir in $PATH
   7976 do
   7977   IFS=$as_save_IFS
   7978   test -z "$as_dir" && as_dir=.
   7979     for ac_exec_ext in '' $ac_executable_extensions; do
   7980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7981     ac_cv_prog_MAKEINFO="$ac_prog"
   7982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7983     break 2
   7984   fi
   7985 done
   7986   done
   7987 IFS=$as_save_IFS
   7988 
   7989 fi
   7990 fi
   7991 MAKEINFO=$ac_cv_prog_MAKEINFO
   7992 if test -n "$MAKEINFO"; then
   7993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   7994 $as_echo "$MAKEINFO" >&6; }
   7995 else
   7996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7997 $as_echo "no" >&6; }
   7998 fi
   7999 
   8000 
   8001   test -n "$MAKEINFO" && break
   8002 done
   8003 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   8004 
   8005 case " $build_configdirs " in
   8006   *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
   8007   *)
   8008 
   8009     # For an installed makeinfo, we require it to be from texinfo 4.7 or
   8010     # higher, else we use the "missing" dummy.
   8011     if ${MAKEINFO} --version \
   8012        | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
   8013       :
   8014     else
   8015       MAKEINFO="$MISSING makeinfo"
   8016     fi
   8017     ;;
   8018 
   8019 esac
   8020 
   8021 # FIXME: expect and dejagnu may become build tools?
   8022 
   8023 for ac_prog in expect
   8024 do
   8025   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8026 set dummy $ac_prog; ac_word=$2
   8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8028 $as_echo_n "checking for $ac_word... " >&6; }
   8029 if test "${ac_cv_prog_EXPECT+set}" = set; then :
   8030   $as_echo_n "(cached) " >&6
   8031 else
   8032   if test -n "$EXPECT"; then
   8033   ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
   8034 else
   8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8036 for as_dir in $PATH
   8037 do
   8038   IFS=$as_save_IFS
   8039   test -z "$as_dir" && as_dir=.
   8040     for ac_exec_ext in '' $ac_executable_extensions; do
   8041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8042     ac_cv_prog_EXPECT="$ac_prog"
   8043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8044     break 2
   8045   fi
   8046 done
   8047   done
   8048 IFS=$as_save_IFS
   8049 
   8050 fi
   8051 fi
   8052 EXPECT=$ac_cv_prog_EXPECT
   8053 if test -n "$EXPECT"; then
   8054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   8055 $as_echo "$EXPECT" >&6; }
   8056 else
   8057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8058 $as_echo "no" >&6; }
   8059 fi
   8060 
   8061 
   8062   test -n "$EXPECT" && break
   8063 done
   8064 test -n "$EXPECT" || EXPECT="expect"
   8065 
   8066 case " $configdirs " in
   8067   *" expect "*)
   8068     test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
   8069     ;;
   8070 esac
   8071 
   8072 for ac_prog in runtest
   8073 do
   8074   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8075 set dummy $ac_prog; ac_word=$2
   8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8077 $as_echo_n "checking for $ac_word... " >&6; }
   8078 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
   8079   $as_echo_n "(cached) " >&6
   8080 else
   8081   if test -n "$RUNTEST"; then
   8082   ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
   8083 else
   8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8085 for as_dir in $PATH
   8086 do
   8087   IFS=$as_save_IFS
   8088   test -z "$as_dir" && as_dir=.
   8089     for ac_exec_ext in '' $ac_executable_extensions; do
   8090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8091     ac_cv_prog_RUNTEST="$ac_prog"
   8092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8093     break 2
   8094   fi
   8095 done
   8096   done
   8097 IFS=$as_save_IFS
   8098 
   8099 fi
   8100 fi
   8101 RUNTEST=$ac_cv_prog_RUNTEST
   8102 if test -n "$RUNTEST"; then
   8103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
   8104 $as_echo "$RUNTEST" >&6; }
   8105 else
   8106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8107 $as_echo "no" >&6; }
   8108 fi
   8109 
   8110 
   8111   test -n "$RUNTEST" && break
   8112 done
   8113 test -n "$RUNTEST" || RUNTEST="runtest"
   8114 
   8115 case " $configdirs " in
   8116   *" dejagnu "*)
   8117     test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
   8118     ;;
   8119 esac
   8120 
   8121 
   8122 # Host tools.
   8123 ncn_tool_prefix=
   8124 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
   8125 ncn_target_tool_prefix=
   8126 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
   8127 
   8128 
   8129 
   8130 if test -n "$AR"; then
   8131   ac_cv_prog_AR=$AR
   8132 elif test -n "$ac_cv_prog_AR"; then
   8133   AR=$ac_cv_prog_AR
   8134 fi
   8135 
   8136 if test -n "$ac_cv_prog_AR"; then
   8137   for ncn_progname in ar; do
   8138     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8139 set dummy ${ncn_progname}; ac_word=$2
   8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8141 $as_echo_n "checking for $ac_word... " >&6; }
   8142 if test "${ac_cv_prog_AR+set}" = set; then :
   8143   $as_echo_n "(cached) " >&6
   8144 else
   8145   if test -n "$AR"; then
   8146   ac_cv_prog_AR="$AR" # Let the user override the test.
   8147 else
   8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8149 for as_dir in $PATH
   8150 do
   8151   IFS=$as_save_IFS
   8152   test -z "$as_dir" && as_dir=.
   8153     for ac_exec_ext in '' $ac_executable_extensions; do
   8154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8155     ac_cv_prog_AR="${ncn_progname}"
   8156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8157     break 2
   8158   fi
   8159 done
   8160   done
   8161 IFS=$as_save_IFS
   8162 
   8163 fi
   8164 fi
   8165 AR=$ac_cv_prog_AR
   8166 if test -n "$AR"; then
   8167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8168 $as_echo "$AR" >&6; }
   8169 else
   8170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8171 $as_echo "no" >&6; }
   8172 fi
   8173 
   8174 
   8175   done
   8176 fi
   8177 
   8178 for ncn_progname in ar; do
   8179   if test -n "$ncn_tool_prefix"; then
   8180     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8181 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8183 $as_echo_n "checking for $ac_word... " >&6; }
   8184 if test "${ac_cv_prog_AR+set}" = set; then :
   8185   $as_echo_n "(cached) " >&6
   8186 else
   8187   if test -n "$AR"; then
   8188   ac_cv_prog_AR="$AR" # Let the user override the test.
   8189 else
   8190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8191 for as_dir in $PATH
   8192 do
   8193   IFS=$as_save_IFS
   8194   test -z "$as_dir" && as_dir=.
   8195     for ac_exec_ext in '' $ac_executable_extensions; do
   8196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8197     ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
   8198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8199     break 2
   8200   fi
   8201 done
   8202   done
   8203 IFS=$as_save_IFS
   8204 
   8205 fi
   8206 fi
   8207 AR=$ac_cv_prog_AR
   8208 if test -n "$AR"; then
   8209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8210 $as_echo "$AR" >&6; }
   8211 else
   8212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8213 $as_echo "no" >&6; }
   8214 fi
   8215 
   8216 
   8217   fi
   8218   if test -z "$ac_cv_prog_AR" && test $build = $host ; then
   8219     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8220 set dummy ${ncn_progname}; ac_word=$2
   8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8222 $as_echo_n "checking for $ac_word... " >&6; }
   8223 if test "${ac_cv_prog_AR+set}" = set; then :
   8224   $as_echo_n "(cached) " >&6
   8225 else
   8226   if test -n "$AR"; then
   8227   ac_cv_prog_AR="$AR" # Let the user override the test.
   8228 else
   8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8230 for as_dir in $PATH
   8231 do
   8232   IFS=$as_save_IFS
   8233   test -z "$as_dir" && as_dir=.
   8234     for ac_exec_ext in '' $ac_executable_extensions; do
   8235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8236     ac_cv_prog_AR="${ncn_progname}"
   8237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8238     break 2
   8239   fi
   8240 done
   8241   done
   8242 IFS=$as_save_IFS
   8243 
   8244 fi
   8245 fi
   8246 AR=$ac_cv_prog_AR
   8247 if test -n "$AR"; then
   8248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8249 $as_echo "$AR" >&6; }
   8250 else
   8251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8252 $as_echo "no" >&6; }
   8253 fi
   8254 
   8255 
   8256   fi
   8257   test -n "$ac_cv_prog_AR" && break
   8258 done
   8259 
   8260 if test -z "$ac_cv_prog_AR" ; then
   8261   set dummy ar
   8262   if test $build = $host ; then
   8263     AR="$2"
   8264   else
   8265     AR="${ncn_tool_prefix}$2"
   8266   fi
   8267 fi
   8268 
   8269 
   8270 
   8271 if test -n "$AS"; then
   8272   ac_cv_prog_AS=$AS
   8273 elif test -n "$ac_cv_prog_AS"; then
   8274   AS=$ac_cv_prog_AS
   8275 fi
   8276 
   8277 if test -n "$ac_cv_prog_AS"; then
   8278   for ncn_progname in as; do
   8279     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8280 set dummy ${ncn_progname}; ac_word=$2
   8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8282 $as_echo_n "checking for $ac_word... " >&6; }
   8283 if test "${ac_cv_prog_AS+set}" = set; then :
   8284   $as_echo_n "(cached) " >&6
   8285 else
   8286   if test -n "$AS"; then
   8287   ac_cv_prog_AS="$AS" # Let the user override the test.
   8288 else
   8289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8290 for as_dir in $PATH
   8291 do
   8292   IFS=$as_save_IFS
   8293   test -z "$as_dir" && as_dir=.
   8294     for ac_exec_ext in '' $ac_executable_extensions; do
   8295   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8296     ac_cv_prog_AS="${ncn_progname}"
   8297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8298     break 2
   8299   fi
   8300 done
   8301   done
   8302 IFS=$as_save_IFS
   8303 
   8304 fi
   8305 fi
   8306 AS=$ac_cv_prog_AS
   8307 if test -n "$AS"; then
   8308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8309 $as_echo "$AS" >&6; }
   8310 else
   8311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8312 $as_echo "no" >&6; }
   8313 fi
   8314 
   8315 
   8316   done
   8317 fi
   8318 
   8319 for ncn_progname in as; do
   8320   if test -n "$ncn_tool_prefix"; then
   8321     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8322 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8324 $as_echo_n "checking for $ac_word... " >&6; }
   8325 if test "${ac_cv_prog_AS+set}" = set; then :
   8326   $as_echo_n "(cached) " >&6
   8327 else
   8328   if test -n "$AS"; then
   8329   ac_cv_prog_AS="$AS" # Let the user override the test.
   8330 else
   8331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8332 for as_dir in $PATH
   8333 do
   8334   IFS=$as_save_IFS
   8335   test -z "$as_dir" && as_dir=.
   8336     for ac_exec_ext in '' $ac_executable_extensions; do
   8337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8338     ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
   8339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8340     break 2
   8341   fi
   8342 done
   8343   done
   8344 IFS=$as_save_IFS
   8345 
   8346 fi
   8347 fi
   8348 AS=$ac_cv_prog_AS
   8349 if test -n "$AS"; then
   8350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8351 $as_echo "$AS" >&6; }
   8352 else
   8353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8354 $as_echo "no" >&6; }
   8355 fi
   8356 
   8357 
   8358   fi
   8359   if test -z "$ac_cv_prog_AS" && test $build = $host ; then
   8360     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8361 set dummy ${ncn_progname}; ac_word=$2
   8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8363 $as_echo_n "checking for $ac_word... " >&6; }
   8364 if test "${ac_cv_prog_AS+set}" = set; then :
   8365   $as_echo_n "(cached) " >&6
   8366 else
   8367   if test -n "$AS"; then
   8368   ac_cv_prog_AS="$AS" # Let the user override the test.
   8369 else
   8370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8371 for as_dir in $PATH
   8372 do
   8373   IFS=$as_save_IFS
   8374   test -z "$as_dir" && as_dir=.
   8375     for ac_exec_ext in '' $ac_executable_extensions; do
   8376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8377     ac_cv_prog_AS="${ncn_progname}"
   8378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8379     break 2
   8380   fi
   8381 done
   8382   done
   8383 IFS=$as_save_IFS
   8384 
   8385 fi
   8386 fi
   8387 AS=$ac_cv_prog_AS
   8388 if test -n "$AS"; then
   8389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8390 $as_echo "$AS" >&6; }
   8391 else
   8392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8393 $as_echo "no" >&6; }
   8394 fi
   8395 
   8396 
   8397   fi
   8398   test -n "$ac_cv_prog_AS" && break
   8399 done
   8400 
   8401 if test -z "$ac_cv_prog_AS" ; then
   8402   set dummy as
   8403   if test $build = $host ; then
   8404     AS="$2"
   8405   else
   8406     AS="${ncn_tool_prefix}$2"
   8407   fi
   8408 fi
   8409 
   8410 
   8411 
   8412 if test -n "$DLLTOOL"; then
   8413   ac_cv_prog_DLLTOOL=$DLLTOOL
   8414 elif test -n "$ac_cv_prog_DLLTOOL"; then
   8415   DLLTOOL=$ac_cv_prog_DLLTOOL
   8416 fi
   8417 
   8418 if test -n "$ac_cv_prog_DLLTOOL"; then
   8419   for ncn_progname in dlltool; do
   8420     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8421 set dummy ${ncn_progname}; ac_word=$2
   8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8423 $as_echo_n "checking for $ac_word... " >&6; }
   8424 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   8425   $as_echo_n "(cached) " >&6
   8426 else
   8427   if test -n "$DLLTOOL"; then
   8428   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8429 else
   8430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8431 for as_dir in $PATH
   8432 do
   8433   IFS=$as_save_IFS
   8434   test -z "$as_dir" && as_dir=.
   8435     for ac_exec_ext in '' $ac_executable_extensions; do
   8436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8437     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8439     break 2
   8440   fi
   8441 done
   8442   done
   8443 IFS=$as_save_IFS
   8444 
   8445 fi
   8446 fi
   8447 DLLTOOL=$ac_cv_prog_DLLTOOL
   8448 if test -n "$DLLTOOL"; then
   8449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8450 $as_echo "$DLLTOOL" >&6; }
   8451 else
   8452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8453 $as_echo "no" >&6; }
   8454 fi
   8455 
   8456 
   8457   done
   8458 fi
   8459 
   8460 for ncn_progname in dlltool; do
   8461   if test -n "$ncn_tool_prefix"; then
   8462     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8463 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8465 $as_echo_n "checking for $ac_word... " >&6; }
   8466 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   8467   $as_echo_n "(cached) " >&6
   8468 else
   8469   if test -n "$DLLTOOL"; then
   8470   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8471 else
   8472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8473 for as_dir in $PATH
   8474 do
   8475   IFS=$as_save_IFS
   8476   test -z "$as_dir" && as_dir=.
   8477     for ac_exec_ext in '' $ac_executable_extensions; do
   8478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8479     ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
   8480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8481     break 2
   8482   fi
   8483 done
   8484   done
   8485 IFS=$as_save_IFS
   8486 
   8487 fi
   8488 fi
   8489 DLLTOOL=$ac_cv_prog_DLLTOOL
   8490 if test -n "$DLLTOOL"; then
   8491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8492 $as_echo "$DLLTOOL" >&6; }
   8493 else
   8494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8495 $as_echo "no" >&6; }
   8496 fi
   8497 
   8498 
   8499   fi
   8500   if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
   8501     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8502 set dummy ${ncn_progname}; ac_word=$2
   8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8504 $as_echo_n "checking for $ac_word... " >&6; }
   8505 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   8506   $as_echo_n "(cached) " >&6
   8507 else
   8508   if test -n "$DLLTOOL"; then
   8509   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8510 else
   8511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8512 for as_dir in $PATH
   8513 do
   8514   IFS=$as_save_IFS
   8515   test -z "$as_dir" && as_dir=.
   8516     for ac_exec_ext in '' $ac_executable_extensions; do
   8517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8518     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8520     break 2
   8521   fi
   8522 done
   8523   done
   8524 IFS=$as_save_IFS
   8525 
   8526 fi
   8527 fi
   8528 DLLTOOL=$ac_cv_prog_DLLTOOL
   8529 if test -n "$DLLTOOL"; then
   8530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8531 $as_echo "$DLLTOOL" >&6; }
   8532 else
   8533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8534 $as_echo "no" >&6; }
   8535 fi
   8536 
   8537 
   8538   fi
   8539   test -n "$ac_cv_prog_DLLTOOL" && break
   8540 done
   8541 
   8542 if test -z "$ac_cv_prog_DLLTOOL" ; then
   8543   set dummy dlltool
   8544   if test $build = $host ; then
   8545     DLLTOOL="$2"
   8546   else
   8547     DLLTOOL="${ncn_tool_prefix}$2"
   8548   fi
   8549 fi
   8550 
   8551 
   8552 
   8553 if test -n "$LD"; then
   8554   ac_cv_prog_LD=$LD
   8555 elif test -n "$ac_cv_prog_LD"; then
   8556   LD=$ac_cv_prog_LD
   8557 fi
   8558 
   8559 if test -n "$ac_cv_prog_LD"; then
   8560   for ncn_progname in ld; do
   8561     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8562 set dummy ${ncn_progname}; ac_word=$2
   8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8564 $as_echo_n "checking for $ac_word... " >&6; }
   8565 if test "${ac_cv_prog_LD+set}" = set; then :
   8566   $as_echo_n "(cached) " >&6
   8567 else
   8568   if test -n "$LD"; then
   8569   ac_cv_prog_LD="$LD" # Let the user override the test.
   8570 else
   8571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8572 for as_dir in $PATH
   8573 do
   8574   IFS=$as_save_IFS
   8575   test -z "$as_dir" && as_dir=.
   8576     for ac_exec_ext in '' $ac_executable_extensions; do
   8577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8578     ac_cv_prog_LD="${ncn_progname}"
   8579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8580     break 2
   8581   fi
   8582 done
   8583   done
   8584 IFS=$as_save_IFS
   8585 
   8586 fi
   8587 fi
   8588 LD=$ac_cv_prog_LD
   8589 if test -n "$LD"; then
   8590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8591 $as_echo "$LD" >&6; }
   8592 else
   8593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8594 $as_echo "no" >&6; }
   8595 fi
   8596 
   8597 
   8598   done
   8599 fi
   8600 
   8601 for ncn_progname in ld; do
   8602   if test -n "$ncn_tool_prefix"; then
   8603     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8604 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8606 $as_echo_n "checking for $ac_word... " >&6; }
   8607 if test "${ac_cv_prog_LD+set}" = set; then :
   8608   $as_echo_n "(cached) " >&6
   8609 else
   8610   if test -n "$LD"; then
   8611   ac_cv_prog_LD="$LD" # Let the user override the test.
   8612 else
   8613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8614 for as_dir in $PATH
   8615 do
   8616   IFS=$as_save_IFS
   8617   test -z "$as_dir" && as_dir=.
   8618     for ac_exec_ext in '' $ac_executable_extensions; do
   8619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8620     ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
   8621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8622     break 2
   8623   fi
   8624 done
   8625   done
   8626 IFS=$as_save_IFS
   8627 
   8628 fi
   8629 fi
   8630 LD=$ac_cv_prog_LD
   8631 if test -n "$LD"; then
   8632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8633 $as_echo "$LD" >&6; }
   8634 else
   8635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8636 $as_echo "no" >&6; }
   8637 fi
   8638 
   8639 
   8640   fi
   8641   if test -z "$ac_cv_prog_LD" && test $build = $host ; then
   8642     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8643 set dummy ${ncn_progname}; ac_word=$2
   8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8645 $as_echo_n "checking for $ac_word... " >&6; }
   8646 if test "${ac_cv_prog_LD+set}" = set; then :
   8647   $as_echo_n "(cached) " >&6
   8648 else
   8649   if test -n "$LD"; then
   8650   ac_cv_prog_LD="$LD" # Let the user override the test.
   8651 else
   8652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8653 for as_dir in $PATH
   8654 do
   8655   IFS=$as_save_IFS
   8656   test -z "$as_dir" && as_dir=.
   8657     for ac_exec_ext in '' $ac_executable_extensions; do
   8658   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8659     ac_cv_prog_LD="${ncn_progname}"
   8660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8661     break 2
   8662   fi
   8663 done
   8664   done
   8665 IFS=$as_save_IFS
   8666 
   8667 fi
   8668 fi
   8669 LD=$ac_cv_prog_LD
   8670 if test -n "$LD"; then
   8671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8672 $as_echo "$LD" >&6; }
   8673 else
   8674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8675 $as_echo "no" >&6; }
   8676 fi
   8677 
   8678 
   8679   fi
   8680   test -n "$ac_cv_prog_LD" && break
   8681 done
   8682 
   8683 if test -z "$ac_cv_prog_LD" ; then
   8684   set dummy ld
   8685   if test $build = $host ; then
   8686     LD="$2"
   8687   else
   8688     LD="${ncn_tool_prefix}$2"
   8689   fi
   8690 fi
   8691 
   8692 
   8693 
   8694 if test -n "$LIPO"; then
   8695   ac_cv_prog_LIPO=$LIPO
   8696 elif test -n "$ac_cv_prog_LIPO"; then
   8697   LIPO=$ac_cv_prog_LIPO
   8698 fi
   8699 
   8700 if test -n "$ac_cv_prog_LIPO"; then
   8701   for ncn_progname in lipo; do
   8702     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8703 set dummy ${ncn_progname}; ac_word=$2
   8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8705 $as_echo_n "checking for $ac_word... " >&6; }
   8706 if test "${ac_cv_prog_LIPO+set}" = set; then :
   8707   $as_echo_n "(cached) " >&6
   8708 else
   8709   if test -n "$LIPO"; then
   8710   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8711 else
   8712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8713 for as_dir in $PATH
   8714 do
   8715   IFS=$as_save_IFS
   8716   test -z "$as_dir" && as_dir=.
   8717     for ac_exec_ext in '' $ac_executable_extensions; do
   8718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8719     ac_cv_prog_LIPO="${ncn_progname}"
   8720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8721     break 2
   8722   fi
   8723 done
   8724   done
   8725 IFS=$as_save_IFS
   8726 
   8727 fi
   8728 fi
   8729 LIPO=$ac_cv_prog_LIPO
   8730 if test -n "$LIPO"; then
   8731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8732 $as_echo "$LIPO" >&6; }
   8733 else
   8734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8735 $as_echo "no" >&6; }
   8736 fi
   8737 
   8738 
   8739   done
   8740 fi
   8741 
   8742 for ncn_progname in lipo; do
   8743   if test -n "$ncn_tool_prefix"; then
   8744     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8745 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8747 $as_echo_n "checking for $ac_word... " >&6; }
   8748 if test "${ac_cv_prog_LIPO+set}" = set; then :
   8749   $as_echo_n "(cached) " >&6
   8750 else
   8751   if test -n "$LIPO"; then
   8752   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8753 else
   8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8755 for as_dir in $PATH
   8756 do
   8757   IFS=$as_save_IFS
   8758   test -z "$as_dir" && as_dir=.
   8759     for ac_exec_ext in '' $ac_executable_extensions; do
   8760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8761     ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
   8762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8763     break 2
   8764   fi
   8765 done
   8766   done
   8767 IFS=$as_save_IFS
   8768 
   8769 fi
   8770 fi
   8771 LIPO=$ac_cv_prog_LIPO
   8772 if test -n "$LIPO"; then
   8773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8774 $as_echo "$LIPO" >&6; }
   8775 else
   8776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8777 $as_echo "no" >&6; }
   8778 fi
   8779 
   8780 
   8781   fi
   8782   if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
   8783     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8784 set dummy ${ncn_progname}; ac_word=$2
   8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8786 $as_echo_n "checking for $ac_word... " >&6; }
   8787 if test "${ac_cv_prog_LIPO+set}" = set; then :
   8788   $as_echo_n "(cached) " >&6
   8789 else
   8790   if test -n "$LIPO"; then
   8791   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8792 else
   8793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8794 for as_dir in $PATH
   8795 do
   8796   IFS=$as_save_IFS
   8797   test -z "$as_dir" && as_dir=.
   8798     for ac_exec_ext in '' $ac_executable_extensions; do
   8799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8800     ac_cv_prog_LIPO="${ncn_progname}"
   8801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8802     break 2
   8803   fi
   8804 done
   8805   done
   8806 IFS=$as_save_IFS
   8807 
   8808 fi
   8809 fi
   8810 LIPO=$ac_cv_prog_LIPO
   8811 if test -n "$LIPO"; then
   8812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8813 $as_echo "$LIPO" >&6; }
   8814 else
   8815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8816 $as_echo "no" >&6; }
   8817 fi
   8818 
   8819 
   8820   fi
   8821   test -n "$ac_cv_prog_LIPO" && break
   8822 done
   8823 
   8824 if test -z "$ac_cv_prog_LIPO" ; then
   8825   set dummy lipo
   8826   if test $build = $host ; then
   8827     LIPO="$2"
   8828   else
   8829     LIPO="${ncn_tool_prefix}$2"
   8830   fi
   8831 fi
   8832 
   8833 
   8834 
   8835 if test -n "$NM"; then
   8836   ac_cv_prog_NM=$NM
   8837 elif test -n "$ac_cv_prog_NM"; then
   8838   NM=$ac_cv_prog_NM
   8839 fi
   8840 
   8841 if test -n "$ac_cv_prog_NM"; then
   8842   for ncn_progname in nm; do
   8843     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8844 set dummy ${ncn_progname}; ac_word=$2
   8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8846 $as_echo_n "checking for $ac_word... " >&6; }
   8847 if test "${ac_cv_prog_NM+set}" = set; then :
   8848   $as_echo_n "(cached) " >&6
   8849 else
   8850   if test -n "$NM"; then
   8851   ac_cv_prog_NM="$NM" # Let the user override the test.
   8852 else
   8853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8854 for as_dir in $PATH
   8855 do
   8856   IFS=$as_save_IFS
   8857   test -z "$as_dir" && as_dir=.
   8858     for ac_exec_ext in '' $ac_executable_extensions; do
   8859   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8860     ac_cv_prog_NM="${ncn_progname}"
   8861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8862     break 2
   8863   fi
   8864 done
   8865   done
   8866 IFS=$as_save_IFS
   8867 
   8868 fi
   8869 fi
   8870 NM=$ac_cv_prog_NM
   8871 if test -n "$NM"; then
   8872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8873 $as_echo "$NM" >&6; }
   8874 else
   8875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8876 $as_echo "no" >&6; }
   8877 fi
   8878 
   8879 
   8880   done
   8881 fi
   8882 
   8883 for ncn_progname in nm; do
   8884   if test -n "$ncn_tool_prefix"; then
   8885     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8886 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8888 $as_echo_n "checking for $ac_word... " >&6; }
   8889 if test "${ac_cv_prog_NM+set}" = set; then :
   8890   $as_echo_n "(cached) " >&6
   8891 else
   8892   if test -n "$NM"; then
   8893   ac_cv_prog_NM="$NM" # Let the user override the test.
   8894 else
   8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8896 for as_dir in $PATH
   8897 do
   8898   IFS=$as_save_IFS
   8899   test -z "$as_dir" && as_dir=.
   8900     for ac_exec_ext in '' $ac_executable_extensions; do
   8901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8902     ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
   8903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8904     break 2
   8905   fi
   8906 done
   8907   done
   8908 IFS=$as_save_IFS
   8909 
   8910 fi
   8911 fi
   8912 NM=$ac_cv_prog_NM
   8913 if test -n "$NM"; then
   8914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8915 $as_echo "$NM" >&6; }
   8916 else
   8917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8918 $as_echo "no" >&6; }
   8919 fi
   8920 
   8921 
   8922   fi
   8923   if test -z "$ac_cv_prog_NM" && test $build = $host ; then
   8924     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8925 set dummy ${ncn_progname}; ac_word=$2
   8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8927 $as_echo_n "checking for $ac_word... " >&6; }
   8928 if test "${ac_cv_prog_NM+set}" = set; then :
   8929   $as_echo_n "(cached) " >&6
   8930 else
   8931   if test -n "$NM"; then
   8932   ac_cv_prog_NM="$NM" # Let the user override the test.
   8933 else
   8934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8935 for as_dir in $PATH
   8936 do
   8937   IFS=$as_save_IFS
   8938   test -z "$as_dir" && as_dir=.
   8939     for ac_exec_ext in '' $ac_executable_extensions; do
   8940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8941     ac_cv_prog_NM="${ncn_progname}"
   8942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8943     break 2
   8944   fi
   8945 done
   8946   done
   8947 IFS=$as_save_IFS
   8948 
   8949 fi
   8950 fi
   8951 NM=$ac_cv_prog_NM
   8952 if test -n "$NM"; then
   8953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8954 $as_echo "$NM" >&6; }
   8955 else
   8956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8957 $as_echo "no" >&6; }
   8958 fi
   8959 
   8960 
   8961   fi
   8962   test -n "$ac_cv_prog_NM" && break
   8963 done
   8964 
   8965 if test -z "$ac_cv_prog_NM" ; then
   8966   set dummy nm
   8967   if test $build = $host ; then
   8968     NM="$2"
   8969   else
   8970     NM="${ncn_tool_prefix}$2"
   8971   fi
   8972 fi
   8973 
   8974 
   8975 
   8976 if test -n "$RANLIB"; then
   8977   ac_cv_prog_RANLIB=$RANLIB
   8978 elif test -n "$ac_cv_prog_RANLIB"; then
   8979   RANLIB=$ac_cv_prog_RANLIB
   8980 fi
   8981 
   8982 if test -n "$ac_cv_prog_RANLIB"; then
   8983   for ncn_progname in ranlib; do
   8984     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8985 set dummy ${ncn_progname}; ac_word=$2
   8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8987 $as_echo_n "checking for $ac_word... " >&6; }
   8988 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   8989   $as_echo_n "(cached) " >&6
   8990 else
   8991   if test -n "$RANLIB"; then
   8992   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8993 else
   8994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8995 for as_dir in $PATH
   8996 do
   8997   IFS=$as_save_IFS
   8998   test -z "$as_dir" && as_dir=.
   8999     for ac_exec_ext in '' $ac_executable_extensions; do
   9000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9001     ac_cv_prog_RANLIB="${ncn_progname}"
   9002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9003     break 2
   9004   fi
   9005 done
   9006   done
   9007 IFS=$as_save_IFS
   9008 
   9009 fi
   9010 fi
   9011 RANLIB=$ac_cv_prog_RANLIB
   9012 if test -n "$RANLIB"; then
   9013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9014 $as_echo "$RANLIB" >&6; }
   9015 else
   9016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9017 $as_echo "no" >&6; }
   9018 fi
   9019 
   9020 
   9021   done
   9022 fi
   9023 
   9024 for ncn_progname in ranlib; do
   9025   if test -n "$ncn_tool_prefix"; then
   9026     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9027 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9029 $as_echo_n "checking for $ac_word... " >&6; }
   9030 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   9031   $as_echo_n "(cached) " >&6
   9032 else
   9033   if test -n "$RANLIB"; then
   9034   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9035 else
   9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9037 for as_dir in $PATH
   9038 do
   9039   IFS=$as_save_IFS
   9040   test -z "$as_dir" && as_dir=.
   9041     for ac_exec_ext in '' $ac_executable_extensions; do
   9042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9043     ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
   9044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9045     break 2
   9046   fi
   9047 done
   9048   done
   9049 IFS=$as_save_IFS
   9050 
   9051 fi
   9052 fi
   9053 RANLIB=$ac_cv_prog_RANLIB
   9054 if test -n "$RANLIB"; then
   9055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9056 $as_echo "$RANLIB" >&6; }
   9057 else
   9058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9059 $as_echo "no" >&6; }
   9060 fi
   9061 
   9062 
   9063   fi
   9064   if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
   9065     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9066 set dummy ${ncn_progname}; ac_word=$2
   9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9068 $as_echo_n "checking for $ac_word... " >&6; }
   9069 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   9070   $as_echo_n "(cached) " >&6
   9071 else
   9072   if test -n "$RANLIB"; then
   9073   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9074 else
   9075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9076 for as_dir in $PATH
   9077 do
   9078   IFS=$as_save_IFS
   9079   test -z "$as_dir" && as_dir=.
   9080     for ac_exec_ext in '' $ac_executable_extensions; do
   9081   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9082     ac_cv_prog_RANLIB="${ncn_progname}"
   9083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9084     break 2
   9085   fi
   9086 done
   9087   done
   9088 IFS=$as_save_IFS
   9089 
   9090 fi
   9091 fi
   9092 RANLIB=$ac_cv_prog_RANLIB
   9093 if test -n "$RANLIB"; then
   9094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9095 $as_echo "$RANLIB" >&6; }
   9096 else
   9097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9098 $as_echo "no" >&6; }
   9099 fi
   9100 
   9101 
   9102   fi
   9103   test -n "$ac_cv_prog_RANLIB" && break
   9104 done
   9105 
   9106 if test -z "$ac_cv_prog_RANLIB" ; then
   9107   RANLIB="true"
   9108 fi
   9109 
   9110 
   9111 
   9112 if test -n "$STRIP"; then
   9113   ac_cv_prog_STRIP=$STRIP
   9114 elif test -n "$ac_cv_prog_STRIP"; then
   9115   STRIP=$ac_cv_prog_STRIP
   9116 fi
   9117 
   9118 if test -n "$ac_cv_prog_STRIP"; then
   9119   for ncn_progname in strip; do
   9120     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9121 set dummy ${ncn_progname}; ac_word=$2
   9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9123 $as_echo_n "checking for $ac_word... " >&6; }
   9124 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9125   $as_echo_n "(cached) " >&6
   9126 else
   9127   if test -n "$STRIP"; then
   9128   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9129 else
   9130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9131 for as_dir in $PATH
   9132 do
   9133   IFS=$as_save_IFS
   9134   test -z "$as_dir" && as_dir=.
   9135     for ac_exec_ext in '' $ac_executable_extensions; do
   9136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9137     ac_cv_prog_STRIP="${ncn_progname}"
   9138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9139     break 2
   9140   fi
   9141 done
   9142   done
   9143 IFS=$as_save_IFS
   9144 
   9145 fi
   9146 fi
   9147 STRIP=$ac_cv_prog_STRIP
   9148 if test -n "$STRIP"; then
   9149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9150 $as_echo "$STRIP" >&6; }
   9151 else
   9152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9153 $as_echo "no" >&6; }
   9154 fi
   9155 
   9156 
   9157   done
   9158 fi
   9159 
   9160 for ncn_progname in strip; do
   9161   if test -n "$ncn_tool_prefix"; then
   9162     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9163 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9165 $as_echo_n "checking for $ac_word... " >&6; }
   9166 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9167   $as_echo_n "(cached) " >&6
   9168 else
   9169   if test -n "$STRIP"; then
   9170   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9171 else
   9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9173 for as_dir in $PATH
   9174 do
   9175   IFS=$as_save_IFS
   9176   test -z "$as_dir" && as_dir=.
   9177     for ac_exec_ext in '' $ac_executable_extensions; do
   9178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9179     ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
   9180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9181     break 2
   9182   fi
   9183 done
   9184   done
   9185 IFS=$as_save_IFS
   9186 
   9187 fi
   9188 fi
   9189 STRIP=$ac_cv_prog_STRIP
   9190 if test -n "$STRIP"; then
   9191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9192 $as_echo "$STRIP" >&6; }
   9193 else
   9194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9195 $as_echo "no" >&6; }
   9196 fi
   9197 
   9198 
   9199   fi
   9200   if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
   9201     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9202 set dummy ${ncn_progname}; ac_word=$2
   9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9204 $as_echo_n "checking for $ac_word... " >&6; }
   9205 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9206   $as_echo_n "(cached) " >&6
   9207 else
   9208   if test -n "$STRIP"; then
   9209   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9210 else
   9211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9212 for as_dir in $PATH
   9213 do
   9214   IFS=$as_save_IFS
   9215   test -z "$as_dir" && as_dir=.
   9216     for ac_exec_ext in '' $ac_executable_extensions; do
   9217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9218     ac_cv_prog_STRIP="${ncn_progname}"
   9219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9220     break 2
   9221   fi
   9222 done
   9223   done
   9224 IFS=$as_save_IFS
   9225 
   9226 fi
   9227 fi
   9228 STRIP=$ac_cv_prog_STRIP
   9229 if test -n "$STRIP"; then
   9230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9231 $as_echo "$STRIP" >&6; }
   9232 else
   9233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9234 $as_echo "no" >&6; }
   9235 fi
   9236 
   9237 
   9238   fi
   9239   test -n "$ac_cv_prog_STRIP" && break
   9240 done
   9241 
   9242 if test -z "$ac_cv_prog_STRIP" ; then
   9243   STRIP="true"
   9244 fi
   9245 
   9246 
   9247 
   9248 if test -n "$WINDRES"; then
   9249   ac_cv_prog_WINDRES=$WINDRES
   9250 elif test -n "$ac_cv_prog_WINDRES"; then
   9251   WINDRES=$ac_cv_prog_WINDRES
   9252 fi
   9253 
   9254 if test -n "$ac_cv_prog_WINDRES"; then
   9255   for ncn_progname in windres; do
   9256     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9257 set dummy ${ncn_progname}; ac_word=$2
   9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9259 $as_echo_n "checking for $ac_word... " >&6; }
   9260 if test "${ac_cv_prog_WINDRES+set}" = set; then :
   9261   $as_echo_n "(cached) " >&6
   9262 else
   9263   if test -n "$WINDRES"; then
   9264   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9265 else
   9266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9267 for as_dir in $PATH
   9268 do
   9269   IFS=$as_save_IFS
   9270   test -z "$as_dir" && as_dir=.
   9271     for ac_exec_ext in '' $ac_executable_extensions; do
   9272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9273     ac_cv_prog_WINDRES="${ncn_progname}"
   9274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9275     break 2
   9276   fi
   9277 done
   9278   done
   9279 IFS=$as_save_IFS
   9280 
   9281 fi
   9282 fi
   9283 WINDRES=$ac_cv_prog_WINDRES
   9284 if test -n "$WINDRES"; then
   9285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9286 $as_echo "$WINDRES" >&6; }
   9287 else
   9288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9289 $as_echo "no" >&6; }
   9290 fi
   9291 
   9292 
   9293   done
   9294 fi
   9295 
   9296 for ncn_progname in windres; do
   9297   if test -n "$ncn_tool_prefix"; then
   9298     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9299 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9301 $as_echo_n "checking for $ac_word... " >&6; }
   9302 if test "${ac_cv_prog_WINDRES+set}" = set; then :
   9303   $as_echo_n "(cached) " >&6
   9304 else
   9305   if test -n "$WINDRES"; then
   9306   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9307 else
   9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9309 for as_dir in $PATH
   9310 do
   9311   IFS=$as_save_IFS
   9312   test -z "$as_dir" && as_dir=.
   9313     for ac_exec_ext in '' $ac_executable_extensions; do
   9314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9315     ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
   9316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9317     break 2
   9318   fi
   9319 done
   9320   done
   9321 IFS=$as_save_IFS
   9322 
   9323 fi
   9324 fi
   9325 WINDRES=$ac_cv_prog_WINDRES
   9326 if test -n "$WINDRES"; then
   9327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9328 $as_echo "$WINDRES" >&6; }
   9329 else
   9330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9331 $as_echo "no" >&6; }
   9332 fi
   9333 
   9334 
   9335   fi
   9336   if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
   9337     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9338 set dummy ${ncn_progname}; ac_word=$2
   9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9340 $as_echo_n "checking for $ac_word... " >&6; }
   9341 if test "${ac_cv_prog_WINDRES+set}" = set; then :
   9342   $as_echo_n "(cached) " >&6
   9343 else
   9344   if test -n "$WINDRES"; then
   9345   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9346 else
   9347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9348 for as_dir in $PATH
   9349 do
   9350   IFS=$as_save_IFS
   9351   test -z "$as_dir" && as_dir=.
   9352     for ac_exec_ext in '' $ac_executable_extensions; do
   9353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9354     ac_cv_prog_WINDRES="${ncn_progname}"
   9355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9356     break 2
   9357   fi
   9358 done
   9359   done
   9360 IFS=$as_save_IFS
   9361 
   9362 fi
   9363 fi
   9364 WINDRES=$ac_cv_prog_WINDRES
   9365 if test -n "$WINDRES"; then
   9366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9367 $as_echo "$WINDRES" >&6; }
   9368 else
   9369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9370 $as_echo "no" >&6; }
   9371 fi
   9372 
   9373 
   9374   fi
   9375   test -n "$ac_cv_prog_WINDRES" && break
   9376 done
   9377 
   9378 if test -z "$ac_cv_prog_WINDRES" ; then
   9379   set dummy windres
   9380   if test $build = $host ; then
   9381     WINDRES="$2"
   9382   else
   9383     WINDRES="${ncn_tool_prefix}$2"
   9384   fi
   9385 fi
   9386 
   9387 
   9388 
   9389 if test -n "$WINDMC"; then
   9390   ac_cv_prog_WINDMC=$WINDMC
   9391 elif test -n "$ac_cv_prog_WINDMC"; then
   9392   WINDMC=$ac_cv_prog_WINDMC
   9393 fi
   9394 
   9395 if test -n "$ac_cv_prog_WINDMC"; then
   9396   for ncn_progname in windmc; do
   9397     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9398 set dummy ${ncn_progname}; ac_word=$2
   9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9400 $as_echo_n "checking for $ac_word... " >&6; }
   9401 if test "${ac_cv_prog_WINDMC+set}" = set; then :
   9402   $as_echo_n "(cached) " >&6
   9403 else
   9404   if test -n "$WINDMC"; then
   9405   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9406 else
   9407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9408 for as_dir in $PATH
   9409 do
   9410   IFS=$as_save_IFS
   9411   test -z "$as_dir" && as_dir=.
   9412     for ac_exec_ext in '' $ac_executable_extensions; do
   9413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9414     ac_cv_prog_WINDMC="${ncn_progname}"
   9415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9416     break 2
   9417   fi
   9418 done
   9419   done
   9420 IFS=$as_save_IFS
   9421 
   9422 fi
   9423 fi
   9424 WINDMC=$ac_cv_prog_WINDMC
   9425 if test -n "$WINDMC"; then
   9426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9427 $as_echo "$WINDMC" >&6; }
   9428 else
   9429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9430 $as_echo "no" >&6; }
   9431 fi
   9432 
   9433 
   9434   done
   9435 fi
   9436 
   9437 for ncn_progname in windmc; do
   9438   if test -n "$ncn_tool_prefix"; then
   9439     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9440 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9442 $as_echo_n "checking for $ac_word... " >&6; }
   9443 if test "${ac_cv_prog_WINDMC+set}" = set; then :
   9444   $as_echo_n "(cached) " >&6
   9445 else
   9446   if test -n "$WINDMC"; then
   9447   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9448 else
   9449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9450 for as_dir in $PATH
   9451 do
   9452   IFS=$as_save_IFS
   9453   test -z "$as_dir" && as_dir=.
   9454     for ac_exec_ext in '' $ac_executable_extensions; do
   9455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9456     ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
   9457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9458     break 2
   9459   fi
   9460 done
   9461   done
   9462 IFS=$as_save_IFS
   9463 
   9464 fi
   9465 fi
   9466 WINDMC=$ac_cv_prog_WINDMC
   9467 if test -n "$WINDMC"; then
   9468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9469 $as_echo "$WINDMC" >&6; }
   9470 else
   9471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9472 $as_echo "no" >&6; }
   9473 fi
   9474 
   9475 
   9476   fi
   9477   if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
   9478     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9479 set dummy ${ncn_progname}; ac_word=$2
   9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9481 $as_echo_n "checking for $ac_word... " >&6; }
   9482 if test "${ac_cv_prog_WINDMC+set}" = set; then :
   9483   $as_echo_n "(cached) " >&6
   9484 else
   9485   if test -n "$WINDMC"; then
   9486   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9487 else
   9488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9489 for as_dir in $PATH
   9490 do
   9491   IFS=$as_save_IFS
   9492   test -z "$as_dir" && as_dir=.
   9493     for ac_exec_ext in '' $ac_executable_extensions; do
   9494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9495     ac_cv_prog_WINDMC="${ncn_progname}"
   9496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9497     break 2
   9498   fi
   9499 done
   9500   done
   9501 IFS=$as_save_IFS
   9502 
   9503 fi
   9504 fi
   9505 WINDMC=$ac_cv_prog_WINDMC
   9506 if test -n "$WINDMC"; then
   9507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9508 $as_echo "$WINDMC" >&6; }
   9509 else
   9510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9511 $as_echo "no" >&6; }
   9512 fi
   9513 
   9514 
   9515   fi
   9516   test -n "$ac_cv_prog_WINDMC" && break
   9517 done
   9518 
   9519 if test -z "$ac_cv_prog_WINDMC" ; then
   9520   set dummy windmc
   9521   if test $build = $host ; then
   9522     WINDMC="$2"
   9523   else
   9524     WINDMC="${ncn_tool_prefix}$2"
   9525   fi
   9526 fi
   9527 
   9528 
   9529 
   9530 if test -n "$OBJCOPY"; then
   9531   ac_cv_prog_OBJCOPY=$OBJCOPY
   9532 elif test -n "$ac_cv_prog_OBJCOPY"; then
   9533   OBJCOPY=$ac_cv_prog_OBJCOPY
   9534 fi
   9535 
   9536 if test -n "$ac_cv_prog_OBJCOPY"; then
   9537   for ncn_progname in objcopy; do
   9538     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9539 set dummy ${ncn_progname}; ac_word=$2
   9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9541 $as_echo_n "checking for $ac_word... " >&6; }
   9542 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   9543   $as_echo_n "(cached) " >&6
   9544 else
   9545   if test -n "$OBJCOPY"; then
   9546   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9547 else
   9548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9549 for as_dir in $PATH
   9550 do
   9551   IFS=$as_save_IFS
   9552   test -z "$as_dir" && as_dir=.
   9553     for ac_exec_ext in '' $ac_executable_extensions; do
   9554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9555     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9557     break 2
   9558   fi
   9559 done
   9560   done
   9561 IFS=$as_save_IFS
   9562 
   9563 fi
   9564 fi
   9565 OBJCOPY=$ac_cv_prog_OBJCOPY
   9566 if test -n "$OBJCOPY"; then
   9567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9568 $as_echo "$OBJCOPY" >&6; }
   9569 else
   9570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9571 $as_echo "no" >&6; }
   9572 fi
   9573 
   9574 
   9575   done
   9576 fi
   9577 
   9578 for ncn_progname in objcopy; do
   9579   if test -n "$ncn_tool_prefix"; then
   9580     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9581 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9583 $as_echo_n "checking for $ac_word... " >&6; }
   9584 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   9585   $as_echo_n "(cached) " >&6
   9586 else
   9587   if test -n "$OBJCOPY"; then
   9588   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9589 else
   9590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9591 for as_dir in $PATH
   9592 do
   9593   IFS=$as_save_IFS
   9594   test -z "$as_dir" && as_dir=.
   9595     for ac_exec_ext in '' $ac_executable_extensions; do
   9596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9597     ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
   9598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9599     break 2
   9600   fi
   9601 done
   9602   done
   9603 IFS=$as_save_IFS
   9604 
   9605 fi
   9606 fi
   9607 OBJCOPY=$ac_cv_prog_OBJCOPY
   9608 if test -n "$OBJCOPY"; then
   9609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9610 $as_echo "$OBJCOPY" >&6; }
   9611 else
   9612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9613 $as_echo "no" >&6; }
   9614 fi
   9615 
   9616 
   9617   fi
   9618   if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
   9619     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9620 set dummy ${ncn_progname}; ac_word=$2
   9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9622 $as_echo_n "checking for $ac_word... " >&6; }
   9623 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   9624   $as_echo_n "(cached) " >&6
   9625 else
   9626   if test -n "$OBJCOPY"; then
   9627   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9628 else
   9629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9630 for as_dir in $PATH
   9631 do
   9632   IFS=$as_save_IFS
   9633   test -z "$as_dir" && as_dir=.
   9634     for ac_exec_ext in '' $ac_executable_extensions; do
   9635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9636     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9638     break 2
   9639   fi
   9640 done
   9641   done
   9642 IFS=$as_save_IFS
   9643 
   9644 fi
   9645 fi
   9646 OBJCOPY=$ac_cv_prog_OBJCOPY
   9647 if test -n "$OBJCOPY"; then
   9648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9649 $as_echo "$OBJCOPY" >&6; }
   9650 else
   9651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9652 $as_echo "no" >&6; }
   9653 fi
   9654 
   9655 
   9656   fi
   9657   test -n "$ac_cv_prog_OBJCOPY" && break
   9658 done
   9659 
   9660 if test -z "$ac_cv_prog_OBJCOPY" ; then
   9661   set dummy objcopy
   9662   if test $build = $host ; then
   9663     OBJCOPY="$2"
   9664   else
   9665     OBJCOPY="${ncn_tool_prefix}$2"
   9666   fi
   9667 fi
   9668 
   9669 
   9670 
   9671 if test -n "$OBJDUMP"; then
   9672   ac_cv_prog_OBJDUMP=$OBJDUMP
   9673 elif test -n "$ac_cv_prog_OBJDUMP"; then
   9674   OBJDUMP=$ac_cv_prog_OBJDUMP
   9675 fi
   9676 
   9677 if test -n "$ac_cv_prog_OBJDUMP"; then
   9678   for ncn_progname in objdump; do
   9679     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9680 set dummy ${ncn_progname}; ac_word=$2
   9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9682 $as_echo_n "checking for $ac_word... " >&6; }
   9683 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   9684   $as_echo_n "(cached) " >&6
   9685 else
   9686   if test -n "$OBJDUMP"; then
   9687   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9688 else
   9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9690 for as_dir in $PATH
   9691 do
   9692   IFS=$as_save_IFS
   9693   test -z "$as_dir" && as_dir=.
   9694     for ac_exec_ext in '' $ac_executable_extensions; do
   9695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9696     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9698     break 2
   9699   fi
   9700 done
   9701   done
   9702 IFS=$as_save_IFS
   9703 
   9704 fi
   9705 fi
   9706 OBJDUMP=$ac_cv_prog_OBJDUMP
   9707 if test -n "$OBJDUMP"; then
   9708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9709 $as_echo "$OBJDUMP" >&6; }
   9710 else
   9711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9712 $as_echo "no" >&6; }
   9713 fi
   9714 
   9715 
   9716   done
   9717 fi
   9718 
   9719 for ncn_progname in objdump; do
   9720   if test -n "$ncn_tool_prefix"; then
   9721     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9722 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9724 $as_echo_n "checking for $ac_word... " >&6; }
   9725 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   9726   $as_echo_n "(cached) " >&6
   9727 else
   9728   if test -n "$OBJDUMP"; then
   9729   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9730 else
   9731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9732 for as_dir in $PATH
   9733 do
   9734   IFS=$as_save_IFS
   9735   test -z "$as_dir" && as_dir=.
   9736     for ac_exec_ext in '' $ac_executable_extensions; do
   9737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9738     ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
   9739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9740     break 2
   9741   fi
   9742 done
   9743   done
   9744 IFS=$as_save_IFS
   9745 
   9746 fi
   9747 fi
   9748 OBJDUMP=$ac_cv_prog_OBJDUMP
   9749 if test -n "$OBJDUMP"; then
   9750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9751 $as_echo "$OBJDUMP" >&6; }
   9752 else
   9753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9754 $as_echo "no" >&6; }
   9755 fi
   9756 
   9757 
   9758   fi
   9759   if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
   9760     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9761 set dummy ${ncn_progname}; ac_word=$2
   9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9763 $as_echo_n "checking for $ac_word... " >&6; }
   9764 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   9765   $as_echo_n "(cached) " >&6
   9766 else
   9767   if test -n "$OBJDUMP"; then
   9768   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9769 else
   9770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9771 for as_dir in $PATH
   9772 do
   9773   IFS=$as_save_IFS
   9774   test -z "$as_dir" && as_dir=.
   9775     for ac_exec_ext in '' $ac_executable_extensions; do
   9776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9777     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9779     break 2
   9780   fi
   9781 done
   9782   done
   9783 IFS=$as_save_IFS
   9784 
   9785 fi
   9786 fi
   9787 OBJDUMP=$ac_cv_prog_OBJDUMP
   9788 if test -n "$OBJDUMP"; then
   9789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9790 $as_echo "$OBJDUMP" >&6; }
   9791 else
   9792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9793 $as_echo "no" >&6; }
   9794 fi
   9795 
   9796 
   9797   fi
   9798   test -n "$ac_cv_prog_OBJDUMP" && break
   9799 done
   9800 
   9801 if test -z "$ac_cv_prog_OBJDUMP" ; then
   9802   set dummy objdump
   9803   if test $build = $host ; then
   9804     OBJDUMP="$2"
   9805   else
   9806     OBJDUMP="${ncn_tool_prefix}$2"
   9807   fi
   9808 fi
   9809 
   9810 
   9811 
   9812 if test -n "$READELF"; then
   9813   ac_cv_prog_READELF=$READELF
   9814 elif test -n "$ac_cv_prog_READELF"; then
   9815   READELF=$ac_cv_prog_READELF
   9816 fi
   9817 
   9818 if test -n "$ac_cv_prog_READELF"; then
   9819   for ncn_progname in readelf; do
   9820     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9821 set dummy ${ncn_progname}; ac_word=$2
   9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9823 $as_echo_n "checking for $ac_word... " >&6; }
   9824 if test "${ac_cv_prog_READELF+set}" = set; then :
   9825   $as_echo_n "(cached) " >&6
   9826 else
   9827   if test -n "$READELF"; then
   9828   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9829 else
   9830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9831 for as_dir in $PATH
   9832 do
   9833   IFS=$as_save_IFS
   9834   test -z "$as_dir" && as_dir=.
   9835     for ac_exec_ext in '' $ac_executable_extensions; do
   9836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9837     ac_cv_prog_READELF="${ncn_progname}"
   9838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9839     break 2
   9840   fi
   9841 done
   9842   done
   9843 IFS=$as_save_IFS
   9844 
   9845 fi
   9846 fi
   9847 READELF=$ac_cv_prog_READELF
   9848 if test -n "$READELF"; then
   9849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9850 $as_echo "$READELF" >&6; }
   9851 else
   9852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9853 $as_echo "no" >&6; }
   9854 fi
   9855 
   9856 
   9857   done
   9858 fi
   9859 
   9860 for ncn_progname in readelf; do
   9861   if test -n "$ncn_tool_prefix"; then
   9862     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9863 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9865 $as_echo_n "checking for $ac_word... " >&6; }
   9866 if test "${ac_cv_prog_READELF+set}" = set; then :
   9867   $as_echo_n "(cached) " >&6
   9868 else
   9869   if test -n "$READELF"; then
   9870   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9871 else
   9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9873 for as_dir in $PATH
   9874 do
   9875   IFS=$as_save_IFS
   9876   test -z "$as_dir" && as_dir=.
   9877     for ac_exec_ext in '' $ac_executable_extensions; do
   9878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9879     ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
   9880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9881     break 2
   9882   fi
   9883 done
   9884   done
   9885 IFS=$as_save_IFS
   9886 
   9887 fi
   9888 fi
   9889 READELF=$ac_cv_prog_READELF
   9890 if test -n "$READELF"; then
   9891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9892 $as_echo "$READELF" >&6; }
   9893 else
   9894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9895 $as_echo "no" >&6; }
   9896 fi
   9897 
   9898 
   9899   fi
   9900   if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
   9901     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9902 set dummy ${ncn_progname}; ac_word=$2
   9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9904 $as_echo_n "checking for $ac_word... " >&6; }
   9905 if test "${ac_cv_prog_READELF+set}" = set; then :
   9906   $as_echo_n "(cached) " >&6
   9907 else
   9908   if test -n "$READELF"; then
   9909   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9910 else
   9911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9912 for as_dir in $PATH
   9913 do
   9914   IFS=$as_save_IFS
   9915   test -z "$as_dir" && as_dir=.
   9916     for ac_exec_ext in '' $ac_executable_extensions; do
   9917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9918     ac_cv_prog_READELF="${ncn_progname}"
   9919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9920     break 2
   9921   fi
   9922 done
   9923   done
   9924 IFS=$as_save_IFS
   9925 
   9926 fi
   9927 fi
   9928 READELF=$ac_cv_prog_READELF
   9929 if test -n "$READELF"; then
   9930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9931 $as_echo "$READELF" >&6; }
   9932 else
   9933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9934 $as_echo "no" >&6; }
   9935 fi
   9936 
   9937 
   9938   fi
   9939   test -n "$ac_cv_prog_READELF" && break
   9940 done
   9941 
   9942 if test -z "$ac_cv_prog_READELF" ; then
   9943   set dummy readelf
   9944   if test $build = $host ; then
   9945     READELF="$2"
   9946   else
   9947     READELF="${ncn_tool_prefix}$2"
   9948   fi
   9949 fi
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 # Target tools.
   9957 
   9958 # Check whether --with-build-time-tools was given.
   9959 if test "${with_build_time_tools+set}" = set; then :
   9960   withval=$with_build_time_tools; case x"$withval" in
   9961      x/*) ;;
   9962      *)
   9963        with_build_time_tools=
   9964        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
   9965 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
   9966        ;;
   9967    esac
   9968 else
   9969   with_build_time_tools=
   9970 fi
   9971 
   9972 
   9973 
   9974 
   9975 if test -n "$CC_FOR_TARGET"; then
   9976   ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
   9977 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   9978   CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   9979 fi
   9980 
   9981 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   9982   for ncn_progname in cc gcc; do
   9983     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9984 set dummy ${ncn_progname}; ac_word=$2
   9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9986 $as_echo_n "checking for $ac_word... " >&6; }
   9987 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
   9988   $as_echo_n "(cached) " >&6
   9989 else
   9990   if test -n "$CC_FOR_TARGET"; then
   9991   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   9992 else
   9993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9994 for as_dir in $PATH
   9995 do
   9996   IFS=$as_save_IFS
   9997   test -z "$as_dir" && as_dir=.
   9998     for ac_exec_ext in '' $ac_executable_extensions; do
   9999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10000     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   10001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10002     break 2
   10003   fi
   10004 done
   10005   done
   10006 IFS=$as_save_IFS
   10007 
   10008 fi
   10009 fi
   10010 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10011 if test -n "$CC_FOR_TARGET"; then
   10012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10013 $as_echo "$CC_FOR_TARGET" >&6; }
   10014 else
   10015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10016 $as_echo "no" >&6; }
   10017 fi
   10018 
   10019 
   10020   done
   10021 fi
   10022 
   10023 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10024   for ncn_progname in cc gcc; do
   10025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10026 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10027     if test -x $with_build_time_tools/${ncn_progname}; then
   10028       ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10029       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10030 $as_echo "yes" >&6; }
   10031       break
   10032     else
   10033       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10034 $as_echo "no" >&6; }
   10035     fi
   10036   done
   10037 fi
   10038 
   10039 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
   10040   for ncn_progname in cc gcc; do
   10041     if test -n "$ncn_target_tool_prefix"; then
   10042       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10043 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10045 $as_echo_n "checking for $ac_word... " >&6; }
   10046 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   if test -n "$CC_FOR_TARGET"; then
   10050   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10051 else
   10052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10053 for as_dir in $PATH
   10054 do
   10055   IFS=$as_save_IFS
   10056   test -z "$as_dir" && as_dir=.
   10057     for ac_exec_ext in '' $ac_executable_extensions; do
   10058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10059     ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10061     break 2
   10062   fi
   10063 done
   10064   done
   10065 IFS=$as_save_IFS
   10066 
   10067 fi
   10068 fi
   10069 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10070 if test -n "$CC_FOR_TARGET"; then
   10071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10072 $as_echo "$CC_FOR_TARGET" >&6; }
   10073 else
   10074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10075 $as_echo "no" >&6; }
   10076 fi
   10077 
   10078 
   10079     fi
   10080     if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
   10081       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10082 set dummy ${ncn_progname}; ac_word=$2
   10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10084 $as_echo_n "checking for $ac_word... " >&6; }
   10085 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
   10086   $as_echo_n "(cached) " >&6
   10087 else
   10088   if test -n "$CC_FOR_TARGET"; then
   10089   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10090 else
   10091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10092 for as_dir in $PATH
   10093 do
   10094   IFS=$as_save_IFS
   10095   test -z "$as_dir" && as_dir=.
   10096     for ac_exec_ext in '' $ac_executable_extensions; do
   10097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10098     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   10099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10100     break 2
   10101   fi
   10102 done
   10103   done
   10104 IFS=$as_save_IFS
   10105 
   10106 fi
   10107 fi
   10108 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10109 if test -n "$CC_FOR_TARGET"; then
   10110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10111 $as_echo "$CC_FOR_TARGET" >&6; }
   10112 else
   10113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10114 $as_echo "no" >&6; }
   10115 fi
   10116 
   10117 
   10118     fi
   10119     test -n "$ac_cv_prog_CC_FOR_TARGET" && break
   10120   done
   10121 fi
   10122 
   10123 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
   10124   set dummy cc gcc
   10125   if test $build = $target ; then
   10126     CC_FOR_TARGET="$2"
   10127   else
   10128     CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10129   fi
   10130 else
   10131   CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
   10132 fi
   10133 
   10134 
   10135 
   10136 if test -n "$CXX_FOR_TARGET"; then
   10137   ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
   10138 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10139   CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10140 fi
   10141 
   10142 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10143   for ncn_progname in c++ g++ cxx gxx; do
   10144     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10145 set dummy ${ncn_progname}; ac_word=$2
   10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10147 $as_echo_n "checking for $ac_word... " >&6; }
   10148 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
   10149   $as_echo_n "(cached) " >&6
   10150 else
   10151   if test -n "$CXX_FOR_TARGET"; then
   10152   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10153 else
   10154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10155 for as_dir in $PATH
   10156 do
   10157   IFS=$as_save_IFS
   10158   test -z "$as_dir" && as_dir=.
   10159     for ac_exec_ext in '' $ac_executable_extensions; do
   10160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10161     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10163     break 2
   10164   fi
   10165 done
   10166   done
   10167 IFS=$as_save_IFS
   10168 
   10169 fi
   10170 fi
   10171 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10172 if test -n "$CXX_FOR_TARGET"; then
   10173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10174 $as_echo "$CXX_FOR_TARGET" >&6; }
   10175 else
   10176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10177 $as_echo "no" >&6; }
   10178 fi
   10179 
   10180 
   10181   done
   10182 fi
   10183 
   10184 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10185   for ncn_progname in c++ g++ cxx gxx; do
   10186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10187 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10188     if test -x $with_build_time_tools/${ncn_progname}; then
   10189       ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10190       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10191 $as_echo "yes" >&6; }
   10192       break
   10193     else
   10194       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10195 $as_echo "no" >&6; }
   10196     fi
   10197   done
   10198 fi
   10199 
   10200 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
   10201   for ncn_progname in c++ g++ cxx gxx; do
   10202     if test -n "$ncn_target_tool_prefix"; then
   10203       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10204 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10206 $as_echo_n "checking for $ac_word... " >&6; }
   10207 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
   10208   $as_echo_n "(cached) " >&6
   10209 else
   10210   if test -n "$CXX_FOR_TARGET"; then
   10211   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10212 else
   10213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10214 for as_dir in $PATH
   10215 do
   10216   IFS=$as_save_IFS
   10217   test -z "$as_dir" && as_dir=.
   10218     for ac_exec_ext in '' $ac_executable_extensions; do
   10219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10220     ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10222     break 2
   10223   fi
   10224 done
   10225   done
   10226 IFS=$as_save_IFS
   10227 
   10228 fi
   10229 fi
   10230 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10231 if test -n "$CXX_FOR_TARGET"; then
   10232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10233 $as_echo "$CXX_FOR_TARGET" >&6; }
   10234 else
   10235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10236 $as_echo "no" >&6; }
   10237 fi
   10238 
   10239 
   10240     fi
   10241     if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
   10242       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10243 set dummy ${ncn_progname}; ac_word=$2
   10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10245 $as_echo_n "checking for $ac_word... " >&6; }
   10246 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
   10247   $as_echo_n "(cached) " >&6
   10248 else
   10249   if test -n "$CXX_FOR_TARGET"; then
   10250   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10251 else
   10252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10253 for as_dir in $PATH
   10254 do
   10255   IFS=$as_save_IFS
   10256   test -z "$as_dir" && as_dir=.
   10257     for ac_exec_ext in '' $ac_executable_extensions; do
   10258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10259     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10261     break 2
   10262   fi
   10263 done
   10264   done
   10265 IFS=$as_save_IFS
   10266 
   10267 fi
   10268 fi
   10269 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10270 if test -n "$CXX_FOR_TARGET"; then
   10271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10272 $as_echo "$CXX_FOR_TARGET" >&6; }
   10273 else
   10274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10275 $as_echo "no" >&6; }
   10276 fi
   10277 
   10278 
   10279     fi
   10280     test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
   10281   done
   10282 fi
   10283 
   10284 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
   10285   set dummy c++ g++ cxx gxx
   10286   if test $build = $target ; then
   10287     CXX_FOR_TARGET="$2"
   10288   else
   10289     CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10290   fi
   10291 else
   10292   CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
   10293 fi
   10294 
   10295 
   10296 
   10297 if test -n "$GCC_FOR_TARGET"; then
   10298   ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
   10299 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10300   GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10301 fi
   10302 
   10303 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10304   for ncn_progname in gcc; do
   10305     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10306 set dummy ${ncn_progname}; ac_word=$2
   10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10308 $as_echo_n "checking for $ac_word... " >&6; }
   10309 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
   10310   $as_echo_n "(cached) " >&6
   10311 else
   10312   if test -n "$GCC_FOR_TARGET"; then
   10313   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10314 else
   10315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10316 for as_dir in $PATH
   10317 do
   10318   IFS=$as_save_IFS
   10319   test -z "$as_dir" && as_dir=.
   10320     for ac_exec_ext in '' $ac_executable_extensions; do
   10321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10322     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10324     break 2
   10325   fi
   10326 done
   10327   done
   10328 IFS=$as_save_IFS
   10329 
   10330 fi
   10331 fi
   10332 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10333 if test -n "$GCC_FOR_TARGET"; then
   10334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10335 $as_echo "$GCC_FOR_TARGET" >&6; }
   10336 else
   10337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10338 $as_echo "no" >&6; }
   10339 fi
   10340 
   10341 
   10342   done
   10343 fi
   10344 
   10345 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10346   for ncn_progname in gcc; do
   10347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10348 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10349     if test -x $with_build_time_tools/${ncn_progname}; then
   10350       ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10351       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10352 $as_echo "yes" >&6; }
   10353       break
   10354     else
   10355       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10356 $as_echo "no" >&6; }
   10357     fi
   10358   done
   10359 fi
   10360 
   10361 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
   10362   for ncn_progname in gcc; do
   10363     if test -n "$ncn_target_tool_prefix"; then
   10364       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10365 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10367 $as_echo_n "checking for $ac_word... " >&6; }
   10368 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
   10369   $as_echo_n "(cached) " >&6
   10370 else
   10371   if test -n "$GCC_FOR_TARGET"; then
   10372   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10373 else
   10374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10375 for as_dir in $PATH
   10376 do
   10377   IFS=$as_save_IFS
   10378   test -z "$as_dir" && as_dir=.
   10379     for ac_exec_ext in '' $ac_executable_extensions; do
   10380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10381     ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10383     break 2
   10384   fi
   10385 done
   10386   done
   10387 IFS=$as_save_IFS
   10388 
   10389 fi
   10390 fi
   10391 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10392 if test -n "$GCC_FOR_TARGET"; then
   10393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10394 $as_echo "$GCC_FOR_TARGET" >&6; }
   10395 else
   10396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10397 $as_echo "no" >&6; }
   10398 fi
   10399 
   10400 
   10401     fi
   10402     if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
   10403       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10404 set dummy ${ncn_progname}; ac_word=$2
   10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10406 $as_echo_n "checking for $ac_word... " >&6; }
   10407 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
   10408   $as_echo_n "(cached) " >&6
   10409 else
   10410   if test -n "$GCC_FOR_TARGET"; then
   10411   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10412 else
   10413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10414 for as_dir in $PATH
   10415 do
   10416   IFS=$as_save_IFS
   10417   test -z "$as_dir" && as_dir=.
   10418     for ac_exec_ext in '' $ac_executable_extensions; do
   10419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10420     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10422     break 2
   10423   fi
   10424 done
   10425   done
   10426 IFS=$as_save_IFS
   10427 
   10428 fi
   10429 fi
   10430 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10431 if test -n "$GCC_FOR_TARGET"; then
   10432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10433 $as_echo "$GCC_FOR_TARGET" >&6; }
   10434 else
   10435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10436 $as_echo "no" >&6; }
   10437 fi
   10438 
   10439 
   10440     fi
   10441     test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
   10442   done
   10443 fi
   10444 
   10445 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
   10446   GCC_FOR_TARGET="${CC_FOR_TARGET}"
   10447 else
   10448   GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
   10449 fi
   10450 
   10451 
   10452 
   10453 if test -n "$GCJ_FOR_TARGET"; then
   10454   ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
   10455 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
   10456   GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10457 fi
   10458 
   10459 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
   10460   for ncn_progname in gcj; do
   10461     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10462 set dummy ${ncn_progname}; ac_word=$2
   10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10464 $as_echo_n "checking for $ac_word... " >&6; }
   10465 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
   10466   $as_echo_n "(cached) " >&6
   10467 else
   10468   if test -n "$GCJ_FOR_TARGET"; then
   10469   ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
   10470 else
   10471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10472 for as_dir in $PATH
   10473 do
   10474   IFS=$as_save_IFS
   10475   test -z "$as_dir" && as_dir=.
   10476     for ac_exec_ext in '' $ac_executable_extensions; do
   10477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10478     ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
   10479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10480     break 2
   10481   fi
   10482 done
   10483   done
   10484 IFS=$as_save_IFS
   10485 
   10486 fi
   10487 fi
   10488 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10489 if test -n "$GCJ_FOR_TARGET"; then
   10490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
   10491 $as_echo "$GCJ_FOR_TARGET" >&6; }
   10492 else
   10493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10494 $as_echo "no" >&6; }
   10495 fi
   10496 
   10497 
   10498   done
   10499 fi
   10500 
   10501 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10502   for ncn_progname in gcj; do
   10503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10504 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10505     if test -x $with_build_time_tools/${ncn_progname}; then
   10506       ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10507       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10508 $as_echo "yes" >&6; }
   10509       break
   10510     else
   10511       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10512 $as_echo "no" >&6; }
   10513     fi
   10514   done
   10515 fi
   10516 
   10517 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
   10518   for ncn_progname in gcj; do
   10519     if test -n "$ncn_target_tool_prefix"; then
   10520       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10521 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10523 $as_echo_n "checking for $ac_word... " >&6; }
   10524 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
   10525   $as_echo_n "(cached) " >&6
   10526 else
   10527   if test -n "$GCJ_FOR_TARGET"; then
   10528   ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
   10529 else
   10530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10531 for as_dir in $PATH
   10532 do
   10533   IFS=$as_save_IFS
   10534   test -z "$as_dir" && as_dir=.
   10535     for ac_exec_ext in '' $ac_executable_extensions; do
   10536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10537     ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10539     break 2
   10540   fi
   10541 done
   10542   done
   10543 IFS=$as_save_IFS
   10544 
   10545 fi
   10546 fi
   10547 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10548 if test -n "$GCJ_FOR_TARGET"; then
   10549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
   10550 $as_echo "$GCJ_FOR_TARGET" >&6; }
   10551 else
   10552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10553 $as_echo "no" >&6; }
   10554 fi
   10555 
   10556 
   10557     fi
   10558     if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
   10559       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10560 set dummy ${ncn_progname}; ac_word=$2
   10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10562 $as_echo_n "checking for $ac_word... " >&6; }
   10563 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
   10564   $as_echo_n "(cached) " >&6
   10565 else
   10566   if test -n "$GCJ_FOR_TARGET"; then
   10567   ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
   10568 else
   10569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10570 for as_dir in $PATH
   10571 do
   10572   IFS=$as_save_IFS
   10573   test -z "$as_dir" && as_dir=.
   10574     for ac_exec_ext in '' $ac_executable_extensions; do
   10575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10576     ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
   10577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10578     break 2
   10579   fi
   10580 done
   10581   done
   10582 IFS=$as_save_IFS
   10583 
   10584 fi
   10585 fi
   10586 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10587 if test -n "$GCJ_FOR_TARGET"; then
   10588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
   10589 $as_echo "$GCJ_FOR_TARGET" >&6; }
   10590 else
   10591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10592 $as_echo "no" >&6; }
   10593 fi
   10594 
   10595 
   10596     fi
   10597     test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
   10598   done
   10599 fi
   10600 
   10601 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
   10602   set dummy gcj
   10603   if test $build = $target ; then
   10604     GCJ_FOR_TARGET="$2"
   10605   else
   10606     GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10607   fi
   10608 else
   10609   GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
   10610 fi
   10611 
   10612 
   10613 
   10614 if test -n "$GFORTRAN_FOR_TARGET"; then
   10615   ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
   10616 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10617   GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10618 fi
   10619 
   10620 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10621   for ncn_progname in gfortran; do
   10622     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10623 set dummy ${ncn_progname}; ac_word=$2
   10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10625 $as_echo_n "checking for $ac_word... " >&6; }
   10626 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
   10627   $as_echo_n "(cached) " >&6
   10628 else
   10629   if test -n "$GFORTRAN_FOR_TARGET"; then
   10630   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10631 else
   10632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10633 for as_dir in $PATH
   10634 do
   10635   IFS=$as_save_IFS
   10636   test -z "$as_dir" && as_dir=.
   10637     for ac_exec_ext in '' $ac_executable_extensions; do
   10638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10639     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10641     break 2
   10642   fi
   10643 done
   10644   done
   10645 IFS=$as_save_IFS
   10646 
   10647 fi
   10648 fi
   10649 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10650 if test -n "$GFORTRAN_FOR_TARGET"; then
   10651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10652 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10653 else
   10654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10655 $as_echo "no" >&6; }
   10656 fi
   10657 
   10658 
   10659   done
   10660 fi
   10661 
   10662 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10663   for ncn_progname in gfortran; do
   10664     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10665 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10666     if test -x $with_build_time_tools/${ncn_progname}; then
   10667       ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10668       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10669 $as_echo "yes" >&6; }
   10670       break
   10671     else
   10672       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10673 $as_echo "no" >&6; }
   10674     fi
   10675   done
   10676 fi
   10677 
   10678 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10679   for ncn_progname in gfortran; do
   10680     if test -n "$ncn_target_tool_prefix"; then
   10681       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10682 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10684 $as_echo_n "checking for $ac_word... " >&6; }
   10685 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
   10686   $as_echo_n "(cached) " >&6
   10687 else
   10688   if test -n "$GFORTRAN_FOR_TARGET"; then
   10689   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10690 else
   10691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10692 for as_dir in $PATH
   10693 do
   10694   IFS=$as_save_IFS
   10695   test -z "$as_dir" && as_dir=.
   10696     for ac_exec_ext in '' $ac_executable_extensions; do
   10697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10698     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10700     break 2
   10701   fi
   10702 done
   10703   done
   10704 IFS=$as_save_IFS
   10705 
   10706 fi
   10707 fi
   10708 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10709 if test -n "$GFORTRAN_FOR_TARGET"; then
   10710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10711 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10712 else
   10713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10714 $as_echo "no" >&6; }
   10715 fi
   10716 
   10717 
   10718     fi
   10719     if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
   10720       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10721 set dummy ${ncn_progname}; ac_word=$2
   10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10723 $as_echo_n "checking for $ac_word... " >&6; }
   10724 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
   10725   $as_echo_n "(cached) " >&6
   10726 else
   10727   if test -n "$GFORTRAN_FOR_TARGET"; then
   10728   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10729 else
   10730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10731 for as_dir in $PATH
   10732 do
   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_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10739     break 2
   10740   fi
   10741 done
   10742   done
   10743 IFS=$as_save_IFS
   10744 
   10745 fi
   10746 fi
   10747 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10748 if test -n "$GFORTRAN_FOR_TARGET"; then
   10749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10750 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10751 else
   10752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10753 $as_echo "no" >&6; }
   10754 fi
   10755 
   10756 
   10757     fi
   10758     test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
   10759   done
   10760 fi
   10761 
   10762 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
   10763   set dummy gfortran
   10764   if test $build = $target ; then
   10765     GFORTRAN_FOR_TARGET="$2"
   10766   else
   10767     GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10768   fi
   10769 else
   10770   GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
   10771 fi
   10772 
   10773 
   10774 
   10775 if test -n "$GOC_FOR_TARGET"; then
   10776   ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
   10777 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10778   GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10779 fi
   10780 
   10781 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10782   for ncn_progname in gccgo; do
   10783     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10784 set dummy ${ncn_progname}; ac_word=$2
   10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10786 $as_echo_n "checking for $ac_word... " >&6; }
   10787 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
   10788   $as_echo_n "(cached) " >&6
   10789 else
   10790   if test -n "$GOC_FOR_TARGET"; then
   10791   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10792 else
   10793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10794 for as_dir in $PATH
   10795 do
   10796   IFS=$as_save_IFS
   10797   test -z "$as_dir" && as_dir=.
   10798     for ac_exec_ext in '' $ac_executable_extensions; do
   10799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10800     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10802     break 2
   10803   fi
   10804 done
   10805   done
   10806 IFS=$as_save_IFS
   10807 
   10808 fi
   10809 fi
   10810 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10811 if test -n "$GOC_FOR_TARGET"; then
   10812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10813 $as_echo "$GOC_FOR_TARGET" >&6; }
   10814 else
   10815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10816 $as_echo "no" >&6; }
   10817 fi
   10818 
   10819 
   10820   done
   10821 fi
   10822 
   10823 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10824   for ncn_progname in gccgo; do
   10825     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10826 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10827     if test -x $with_build_time_tools/${ncn_progname}; then
   10828       ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10829       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10830 $as_echo "yes" >&6; }
   10831       break
   10832     else
   10833       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10834 $as_echo "no" >&6; }
   10835     fi
   10836   done
   10837 fi
   10838 
   10839 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
   10840   for ncn_progname in gccgo; do
   10841     if test -n "$ncn_target_tool_prefix"; then
   10842       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10843 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10845 $as_echo_n "checking for $ac_word... " >&6; }
   10846 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
   10847   $as_echo_n "(cached) " >&6
   10848 else
   10849   if test -n "$GOC_FOR_TARGET"; then
   10850   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10851 else
   10852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10853 for as_dir in $PATH
   10854 do
   10855   IFS=$as_save_IFS
   10856   test -z "$as_dir" && as_dir=.
   10857     for ac_exec_ext in '' $ac_executable_extensions; do
   10858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10859     ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10861     break 2
   10862   fi
   10863 done
   10864   done
   10865 IFS=$as_save_IFS
   10866 
   10867 fi
   10868 fi
   10869 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10870 if test -n "$GOC_FOR_TARGET"; then
   10871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10872 $as_echo "$GOC_FOR_TARGET" >&6; }
   10873 else
   10874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10875 $as_echo "no" >&6; }
   10876 fi
   10877 
   10878 
   10879     fi
   10880     if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
   10881       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10882 set dummy ${ncn_progname}; ac_word=$2
   10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10884 $as_echo_n "checking for $ac_word... " >&6; }
   10885 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
   10886   $as_echo_n "(cached) " >&6
   10887 else
   10888   if test -n "$GOC_FOR_TARGET"; then
   10889   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10890 else
   10891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10892 for as_dir in $PATH
   10893 do
   10894   IFS=$as_save_IFS
   10895   test -z "$as_dir" && as_dir=.
   10896     for ac_exec_ext in '' $ac_executable_extensions; do
   10897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10898     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10900     break 2
   10901   fi
   10902 done
   10903   done
   10904 IFS=$as_save_IFS
   10905 
   10906 fi
   10907 fi
   10908 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10909 if test -n "$GOC_FOR_TARGET"; then
   10910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10911 $as_echo "$GOC_FOR_TARGET" >&6; }
   10912 else
   10913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10914 $as_echo "no" >&6; }
   10915 fi
   10916 
   10917 
   10918     fi
   10919     test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
   10920   done
   10921 fi
   10922 
   10923 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
   10924   set dummy gccgo
   10925   if test $build = $target ; then
   10926     GOC_FOR_TARGET="$2"
   10927   else
   10928     GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10929   fi
   10930 else
   10931   GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
   10932 fi
   10933 
   10934 
   10935 
   10936 cat > conftest.c << \EOF
   10937 #ifdef __GNUC__
   10938   gcc_yay;
   10939 #endif
   10940 EOF
   10941 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
   10942   have_gcc_for_target=yes
   10943 else
   10944   GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
   10945   have_gcc_for_target=no
   10946 fi
   10947 rm conftest.c
   10948 
   10949 
   10950 
   10951 
   10952 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   10953   if test -n "$with_build_time_tools"; then
   10954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
   10955 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
   10956     if test -x $with_build_time_tools/ar; then
   10957       AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
   10958       ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10959       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
   10960 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
   10961     else
   10962       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10963 $as_echo "no" >&6; }
   10964     fi
   10965   elif test $build != $host && test $have_gcc_for_target = yes; then
   10966     AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
   10967     test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
   10968     test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10969   fi
   10970 fi
   10971 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   10972   # Extract the first word of "ar", so it can be a program name with args.
   10973 set dummy ar; ac_word=$2
   10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10975 $as_echo_n "checking for $ac_word... " >&6; }
   10976 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
   10977   $as_echo_n "(cached) " >&6
   10978 else
   10979   case $AR_FOR_TARGET in
   10980   [\\/]* | ?:[\\/]*)
   10981   ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
   10982   ;;
   10983   *)
   10984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10985 for as_dir in $gcc_cv_tool_dirs
   10986 do
   10987   IFS=$as_save_IFS
   10988   test -z "$as_dir" && as_dir=.
   10989     for ac_exec_ext in '' $ac_executable_extensions; do
   10990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10991     ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   10992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10993     break 2
   10994   fi
   10995 done
   10996   done
   10997 IFS=$as_save_IFS
   10998 
   10999   ;;
   11000 esac
   11001 fi
   11002 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   11003 if test -n "$AR_FOR_TARGET"; then
   11004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11005 $as_echo "$AR_FOR_TARGET" >&6; }
   11006 else
   11007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11008 $as_echo "no" >&6; }
   11009 fi
   11010 
   11011 
   11012 fi
   11013 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   11014 
   11015 
   11016 if test -n "$AR_FOR_TARGET"; then
   11017   ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
   11018 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   11019   AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11020 fi
   11021 
   11022 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   11023   for ncn_progname in ar; do
   11024     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11025 set dummy ${ncn_progname}; ac_word=$2
   11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11027 $as_echo_n "checking for $ac_word... " >&6; }
   11028 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
   11029   $as_echo_n "(cached) " >&6
   11030 else
   11031   if test -n "$AR_FOR_TARGET"; then
   11032   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11033 else
   11034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11035 for as_dir in $PATH
   11036 do
   11037   IFS=$as_save_IFS
   11038   test -z "$as_dir" && as_dir=.
   11039     for ac_exec_ext in '' $ac_executable_extensions; do
   11040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11041     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   11042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11043     break 2
   11044   fi
   11045 done
   11046   done
   11047 IFS=$as_save_IFS
   11048 
   11049 fi
   11050 fi
   11051 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11052 if test -n "$AR_FOR_TARGET"; then
   11053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11054 $as_echo "$AR_FOR_TARGET" >&6; }
   11055 else
   11056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11057 $as_echo "no" >&6; }
   11058 fi
   11059 
   11060 
   11061   done
   11062 fi
   11063 
   11064 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11065   for ncn_progname in ar; do
   11066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11067 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11068     if test -x $with_build_time_tools/${ncn_progname}; then
   11069       ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11070       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11071 $as_echo "yes" >&6; }
   11072       break
   11073     else
   11074       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11075 $as_echo "no" >&6; }
   11076     fi
   11077   done
   11078 fi
   11079 
   11080 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
   11081   for ncn_progname in ar; do
   11082     if test -n "$ncn_target_tool_prefix"; then
   11083       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11084 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11086 $as_echo_n "checking for $ac_word... " >&6; }
   11087 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
   11088   $as_echo_n "(cached) " >&6
   11089 else
   11090   if test -n "$AR_FOR_TARGET"; then
   11091   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11092 else
   11093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11094 for as_dir in $PATH
   11095 do
   11096   IFS=$as_save_IFS
   11097   test -z "$as_dir" && as_dir=.
   11098     for ac_exec_ext in '' $ac_executable_extensions; do
   11099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11100     ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11102     break 2
   11103   fi
   11104 done
   11105   done
   11106 IFS=$as_save_IFS
   11107 
   11108 fi
   11109 fi
   11110 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11111 if test -n "$AR_FOR_TARGET"; then
   11112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11113 $as_echo "$AR_FOR_TARGET" >&6; }
   11114 else
   11115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11116 $as_echo "no" >&6; }
   11117 fi
   11118 
   11119 
   11120     fi
   11121     if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
   11122       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11123 set dummy ${ncn_progname}; ac_word=$2
   11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11125 $as_echo_n "checking for $ac_word... " >&6; }
   11126 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
   11127   $as_echo_n "(cached) " >&6
   11128 else
   11129   if test -n "$AR_FOR_TARGET"; then
   11130   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11131 else
   11132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11133 for as_dir in $PATH
   11134 do
   11135   IFS=$as_save_IFS
   11136   test -z "$as_dir" && as_dir=.
   11137     for ac_exec_ext in '' $ac_executable_extensions; do
   11138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11139     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   11140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11141     break 2
   11142   fi
   11143 done
   11144   done
   11145 IFS=$as_save_IFS
   11146 
   11147 fi
   11148 fi
   11149 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11150 if test -n "$AR_FOR_TARGET"; then
   11151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11152 $as_echo "$AR_FOR_TARGET" >&6; }
   11153 else
   11154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11155 $as_echo "no" >&6; }
   11156 fi
   11157 
   11158 
   11159     fi
   11160     test -n "$ac_cv_prog_AR_FOR_TARGET" && break
   11161   done
   11162 fi
   11163 
   11164 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
   11165   set dummy ar
   11166   if test $build = $target ; then
   11167     AR_FOR_TARGET="$2"
   11168   else
   11169     AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11170   fi
   11171 else
   11172   AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
   11173 fi
   11174 
   11175 else
   11176   AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   11177 fi
   11178 
   11179 
   11180 
   11181 
   11182 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11183   if test -n "$with_build_time_tools"; then
   11184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
   11185 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
   11186     if test -x $with_build_time_tools/as; then
   11187       AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
   11188       ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11189       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
   11190 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
   11191     else
   11192       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11193 $as_echo "no" >&6; }
   11194     fi
   11195   elif test $build != $host && test $have_gcc_for_target = yes; then
   11196     AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
   11197     test $AS_FOR_TARGET = as && AS_FOR_TARGET=
   11198     test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11199   fi
   11200 fi
   11201 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11202   # Extract the first word of "as", so it can be a program name with args.
   11203 set dummy as; ac_word=$2
   11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11205 $as_echo_n "checking for $ac_word... " >&6; }
   11206 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
   11207   $as_echo_n "(cached) " >&6
   11208 else
   11209   case $AS_FOR_TARGET in
   11210   [\\/]* | ?:[\\/]*)
   11211   ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
   11212   ;;
   11213   *)
   11214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11215 for as_dir in $gcc_cv_tool_dirs
   11216 do
   11217   IFS=$as_save_IFS
   11218   test -z "$as_dir" && as_dir=.
   11219     for ac_exec_ext in '' $ac_executable_extensions; do
   11220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11221     ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11223     break 2
   11224   fi
   11225 done
   11226   done
   11227 IFS=$as_save_IFS
   11228 
   11229   ;;
   11230 esac
   11231 fi
   11232 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11233 if test -n "$AS_FOR_TARGET"; then
   11234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11235 $as_echo "$AS_FOR_TARGET" >&6; }
   11236 else
   11237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11238 $as_echo "no" >&6; }
   11239 fi
   11240 
   11241 
   11242 fi
   11243 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11244 
   11245 
   11246 if test -n "$AS_FOR_TARGET"; then
   11247   ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
   11248 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11249   AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11250 fi
   11251 
   11252 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11253   for ncn_progname in as; do
   11254     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11255 set dummy ${ncn_progname}; ac_word=$2
   11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11257 $as_echo_n "checking for $ac_word... " >&6; }
   11258 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
   11259   $as_echo_n "(cached) " >&6
   11260 else
   11261   if test -n "$AS_FOR_TARGET"; then
   11262   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11263 else
   11264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11265 for as_dir in $PATH
   11266 do
   11267   IFS=$as_save_IFS
   11268   test -z "$as_dir" && as_dir=.
   11269     for ac_exec_ext in '' $ac_executable_extensions; do
   11270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11271     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11273     break 2
   11274   fi
   11275 done
   11276   done
   11277 IFS=$as_save_IFS
   11278 
   11279 fi
   11280 fi
   11281 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11282 if test -n "$AS_FOR_TARGET"; then
   11283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11284 $as_echo "$AS_FOR_TARGET" >&6; }
   11285 else
   11286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11287 $as_echo "no" >&6; }
   11288 fi
   11289 
   11290 
   11291   done
   11292 fi
   11293 
   11294 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11295   for ncn_progname in as; do
   11296     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11297 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11298     if test -x $with_build_time_tools/${ncn_progname}; then
   11299       ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11300       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11301 $as_echo "yes" >&6; }
   11302       break
   11303     else
   11304       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11305 $as_echo "no" >&6; }
   11306     fi
   11307   done
   11308 fi
   11309 
   11310 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
   11311   for ncn_progname in as; do
   11312     if test -n "$ncn_target_tool_prefix"; then
   11313       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11314 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11316 $as_echo_n "checking for $ac_word... " >&6; }
   11317 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
   11318   $as_echo_n "(cached) " >&6
   11319 else
   11320   if test -n "$AS_FOR_TARGET"; then
   11321   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11322 else
   11323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11324 for as_dir in $PATH
   11325 do
   11326   IFS=$as_save_IFS
   11327   test -z "$as_dir" && as_dir=.
   11328     for ac_exec_ext in '' $ac_executable_extensions; do
   11329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11330     ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11332     break 2
   11333   fi
   11334 done
   11335   done
   11336 IFS=$as_save_IFS
   11337 
   11338 fi
   11339 fi
   11340 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11341 if test -n "$AS_FOR_TARGET"; then
   11342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11343 $as_echo "$AS_FOR_TARGET" >&6; }
   11344 else
   11345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11346 $as_echo "no" >&6; }
   11347 fi
   11348 
   11349 
   11350     fi
   11351     if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
   11352       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11353 set dummy ${ncn_progname}; ac_word=$2
   11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11355 $as_echo_n "checking for $ac_word... " >&6; }
   11356 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
   11357   $as_echo_n "(cached) " >&6
   11358 else
   11359   if test -n "$AS_FOR_TARGET"; then
   11360   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11361 else
   11362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11363 for as_dir in $PATH
   11364 do
   11365   IFS=$as_save_IFS
   11366   test -z "$as_dir" && as_dir=.
   11367     for ac_exec_ext in '' $ac_executable_extensions; do
   11368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11369     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11371     break 2
   11372   fi
   11373 done
   11374   done
   11375 IFS=$as_save_IFS
   11376 
   11377 fi
   11378 fi
   11379 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11380 if test -n "$AS_FOR_TARGET"; then
   11381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11382 $as_echo "$AS_FOR_TARGET" >&6; }
   11383 else
   11384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11385 $as_echo "no" >&6; }
   11386 fi
   11387 
   11388 
   11389     fi
   11390     test -n "$ac_cv_prog_AS_FOR_TARGET" && break
   11391   done
   11392 fi
   11393 
   11394 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
   11395   set dummy as
   11396   if test $build = $target ; then
   11397     AS_FOR_TARGET="$2"
   11398   else
   11399     AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11400   fi
   11401 else
   11402   AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
   11403 fi
   11404 
   11405 else
   11406   AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11407 fi
   11408 
   11409 
   11410 
   11411 
   11412 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11413   if test -n "$with_build_time_tools"; then
   11414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
   11415 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
   11416     if test -x $with_build_time_tools/dlltool; then
   11417       DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
   11418       ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11419       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
   11420 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
   11421     else
   11422       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11423 $as_echo "no" >&6; }
   11424     fi
   11425   elif test $build != $host && test $have_gcc_for_target = yes; then
   11426     DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
   11427     test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
   11428     test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11429   fi
   11430 fi
   11431 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11432   # Extract the first word of "dlltool", so it can be a program name with args.
   11433 set dummy dlltool; ac_word=$2
   11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11435 $as_echo_n "checking for $ac_word... " >&6; }
   11436 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
   11437   $as_echo_n "(cached) " >&6
   11438 else
   11439   case $DLLTOOL_FOR_TARGET in
   11440   [\\/]* | ?:[\\/]*)
   11441   ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
   11442   ;;
   11443   *)
   11444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11445 for as_dir in $gcc_cv_tool_dirs
   11446 do
   11447   IFS=$as_save_IFS
   11448   test -z "$as_dir" && as_dir=.
   11449     for ac_exec_ext in '' $ac_executable_extensions; do
   11450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11451     ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11453     break 2
   11454   fi
   11455 done
   11456   done
   11457 IFS=$as_save_IFS
   11458 
   11459   ;;
   11460 esac
   11461 fi
   11462 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11463 if test -n "$DLLTOOL_FOR_TARGET"; then
   11464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11465 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11466 else
   11467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11468 $as_echo "no" >&6; }
   11469 fi
   11470 
   11471 
   11472 fi
   11473 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11474 
   11475 
   11476 if test -n "$DLLTOOL_FOR_TARGET"; then
   11477   ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11478 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11479   DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11480 fi
   11481 
   11482 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11483   for ncn_progname in dlltool; do
   11484     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11485 set dummy ${ncn_progname}; ac_word=$2
   11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11487 $as_echo_n "checking for $ac_word... " >&6; }
   11488 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
   11489   $as_echo_n "(cached) " >&6
   11490 else
   11491   if test -n "$DLLTOOL_FOR_TARGET"; then
   11492   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11493 else
   11494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11495 for as_dir in $PATH
   11496 do
   11497   IFS=$as_save_IFS
   11498   test -z "$as_dir" && as_dir=.
   11499     for ac_exec_ext in '' $ac_executable_extensions; do
   11500   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11501     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11503     break 2
   11504   fi
   11505 done
   11506   done
   11507 IFS=$as_save_IFS
   11508 
   11509 fi
   11510 fi
   11511 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11512 if test -n "$DLLTOOL_FOR_TARGET"; then
   11513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11514 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11515 else
   11516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11517 $as_echo "no" >&6; }
   11518 fi
   11519 
   11520 
   11521   done
   11522 fi
   11523 
   11524 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11525   for ncn_progname in dlltool; do
   11526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11527 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11528     if test -x $with_build_time_tools/${ncn_progname}; then
   11529       ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11530       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11531 $as_echo "yes" >&6; }
   11532       break
   11533     else
   11534       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11535 $as_echo "no" >&6; }
   11536     fi
   11537   done
   11538 fi
   11539 
   11540 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11541   for ncn_progname in dlltool; do
   11542     if test -n "$ncn_target_tool_prefix"; then
   11543       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11544 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11546 $as_echo_n "checking for $ac_word... " >&6; }
   11547 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
   11548   $as_echo_n "(cached) " >&6
   11549 else
   11550   if test -n "$DLLTOOL_FOR_TARGET"; then
   11551   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11552 else
   11553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11554 for as_dir in $PATH
   11555 do
   11556   IFS=$as_save_IFS
   11557   test -z "$as_dir" && as_dir=.
   11558     for ac_exec_ext in '' $ac_executable_extensions; do
   11559   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11560     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11562     break 2
   11563   fi
   11564 done
   11565   done
   11566 IFS=$as_save_IFS
   11567 
   11568 fi
   11569 fi
   11570 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11571 if test -n "$DLLTOOL_FOR_TARGET"; then
   11572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11573 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11574 else
   11575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11576 $as_echo "no" >&6; }
   11577 fi
   11578 
   11579 
   11580     fi
   11581     if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
   11582       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11583 set dummy ${ncn_progname}; ac_word=$2
   11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11585 $as_echo_n "checking for $ac_word... " >&6; }
   11586 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
   11587   $as_echo_n "(cached) " >&6
   11588 else
   11589   if test -n "$DLLTOOL_FOR_TARGET"; then
   11590   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11591 else
   11592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11593 for as_dir in $PATH
   11594 do
   11595   IFS=$as_save_IFS
   11596   test -z "$as_dir" && as_dir=.
   11597     for ac_exec_ext in '' $ac_executable_extensions; do
   11598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11599     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11601     break 2
   11602   fi
   11603 done
   11604   done
   11605 IFS=$as_save_IFS
   11606 
   11607 fi
   11608 fi
   11609 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11610 if test -n "$DLLTOOL_FOR_TARGET"; then
   11611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11612 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11613 else
   11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11615 $as_echo "no" >&6; }
   11616 fi
   11617 
   11618 
   11619     fi
   11620     test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
   11621   done
   11622 fi
   11623 
   11624 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
   11625   set dummy dlltool
   11626   if test $build = $target ; then
   11627     DLLTOOL_FOR_TARGET="$2"
   11628   else
   11629     DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11630   fi
   11631 else
   11632   DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
   11633 fi
   11634 
   11635 else
   11636   DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11637 fi
   11638 
   11639 
   11640 
   11641 
   11642 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11643   if test -n "$with_build_time_tools"; then
   11644     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
   11645 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
   11646     if test -x $with_build_time_tools/ld; then
   11647       LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
   11648       ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11649       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
   11650 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
   11651     else
   11652       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11653 $as_echo "no" >&6; }
   11654     fi
   11655   elif test $build != $host && test $have_gcc_for_target = yes; then
   11656     LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
   11657     test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
   11658     test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11659   fi
   11660 fi
   11661 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11662   # Extract the first word of "ld", so it can be a program name with args.
   11663 set dummy ld; ac_word=$2
   11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11665 $as_echo_n "checking for $ac_word... " >&6; }
   11666 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
   11667   $as_echo_n "(cached) " >&6
   11668 else
   11669   case $LD_FOR_TARGET in
   11670   [\\/]* | ?:[\\/]*)
   11671   ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
   11672   ;;
   11673   *)
   11674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11675 for as_dir in $gcc_cv_tool_dirs
   11676 do
   11677   IFS=$as_save_IFS
   11678   test -z "$as_dir" && as_dir=.
   11679     for ac_exec_ext in '' $ac_executable_extensions; do
   11680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11681     ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11683     break 2
   11684   fi
   11685 done
   11686   done
   11687 IFS=$as_save_IFS
   11688 
   11689   ;;
   11690 esac
   11691 fi
   11692 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11693 if test -n "$LD_FOR_TARGET"; then
   11694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11695 $as_echo "$LD_FOR_TARGET" >&6; }
   11696 else
   11697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11698 $as_echo "no" >&6; }
   11699 fi
   11700 
   11701 
   11702 fi
   11703 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11704 
   11705 
   11706 if test -n "$LD_FOR_TARGET"; then
   11707   ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
   11708 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11709   LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11710 fi
   11711 
   11712 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11713   for ncn_progname in ld; do
   11714     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11715 set dummy ${ncn_progname}; ac_word=$2
   11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11717 $as_echo_n "checking for $ac_word... " >&6; }
   11718 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
   11719   $as_echo_n "(cached) " >&6
   11720 else
   11721   if test -n "$LD_FOR_TARGET"; then
   11722   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11723 else
   11724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11725 for as_dir in $PATH
   11726 do
   11727   IFS=$as_save_IFS
   11728   test -z "$as_dir" && as_dir=.
   11729     for ac_exec_ext in '' $ac_executable_extensions; do
   11730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11731     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11733     break 2
   11734   fi
   11735 done
   11736   done
   11737 IFS=$as_save_IFS
   11738 
   11739 fi
   11740 fi
   11741 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11742 if test -n "$LD_FOR_TARGET"; then
   11743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11744 $as_echo "$LD_FOR_TARGET" >&6; }
   11745 else
   11746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11747 $as_echo "no" >&6; }
   11748 fi
   11749 
   11750 
   11751   done
   11752 fi
   11753 
   11754 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11755   for ncn_progname in ld; do
   11756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11757 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11758     if test -x $with_build_time_tools/${ncn_progname}; then
   11759       ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11760       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11761 $as_echo "yes" >&6; }
   11762       break
   11763     else
   11764       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11765 $as_echo "no" >&6; }
   11766     fi
   11767   done
   11768 fi
   11769 
   11770 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
   11771   for ncn_progname in ld; do
   11772     if test -n "$ncn_target_tool_prefix"; then
   11773       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11774 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11776 $as_echo_n "checking for $ac_word... " >&6; }
   11777 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
   11778   $as_echo_n "(cached) " >&6
   11779 else
   11780   if test -n "$LD_FOR_TARGET"; then
   11781   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11782 else
   11783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11784 for as_dir in $PATH
   11785 do
   11786   IFS=$as_save_IFS
   11787   test -z "$as_dir" && as_dir=.
   11788     for ac_exec_ext in '' $ac_executable_extensions; do
   11789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11790     ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11792     break 2
   11793   fi
   11794 done
   11795   done
   11796 IFS=$as_save_IFS
   11797 
   11798 fi
   11799 fi
   11800 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11801 if test -n "$LD_FOR_TARGET"; then
   11802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11803 $as_echo "$LD_FOR_TARGET" >&6; }
   11804 else
   11805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11806 $as_echo "no" >&6; }
   11807 fi
   11808 
   11809 
   11810     fi
   11811     if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
   11812       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11813 set dummy ${ncn_progname}; ac_word=$2
   11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11815 $as_echo_n "checking for $ac_word... " >&6; }
   11816 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
   11817   $as_echo_n "(cached) " >&6
   11818 else
   11819   if test -n "$LD_FOR_TARGET"; then
   11820   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11821 else
   11822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11823 for as_dir in $PATH
   11824 do
   11825   IFS=$as_save_IFS
   11826   test -z "$as_dir" && as_dir=.
   11827     for ac_exec_ext in '' $ac_executable_extensions; do
   11828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11829     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11831     break 2
   11832   fi
   11833 done
   11834   done
   11835 IFS=$as_save_IFS
   11836 
   11837 fi
   11838 fi
   11839 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11840 if test -n "$LD_FOR_TARGET"; then
   11841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11842 $as_echo "$LD_FOR_TARGET" >&6; }
   11843 else
   11844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11845 $as_echo "no" >&6; }
   11846 fi
   11847 
   11848 
   11849     fi
   11850     test -n "$ac_cv_prog_LD_FOR_TARGET" && break
   11851   done
   11852 fi
   11853 
   11854 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
   11855   set dummy ld
   11856   if test $build = $target ; then
   11857     LD_FOR_TARGET="$2"
   11858   else
   11859     LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11860   fi
   11861 else
   11862   LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
   11863 fi
   11864 
   11865 else
   11866   LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11867 fi
   11868 
   11869 
   11870 
   11871 
   11872 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11873   if test -n "$with_build_time_tools"; then
   11874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
   11875 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
   11876     if test -x $with_build_time_tools/lipo; then
   11877       LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
   11878       ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11879       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
   11880 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
   11881     else
   11882       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11883 $as_echo "no" >&6; }
   11884     fi
   11885   elif test $build != $host && test $have_gcc_for_target = yes; then
   11886     LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
   11887     test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
   11888     test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11889   fi
   11890 fi
   11891 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11892   # Extract the first word of "lipo", so it can be a program name with args.
   11893 set dummy lipo; ac_word=$2
   11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11895 $as_echo_n "checking for $ac_word... " >&6; }
   11896 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
   11897   $as_echo_n "(cached) " >&6
   11898 else
   11899   case $LIPO_FOR_TARGET in
   11900   [\\/]* | ?:[\\/]*)
   11901   ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
   11902   ;;
   11903   *)
   11904   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11905 for as_dir in $gcc_cv_tool_dirs
   11906 do
   11907   IFS=$as_save_IFS
   11908   test -z "$as_dir" && as_dir=.
   11909     for ac_exec_ext in '' $ac_executable_extensions; do
   11910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11911     ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11913     break 2
   11914   fi
   11915 done
   11916   done
   11917 IFS=$as_save_IFS
   11918 
   11919   ;;
   11920 esac
   11921 fi
   11922 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   11923 if test -n "$LIPO_FOR_TARGET"; then
   11924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11925 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11926 else
   11927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11928 $as_echo "no" >&6; }
   11929 fi
   11930 
   11931 
   11932 fi
   11933 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11934 
   11935 
   11936 if test -n "$LIPO_FOR_TARGET"; then
   11937   ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11938 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11939   LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11940 fi
   11941 
   11942 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11943   for ncn_progname in lipo; do
   11944     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11945 set dummy ${ncn_progname}; ac_word=$2
   11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11947 $as_echo_n "checking for $ac_word... " >&6; }
   11948 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
   11949   $as_echo_n "(cached) " >&6
   11950 else
   11951   if test -n "$LIPO_FOR_TARGET"; then
   11952   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   11953 else
   11954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11955 for as_dir in $PATH
   11956 do
   11957   IFS=$as_save_IFS
   11958   test -z "$as_dir" && as_dir=.
   11959     for ac_exec_ext in '' $ac_executable_extensions; do
   11960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11961     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   11962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11963     break 2
   11964   fi
   11965 done
   11966   done
   11967 IFS=$as_save_IFS
   11968 
   11969 fi
   11970 fi
   11971 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11972 if test -n "$LIPO_FOR_TARGET"; then
   11973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11974 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11975 else
   11976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11977 $as_echo "no" >&6; }
   11978 fi
   11979 
   11980 
   11981   done
   11982 fi
   11983 
   11984 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11985   for ncn_progname in lipo; do
   11986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11987 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11988     if test -x $with_build_time_tools/${ncn_progname}; then
   11989       ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11990       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11991 $as_echo "yes" >&6; }
   11992       break
   11993     else
   11994       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11995 $as_echo "no" >&6; }
   11996     fi
   11997   done
   11998 fi
   11999 
   12000 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
   12001   for ncn_progname in lipo; do
   12002     if test -n "$ncn_target_tool_prefix"; then
   12003       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12004 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12006 $as_echo_n "checking for $ac_word... " >&6; }
   12007 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
   12008   $as_echo_n "(cached) " >&6
   12009 else
   12010   if test -n "$LIPO_FOR_TARGET"; then
   12011   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   12012 else
   12013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12014 for as_dir in $PATH
   12015 do
   12016   IFS=$as_save_IFS
   12017   test -z "$as_dir" && as_dir=.
   12018     for ac_exec_ext in '' $ac_executable_extensions; do
   12019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12020     ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12022     break 2
   12023   fi
   12024 done
   12025   done
   12026 IFS=$as_save_IFS
   12027 
   12028 fi
   12029 fi
   12030 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   12031 if test -n "$LIPO_FOR_TARGET"; then
   12032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   12033 $as_echo "$LIPO_FOR_TARGET" >&6; }
   12034 else
   12035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12036 $as_echo "no" >&6; }
   12037 fi
   12038 
   12039 
   12040     fi
   12041     if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
   12042       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12043 set dummy ${ncn_progname}; ac_word=$2
   12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12045 $as_echo_n "checking for $ac_word... " >&6; }
   12046 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
   12047   $as_echo_n "(cached) " >&6
   12048 else
   12049   if test -n "$LIPO_FOR_TARGET"; then
   12050   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   12051 else
   12052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12053 for as_dir in $PATH
   12054 do
   12055   IFS=$as_save_IFS
   12056   test -z "$as_dir" && as_dir=.
   12057     for ac_exec_ext in '' $ac_executable_extensions; do
   12058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12059     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   12060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12061     break 2
   12062   fi
   12063 done
   12064   done
   12065 IFS=$as_save_IFS
   12066 
   12067 fi
   12068 fi
   12069 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   12070 if test -n "$LIPO_FOR_TARGET"; then
   12071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   12072 $as_echo "$LIPO_FOR_TARGET" >&6; }
   12073 else
   12074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12075 $as_echo "no" >&6; }
   12076 fi
   12077 
   12078 
   12079     fi
   12080     test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
   12081   done
   12082 fi
   12083 
   12084 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
   12085   set dummy lipo
   12086   if test $build = $target ; then
   12087     LIPO_FOR_TARGET="$2"
   12088   else
   12089     LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12090   fi
   12091 else
   12092   LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
   12093 fi
   12094 
   12095 else
   12096   LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   12097 fi
   12098 
   12099 
   12100 
   12101 
   12102 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   12103   if test -n "$with_build_time_tools"; then
   12104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
   12105 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
   12106     if test -x $with_build_time_tools/nm; then
   12107       NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
   12108       ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12109       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
   12110 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
   12111     else
   12112       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12113 $as_echo "no" >&6; }
   12114     fi
   12115   elif test $build != $host && test $have_gcc_for_target = yes; then
   12116     NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
   12117     test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
   12118     test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12119   fi
   12120 fi
   12121 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12122   # Extract the first word of "nm", so it can be a program name with args.
   12123 set dummy nm; ac_word=$2
   12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12125 $as_echo_n "checking for $ac_word... " >&6; }
   12126 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
   12127   $as_echo_n "(cached) " >&6
   12128 else
   12129   case $NM_FOR_TARGET in
   12130   [\\/]* | ?:[\\/]*)
   12131   ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
   12132   ;;
   12133   *)
   12134   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12135 for as_dir in $gcc_cv_tool_dirs
   12136 do
   12137   IFS=$as_save_IFS
   12138   test -z "$as_dir" && as_dir=.
   12139     for ac_exec_ext in '' $ac_executable_extensions; do
   12140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12141     ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12143     break 2
   12144   fi
   12145 done
   12146   done
   12147 IFS=$as_save_IFS
   12148 
   12149   ;;
   12150 esac
   12151 fi
   12152 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12153 if test -n "$NM_FOR_TARGET"; then
   12154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12155 $as_echo "$NM_FOR_TARGET" >&6; }
   12156 else
   12157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12158 $as_echo "no" >&6; }
   12159 fi
   12160 
   12161 
   12162 fi
   12163 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   12164 
   12165 
   12166 if test -n "$NM_FOR_TARGET"; then
   12167   ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
   12168 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12169   NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12170 fi
   12171 
   12172 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12173   for ncn_progname in nm; do
   12174     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12175 set dummy ${ncn_progname}; ac_word=$2
   12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12177 $as_echo_n "checking for $ac_word... " >&6; }
   12178 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
   12179   $as_echo_n "(cached) " >&6
   12180 else
   12181   if test -n "$NM_FOR_TARGET"; then
   12182   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12183 else
   12184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12185 for as_dir in $PATH
   12186 do
   12187   IFS=$as_save_IFS
   12188   test -z "$as_dir" && as_dir=.
   12189     for ac_exec_ext in '' $ac_executable_extensions; do
   12190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12191     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12193     break 2
   12194   fi
   12195 done
   12196   done
   12197 IFS=$as_save_IFS
   12198 
   12199 fi
   12200 fi
   12201 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12202 if test -n "$NM_FOR_TARGET"; then
   12203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12204 $as_echo "$NM_FOR_TARGET" >&6; }
   12205 else
   12206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12207 $as_echo "no" >&6; }
   12208 fi
   12209 
   12210 
   12211   done
   12212 fi
   12213 
   12214 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12215   for ncn_progname in nm; do
   12216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12217 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12218     if test -x $with_build_time_tools/${ncn_progname}; then
   12219       ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12220       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12221 $as_echo "yes" >&6; }
   12222       break
   12223     else
   12224       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12225 $as_echo "no" >&6; }
   12226     fi
   12227   done
   12228 fi
   12229 
   12230 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
   12231   for ncn_progname in nm; do
   12232     if test -n "$ncn_target_tool_prefix"; then
   12233       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12234 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12236 $as_echo_n "checking for $ac_word... " >&6; }
   12237 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
   12238   $as_echo_n "(cached) " >&6
   12239 else
   12240   if test -n "$NM_FOR_TARGET"; then
   12241   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12242 else
   12243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12244 for as_dir in $PATH
   12245 do
   12246   IFS=$as_save_IFS
   12247   test -z "$as_dir" && as_dir=.
   12248     for ac_exec_ext in '' $ac_executable_extensions; do
   12249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12250     ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12252     break 2
   12253   fi
   12254 done
   12255   done
   12256 IFS=$as_save_IFS
   12257 
   12258 fi
   12259 fi
   12260 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12261 if test -n "$NM_FOR_TARGET"; then
   12262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12263 $as_echo "$NM_FOR_TARGET" >&6; }
   12264 else
   12265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12266 $as_echo "no" >&6; }
   12267 fi
   12268 
   12269 
   12270     fi
   12271     if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
   12272       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12273 set dummy ${ncn_progname}; ac_word=$2
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12275 $as_echo_n "checking for $ac_word... " >&6; }
   12276 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   if test -n "$NM_FOR_TARGET"; then
   12280   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12281 else
   12282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12283 for as_dir in $PATH
   12284 do
   12285   IFS=$as_save_IFS
   12286   test -z "$as_dir" && as_dir=.
   12287     for ac_exec_ext in '' $ac_executable_extensions; do
   12288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12289     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12291     break 2
   12292   fi
   12293 done
   12294   done
   12295 IFS=$as_save_IFS
   12296 
   12297 fi
   12298 fi
   12299 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12300 if test -n "$NM_FOR_TARGET"; then
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12302 $as_echo "$NM_FOR_TARGET" >&6; }
   12303 else
   12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12305 $as_echo "no" >&6; }
   12306 fi
   12307 
   12308 
   12309     fi
   12310     test -n "$ac_cv_prog_NM_FOR_TARGET" && break
   12311   done
   12312 fi
   12313 
   12314 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
   12315   set dummy nm
   12316   if test $build = $target ; then
   12317     NM_FOR_TARGET="$2"
   12318   else
   12319     NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12320   fi
   12321 else
   12322   NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
   12323 fi
   12324 
   12325 else
   12326   NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12327 fi
   12328 
   12329 
   12330 
   12331 
   12332 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12333   if test -n "$with_build_time_tools"; then
   12334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objcopy in $with_build_time_tools" >&5
   12335 $as_echo_n "checking for objcopy in $with_build_time_tools... " >&6; }
   12336     if test -x $with_build_time_tools/objcopy; then
   12337       OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
   12338       ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12339       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
   12340 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
   12341     else
   12342       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12343 $as_echo "no" >&6; }
   12344     fi
   12345   elif test $build != $host && test $have_gcc_for_target = yes; then
   12346     OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
   12347     test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
   12348     test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12349   fi
   12350 fi
   12351 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12352   # Extract the first word of "objcopy", so it can be a program name with args.
   12353 set dummy objcopy; ac_word=$2
   12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12355 $as_echo_n "checking for $ac_word... " >&6; }
   12356 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
   12357   $as_echo_n "(cached) " >&6
   12358 else
   12359   case $OBJCOPY_FOR_TARGET in
   12360   [\\/]* | ?:[\\/]*)
   12361   ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
   12362   ;;
   12363   *)
   12364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12365 for as_dir in $gcc_cv_tool_dirs
   12366 do
   12367   IFS=$as_save_IFS
   12368   test -z "$as_dir" && as_dir=.
   12369     for ac_exec_ext in '' $ac_executable_extensions; do
   12370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12371     ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12373     break 2
   12374   fi
   12375 done
   12376   done
   12377 IFS=$as_save_IFS
   12378 
   12379   ;;
   12380 esac
   12381 fi
   12382 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12383 if test -n "$OBJCOPY_FOR_TARGET"; then
   12384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12385 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12386 else
   12387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12388 $as_echo "no" >&6; }
   12389 fi
   12390 
   12391 
   12392 fi
   12393 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12394 
   12395 
   12396 if test -n "$OBJCOPY_FOR_TARGET"; then
   12397   ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12398 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12399   OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12400 fi
   12401 
   12402 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12403   for ncn_progname in objcopy; do
   12404     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12405 set dummy ${ncn_progname}; ac_word=$2
   12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12407 $as_echo_n "checking for $ac_word... " >&6; }
   12408 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
   12409   $as_echo_n "(cached) " >&6
   12410 else
   12411   if test -n "$OBJCOPY_FOR_TARGET"; then
   12412   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12413 else
   12414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12415 for as_dir in $PATH
   12416 do
   12417   IFS=$as_save_IFS
   12418   test -z "$as_dir" && as_dir=.
   12419     for ac_exec_ext in '' $ac_executable_extensions; do
   12420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12421     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12423     break 2
   12424   fi
   12425 done
   12426   done
   12427 IFS=$as_save_IFS
   12428 
   12429 fi
   12430 fi
   12431 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12432 if test -n "$OBJCOPY_FOR_TARGET"; then
   12433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12434 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12435 else
   12436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12437 $as_echo "no" >&6; }
   12438 fi
   12439 
   12440 
   12441   done
   12442 fi
   12443 
   12444 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12445   for ncn_progname in objcopy; do
   12446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12447 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12448     if test -x $with_build_time_tools/${ncn_progname}; then
   12449       ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12450       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12451 $as_echo "yes" >&6; }
   12452       break
   12453     else
   12454       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12455 $as_echo "no" >&6; }
   12456     fi
   12457   done
   12458 fi
   12459 
   12460 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12461   for ncn_progname in objcopy; do
   12462     if test -n "$ncn_target_tool_prefix"; then
   12463       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12464 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12466 $as_echo_n "checking for $ac_word... " >&6; }
   12467 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
   12468   $as_echo_n "(cached) " >&6
   12469 else
   12470   if test -n "$OBJCOPY_FOR_TARGET"; then
   12471   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12472 else
   12473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12474 for as_dir in $PATH
   12475 do
   12476   IFS=$as_save_IFS
   12477   test -z "$as_dir" && as_dir=.
   12478     for ac_exec_ext in '' $ac_executable_extensions; do
   12479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12480     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12482     break 2
   12483   fi
   12484 done
   12485   done
   12486 IFS=$as_save_IFS
   12487 
   12488 fi
   12489 fi
   12490 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12491 if test -n "$OBJCOPY_FOR_TARGET"; then
   12492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12493 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12494 else
   12495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12496 $as_echo "no" >&6; }
   12497 fi
   12498 
   12499 
   12500     fi
   12501     if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
   12502       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12503 set dummy ${ncn_progname}; ac_word=$2
   12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12505 $as_echo_n "checking for $ac_word... " >&6; }
   12506 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
   12507   $as_echo_n "(cached) " >&6
   12508 else
   12509   if test -n "$OBJCOPY_FOR_TARGET"; then
   12510   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12511 else
   12512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12513 for as_dir in $PATH
   12514 do
   12515   IFS=$as_save_IFS
   12516   test -z "$as_dir" && as_dir=.
   12517     for ac_exec_ext in '' $ac_executable_extensions; do
   12518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12519     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12521     break 2
   12522   fi
   12523 done
   12524   done
   12525 IFS=$as_save_IFS
   12526 
   12527 fi
   12528 fi
   12529 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12530 if test -n "$OBJCOPY_FOR_TARGET"; then
   12531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12532 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12533 else
   12534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12535 $as_echo "no" >&6; }
   12536 fi
   12537 
   12538 
   12539     fi
   12540     test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
   12541   done
   12542 fi
   12543 
   12544 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
   12545   set dummy objcopy
   12546   if test $build = $target ; then
   12547     OBJCOPY_FOR_TARGET="$2"
   12548   else
   12549     OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12550   fi
   12551 else
   12552   OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
   12553 fi
   12554 
   12555 else
   12556   OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12557 fi
   12558 
   12559 
   12560 
   12561 
   12562 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12563   if test -n "$with_build_time_tools"; then
   12564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
   12565 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
   12566     if test -x $with_build_time_tools/objdump; then
   12567       OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
   12568       ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12569       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
   12570 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
   12571     else
   12572       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12573 $as_echo "no" >&6; }
   12574     fi
   12575   elif test $build != $host && test $have_gcc_for_target = yes; then
   12576     OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
   12577     test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
   12578     test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12579   fi
   12580 fi
   12581 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12582   # Extract the first word of "objdump", so it can be a program name with args.
   12583 set dummy objdump; ac_word=$2
   12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12585 $as_echo_n "checking for $ac_word... " >&6; }
   12586 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
   12587   $as_echo_n "(cached) " >&6
   12588 else
   12589   case $OBJDUMP_FOR_TARGET in
   12590   [\\/]* | ?:[\\/]*)
   12591   ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
   12592   ;;
   12593   *)
   12594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12595 for as_dir in $gcc_cv_tool_dirs
   12596 do
   12597   IFS=$as_save_IFS
   12598   test -z "$as_dir" && as_dir=.
   12599     for ac_exec_ext in '' $ac_executable_extensions; do
   12600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12601     ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12603     break 2
   12604   fi
   12605 done
   12606   done
   12607 IFS=$as_save_IFS
   12608 
   12609   ;;
   12610 esac
   12611 fi
   12612 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12613 if test -n "$OBJDUMP_FOR_TARGET"; then
   12614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12615 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12616 else
   12617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12618 $as_echo "no" >&6; }
   12619 fi
   12620 
   12621 
   12622 fi
   12623 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12624 
   12625 
   12626 if test -n "$OBJDUMP_FOR_TARGET"; then
   12627   ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12628 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12629   OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12630 fi
   12631 
   12632 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12633   for ncn_progname in objdump; do
   12634     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12635 set dummy ${ncn_progname}; ac_word=$2
   12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12637 $as_echo_n "checking for $ac_word... " >&6; }
   12638 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
   12639   $as_echo_n "(cached) " >&6
   12640 else
   12641   if test -n "$OBJDUMP_FOR_TARGET"; then
   12642   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12643 else
   12644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12645 for as_dir in $PATH
   12646 do
   12647   IFS=$as_save_IFS
   12648   test -z "$as_dir" && as_dir=.
   12649     for ac_exec_ext in '' $ac_executable_extensions; do
   12650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12651     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12653     break 2
   12654   fi
   12655 done
   12656   done
   12657 IFS=$as_save_IFS
   12658 
   12659 fi
   12660 fi
   12661 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12662 if test -n "$OBJDUMP_FOR_TARGET"; then
   12663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12664 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12665 else
   12666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12667 $as_echo "no" >&6; }
   12668 fi
   12669 
   12670 
   12671   done
   12672 fi
   12673 
   12674 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12675   for ncn_progname in objdump; do
   12676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12677 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12678     if test -x $with_build_time_tools/${ncn_progname}; then
   12679       ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12680       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12681 $as_echo "yes" >&6; }
   12682       break
   12683     else
   12684       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12685 $as_echo "no" >&6; }
   12686     fi
   12687   done
   12688 fi
   12689 
   12690 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12691   for ncn_progname in objdump; do
   12692     if test -n "$ncn_target_tool_prefix"; then
   12693       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12694 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12696 $as_echo_n "checking for $ac_word... " >&6; }
   12697 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
   12698   $as_echo_n "(cached) " >&6
   12699 else
   12700   if test -n "$OBJDUMP_FOR_TARGET"; then
   12701   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12702 else
   12703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12704 for as_dir in $PATH
   12705 do
   12706   IFS=$as_save_IFS
   12707   test -z "$as_dir" && as_dir=.
   12708     for ac_exec_ext in '' $ac_executable_extensions; do
   12709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12710     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12712     break 2
   12713   fi
   12714 done
   12715   done
   12716 IFS=$as_save_IFS
   12717 
   12718 fi
   12719 fi
   12720 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12721 if test -n "$OBJDUMP_FOR_TARGET"; then
   12722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12723 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12724 else
   12725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12726 $as_echo "no" >&6; }
   12727 fi
   12728 
   12729 
   12730     fi
   12731     if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
   12732       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12733 set dummy ${ncn_progname}; ac_word=$2
   12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12735 $as_echo_n "checking for $ac_word... " >&6; }
   12736 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
   12737   $as_echo_n "(cached) " >&6
   12738 else
   12739   if test -n "$OBJDUMP_FOR_TARGET"; then
   12740   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12741 else
   12742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12743 for as_dir in $PATH
   12744 do
   12745   IFS=$as_save_IFS
   12746   test -z "$as_dir" && as_dir=.
   12747     for ac_exec_ext in '' $ac_executable_extensions; do
   12748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12749     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12751     break 2
   12752   fi
   12753 done
   12754   done
   12755 IFS=$as_save_IFS
   12756 
   12757 fi
   12758 fi
   12759 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12760 if test -n "$OBJDUMP_FOR_TARGET"; then
   12761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12762 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12763 else
   12764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12765 $as_echo "no" >&6; }
   12766 fi
   12767 
   12768 
   12769     fi
   12770     test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
   12771   done
   12772 fi
   12773 
   12774 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
   12775   set dummy objdump
   12776   if test $build = $target ; then
   12777     OBJDUMP_FOR_TARGET="$2"
   12778   else
   12779     OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12780   fi
   12781 else
   12782   OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
   12783 fi
   12784 
   12785 else
   12786   OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12787 fi
   12788 
   12789 
   12790 
   12791 
   12792 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12793   if test -n "$with_build_time_tools"; then
   12794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
   12795 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
   12796     if test -x $with_build_time_tools/ranlib; then
   12797       RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
   12798       ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12799       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
   12800 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
   12801     else
   12802       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12803 $as_echo "no" >&6; }
   12804     fi
   12805   elif test $build != $host && test $have_gcc_for_target = yes; then
   12806     RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
   12807     test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
   12808     test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12809   fi
   12810 fi
   12811 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12812   # Extract the first word of "ranlib", so it can be a program name with args.
   12813 set dummy ranlib; ac_word=$2
   12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12815 $as_echo_n "checking for $ac_word... " >&6; }
   12816 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
   12817   $as_echo_n "(cached) " >&6
   12818 else
   12819   case $RANLIB_FOR_TARGET in
   12820   [\\/]* | ?:[\\/]*)
   12821   ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
   12822   ;;
   12823   *)
   12824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12825 for as_dir in $gcc_cv_tool_dirs
   12826 do
   12827   IFS=$as_save_IFS
   12828   test -z "$as_dir" && as_dir=.
   12829     for ac_exec_ext in '' $ac_executable_extensions; do
   12830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12831     ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12833     break 2
   12834   fi
   12835 done
   12836   done
   12837 IFS=$as_save_IFS
   12838 
   12839   ;;
   12840 esac
   12841 fi
   12842 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   12843 if test -n "$RANLIB_FOR_TARGET"; then
   12844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12845 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12846 else
   12847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12848 $as_echo "no" >&6; }
   12849 fi
   12850 
   12851 
   12852 fi
   12853 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12854 
   12855 
   12856 if test -n "$RANLIB_FOR_TARGET"; then
   12857   ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12858 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12859   RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12860 fi
   12861 
   12862 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12863   for ncn_progname in ranlib; do
   12864     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12865 set dummy ${ncn_progname}; ac_word=$2
   12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12867 $as_echo_n "checking for $ac_word... " >&6; }
   12868 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
   12869   $as_echo_n "(cached) " >&6
   12870 else
   12871   if test -n "$RANLIB_FOR_TARGET"; then
   12872   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12873 else
   12874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12875 for as_dir in $PATH
   12876 do
   12877   IFS=$as_save_IFS
   12878   test -z "$as_dir" && as_dir=.
   12879     for ac_exec_ext in '' $ac_executable_extensions; do
   12880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12881     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12883     break 2
   12884   fi
   12885 done
   12886   done
   12887 IFS=$as_save_IFS
   12888 
   12889 fi
   12890 fi
   12891 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12892 if test -n "$RANLIB_FOR_TARGET"; then
   12893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12894 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12895 else
   12896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12897 $as_echo "no" >&6; }
   12898 fi
   12899 
   12900 
   12901   done
   12902 fi
   12903 
   12904 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12905   for ncn_progname in ranlib; do
   12906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12907 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12908     if test -x $with_build_time_tools/${ncn_progname}; then
   12909       ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12910       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12911 $as_echo "yes" >&6; }
   12912       break
   12913     else
   12914       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12915 $as_echo "no" >&6; }
   12916     fi
   12917   done
   12918 fi
   12919 
   12920 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12921   for ncn_progname in ranlib; do
   12922     if test -n "$ncn_target_tool_prefix"; then
   12923       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12924 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12926 $as_echo_n "checking for $ac_word... " >&6; }
   12927 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
   12928   $as_echo_n "(cached) " >&6
   12929 else
   12930   if test -n "$RANLIB_FOR_TARGET"; then
   12931   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12932 else
   12933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12934 for as_dir in $PATH
   12935 do
   12936   IFS=$as_save_IFS
   12937   test -z "$as_dir" && as_dir=.
   12938     for ac_exec_ext in '' $ac_executable_extensions; do
   12939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12940     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12942     break 2
   12943   fi
   12944 done
   12945   done
   12946 IFS=$as_save_IFS
   12947 
   12948 fi
   12949 fi
   12950 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12951 if test -n "$RANLIB_FOR_TARGET"; then
   12952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12953 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12954 else
   12955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12956 $as_echo "no" >&6; }
   12957 fi
   12958 
   12959 
   12960     fi
   12961     if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
   12962       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12963 set dummy ${ncn_progname}; ac_word=$2
   12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12965 $as_echo_n "checking for $ac_word... " >&6; }
   12966 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
   12967   $as_echo_n "(cached) " >&6
   12968 else
   12969   if test -n "$RANLIB_FOR_TARGET"; then
   12970   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12971 else
   12972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12973 for as_dir in $PATH
   12974 do
   12975   IFS=$as_save_IFS
   12976   test -z "$as_dir" && as_dir=.
   12977     for ac_exec_ext in '' $ac_executable_extensions; do
   12978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12979     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12981     break 2
   12982   fi
   12983 done
   12984   done
   12985 IFS=$as_save_IFS
   12986 
   12987 fi
   12988 fi
   12989 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12990 if test -n "$RANLIB_FOR_TARGET"; then
   12991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12992 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12993 else
   12994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12995 $as_echo "no" >&6; }
   12996 fi
   12997 
   12998 
   12999     fi
   13000     test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
   13001   done
   13002 fi
   13003 
   13004 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
   13005   set dummy ranlib
   13006   if test $build = $target ; then
   13007     RANLIB_FOR_TARGET="$2"
   13008   else
   13009     RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13010   fi
   13011 else
   13012   RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
   13013 fi
   13014 
   13015 else
   13016   RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   13017 fi
   13018 
   13019 
   13020 
   13021 
   13022 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   13023   if test -n "$with_build_time_tools"; then
   13024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build_time_tools" >&5
   13025 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
   13026     if test -x $with_build_time_tools/readelf; then
   13027       READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
   13028       ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13029       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_TARGET" >&5
   13030 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
   13031     else
   13032       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13033 $as_echo "no" >&6; }
   13034     fi
   13035   elif test $build != $host && test $have_gcc_for_target = yes; then
   13036     READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
   13037     test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
   13038     test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13039   fi
   13040 fi
   13041 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13042   # Extract the first word of "readelf", so it can be a program name with args.
   13043 set dummy readelf; ac_word=$2
   13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13045 $as_echo_n "checking for $ac_word... " >&6; }
   13046 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
   13047   $as_echo_n "(cached) " >&6
   13048 else
   13049   case $READELF_FOR_TARGET in
   13050   [\\/]* | ?:[\\/]*)
   13051   ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
   13052   ;;
   13053   *)
   13054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13055 for as_dir in $gcc_cv_tool_dirs
   13056 do
   13057   IFS=$as_save_IFS
   13058   test -z "$as_dir" && as_dir=.
   13059     for ac_exec_ext in '' $ac_executable_extensions; do
   13060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13061     ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13063     break 2
   13064   fi
   13065 done
   13066   done
   13067 IFS=$as_save_IFS
   13068 
   13069   ;;
   13070 esac
   13071 fi
   13072 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   13073 if test -n "$READELF_FOR_TARGET"; then
   13074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13075 $as_echo "$READELF_FOR_TARGET" >&6; }
   13076 else
   13077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13078 $as_echo "no" >&6; }
   13079 fi
   13080 
   13081 
   13082 fi
   13083 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   13084 
   13085 
   13086 if test -n "$READELF_FOR_TARGET"; then
   13087   ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13088 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   13089   READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13090 fi
   13091 
   13092 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   13093   for ncn_progname in readelf; do
   13094     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13095 set dummy ${ncn_progname}; ac_word=$2
   13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13097 $as_echo_n "checking for $ac_word... " >&6; }
   13098 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
   13099   $as_echo_n "(cached) " >&6
   13100 else
   13101   if test -n "$READELF_FOR_TARGET"; then
   13102   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13103 else
   13104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13105 for as_dir in $PATH
   13106 do
   13107   IFS=$as_save_IFS
   13108   test -z "$as_dir" && as_dir=.
   13109     for ac_exec_ext in '' $ac_executable_extensions; do
   13110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13111     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13113     break 2
   13114   fi
   13115 done
   13116   done
   13117 IFS=$as_save_IFS
   13118 
   13119 fi
   13120 fi
   13121 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13122 if test -n "$READELF_FOR_TARGET"; then
   13123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13124 $as_echo "$READELF_FOR_TARGET" >&6; }
   13125 else
   13126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13127 $as_echo "no" >&6; }
   13128 fi
   13129 
   13130 
   13131   done
   13132 fi
   13133 
   13134 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13135   for ncn_progname in readelf; do
   13136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13137 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13138     if test -x $with_build_time_tools/${ncn_progname}; then
   13139       ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13140       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13141 $as_echo "yes" >&6; }
   13142       break
   13143     else
   13144       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13145 $as_echo "no" >&6; }
   13146     fi
   13147   done
   13148 fi
   13149 
   13150 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
   13151   for ncn_progname in readelf; do
   13152     if test -n "$ncn_target_tool_prefix"; then
   13153       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13154 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13156 $as_echo_n "checking for $ac_word... " >&6; }
   13157 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
   13158   $as_echo_n "(cached) " >&6
   13159 else
   13160   if test -n "$READELF_FOR_TARGET"; then
   13161   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13162 else
   13163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13164 for as_dir in $PATH
   13165 do
   13166   IFS=$as_save_IFS
   13167   test -z "$as_dir" && as_dir=.
   13168     for ac_exec_ext in '' $ac_executable_extensions; do
   13169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13170     ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13172     break 2
   13173   fi
   13174 done
   13175   done
   13176 IFS=$as_save_IFS
   13177 
   13178 fi
   13179 fi
   13180 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13181 if test -n "$READELF_FOR_TARGET"; then
   13182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13183 $as_echo "$READELF_FOR_TARGET" >&6; }
   13184 else
   13185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13186 $as_echo "no" >&6; }
   13187 fi
   13188 
   13189 
   13190     fi
   13191     if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
   13192       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13193 set dummy ${ncn_progname}; ac_word=$2
   13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13195 $as_echo_n "checking for $ac_word... " >&6; }
   13196 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
   13197   $as_echo_n "(cached) " >&6
   13198 else
   13199   if test -n "$READELF_FOR_TARGET"; then
   13200   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13201 else
   13202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13203 for as_dir in $PATH
   13204 do
   13205   IFS=$as_save_IFS
   13206   test -z "$as_dir" && as_dir=.
   13207     for ac_exec_ext in '' $ac_executable_extensions; do
   13208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13209     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13211     break 2
   13212   fi
   13213 done
   13214   done
   13215 IFS=$as_save_IFS
   13216 
   13217 fi
   13218 fi
   13219 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13220 if test -n "$READELF_FOR_TARGET"; then
   13221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13222 $as_echo "$READELF_FOR_TARGET" >&6; }
   13223 else
   13224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13225 $as_echo "no" >&6; }
   13226 fi
   13227 
   13228 
   13229     fi
   13230     test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
   13231   done
   13232 fi
   13233 
   13234 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
   13235   set dummy readelf
   13236   if test $build = $target ; then
   13237     READELF_FOR_TARGET="$2"
   13238   else
   13239     READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13240   fi
   13241 else
   13242   READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
   13243 fi
   13244 
   13245 else
   13246   READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   13247 fi
   13248 
   13249 
   13250 
   13251 
   13252 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13253   if test -n "$with_build_time_tools"; then
   13254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
   13255 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
   13256     if test -x $with_build_time_tools/strip; then
   13257       STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
   13258       ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13259       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
   13260 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
   13261     else
   13262       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13263 $as_echo "no" >&6; }
   13264     fi
   13265   elif test $build != $host && test $have_gcc_for_target = yes; then
   13266     STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
   13267     test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
   13268     test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13269   fi
   13270 fi
   13271 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13272   # Extract the first word of "strip", so it can be a program name with args.
   13273 set dummy strip; ac_word=$2
   13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13275 $as_echo_n "checking for $ac_word... " >&6; }
   13276 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
   13277   $as_echo_n "(cached) " >&6
   13278 else
   13279   case $STRIP_FOR_TARGET in
   13280   [\\/]* | ?:[\\/]*)
   13281   ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
   13282   ;;
   13283   *)
   13284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13285 for as_dir in $gcc_cv_tool_dirs
   13286 do
   13287   IFS=$as_save_IFS
   13288   test -z "$as_dir" && as_dir=.
   13289     for ac_exec_ext in '' $ac_executable_extensions; do
   13290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13291     ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13293     break 2
   13294   fi
   13295 done
   13296   done
   13297 IFS=$as_save_IFS
   13298 
   13299   ;;
   13300 esac
   13301 fi
   13302 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13303 if test -n "$STRIP_FOR_TARGET"; then
   13304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13305 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13306 else
   13307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13308 $as_echo "no" >&6; }
   13309 fi
   13310 
   13311 
   13312 fi
   13313 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13314 
   13315 
   13316 if test -n "$STRIP_FOR_TARGET"; then
   13317   ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13318 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13319   STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13320 fi
   13321 
   13322 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13323   for ncn_progname in strip; do
   13324     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13325 set dummy ${ncn_progname}; ac_word=$2
   13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13327 $as_echo_n "checking for $ac_word... " >&6; }
   13328 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
   13329   $as_echo_n "(cached) " >&6
   13330 else
   13331   if test -n "$STRIP_FOR_TARGET"; then
   13332   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13333 else
   13334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13335 for as_dir in $PATH
   13336 do
   13337   IFS=$as_save_IFS
   13338   test -z "$as_dir" && as_dir=.
   13339     for ac_exec_ext in '' $ac_executable_extensions; do
   13340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13341     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13343     break 2
   13344   fi
   13345 done
   13346   done
   13347 IFS=$as_save_IFS
   13348 
   13349 fi
   13350 fi
   13351 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13352 if test -n "$STRIP_FOR_TARGET"; then
   13353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13354 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13355 else
   13356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13357 $as_echo "no" >&6; }
   13358 fi
   13359 
   13360 
   13361   done
   13362 fi
   13363 
   13364 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13365   for ncn_progname in strip; do
   13366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13367 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13368     if test -x $with_build_time_tools/${ncn_progname}; then
   13369       ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13370       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13371 $as_echo "yes" >&6; }
   13372       break
   13373     else
   13374       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13375 $as_echo "no" >&6; }
   13376     fi
   13377   done
   13378 fi
   13379 
   13380 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13381   for ncn_progname in strip; do
   13382     if test -n "$ncn_target_tool_prefix"; then
   13383       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13384 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13386 $as_echo_n "checking for $ac_word... " >&6; }
   13387 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
   13388   $as_echo_n "(cached) " >&6
   13389 else
   13390   if test -n "$STRIP_FOR_TARGET"; then
   13391   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13392 else
   13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13394 for as_dir in $PATH
   13395 do
   13396   IFS=$as_save_IFS
   13397   test -z "$as_dir" && as_dir=.
   13398     for ac_exec_ext in '' $ac_executable_extensions; do
   13399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13400     ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13402     break 2
   13403   fi
   13404 done
   13405   done
   13406 IFS=$as_save_IFS
   13407 
   13408 fi
   13409 fi
   13410 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13411 if test -n "$STRIP_FOR_TARGET"; then
   13412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13413 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13414 else
   13415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13416 $as_echo "no" >&6; }
   13417 fi
   13418 
   13419 
   13420     fi
   13421     if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
   13422       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13423 set dummy ${ncn_progname}; ac_word=$2
   13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13425 $as_echo_n "checking for $ac_word... " >&6; }
   13426 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
   13427   $as_echo_n "(cached) " >&6
   13428 else
   13429   if test -n "$STRIP_FOR_TARGET"; then
   13430   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13431 else
   13432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13433 for as_dir in $PATH
   13434 do
   13435   IFS=$as_save_IFS
   13436   test -z "$as_dir" && as_dir=.
   13437     for ac_exec_ext in '' $ac_executable_extensions; do
   13438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13439     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13441     break 2
   13442   fi
   13443 done
   13444   done
   13445 IFS=$as_save_IFS
   13446 
   13447 fi
   13448 fi
   13449 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13450 if test -n "$STRIP_FOR_TARGET"; then
   13451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13452 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13453 else
   13454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13455 $as_echo "no" >&6; }
   13456 fi
   13457 
   13458 
   13459     fi
   13460     test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
   13461   done
   13462 fi
   13463 
   13464 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
   13465   set dummy strip
   13466   if test $build = $target ; then
   13467     STRIP_FOR_TARGET="$2"
   13468   else
   13469     STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13470   fi
   13471 else
   13472   STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
   13473 fi
   13474 
   13475 else
   13476   STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13477 fi
   13478 
   13479 
   13480 
   13481 
   13482 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13483   if test -n "$with_build_time_tools"; then
   13484     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
   13485 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
   13486     if test -x $with_build_time_tools/windres; then
   13487       WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
   13488       ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13489       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
   13490 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
   13491     else
   13492       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13493 $as_echo "no" >&6; }
   13494     fi
   13495   elif test $build != $host && test $have_gcc_for_target = yes; then
   13496     WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
   13497     test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
   13498     test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13499   fi
   13500 fi
   13501 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13502   # Extract the first word of "windres", so it can be a program name with args.
   13503 set dummy windres; ac_word=$2
   13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13505 $as_echo_n "checking for $ac_word... " >&6; }
   13506 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
   13507   $as_echo_n "(cached) " >&6
   13508 else
   13509   case $WINDRES_FOR_TARGET in
   13510   [\\/]* | ?:[\\/]*)
   13511   ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
   13512   ;;
   13513   *)
   13514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13515 for as_dir in $gcc_cv_tool_dirs
   13516 do
   13517   IFS=$as_save_IFS
   13518   test -z "$as_dir" && as_dir=.
   13519     for ac_exec_ext in '' $ac_executable_extensions; do
   13520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13521     ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13523     break 2
   13524   fi
   13525 done
   13526   done
   13527 IFS=$as_save_IFS
   13528 
   13529   ;;
   13530 esac
   13531 fi
   13532 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13533 if test -n "$WINDRES_FOR_TARGET"; then
   13534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13535 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13536 else
   13537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13538 $as_echo "no" >&6; }
   13539 fi
   13540 
   13541 
   13542 fi
   13543 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13544 
   13545 
   13546 if test -n "$WINDRES_FOR_TARGET"; then
   13547   ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13548 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13549   WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13550 fi
   13551 
   13552 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13553   for ncn_progname in windres; do
   13554     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13555 set dummy ${ncn_progname}; ac_word=$2
   13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13557 $as_echo_n "checking for $ac_word... " >&6; }
   13558 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
   13559   $as_echo_n "(cached) " >&6
   13560 else
   13561   if test -n "$WINDRES_FOR_TARGET"; then
   13562   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13563 else
   13564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13565 for as_dir in $PATH
   13566 do
   13567   IFS=$as_save_IFS
   13568   test -z "$as_dir" && as_dir=.
   13569     for ac_exec_ext in '' $ac_executable_extensions; do
   13570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13571     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13573     break 2
   13574   fi
   13575 done
   13576   done
   13577 IFS=$as_save_IFS
   13578 
   13579 fi
   13580 fi
   13581 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13582 if test -n "$WINDRES_FOR_TARGET"; then
   13583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13584 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13585 else
   13586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13587 $as_echo "no" >&6; }
   13588 fi
   13589 
   13590 
   13591   done
   13592 fi
   13593 
   13594 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13595   for ncn_progname in windres; do
   13596     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13597 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13598     if test -x $with_build_time_tools/${ncn_progname}; then
   13599       ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13600       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13601 $as_echo "yes" >&6; }
   13602       break
   13603     else
   13604       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13605 $as_echo "no" >&6; }
   13606     fi
   13607   done
   13608 fi
   13609 
   13610 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13611   for ncn_progname in windres; do
   13612     if test -n "$ncn_target_tool_prefix"; then
   13613       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13614 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13616 $as_echo_n "checking for $ac_word... " >&6; }
   13617 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
   13618   $as_echo_n "(cached) " >&6
   13619 else
   13620   if test -n "$WINDRES_FOR_TARGET"; then
   13621   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13622 else
   13623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13624 for as_dir in $PATH
   13625 do
   13626   IFS=$as_save_IFS
   13627   test -z "$as_dir" && as_dir=.
   13628     for ac_exec_ext in '' $ac_executable_extensions; do
   13629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13630     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13632     break 2
   13633   fi
   13634 done
   13635   done
   13636 IFS=$as_save_IFS
   13637 
   13638 fi
   13639 fi
   13640 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13641 if test -n "$WINDRES_FOR_TARGET"; then
   13642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13643 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13644 else
   13645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13646 $as_echo "no" >&6; }
   13647 fi
   13648 
   13649 
   13650     fi
   13651     if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
   13652       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13653 set dummy ${ncn_progname}; ac_word=$2
   13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13655 $as_echo_n "checking for $ac_word... " >&6; }
   13656 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
   13657   $as_echo_n "(cached) " >&6
   13658 else
   13659   if test -n "$WINDRES_FOR_TARGET"; then
   13660   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13661 else
   13662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13663 for as_dir in $PATH
   13664 do
   13665   IFS=$as_save_IFS
   13666   test -z "$as_dir" && as_dir=.
   13667     for ac_exec_ext in '' $ac_executable_extensions; do
   13668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13669     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13671     break 2
   13672   fi
   13673 done
   13674   done
   13675 IFS=$as_save_IFS
   13676 
   13677 fi
   13678 fi
   13679 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13680 if test -n "$WINDRES_FOR_TARGET"; then
   13681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13682 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13683 else
   13684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13685 $as_echo "no" >&6; }
   13686 fi
   13687 
   13688 
   13689     fi
   13690     test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
   13691   done
   13692 fi
   13693 
   13694 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
   13695   set dummy windres
   13696   if test $build = $target ; then
   13697     WINDRES_FOR_TARGET="$2"
   13698   else
   13699     WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13700   fi
   13701 else
   13702   WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
   13703 fi
   13704 
   13705 else
   13706   WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13707 fi
   13708 
   13709 
   13710 
   13711 
   13712 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13713   if test -n "$with_build_time_tools"; then
   13714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
   13715 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
   13716     if test -x $with_build_time_tools/windmc; then
   13717       WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
   13718       ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13719       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
   13720 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
   13721     else
   13722       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13723 $as_echo "no" >&6; }
   13724     fi
   13725   elif test $build != $host && test $have_gcc_for_target = yes; then
   13726     WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
   13727     test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
   13728     test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13729   fi
   13730 fi
   13731 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13732   # Extract the first word of "windmc", so it can be a program name with args.
   13733 set dummy windmc; ac_word=$2
   13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13735 $as_echo_n "checking for $ac_word... " >&6; }
   13736 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
   13737   $as_echo_n "(cached) " >&6
   13738 else
   13739   case $WINDMC_FOR_TARGET in
   13740   [\\/]* | ?:[\\/]*)
   13741   ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
   13742   ;;
   13743   *)
   13744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13745 for as_dir in $gcc_cv_tool_dirs
   13746 do
   13747   IFS=$as_save_IFS
   13748   test -z "$as_dir" && as_dir=.
   13749     for ac_exec_ext in '' $ac_executable_extensions; do
   13750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13751     ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13753     break 2
   13754   fi
   13755 done
   13756   done
   13757 IFS=$as_save_IFS
   13758 
   13759   ;;
   13760 esac
   13761 fi
   13762 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13763 if test -n "$WINDMC_FOR_TARGET"; then
   13764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13765 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13766 else
   13767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13768 $as_echo "no" >&6; }
   13769 fi
   13770 
   13771 
   13772 fi
   13773 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13774 
   13775 
   13776 if test -n "$WINDMC_FOR_TARGET"; then
   13777   ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13778 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13779   WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13780 fi
   13781 
   13782 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13783   for ncn_progname in windmc; do
   13784     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13785 set dummy ${ncn_progname}; ac_word=$2
   13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13787 $as_echo_n "checking for $ac_word... " >&6; }
   13788 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
   13789   $as_echo_n "(cached) " >&6
   13790 else
   13791   if test -n "$WINDMC_FOR_TARGET"; then
   13792   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13793 else
   13794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13795 for as_dir in $PATH
   13796 do
   13797   IFS=$as_save_IFS
   13798   test -z "$as_dir" && as_dir=.
   13799     for ac_exec_ext in '' $ac_executable_extensions; do
   13800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13801     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13803     break 2
   13804   fi
   13805 done
   13806   done
   13807 IFS=$as_save_IFS
   13808 
   13809 fi
   13810 fi
   13811 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13812 if test -n "$WINDMC_FOR_TARGET"; then
   13813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13814 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13815 else
   13816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13817 $as_echo "no" >&6; }
   13818 fi
   13819 
   13820 
   13821   done
   13822 fi
   13823 
   13824 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13825   for ncn_progname in windmc; do
   13826     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13827 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13828     if test -x $with_build_time_tools/${ncn_progname}; then
   13829       ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13830       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13831 $as_echo "yes" >&6; }
   13832       break
   13833     else
   13834       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13835 $as_echo "no" >&6; }
   13836     fi
   13837   done
   13838 fi
   13839 
   13840 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13841   for ncn_progname in windmc; do
   13842     if test -n "$ncn_target_tool_prefix"; then
   13843       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13844 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13846 $as_echo_n "checking for $ac_word... " >&6; }
   13847 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
   13848   $as_echo_n "(cached) " >&6
   13849 else
   13850   if test -n "$WINDMC_FOR_TARGET"; then
   13851   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13852 else
   13853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13854 for as_dir in $PATH
   13855 do
   13856   IFS=$as_save_IFS
   13857   test -z "$as_dir" && as_dir=.
   13858     for ac_exec_ext in '' $ac_executable_extensions; do
   13859   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13860     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13862     break 2
   13863   fi
   13864 done
   13865   done
   13866 IFS=$as_save_IFS
   13867 
   13868 fi
   13869 fi
   13870 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13871 if test -n "$WINDMC_FOR_TARGET"; then
   13872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13873 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13874 else
   13875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13876 $as_echo "no" >&6; }
   13877 fi
   13878 
   13879 
   13880     fi
   13881     if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
   13882       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13883 set dummy ${ncn_progname}; ac_word=$2
   13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13885 $as_echo_n "checking for $ac_word... " >&6; }
   13886 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
   13887   $as_echo_n "(cached) " >&6
   13888 else
   13889   if test -n "$WINDMC_FOR_TARGET"; then
   13890   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13891 else
   13892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13893 for as_dir in $PATH
   13894 do
   13895   IFS=$as_save_IFS
   13896   test -z "$as_dir" && as_dir=.
   13897     for ac_exec_ext in '' $ac_executable_extensions; do
   13898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13899     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13901     break 2
   13902   fi
   13903 done
   13904   done
   13905 IFS=$as_save_IFS
   13906 
   13907 fi
   13908 fi
   13909 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13910 if test -n "$WINDMC_FOR_TARGET"; then
   13911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13912 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13913 else
   13914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13915 $as_echo "no" >&6; }
   13916 fi
   13917 
   13918 
   13919     fi
   13920     test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
   13921   done
   13922 fi
   13923 
   13924 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
   13925   set dummy windmc
   13926   if test $build = $target ; then
   13927     WINDMC_FOR_TARGET="$2"
   13928   else
   13929     WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13930   fi
   13931 else
   13932   WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
   13933 fi
   13934 
   13935 else
   13936   WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13937 fi
   13938 
   13939 
   13940 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
   13941 
   13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
   13943 $as_echo_n "checking where to find the target ar... " >&6; }
   13944 if test "x${build}" != "x${host}" ; then
   13945   if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13946     # We already found the complete path
   13947     ac_dir=`dirname $AR_FOR_TARGET`
   13948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13949 $as_echo "pre-installed in $ac_dir" >&6; }
   13950   else
   13951     # Canadian cross, just use what we found
   13952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13953 $as_echo "pre-installed" >&6; }
   13954   fi
   13955 else
   13956   ok=yes
   13957   case " ${configdirs} " in
   13958     *" binutils "*) ;;
   13959     *) ok=no ;;
   13960   esac
   13961 
   13962   if test $ok = yes; then
   13963     # An in-tree tool is available and we can use it
   13964     AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
   13965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   13966 $as_echo "just compiled" >&6; }
   13967   elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13968     # We already found the complete path
   13969     ac_dir=`dirname $AR_FOR_TARGET`
   13970     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13971 $as_echo "pre-installed in $ac_dir" >&6; }
   13972   elif test "x$target" = "x$host"; then
   13973     # We can use an host tool
   13974     AR_FOR_TARGET='$(AR)'
   13975     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   13976 $as_echo "host tool" >&6; }
   13977   else
   13978     # We need a cross tool
   13979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13980 $as_echo "pre-installed" >&6; }
   13981   fi
   13982 fi
   13983 
   13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
   13985 $as_echo_n "checking where to find the target as... " >&6; }
   13986 if test "x${build}" != "x${host}" ; then
   13987   if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   13988     # We already found the complete path
   13989     ac_dir=`dirname $AS_FOR_TARGET`
   13990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13991 $as_echo "pre-installed in $ac_dir" >&6; }
   13992   else
   13993     # Canadian cross, just use what we found
   13994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13995 $as_echo "pre-installed" >&6; }
   13996   fi
   13997 else
   13998   ok=yes
   13999   case " ${configdirs} " in
   14000     *" gas "*) ;;
   14001     *) ok=no ;;
   14002   esac
   14003 
   14004   if test $ok = yes; then
   14005     # An in-tree tool is available and we can use it
   14006     AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
   14007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14008 $as_echo "just compiled" >&6; }
   14009   elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   14010     # We already found the complete path
   14011     ac_dir=`dirname $AS_FOR_TARGET`
   14012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14013 $as_echo "pre-installed in $ac_dir" >&6; }
   14014   elif test "x$target" = "x$host"; then
   14015     # We can use an host tool
   14016     AS_FOR_TARGET='$(AS)'
   14017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14018 $as_echo "host tool" >&6; }
   14019   else
   14020     # We need a cross tool
   14021     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14022 $as_echo "pre-installed" >&6; }
   14023   fi
   14024 fi
   14025 
   14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
   14027 $as_echo_n "checking where to find the target cc... " >&6; }
   14028 if test "x${build}" != "x${host}" ; then
   14029   if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14030     # We already found the complete path
   14031     ac_dir=`dirname $CC_FOR_TARGET`
   14032     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14033 $as_echo "pre-installed in $ac_dir" >&6; }
   14034   else
   14035     # Canadian cross, just use what we found
   14036     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14037 $as_echo "pre-installed" >&6; }
   14038   fi
   14039 else
   14040   ok=yes
   14041   case " ${configdirs} " in
   14042     *" gcc "*) ;;
   14043     *) ok=no ;;
   14044   esac
   14045 
   14046   if test $ok = yes; then
   14047     # An in-tree tool is available and we can use it
   14048     CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   14049     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14050 $as_echo "just compiled" >&6; }
   14051   elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14052     # We already found the complete path
   14053     ac_dir=`dirname $CC_FOR_TARGET`
   14054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14055 $as_echo "pre-installed in $ac_dir" >&6; }
   14056   elif test "x$target" = "x$host"; then
   14057     # We can use an host tool
   14058     CC_FOR_TARGET='$(CC)'
   14059     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14060 $as_echo "host tool" >&6; }
   14061   else
   14062     # We need a cross tool
   14063     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14064 $as_echo "pre-installed" >&6; }
   14065   fi
   14066 fi
   14067 
   14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
   14069 $as_echo_n "checking where to find the target c++... " >&6; }
   14070 if test "x${build}" != "x${host}" ; then
   14071   if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   14072     # We already found the complete path
   14073     ac_dir=`dirname $CXX_FOR_TARGET`
   14074     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14075 $as_echo "pre-installed in $ac_dir" >&6; }
   14076   else
   14077     # Canadian cross, just use what we found
   14078     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14079 $as_echo "pre-installed" >&6; }
   14080   fi
   14081 else
   14082   ok=yes
   14083   case " ${configdirs} " in
   14084     *" gcc "*) ;;
   14085     *) ok=no ;;
   14086   esac
   14087   case ,${enable_languages}, in
   14088     *,c++,*) ;;
   14089     *) ok=no ;;
   14090   esac
   14091   if test $ok = yes; then
   14092     # An in-tree tool is available and we can use it
   14093     CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
   14094     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14095 $as_echo "just compiled" >&6; }
   14096   elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   14097     # We already found the complete path
   14098     ac_dir=`dirname $CXX_FOR_TARGET`
   14099     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14100 $as_echo "pre-installed in $ac_dir" >&6; }
   14101   elif test "x$target" = "x$host"; then
   14102     # We can use an host tool
   14103     CXX_FOR_TARGET='$(CXX)'
   14104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14105 $as_echo "host tool" >&6; }
   14106   else
   14107     # We need a cross tool
   14108     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14109 $as_echo "pre-installed" >&6; }
   14110   fi
   14111 fi
   14112 
   14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
   14114 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
   14115 if test "x${build}" != "x${host}" ; then
   14116   if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14117     # We already found the complete path
   14118     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14119     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14120 $as_echo "pre-installed in $ac_dir" >&6; }
   14121   else
   14122     # Canadian cross, just use what we found
   14123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14124 $as_echo "pre-installed" >&6; }
   14125   fi
   14126 else
   14127   ok=yes
   14128   case " ${configdirs} " in
   14129     *" gcc "*) ;;
   14130     *) ok=no ;;
   14131   esac
   14132   case ,${enable_languages}, in
   14133     *,c++,*) ;;
   14134     *) ok=no ;;
   14135   esac
   14136   if test $ok = yes; then
   14137     # An in-tree tool is available and we can use it
   14138     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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
   14139     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14140 $as_echo "just compiled" >&6; }
   14141   elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14142     # We already found the complete path
   14143     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14145 $as_echo "pre-installed in $ac_dir" >&6; }
   14146   elif test "x$target" = "x$host"; then
   14147     # We can use an host tool
   14148     RAW_CXX_FOR_TARGET='$(CXX)'
   14149     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14150 $as_echo "host tool" >&6; }
   14151   else
   14152     # We need a cross tool
   14153     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14154 $as_echo "pre-installed" >&6; }
   14155   fi
   14156 fi
   14157 
   14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
   14159 $as_echo_n "checking where to find the target dlltool... " >&6; }
   14160 if test "x${build}" != "x${host}" ; then
   14161   if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14162     # We already found the complete path
   14163     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14164     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14165 $as_echo "pre-installed in $ac_dir" >&6; }
   14166   else
   14167     # Canadian cross, just use what we found
   14168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14169 $as_echo "pre-installed" >&6; }
   14170   fi
   14171 else
   14172   ok=yes
   14173   case " ${configdirs} " in
   14174     *" binutils "*) ;;
   14175     *) ok=no ;;
   14176   esac
   14177 
   14178   if test $ok = yes; then
   14179     # An in-tree tool is available and we can use it
   14180     DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
   14181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14182 $as_echo "just compiled" >&6; }
   14183   elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14184     # We already found the complete path
   14185     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14187 $as_echo "pre-installed in $ac_dir" >&6; }
   14188   elif test "x$target" = "x$host"; then
   14189     # We can use an host tool
   14190     DLLTOOL_FOR_TARGET='$(DLLTOOL)'
   14191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14192 $as_echo "host tool" >&6; }
   14193   else
   14194     # We need a cross tool
   14195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14196 $as_echo "pre-installed" >&6; }
   14197   fi
   14198 fi
   14199 
   14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
   14201 $as_echo_n "checking where to find the target gcc... " >&6; }
   14202 if test "x${build}" != "x${host}" ; then
   14203   if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14204     # We already found the complete path
   14205     ac_dir=`dirname $GCC_FOR_TARGET`
   14206     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14207 $as_echo "pre-installed in $ac_dir" >&6; }
   14208   else
   14209     # Canadian cross, just use what we found
   14210     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14211 $as_echo "pre-installed" >&6; }
   14212   fi
   14213 else
   14214   ok=yes
   14215   case " ${configdirs} " in
   14216     *" gcc "*) ;;
   14217     *) ok=no ;;
   14218   esac
   14219 
   14220   if test $ok = yes; then
   14221     # An in-tree tool is available and we can use it
   14222     GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   14223     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14224 $as_echo "just compiled" >&6; }
   14225   elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14226     # We already found the complete path
   14227     ac_dir=`dirname $GCC_FOR_TARGET`
   14228     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14229 $as_echo "pre-installed in $ac_dir" >&6; }
   14230   elif test "x$target" = "x$host"; then
   14231     # We can use an host tool
   14232     GCC_FOR_TARGET='$()'
   14233     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14234 $as_echo "host tool" >&6; }
   14235   else
   14236     # We need a cross tool
   14237     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14238 $as_echo "pre-installed" >&6; }
   14239   fi
   14240 fi
   14241 
   14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
   14243 $as_echo_n "checking where to find the target gcj... " >&6; }
   14244 if test "x${build}" != "x${host}" ; then
   14245   if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
   14246     # We already found the complete path
   14247     ac_dir=`dirname $GCJ_FOR_TARGET`
   14248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14249 $as_echo "pre-installed in $ac_dir" >&6; }
   14250   else
   14251     # Canadian cross, just use what we found
   14252     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14253 $as_echo "pre-installed" >&6; }
   14254   fi
   14255 else
   14256   ok=yes
   14257   case " ${configdirs} " in
   14258     *" gcc "*) ;;
   14259     *) ok=no ;;
   14260   esac
   14261   case ,${enable_languages}, in
   14262     *,java,*) ;;
   14263     *) ok=no ;;
   14264   esac
   14265   if test $ok = yes; then
   14266     # An in-tree tool is available and we can use it
   14267     GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
   14268     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14269 $as_echo "just compiled" >&6; }
   14270   elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
   14271     # We already found the complete path
   14272     ac_dir=`dirname $GCJ_FOR_TARGET`
   14273     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14274 $as_echo "pre-installed in $ac_dir" >&6; }
   14275   elif test "x$target" = "x$host"; then
   14276     # We can use an host tool
   14277     GCJ_FOR_TARGET='$(GCJ)'
   14278     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14279 $as_echo "host tool" >&6; }
   14280   else
   14281     # We need a cross tool
   14282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14283 $as_echo "pre-installed" >&6; }
   14284   fi
   14285 fi
   14286 
   14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
   14288 $as_echo_n "checking where to find the target gfortran... " >&6; }
   14289 if test "x${build}" != "x${host}" ; then
   14290   if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14291     # We already found the complete path
   14292     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   14293     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14294 $as_echo "pre-installed in $ac_dir" >&6; }
   14295   else
   14296     # Canadian cross, just use what we found
   14297     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14298 $as_echo "pre-installed" >&6; }
   14299   fi
   14300 else
   14301   ok=yes
   14302   case " ${configdirs} " in
   14303     *" gcc "*) ;;
   14304     *) ok=no ;;
   14305   esac
   14306   case ,${enable_languages}, in
   14307     *,fortran,*) ;;
   14308     *) ok=no ;;
   14309   esac
   14310   if test $ok = yes; then
   14311     # An in-tree tool is available and we can use it
   14312     GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
   14313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14314 $as_echo "just compiled" >&6; }
   14315   elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14316     # We already found the complete path
   14317     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   14318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14319 $as_echo "pre-installed in $ac_dir" >&6; }
   14320   elif test "x$target" = "x$host"; then
   14321     # We can use an host tool
   14322     GFORTRAN_FOR_TARGET='$(GFORTRAN)'
   14323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14324 $as_echo "host tool" >&6; }
   14325   else
   14326     # We need a cross tool
   14327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14328 $as_echo "pre-installed" >&6; }
   14329   fi
   14330 fi
   14331 
   14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
   14333 $as_echo_n "checking where to find the target gccgo... " >&6; }
   14334 if test "x${build}" != "x${host}" ; then
   14335   if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14336     # We already found the complete path
   14337     ac_dir=`dirname $GOC_FOR_TARGET`
   14338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14339 $as_echo "pre-installed in $ac_dir" >&6; }
   14340   else
   14341     # Canadian cross, just use what we found
   14342     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14343 $as_echo "pre-installed" >&6; }
   14344   fi
   14345 else
   14346   ok=yes
   14347   case " ${configdirs} " in
   14348     *" gcc "*) ;;
   14349     *) ok=no ;;
   14350   esac
   14351   case ,${enable_languages}, in
   14352     *,go,*) ;;
   14353     *) ok=no ;;
   14354   esac
   14355   if test $ok = yes; then
   14356     # An in-tree tool is available and we can use it
   14357     GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
   14358     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14359 $as_echo "just compiled" >&6; }
   14360   elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14361     # We already found the complete path
   14362     ac_dir=`dirname $GOC_FOR_TARGET`
   14363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14364 $as_echo "pre-installed in $ac_dir" >&6; }
   14365   elif test "x$target" = "x$host"; then
   14366     # We can use an host tool
   14367     GOC_FOR_TARGET='$(GOC)'
   14368     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14369 $as_echo "host tool" >&6; }
   14370   else
   14371     # We need a cross tool
   14372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14373 $as_echo "pre-installed" >&6; }
   14374   fi
   14375 fi
   14376 
   14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
   14378 $as_echo_n "checking where to find the target ld... " >&6; }
   14379 if test "x${build}" != "x${host}" ; then
   14380   if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14381     # We already found the complete path
   14382     ac_dir=`dirname $LD_FOR_TARGET`
   14383     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14384 $as_echo "pre-installed in $ac_dir" >&6; }
   14385   else
   14386     # Canadian cross, just use what we found
   14387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14388 $as_echo "pre-installed" >&6; }
   14389   fi
   14390 else
   14391   ok=yes
   14392   case " ${configdirs} " in
   14393     *" ld "*) ;;
   14394     *) ok=no ;;
   14395   esac
   14396 
   14397   if test $ok = yes; then
   14398     # An in-tree tool is available and we can use it
   14399     LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
   14400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14401 $as_echo "just compiled" >&6; }
   14402   elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14403     # We already found the complete path
   14404     ac_dir=`dirname $LD_FOR_TARGET`
   14405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14406 $as_echo "pre-installed in $ac_dir" >&6; }
   14407   elif test "x$target" = "x$host"; then
   14408     # We can use an host tool
   14409     LD_FOR_TARGET='$(LD)'
   14410     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14411 $as_echo "host tool" >&6; }
   14412   else
   14413     # We need a cross tool
   14414     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14415 $as_echo "pre-installed" >&6; }
   14416   fi
   14417 fi
   14418 
   14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
   14420 $as_echo_n "checking where to find the target lipo... " >&6; }
   14421 if test "x${build}" != "x${host}" ; then
   14422   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14423     # We already found the complete path
   14424     ac_dir=`dirname $LIPO_FOR_TARGET`
   14425     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14426 $as_echo "pre-installed in $ac_dir" >&6; }
   14427   else
   14428     # Canadian cross, just use what we found
   14429     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14430 $as_echo "pre-installed" >&6; }
   14431   fi
   14432 else
   14433   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14434     # We already found the complete path
   14435     ac_dir=`dirname $LIPO_FOR_TARGET`
   14436     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14437 $as_echo "pre-installed in $ac_dir" >&6; }
   14438   elif test "x$target" = "x$host"; then
   14439     # We can use an host tool
   14440     LIPO_FOR_TARGET='$(LIPO)'
   14441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14442 $as_echo "host tool" >&6; }
   14443   else
   14444     # We need a cross tool
   14445     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14446 $as_echo "pre-installed" >&6; }
   14447   fi
   14448 fi
   14449 
   14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
   14451 $as_echo_n "checking where to find the target nm... " >&6; }
   14452 if test "x${build}" != "x${host}" ; then
   14453   if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14454     # We already found the complete path
   14455     ac_dir=`dirname $NM_FOR_TARGET`
   14456     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14457 $as_echo "pre-installed in $ac_dir" >&6; }
   14458   else
   14459     # Canadian cross, just use what we found
   14460     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14461 $as_echo "pre-installed" >&6; }
   14462   fi
   14463 else
   14464   ok=yes
   14465   case " ${configdirs} " in
   14466     *" binutils "*) ;;
   14467     *) ok=no ;;
   14468   esac
   14469 
   14470   if test $ok = yes; then
   14471     # An in-tree tool is available and we can use it
   14472     NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
   14473     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14474 $as_echo "just compiled" >&6; }
   14475   elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14476     # We already found the complete path
   14477     ac_dir=`dirname $NM_FOR_TARGET`
   14478     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14479 $as_echo "pre-installed in $ac_dir" >&6; }
   14480   elif test "x$target" = "x$host"; then
   14481     # We can use an host tool
   14482     NM_FOR_TARGET='$(NM)'
   14483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14484 $as_echo "host tool" >&6; }
   14485   else
   14486     # We need a cross tool
   14487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14488 $as_echo "pre-installed" >&6; }
   14489   fi
   14490 fi
   14491 
   14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objcopy" >&5
   14493 $as_echo_n "checking where to find the target objcopy... " >&6; }
   14494 if test "x${build}" != "x${host}" ; then
   14495   if expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14496     # We already found the complete path
   14497     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14498     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14499 $as_echo "pre-installed in $ac_dir" >&6; }
   14500   else
   14501     # Canadian cross, just use what we found
   14502     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14503 $as_echo "pre-installed" >&6; }
   14504   fi
   14505 else
   14506   ok=yes
   14507   case " ${configdirs} " in
   14508     *" binutils "*) ;;
   14509     *) ok=no ;;
   14510   esac
   14511 
   14512   if test $ok = yes; then
   14513     # An in-tree tool is available and we can use it
   14514     OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
   14515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14516 $as_echo "just compiled" >&6; }
   14517   elif expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14518     # We already found the complete path
   14519     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14520     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14521 $as_echo "pre-installed in $ac_dir" >&6; }
   14522   elif test "x$target" = "x$host"; then
   14523     # We can use an host tool
   14524     OBJCOPY_FOR_TARGET='$(OBJCOPY)'
   14525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14526 $as_echo "host tool" >&6; }
   14527   else
   14528     # We need a cross tool
   14529     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14530 $as_echo "pre-installed" >&6; }
   14531   fi
   14532 fi
   14533 
   14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
   14535 $as_echo_n "checking where to find the target objdump... " >&6; }
   14536 if test "x${build}" != "x${host}" ; then
   14537   if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14538     # We already found the complete path
   14539     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14541 $as_echo "pre-installed in $ac_dir" >&6; }
   14542   else
   14543     # Canadian cross, just use what we found
   14544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14545 $as_echo "pre-installed" >&6; }
   14546   fi
   14547 else
   14548   ok=yes
   14549   case " ${configdirs} " in
   14550     *" binutils "*) ;;
   14551     *) ok=no ;;
   14552   esac
   14553 
   14554   if test $ok = yes; then
   14555     # An in-tree tool is available and we can use it
   14556     OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
   14557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14558 $as_echo "just compiled" >&6; }
   14559   elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14560     # We already found the complete path
   14561     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14563 $as_echo "pre-installed in $ac_dir" >&6; }
   14564   elif test "x$target" = "x$host"; then
   14565     # We can use an host tool
   14566     OBJDUMP_FOR_TARGET='$(OBJDUMP)'
   14567     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14568 $as_echo "host tool" >&6; }
   14569   else
   14570     # We need a cross tool
   14571     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14572 $as_echo "pre-installed" >&6; }
   14573   fi
   14574 fi
   14575 
   14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
   14577 $as_echo_n "checking where to find the target ranlib... " >&6; }
   14578 if test "x${build}" != "x${host}" ; then
   14579   if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14580     # We already found the complete path
   14581     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14583 $as_echo "pre-installed in $ac_dir" >&6; }
   14584   else
   14585     # Canadian cross, just use what we found
   14586     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14587 $as_echo "pre-installed" >&6; }
   14588   fi
   14589 else
   14590   ok=yes
   14591   case " ${configdirs} " in
   14592     *" binutils "*) ;;
   14593     *) ok=no ;;
   14594   esac
   14595 
   14596   if test $ok = yes; then
   14597     # An in-tree tool is available and we can use it
   14598     RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
   14599     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14600 $as_echo "just compiled" >&6; }
   14601   elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14602     # We already found the complete path
   14603     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14604     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14605 $as_echo "pre-installed in $ac_dir" >&6; }
   14606   elif test "x$target" = "x$host"; then
   14607     # We can use an host tool
   14608     RANLIB_FOR_TARGET='$(RANLIB)'
   14609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14610 $as_echo "host tool" >&6; }
   14611   else
   14612     # We need a cross tool
   14613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14614 $as_echo "pre-installed" >&6; }
   14615   fi
   14616 fi
   14617 
   14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target readelf" >&5
   14619 $as_echo_n "checking where to find the target readelf... " >&6; }
   14620 if test "x${build}" != "x${host}" ; then
   14621   if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14622     # We already found the complete path
   14623     ac_dir=`dirname $READELF_FOR_TARGET`
   14624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14625 $as_echo "pre-installed in $ac_dir" >&6; }
   14626   else
   14627     # Canadian cross, just use what we found
   14628     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14629 $as_echo "pre-installed" >&6; }
   14630   fi
   14631 else
   14632   ok=yes
   14633   case " ${configdirs} " in
   14634     *" binutils "*) ;;
   14635     *) ok=no ;;
   14636   esac
   14637 
   14638   if test $ok = yes; then
   14639     # An in-tree tool is available and we can use it
   14640     READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
   14641     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14642 $as_echo "just compiled" >&6; }
   14643   elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14644     # We already found the complete path
   14645     ac_dir=`dirname $READELF_FOR_TARGET`
   14646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14647 $as_echo "pre-installed in $ac_dir" >&6; }
   14648   elif test "x$target" = "x$host"; then
   14649     # We can use an host tool
   14650     READELF_FOR_TARGET='$(READELF)'
   14651     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14652 $as_echo "host tool" >&6; }
   14653   else
   14654     # We need a cross tool
   14655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14656 $as_echo "pre-installed" >&6; }
   14657   fi
   14658 fi
   14659 
   14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
   14661 $as_echo_n "checking where to find the target strip... " >&6; }
   14662 if test "x${build}" != "x${host}" ; then
   14663   if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14664     # We already found the complete path
   14665     ac_dir=`dirname $STRIP_FOR_TARGET`
   14666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14667 $as_echo "pre-installed in $ac_dir" >&6; }
   14668   else
   14669     # Canadian cross, just use what we found
   14670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14671 $as_echo "pre-installed" >&6; }
   14672   fi
   14673 else
   14674   ok=yes
   14675   case " ${configdirs} " in
   14676     *" binutils "*) ;;
   14677     *) ok=no ;;
   14678   esac
   14679 
   14680   if test $ok = yes; then
   14681     # An in-tree tool is available and we can use it
   14682     STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
   14683     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14684 $as_echo "just compiled" >&6; }
   14685   elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14686     # We already found the complete path
   14687     ac_dir=`dirname $STRIP_FOR_TARGET`
   14688     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14689 $as_echo "pre-installed in $ac_dir" >&6; }
   14690   elif test "x$target" = "x$host"; then
   14691     # We can use an host tool
   14692     STRIP_FOR_TARGET='$(STRIP)'
   14693     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14694 $as_echo "host tool" >&6; }
   14695   else
   14696     # We need a cross tool
   14697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14698 $as_echo "pre-installed" >&6; }
   14699   fi
   14700 fi
   14701 
   14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
   14703 $as_echo_n "checking where to find the target windres... " >&6; }
   14704 if test "x${build}" != "x${host}" ; then
   14705   if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14706     # We already found the complete path
   14707     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14709 $as_echo "pre-installed in $ac_dir" >&6; }
   14710   else
   14711     # Canadian cross, just use what we found
   14712     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14713 $as_echo "pre-installed" >&6; }
   14714   fi
   14715 else
   14716   ok=yes
   14717   case " ${configdirs} " in
   14718     *" binutils "*) ;;
   14719     *) ok=no ;;
   14720   esac
   14721 
   14722   if test $ok = yes; then
   14723     # An in-tree tool is available and we can use it
   14724     WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
   14725     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14726 $as_echo "just compiled" >&6; }
   14727   elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14728     # We already found the complete path
   14729     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14731 $as_echo "pre-installed in $ac_dir" >&6; }
   14732   elif test "x$target" = "x$host"; then
   14733     # We can use an host tool
   14734     WINDRES_FOR_TARGET='$(WINDRES)'
   14735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14736 $as_echo "host tool" >&6; }
   14737   else
   14738     # We need a cross tool
   14739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14740 $as_echo "pre-installed" >&6; }
   14741   fi
   14742 fi
   14743 
   14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
   14745 $as_echo_n "checking where to find the target windmc... " >&6; }
   14746 if test "x${build}" != "x${host}" ; then
   14747   if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14748     # We already found the complete path
   14749     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14751 $as_echo "pre-installed in $ac_dir" >&6; }
   14752   else
   14753     # Canadian cross, just use what we found
   14754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14755 $as_echo "pre-installed" >&6; }
   14756   fi
   14757 else
   14758   ok=yes
   14759   case " ${configdirs} " in
   14760     *" binutils "*) ;;
   14761     *) ok=no ;;
   14762   esac
   14763 
   14764   if test $ok = yes; then
   14765     # An in-tree tool is available and we can use it
   14766     WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
   14767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14768 $as_echo "just compiled" >&6; }
   14769   elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14770     # We already found the complete path
   14771     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14773 $as_echo "pre-installed in $ac_dir" >&6; }
   14774   elif test "x$target" = "x$host"; then
   14775     # We can use an host tool
   14776     WINDMC_FOR_TARGET='$(WINDMC)'
   14777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14778 $as_echo "host tool" >&6; }
   14779   else
   14780     # We need a cross tool
   14781     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14782 $as_echo "pre-installed" >&6; }
   14783   fi
   14784 fi
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 # Certain tools may need extra flags.
   14791 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
   14792 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
   14793 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
   14794 
   14795 # When building target libraries, except in a Canadian cross, we use
   14796 # the same toolchain as the compiler we just built.
   14797 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
   14798 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
   14799 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
   14800 if test $host = $build; then
   14801   case " $configdirs " in
   14802     *" gcc "*)
   14803       COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
   14804       COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
   14805       COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
   14806       ;;
   14807   esac
   14808 fi
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   14815 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   14816 # Check whether --enable-maintainer-mode was given.
   14817 if test "${enable_maintainer_mode+set}" = set; then :
   14818   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   14819 else
   14820   USE_MAINTAINER_MODE=no
   14821 fi
   14822 
   14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   14824 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   14825 
   14826 
   14827 if test "$USE_MAINTAINER_MODE" = yes; then
   14828   MAINTAINER_MODE_TRUE=
   14829   MAINTAINER_MODE_FALSE='#'
   14830 else
   14831   MAINTAINER_MODE_TRUE='#'
   14832   MAINTAINER_MODE_FALSE=
   14833 fi
   14834 MAINT=$MAINTAINER_MODE_TRUE
   14835 
   14836 # ---------------------
   14837 # GCC bootstrap support
   14838 # ---------------------
   14839 
   14840 # Stage specific cflags for build.
   14841 stage1_cflags="-g"
   14842 case $build in
   14843   vax-*-*)
   14844     case ${GCC} in
   14845       yes) stage1_cflags="-g -Wa,-J" ;;
   14846       *) stage1_cflags="-g -J" ;;
   14847     esac ;;
   14848 esac
   14849 
   14850 
   14851 
   14852 # Enable --enable-checking in stage1 of the compiler.
   14853 # Check whether --enable-stage1-checking was given.
   14854 if test "${enable_stage1_checking+set}" = set; then :
   14855   enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
   14856 else
   14857   if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
   14858   # For --disable-checking or implicit --enable-checking=release, avoid
   14859   # setting --enable-checking=gc in the default stage1 checking for LTO
   14860   # bootstraps.  See PR62077.
   14861   stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types
   14862   case $BUILD_CONFIG in
   14863     *lto*)
   14864       if test "x$enable_checking" = x && \
   14865 	 test -d ${srcdir}/gcc && \
   14866 	 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
   14867 	stage1_checking=--enable-checking=yes,types
   14868       fi;;
   14869     *) stage1_checking=--enable-checking=yes,types;;
   14870   esac
   14871 else
   14872   stage1_checking=--enable-checking=$enable_checking,types
   14873 fi
   14874 fi
   14875 
   14876 
   14877 
   14878 # Enable -Werror in bootstrap stage2 and later.
   14879 # Check whether --enable-werror was given.
   14880 if test "${enable_werror+set}" = set; then :
   14881   enableval=$enable_werror;
   14882 else
   14883   if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
   14884   enable_werror=yes
   14885 else
   14886   enable_werror=no
   14887 fi
   14888 fi
   14889 
   14890 case ${enable_werror} in
   14891   yes) stage2_werror_flag="--enable-werror-always" ;;
   14892   *) stage2_werror_flag="" ;;
   14893 esac
   14894 
   14895 
   14896 # Enable --enable-host-shared.
   14897 # Check whether --enable-host-shared was given.
   14898 if test "${enable_host_shared+set}" = set; then :
   14899   enableval=$enable_host_shared; host_shared=$enableval
   14900 else
   14901   host_shared=no
   14902 fi
   14903 
   14904 
   14905 
   14906 # PR jit/64780: Require the user to explicitly specify
   14907 # --enable-host-shared if the jit is enabled, hinting
   14908 # that they might want to do a separate configure/build of
   14909 # the jit, to avoid users from slowing down the rest of the
   14910 # compiler by enabling the jit.
   14911 if test ${host_shared} = "no" ; then
   14912   case "${enable_languages}" in
   14913     *jit*)
   14914       as_fn_error "
   14915 Enabling language \"jit\" requires --enable-host-shared.
   14916 
   14917 --enable-host-shared typically slows the rest of the compiler down by
   14918 a few %, so you must explicitly enable it.
   14919 
   14920 If you want to build both the jit and the regular compiler, it is often
   14921 best to do this via two separate configure/builds, in separate
   14922 directories, to avoid imposing the performance cost of
   14923 --enable-host-shared on the regular compiler." "$LINENO" 5
   14924       ;;
   14925     *)
   14926       ;;
   14927   esac
   14928 fi
   14929 
   14930 # Specify what files to not compare during bootstrap.
   14931 
   14932 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
   14933 case "$target" in
   14934   hppa*64*-*-hpux*) ;;
   14935   hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
   14936   powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
   14937 esac
   14938 
   14939 
   14940 ac_config_files="$ac_config_files Makefile"
   14941 
   14942 cat >confcache <<\_ACEOF
   14943 # This file is a shell script that caches the results of configure
   14944 # tests run on this system so they can be shared between configure
   14945 # scripts and configure runs, see configure's option --config-cache.
   14946 # It is not useful on other systems.  If it contains results you don't
   14947 # want to keep, you may remove or edit it.
   14948 #
   14949 # config.status only pays attention to the cache file if you give it
   14950 # the --recheck option to rerun configure.
   14951 #
   14952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14954 # following values.
   14955 
   14956 _ACEOF
   14957 
   14958 # The following way of writing the cache mishandles newlines in values,
   14959 # but we know of no workaround that is simple, portable, and efficient.
   14960 # So, we kill variables containing newlines.
   14961 # Ultrix sh set writes to stderr and can't be redirected directly,
   14962 # and sets the high bit in the cache file unless we assign to the vars.
   14963 (
   14964   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14965     eval ac_val=\$$ac_var
   14966     case $ac_val in #(
   14967     *${as_nl}*)
   14968       case $ac_var in #(
   14969       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14971       esac
   14972       case $ac_var in #(
   14973       _ | IFS | as_nl) ;; #(
   14974       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14975       *) { eval $ac_var=; unset $ac_var;} ;;
   14976       esac ;;
   14977     esac
   14978   done
   14979 
   14980   (set) 2>&1 |
   14981     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14982     *${as_nl}ac_space=\ *)
   14983       # `set' does not quote correctly, so add quotes: double-quote
   14984       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14985       sed -n \
   14986 	"s/'/'\\\\''/g;
   14987 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14988       ;; #(
   14989     *)
   14990       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14991       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14992       ;;
   14993     esac |
   14994     sort
   14995 ) |
   14996   sed '
   14997      /^ac_cv_env_/b end
   14998      t clear
   14999      :clear
   15000      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15001      t end
   15002      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15003      :end' >>confcache
   15004 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15005   if test -w "$cache_file"; then
   15006     test "x$cache_file" != "x/dev/null" &&
   15007       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15008 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15009     cat confcache >$cache_file
   15010   else
   15011     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15012 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15013   fi
   15014 fi
   15015 rm -f confcache
   15016 
   15017 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15018 # Let make expand exec_prefix.
   15019 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15020 
   15021 # Transform confdefs.h into DEFS.
   15022 # Protect against shell expansion while executing Makefile rules.
   15023 # Protect against Makefile macro expansion.
   15024 #
   15025 # If the first sed substitution is executed (which looks for macros that
   15026 # take arguments), then branch to the quote section.  Otherwise,
   15027 # look for a macro that doesn't take arguments.
   15028 ac_script='
   15029 :mline
   15030 /\\$/{
   15031  N
   15032  s,\\\n,,
   15033  b mline
   15034 }
   15035 t clear
   15036 :clear
   15037 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   15038 t quote
   15039 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   15040 t quote
   15041 b any
   15042 :quote
   15043 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   15044 s/\[/\\&/g
   15045 s/\]/\\&/g
   15046 s/\$/$$/g
   15047 H
   15048 :any
   15049 ${
   15050 	g
   15051 	s/^\n//
   15052 	s/\n/ /g
   15053 	p
   15054 }
   15055 '
   15056 DEFS=`sed -n "$ac_script" confdefs.h`
   15057 
   15058 
   15059 ac_libobjs=
   15060 ac_ltlibobjs=
   15061 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15062   # 1. Remove the extension, and $U if already installed.
   15063   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15064   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15065   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15066   #    will be set to the directory where LIBOBJS objects are built.
   15067   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15068   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15069 done
   15070 LIBOBJS=$ac_libobjs
   15071 
   15072 LTLIBOBJS=$ac_ltlibobjs
   15073 
   15074 
   15075 
   15076 : ${CONFIG_STATUS=./config.status}
   15077 ac_write_fail=0
   15078 ac_clean_files_save=$ac_clean_files
   15079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15081 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15082 as_write_fail=0
   15083 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15084 #! $SHELL
   15085 # Generated by $as_me.
   15086 # Run this file to recreate the current configuration.
   15087 # Compiler output produced by configure, useful for debugging
   15088 # configure, is in config.log if it exists.
   15089 
   15090 debug=false
   15091 ac_cs_recheck=false
   15092 ac_cs_silent=false
   15093 
   15094 SHELL=\${CONFIG_SHELL-$SHELL}
   15095 export SHELL
   15096 _ASEOF
   15097 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15098 ## -------------------- ##
   15099 ## M4sh Initialization. ##
   15100 ## -------------------- ##
   15101 
   15102 # Be more Bourne compatible
   15103 DUALCASE=1; export DUALCASE # for MKS sh
   15104 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15105   emulate sh
   15106   NULLCMD=:
   15107   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15108   # is contrary to our usage.  Disable this feature.
   15109   alias -g '${1+"$@"}'='"$@"'
   15110   setopt NO_GLOB_SUBST
   15111 else
   15112   case `(set -o) 2>/dev/null` in #(
   15113   *posix*) :
   15114     set -o posix ;; #(
   15115   *) :
   15116      ;;
   15117 esac
   15118 fi
   15119 
   15120 
   15121 as_nl='
   15122 '
   15123 export as_nl
   15124 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15125 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15126 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15127 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15128 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15129 # but without wasting forks for bash or zsh.
   15130 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15131     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15132   as_echo='print -r --'
   15133   as_echo_n='print -rn --'
   15134 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15135   as_echo='printf %s\n'
   15136   as_echo_n='printf %s'
   15137 else
   15138   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15139     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15140     as_echo_n='/usr/ucb/echo -n'
   15141   else
   15142     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15143     as_echo_n_body='eval
   15144       arg=$1;
   15145       case $arg in #(
   15146       *"$as_nl"*)
   15147 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15148 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15149       esac;
   15150       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15151     '
   15152     export as_echo_n_body
   15153     as_echo_n='sh -c $as_echo_n_body as_echo'
   15154   fi
   15155   export as_echo_body
   15156   as_echo='sh -c $as_echo_body as_echo'
   15157 fi
   15158 
   15159 # The user is always right.
   15160 if test "${PATH_SEPARATOR+set}" != set; then
   15161   PATH_SEPARATOR=:
   15162   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15163     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15164       PATH_SEPARATOR=';'
   15165   }
   15166 fi
   15167 
   15168 
   15169 # IFS
   15170 # We need space, tab and new line, in precisely that order.  Quoting is
   15171 # there to prevent editors from complaining about space-tab.
   15172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15173 # splitting by setting IFS to empty value.)
   15174 IFS=" ""	$as_nl"
   15175 
   15176 # Find who we are.  Look in the path if we contain no directory separator.
   15177 case $0 in #((
   15178   *[\\/]* ) as_myself=$0 ;;
   15179   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15180 for as_dir in $PATH
   15181 do
   15182   IFS=$as_save_IFS
   15183   test -z "$as_dir" && as_dir=.
   15184     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15185   done
   15186 IFS=$as_save_IFS
   15187 
   15188      ;;
   15189 esac
   15190 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15191 # in which case we are not to be found in the path.
   15192 if test "x$as_myself" = x; then
   15193   as_myself=$0
   15194 fi
   15195 if test ! -f "$as_myself"; then
   15196   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15197   exit 1
   15198 fi
   15199 
   15200 # Unset variables that we do not need and which cause bugs (e.g. in
   15201 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15202 # suppresses any "Segmentation fault" message there.  '((' could
   15203 # trigger a bug in pdksh 5.2.14.
   15204 for as_var in BASH_ENV ENV MAIL MAILPATH
   15205 do eval test x\${$as_var+set} = xset \
   15206   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15207 done
   15208 PS1='$ '
   15209 PS2='> '
   15210 PS4='+ '
   15211 
   15212 # NLS nuisances.
   15213 LC_ALL=C
   15214 export LC_ALL
   15215 LANGUAGE=C
   15216 export LANGUAGE
   15217 
   15218 # CDPATH.
   15219 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15220 
   15221 
   15222 # as_fn_error ERROR [LINENO LOG_FD]
   15223 # ---------------------------------
   15224 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15225 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15226 # script with status $?, using 1 if that was 0.
   15227 as_fn_error ()
   15228 {
   15229   as_status=$?; test $as_status -eq 0 && as_status=1
   15230   if test "$3"; then
   15231     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15232     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   15233   fi
   15234   $as_echo "$as_me: error: $1" >&2
   15235   as_fn_exit $as_status
   15236 } # as_fn_error
   15237 
   15238 
   15239 # as_fn_set_status STATUS
   15240 # -----------------------
   15241 # Set $? to STATUS, without forking.
   15242 as_fn_set_status ()
   15243 {
   15244   return $1
   15245 } # as_fn_set_status
   15246 
   15247 # as_fn_exit STATUS
   15248 # -----------------
   15249 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15250 as_fn_exit ()
   15251 {
   15252   set +e
   15253   as_fn_set_status $1
   15254   exit $1
   15255 } # as_fn_exit
   15256 
   15257 # as_fn_unset VAR
   15258 # ---------------
   15259 # Portably unset VAR.
   15260 as_fn_unset ()
   15261 {
   15262   { eval $1=; unset $1;}
   15263 }
   15264 as_unset=as_fn_unset
   15265 # as_fn_append VAR VALUE
   15266 # ----------------------
   15267 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15268 # advantage of any shell optimizations that allow amortized linear growth over
   15269 # repeated appends, instead of the typical quadratic growth present in naive
   15270 # implementations.
   15271 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15272   eval 'as_fn_append ()
   15273   {
   15274     eval $1+=\$2
   15275   }'
   15276 else
   15277   as_fn_append ()
   15278   {
   15279     eval $1=\$$1\$2
   15280   }
   15281 fi # as_fn_append
   15282 
   15283 # as_fn_arith ARG...
   15284 # ------------------
   15285 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15286 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15287 # must be portable across $(()) and expr.
   15288 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15289   eval 'as_fn_arith ()
   15290   {
   15291     as_val=$(( $* ))
   15292   }'
   15293 else
   15294   as_fn_arith ()
   15295   {
   15296     as_val=`expr "$@" || test $? -eq 1`
   15297   }
   15298 fi # as_fn_arith
   15299 
   15300 
   15301 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15302    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15303   as_expr=expr
   15304 else
   15305   as_expr=false
   15306 fi
   15307 
   15308 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15309   as_basename=basename
   15310 else
   15311   as_basename=false
   15312 fi
   15313 
   15314 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15315   as_dirname=dirname
   15316 else
   15317   as_dirname=false
   15318 fi
   15319 
   15320 as_me=`$as_basename -- "$0" ||
   15321 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15322 	 X"$0" : 'X\(//\)$' \| \
   15323 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15324 $as_echo X/"$0" |
   15325     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15326 	    s//\1/
   15327 	    q
   15328 	  }
   15329 	  /^X\/\(\/\/\)$/{
   15330 	    s//\1/
   15331 	    q
   15332 	  }
   15333 	  /^X\/\(\/\).*/{
   15334 	    s//\1/
   15335 	    q
   15336 	  }
   15337 	  s/.*/./; q'`
   15338 
   15339 # Avoid depending upon Character Ranges.
   15340 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15341 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15342 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15343 as_cr_digits='0123456789'
   15344 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15345 
   15346 ECHO_C= ECHO_N= ECHO_T=
   15347 case `echo -n x` in #(((((
   15348 -n*)
   15349   case `echo 'xy\c'` in
   15350   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15351   xy)  ECHO_C='\c';;
   15352   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15353        ECHO_T='	';;
   15354   esac;;
   15355 *)
   15356   ECHO_N='-n';;
   15357 esac
   15358 
   15359 rm -f conf$$ conf$$.exe conf$$.file
   15360 if test -d conf$$.dir; then
   15361   rm -f conf$$.dir/conf$$.file
   15362 else
   15363   rm -f conf$$.dir
   15364   mkdir conf$$.dir 2>/dev/null
   15365 fi
   15366 if (echo >conf$$.file) 2>/dev/null; then
   15367   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15368     as_ln_s='ln -s'
   15369     # ... but there are two gotchas:
   15370     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15371     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15372     # In both cases, we have to default to `cp -p'.
   15373     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15374       as_ln_s='cp -p'
   15375   elif ln conf$$.file conf$$ 2>/dev/null; then
   15376     as_ln_s=ln
   15377   else
   15378     as_ln_s='cp -p'
   15379   fi
   15380 else
   15381   as_ln_s='cp -p'
   15382 fi
   15383 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15384 rmdir conf$$.dir 2>/dev/null
   15385 
   15386 
   15387 # as_fn_mkdir_p
   15388 # -------------
   15389 # Create "$as_dir" as a directory, including parents if necessary.
   15390 as_fn_mkdir_p ()
   15391 {
   15392 
   15393   case $as_dir in #(
   15394   -*) as_dir=./$as_dir;;
   15395   esac
   15396   test -d "$as_dir" || eval $as_mkdir_p || {
   15397     as_dirs=
   15398     while :; do
   15399       case $as_dir in #(
   15400       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15401       *) as_qdir=$as_dir;;
   15402       esac
   15403       as_dirs="'$as_qdir' $as_dirs"
   15404       as_dir=`$as_dirname -- "$as_dir" ||
   15405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15406 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15407 	 X"$as_dir" : 'X\(//\)$' \| \
   15408 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15409 $as_echo X"$as_dir" |
   15410     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15411 	    s//\1/
   15412 	    q
   15413 	  }
   15414 	  /^X\(\/\/\)[^/].*/{
   15415 	    s//\1/
   15416 	    q
   15417 	  }
   15418 	  /^X\(\/\/\)$/{
   15419 	    s//\1/
   15420 	    q
   15421 	  }
   15422 	  /^X\(\/\).*/{
   15423 	    s//\1/
   15424 	    q
   15425 	  }
   15426 	  s/.*/./; q'`
   15427       test -d "$as_dir" && break
   15428     done
   15429     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15430   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   15431 
   15432 
   15433 } # as_fn_mkdir_p
   15434 if mkdir -p . 2>/dev/null; then
   15435   as_mkdir_p='mkdir -p "$as_dir"'
   15436 else
   15437   test -d ./-p && rmdir ./-p
   15438   as_mkdir_p=false
   15439 fi
   15440 
   15441 if test -x / >/dev/null 2>&1; then
   15442   as_test_x='test -x'
   15443 else
   15444   if ls -dL / >/dev/null 2>&1; then
   15445     as_ls_L_option=L
   15446   else
   15447     as_ls_L_option=
   15448   fi
   15449   as_test_x='
   15450     eval sh -c '\''
   15451       if test -d "$1"; then
   15452 	test -d "$1/.";
   15453       else
   15454 	case $1 in #(
   15455 	-*)set "./$1";;
   15456 	esac;
   15457 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   15458 	???[sx]*):;;*)false;;esac;fi
   15459     '\'' sh
   15460   '
   15461 fi
   15462 as_executable_p=$as_test_x
   15463 
   15464 # Sed expression to map a string onto a valid CPP name.
   15465 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15466 
   15467 # Sed expression to map a string onto a valid variable name.
   15468 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15469 
   15470 
   15471 exec 6>&1
   15472 ## ----------------------------------- ##
   15473 ## Main body of $CONFIG_STATUS script. ##
   15474 ## ----------------------------------- ##
   15475 _ASEOF
   15476 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15477 
   15478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15479 # Save the log message, to keep $0 and so on meaningful, and to
   15480 # report actual input values of CONFIG_FILES etc. instead of their
   15481 # values after options handling.
   15482 ac_log="
   15483 This file was extended by $as_me, which was
   15484 generated by GNU Autoconf 2.64.  Invocation command line was
   15485 
   15486   CONFIG_FILES    = $CONFIG_FILES
   15487   CONFIG_HEADERS  = $CONFIG_HEADERS
   15488   CONFIG_LINKS    = $CONFIG_LINKS
   15489   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15490   $ $0 $@
   15491 
   15492 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15493 "
   15494 
   15495 _ACEOF
   15496 
   15497 case $ac_config_files in *"
   15498 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15499 esac
   15500 
   15501 
   15502 
   15503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15504 # Files that config.status was made for.
   15505 config_files="$ac_config_files"
   15506 
   15507 _ACEOF
   15508 
   15509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15510 ac_cs_usage="\
   15511 \`$as_me' instantiates files and other configuration actions
   15512 from templates according to the current configuration.  Unless the files
   15513 and actions are specified as TAGs, all are instantiated by default.
   15514 
   15515 Usage: $0 [OPTION]... [TAG]...
   15516 
   15517   -h, --help       print this help, then exit
   15518   -V, --version    print version number and configuration settings, then exit
   15519   -q, --quiet, --silent
   15520                    do not print progress messages
   15521   -d, --debug      don't remove temporary files
   15522       --recheck    update $as_me by reconfiguring in the same conditions
   15523       --file=FILE[:TEMPLATE]
   15524                    instantiate the configuration file FILE
   15525 
   15526 Configuration files:
   15527 $config_files
   15528 
   15529 Report bugs to the package provider."
   15530 
   15531 _ACEOF
   15532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15533 ac_cs_version="\\
   15534 config.status
   15535 configured by $0, generated by GNU Autoconf 2.64,
   15536   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   15537 
   15538 Copyright (C) 2009 Free Software Foundation, Inc.
   15539 This config.status script is free software; the Free Software Foundation
   15540 gives unlimited permission to copy, distribute and modify it."
   15541 
   15542 ac_pwd='$ac_pwd'
   15543 srcdir='$srcdir'
   15544 INSTALL='$INSTALL'
   15545 AWK='$AWK'
   15546 test -n "\$AWK" || AWK=awk
   15547 _ACEOF
   15548 
   15549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15550 # The default lists apply if the user does not specify any file.
   15551 ac_need_defaults=:
   15552 while test $# != 0
   15553 do
   15554   case $1 in
   15555   --*=*)
   15556     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15557     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15558     ac_shift=:
   15559     ;;
   15560   *)
   15561     ac_option=$1
   15562     ac_optarg=$2
   15563     ac_shift=shift
   15564     ;;
   15565   esac
   15566 
   15567   case $ac_option in
   15568   # Handling of the options.
   15569   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15570     ac_cs_recheck=: ;;
   15571   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15572     $as_echo "$ac_cs_version"; exit ;;
   15573   --debug | --debu | --deb | --de | --d | -d )
   15574     debug=: ;;
   15575   --file | --fil | --fi | --f )
   15576     $ac_shift
   15577     case $ac_optarg in
   15578     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15579     esac
   15580     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15581     ac_need_defaults=false;;
   15582   --he | --h |  --help | --hel | -h )
   15583     $as_echo "$ac_cs_usage"; exit ;;
   15584   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15585   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15586     ac_cs_silent=: ;;
   15587 
   15588   # This is an error.
   15589   -*) as_fn_error "unrecognized option: \`$1'
   15590 Try \`$0 --help' for more information." ;;
   15591 
   15592   *) as_fn_append ac_config_targets " $1"
   15593      ac_need_defaults=false ;;
   15594 
   15595   esac
   15596   shift
   15597 done
   15598 
   15599 ac_configure_extra_args=
   15600 
   15601 if $ac_cs_silent; then
   15602   exec 6>/dev/null
   15603   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15604 fi
   15605 
   15606 _ACEOF
   15607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15608 if \$ac_cs_recheck; then
   15609   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15610   shift
   15611   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15612   CONFIG_SHELL='$SHELL'
   15613   export CONFIG_SHELL
   15614   exec "\$@"
   15615 fi
   15616 
   15617 _ACEOF
   15618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15619 exec 5>>config.log
   15620 {
   15621   echo
   15622   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15623 ## Running $as_me. ##
   15624 _ASBOX
   15625   $as_echo "$ac_log"
   15626 } >&5
   15627 
   15628 _ACEOF
   15629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15630 #
   15631 # INIT-COMMANDS
   15632 #
   15633 extrasub_build="$extrasub_build"
   15634    extrasub_host="$extrasub_host"
   15635    extrasub_target="$extrasub_target"
   15636 
   15637 _ACEOF
   15638 
   15639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15640 
   15641 # Handling of arguments.
   15642 for ac_config_target in $ac_config_targets
   15643 do
   15644   case $ac_config_target in
   15645     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15646 
   15647   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15648   esac
   15649 done
   15650 
   15651 
   15652 # If the user did not use the arguments to specify the items to instantiate,
   15653 # then the envvar interface is used.  Set only those that are not.
   15654 # We use the long form for the default assignment because of an extremely
   15655 # bizarre bug on SunOS 4.1.3.
   15656 if $ac_need_defaults; then
   15657   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15658 fi
   15659 
   15660 # Have a temporary directory for convenience.  Make it in the build tree
   15661 # simply because there is no reason against having it here, and in addition,
   15662 # creating and moving files from /tmp can sometimes cause problems.
   15663 # Hook for its removal unless debugging.
   15664 # Note that there is a small window in which the directory will not be cleaned:
   15665 # after its creation but before its name has been assigned to `$tmp'.
   15666 $debug ||
   15667 {
   15668   tmp=
   15669   trap 'exit_status=$?
   15670   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   15671 ' 0
   15672   trap 'as_fn_exit 1' 1 2 13 15
   15673 }
   15674 # Create a (secure) tmp directory for tmp files.
   15675 
   15676 {
   15677   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15678   test -n "$tmp" && test -d "$tmp"
   15679 }  ||
   15680 {
   15681   tmp=./conf$$-$RANDOM
   15682   (umask 077 && mkdir "$tmp")
   15683 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   15684 
   15685 # Set up the scripts for CONFIG_FILES section.
   15686 # No need to generate them if there are no CONFIG_FILES.
   15687 # This happens for instance with `./config.status config.h'.
   15688 if test -n "$CONFIG_FILES"; then
   15689 
   15690 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   15691   ac_cs_awk_getline=:
   15692   ac_cs_awk_pipe_init=
   15693   ac_cs_awk_read_file='
   15694       while ((getline aline < (F[key])) > 0)
   15695 	print(aline)
   15696       close(F[key])'
   15697   ac_cs_awk_pipe_fini=
   15698 else
   15699   ac_cs_awk_getline=false
   15700   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   15701   ac_cs_awk_read_file='
   15702       print "|#_!!_#|"
   15703       print "cat " F[key] " &&"
   15704       '$ac_cs_awk_pipe_init
   15705   # The final `:' finishes the AND list.
   15706   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   15707 fi
   15708 ac_cr=`echo X | tr X '\015'`
   15709 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15710 # But we know of no other shell where ac_cr would be empty at this
   15711 # point, so we can use a bashism as a fallback.
   15712 if test "x$ac_cr" = x; then
   15713   eval ac_cr=\$\'\\r\'
   15714 fi
   15715 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15716 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15717   ac_cs_awk_cr='\r'
   15718 else
   15719   ac_cs_awk_cr=$ac_cr
   15720 fi
   15721 
   15722 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   15723 _ACEOF
   15724 
   15725 # Create commands to substitute file output variables.
   15726 {
   15727   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   15728   echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
   15729   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   15730   echo "_ACAWK" &&
   15731   echo "_ACEOF"
   15732 } >conf$$files.sh &&
   15733 . ./conf$$files.sh ||
   15734   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15735 rm -f conf$$files.sh
   15736 
   15737 {
   15738   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15739   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15740   echo "_ACEOF"
   15741 } >conf$$subs.sh ||
   15742   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   15744 ac_delim='%!_!# '
   15745 for ac_last_try in false false false false false :; do
   15746   . ./conf$$subs.sh ||
   15747     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15748 
   15749   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15750   if test $ac_delim_n = $ac_delim_num; then
   15751     break
   15752   elif $ac_last_try; then
   15753     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15754   else
   15755     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15756   fi
   15757 done
   15758 rm -f conf$$subs.sh
   15759 
   15760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15761 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   15762 _ACEOF
   15763 sed -n '
   15764 h
   15765 s/^/S["/; s/!.*/"]=/
   15766 p
   15767 g
   15768 s/^[^!]*!//
   15769 :repl
   15770 t repl
   15771 s/'"$ac_delim"'$//
   15772 t delim
   15773 :nl
   15774 h
   15775 s/\(.\{148\}\).*/\1/
   15776 t more1
   15777 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15778 p
   15779 n
   15780 b repl
   15781 :more1
   15782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15783 p
   15784 g
   15785 s/.\{148\}//
   15786 t nl
   15787 :delim
   15788 h
   15789 s/\(.\{148\}\).*/\1/
   15790 t more2
   15791 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15792 p
   15793 b
   15794 :more2
   15795 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15796 p
   15797 g
   15798 s/.\{148\}//
   15799 t delim
   15800 ' <conf$$subs.awk | sed '
   15801 /^[^""]/{
   15802   N
   15803   s/\n//
   15804 }
   15805 ' >>$CONFIG_STATUS || ac_write_fail=1
   15806 rm -f conf$$subs.awk
   15807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15808 _ACAWK
   15809 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   15810   for (key in S) S_is_set[key] = 1
   15811   FS = ""
   15812   \$ac_cs_awk_pipe_init
   15813 }
   15814 {
   15815   line = $ 0
   15816   nfields = split(line, field, "@")
   15817   substed = 0
   15818   len = length(field[1])
   15819   for (i = 2; i < nfields; i++) {
   15820     key = field[i]
   15821     keylen = length(key)
   15822     if (S_is_set[key]) {
   15823       value = S[key]
   15824       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15825       len += length(value) + length(field[++i])
   15826       substed = 1
   15827     } else
   15828       len += 1 + keylen
   15829   }
   15830   if (nfields == 3 && !substed) {
   15831     key = field[2]
   15832     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   15833       \$ac_cs_awk_read_file
   15834       next
   15835     }
   15836   }
   15837   print line
   15838 }
   15839 \$ac_cs_awk_pipe_fini
   15840 _ACAWK
   15841 _ACEOF
   15842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15843 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15844   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15845 else
   15846   cat
   15847 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   15848   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   15849 _ACEOF
   15850 
   15851 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   15852 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   15853 # trailing colons and then remove the whole line if VPATH becomes empty
   15854 # (actually we leave an empty line to preserve line numbers).
   15855 if test "x$srcdir" = x.; then
   15856   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   15857 s/:*\$(srcdir):*/:/
   15858 s/:*\${srcdir}:*/:/
   15859 s/:*@srcdir@:*/:/
   15860 s/^\([^=]*=[	 ]*\):*/\1/
   15861 s/:*$//
   15862 s/^[^=]*=[	 ]*$//
   15863 }'
   15864 fi
   15865 
   15866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15867 fi # test -n "$CONFIG_FILES"
   15868 
   15869 
   15870 eval set X "  :F $CONFIG_FILES      "
   15871 shift
   15872 for ac_tag
   15873 do
   15874   case $ac_tag in
   15875   :[FHLC]) ac_mode=$ac_tag; continue;;
   15876   esac
   15877   case $ac_mode$ac_tag in
   15878   :[FHL]*:*);;
   15879   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15880   :[FH]-) ac_tag=-:-;;
   15881   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15882   esac
   15883   ac_save_IFS=$IFS
   15884   IFS=:
   15885   set x $ac_tag
   15886   IFS=$ac_save_IFS
   15887   shift
   15888   ac_file=$1
   15889   shift
   15890 
   15891   case $ac_mode in
   15892   :L) ac_source=$1;;
   15893   :[FH])
   15894     ac_file_inputs=
   15895     for ac_f
   15896     do
   15897       case $ac_f in
   15898       -) ac_f="$tmp/stdin";;
   15899       *) # Look for the file first in the build tree, then in the source tree
   15900 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15901 	 # because $ac_f cannot contain `:'.
   15902 	 test -f "$ac_f" ||
   15903 	   case $ac_f in
   15904 	   [\\/$]*) false;;
   15905 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15906 	   esac ||
   15907 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15908       esac
   15909       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15910       as_fn_append ac_file_inputs " '$ac_f'"
   15911     done
   15912 
   15913     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15914     # use $as_me), people would be surprised to read:
   15915     #    /* config.h.  Generated by config.status.  */
   15916     configure_input='Generated from '`
   15917 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15918 	`' by configure.'
   15919     if test x"$ac_file" != x-; then
   15920       configure_input="$ac_file.  $configure_input"
   15921       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15922 $as_echo "$as_me: creating $ac_file" >&6;}
   15923     fi
   15924     # Neutralize special characters interpreted by sed in replacement strings.
   15925     case $configure_input in #(
   15926     *\&* | *\|* | *\\* )
   15927        ac_sed_conf_input=`$as_echo "$configure_input" |
   15928        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15929     *) ac_sed_conf_input=$configure_input;;
   15930     esac
   15931 
   15932     case $ac_tag in
   15933     *:-:* | *:-) cat >"$tmp/stdin" \
   15934       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   15935     esac
   15936     ;;
   15937   esac
   15938 
   15939   ac_dir=`$as_dirname -- "$ac_file" ||
   15940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15941 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15942 	 X"$ac_file" : 'X\(//\)$' \| \
   15943 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15944 $as_echo X"$ac_file" |
   15945     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15946 	    s//\1/
   15947 	    q
   15948 	  }
   15949 	  /^X\(\/\/\)[^/].*/{
   15950 	    s//\1/
   15951 	    q
   15952 	  }
   15953 	  /^X\(\/\/\)$/{
   15954 	    s//\1/
   15955 	    q
   15956 	  }
   15957 	  /^X\(\/\).*/{
   15958 	    s//\1/
   15959 	    q
   15960 	  }
   15961 	  s/.*/./; q'`
   15962   as_dir="$ac_dir"; as_fn_mkdir_p
   15963   ac_builddir=.
   15964 
   15965 case "$ac_dir" in
   15966 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15967 *)
   15968   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15969   # A ".." for each directory in $ac_dir_suffix.
   15970   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15971   case $ac_top_builddir_sub in
   15972   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15973   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15974   esac ;;
   15975 esac
   15976 ac_abs_top_builddir=$ac_pwd
   15977 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15978 # for backward compatibility:
   15979 ac_top_builddir=$ac_top_build_prefix
   15980 
   15981 case $srcdir in
   15982   .)  # We are building in place.
   15983     ac_srcdir=.
   15984     ac_top_srcdir=$ac_top_builddir_sub
   15985     ac_abs_top_srcdir=$ac_pwd ;;
   15986   [\\/]* | ?:[\\/]* )  # Absolute name.
   15987     ac_srcdir=$srcdir$ac_dir_suffix;
   15988     ac_top_srcdir=$srcdir
   15989     ac_abs_top_srcdir=$srcdir ;;
   15990   *) # Relative name.
   15991     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15992     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15993     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15994 esac
   15995 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15996 
   15997 
   15998   case $ac_mode in
   15999   :F)
   16000   #
   16001   # CONFIG_FILE
   16002   #
   16003 
   16004   case $INSTALL in
   16005   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16006   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16007   esac
   16008 _ACEOF
   16009 
   16010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16011 # If the template does not know about datarootdir, expand it.
   16012 # FIXME: This hack should be removed a few years after 2.60.
   16013 ac_datarootdir_hack=; ac_datarootdir_seen=
   16014 ac_sed_dataroot='
   16015 /datarootdir/ {
   16016   p
   16017   q
   16018 }
   16019 /@datadir@/p
   16020 /@docdir@/p
   16021 /@infodir@/p
   16022 /@localedir@/p
   16023 /@mandir@/p'
   16024 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16025 *datarootdir*) ac_datarootdir_seen=yes;;
   16026 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16027   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16028 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16029 _ACEOF
   16030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16031   ac_datarootdir_hack='
   16032   s&@datadir@&$datadir&g
   16033   s&@docdir@&$docdir&g
   16034   s&@infodir@&$infodir&g
   16035   s&@localedir@&$localedir&g
   16036   s&@mandir@&$mandir&g
   16037   s&\\\${datarootdir}&$datarootdir&g' ;;
   16038 esac
   16039 _ACEOF
   16040 
   16041 # Neutralize VPATH when `$srcdir' = `.'.
   16042 # Shell code in configure.ac might set extrasub.
   16043 # FIXME: do we really want to maintain this feature?
   16044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16045 ac_sed_extra="$ac_vpsub
   16046 $extrasub
   16047 _ACEOF
   16048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16049 :t
   16050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16051 s|@configure_input@|$ac_sed_conf_input|;t t
   16052 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16053 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16054 s&@srcdir@&$ac_srcdir&;t t
   16055 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16056 s&@top_srcdir@&$ac_top_srcdir&;t t
   16057 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16058 s&@builddir@&$ac_builddir&;t t
   16059 s&@abs_builddir@&$ac_abs_builddir&;t t
   16060 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16061 s&@INSTALL@&$ac_INSTALL&;t t
   16062 $ac_datarootdir_hack
   16063 "
   16064 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   16065 if $ac_cs_awk_getline; then
   16066   $AWK -f "$tmp/subs.awk"
   16067 else
   16068   $AWK -f "$tmp/subs.awk" | $SHELL
   16069 fi >$tmp/out \
   16070   || as_fn_error "could not create $ac_file" "$LINENO" 5
   16071 
   16072 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16073   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   16074   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   16075   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16076 which seems to be undefined.  Please make sure it is defined." >&5
   16077 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16078 which seems to be undefined.  Please make sure it is defined." >&2;}
   16079 
   16080   rm -f "$tmp/stdin"
   16081   case $ac_file in
   16082   -) cat "$tmp/out" && rm -f "$tmp/out";;
   16083   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   16084   esac \
   16085   || as_fn_error "could not create $ac_file" "$LINENO" 5
   16086  ;;
   16087 
   16088 
   16089 
   16090   esac
   16091 
   16092 
   16093   case $ac_file$ac_mode in
   16094     "Makefile":F) sed "$extrasub_build" Makefile |
   16095    sed "$extrasub_host" |
   16096    sed "$extrasub_target" > mf$$
   16097    mv -f mf$$ Makefile ;;
   16098 
   16099   esac
   16100 done # for ac_tag
   16101 
   16102 
   16103 as_fn_exit 0
   16104 _ACEOF
   16105 ac_clean_files=$ac_clean_files_save
   16106 
   16107 test $ac_write_fail = 0 ||
   16108   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16109 
   16110 
   16111 # configure is writing to config.log, and then calls config.status.
   16112 # config.status does its own redirection, appending to config.log.
   16113 # Unfortunately, on DOS this fails, as config.log is still kept open
   16114 # by configure, so config.status won't be able to write to it; its
   16115 # output is simply discarded.  So we exec the FD to /dev/null,
   16116 # effectively closing config.log, so it can be properly (re)opened and
   16117 # appended to by config.status.  When coming back to configure, we
   16118 # need to make the FD available again.
   16119 if test "$no_create" != yes; then
   16120   ac_cs_success=:
   16121   ac_config_status_args=
   16122   test "$silent" = yes &&
   16123     ac_config_status_args="$ac_config_status_args --quiet"
   16124   exec 5>/dev/null
   16125   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16126   exec 5>>config.log
   16127   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16128   # would make configure fail if this is the last instruction.
   16129   $ac_cs_success || as_fn_exit $?
   16130 fi
   16131 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16132   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16133 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16134 fi
   16135 
   16136