Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      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="$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   alpha*-*-*vms*)
   3487     noconfigdirs="$noconfigdirs ${libgcj}"
   3488     ;;
   3489   arm*-*-freebsd*)
   3490     noconfigdirs="$noconfigdirs ${libgcj}"
   3491     ;;
   3492   arm-wince-pe)
   3493     noconfigdirs="$noconfigdirs ${libgcj}"
   3494     ;;
   3495   arm*-*-symbianelf*)
   3496     noconfigdirs="$noconfigdirs ${libgcj}"
   3497     ;;
   3498   bfin-*-*)
   3499     noconfigdirs="$noconfigdirs target-boehm-gc"
   3500     ;;
   3501   cris-*-* | crisv32-*-*)
   3502     unsupported_languages="$unsupported_languages java"
   3503     case "${target}" in
   3504       *-*-linux*)
   3505 	;;
   3506       *) # See PR46792 regarding target-libffi.
   3507 	noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
   3508     esac
   3509     ;;
   3510   hppa*64*-*-linux*)
   3511     # In this case, it's because the hppa64-linux target is for
   3512     # the kernel only at this point and has no libc, and thus no
   3513     # headers, crt*.o, etc., all of which are needed by these.
   3514     unsupported_languages="$unsupported_languages java"
   3515     ;;
   3516   hppa*64*-*-hpux*)
   3517     noconfigdirs="$noconfigdirs ${libgcj}"
   3518     ;;
   3519   hppa*-hp-hpux11*)
   3520     ;;
   3521   hppa*-*-hpux*)
   3522     # According to Alexandre Oliva <aoliva (at] redhat.com>, libjava won't
   3523     # build on HP-UX 10.20.
   3524     noconfigdirs="$noconfigdirs ${libgcj}"
   3525     ;;
   3526   ia64*-*-*vms*)
   3527     noconfigdirs="$noconfigdirs ${libgcj}"
   3528     ;;
   3529   i[3456789]86-w64-mingw*)
   3530     noconfigdirs="$noconfigdirs ${libgcj}"
   3531     ;;
   3532   i[3456789]86-*-mingw*)
   3533     noconfigdirs="$noconfigdirs ${libgcj}"
   3534     ;;
   3535   x86_64-*-mingw*)
   3536     noconfigdirs="$noconfigdirs ${libgcj}"
   3537     ;;
   3538   mmix-*-*)
   3539     noconfigdirs="$noconfigdirs target-libffi target-boehm-gc"
   3540     ;;
   3541   powerpc-*-aix*)
   3542     # copied from rs6000-*-* entry
   3543     noconfigdirs="$noconfigdirs ${libgcj}"
   3544     ;;
   3545   rs6000-*-aix*)
   3546     noconfigdirs="$noconfigdirs ${libgcj}"
   3547     ;;
   3548   ft32-*-*)
   3549     noconfigdirs="$noconfigdirs ${libgcj}"
   3550     ;;
   3551   *-*-lynxos*)
   3552     noconfigdirs="$noconfigdirs ${libgcj}"
   3553     ;;
   3554 esac
   3555 
   3556 # Disable the go frontend on systems where it is known to not work. Please keep
   3557 # this in sync with contrib/config-list.mk.
   3558 case "${target}" in
   3559 *-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
   3560     unsupported_languages="$unsupported_languages go"
   3561     ;;
   3562 esac
   3563 
   3564 # Disable libgo for some systems where it is known to not work.
   3565 # For testing, you can easily override this with --enable-libgo.
   3566 if test x$enable_libgo = x; then
   3567     case "${target}" in
   3568     *-*-darwin*)
   3569 	# PR 46986
   3570 	noconfigdirs="$noconfigdirs target-libgo"
   3571 	;;
   3572     *-*-cygwin* | *-*-mingw*)
   3573 	noconfigdirs="$noconfigdirs target-libgo"
   3574 	;;
   3575     *-*-aix*)
   3576 	noconfigdirs="$noconfigdirs target-libgo"
   3577 	;;
   3578     esac
   3579 fi
   3580 
   3581 # Default libgloss CPU subdirectory.
   3582 libgloss_dir="$target_cpu"
   3583 
   3584 case "${target}" in
   3585   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3586     libgloss_dir=wince
   3587     ;;
   3588   aarch64*-*-* )
   3589     libgloss_dir=aarch64
   3590     ;;
   3591   arm*-*-*)
   3592     libgloss_dir=arm
   3593     ;;
   3594   cris-*-* | crisv32-*-*)
   3595     libgloss_dir=cris
   3596     ;;
   3597   hppa*-*-*)
   3598     libgloss_dir=pa
   3599     ;;
   3600   i[3456789]86-*-*)
   3601     libgloss_dir=i386
   3602     ;;
   3603   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
   3604     libgloss_dir=m68hc11
   3605     ;;
   3606   m68*-*-* | fido-*-*)
   3607     libgloss_dir=m68k
   3608     ;;
   3609   mips*-*-*)
   3610     libgloss_dir=mips
   3611     ;;
   3612   powerpc*-*-*)
   3613     libgloss_dir=rs6000
   3614     ;;
   3615   sparc*-*-*)
   3616     libgloss_dir=sparc
   3617     ;;
   3618 esac
   3619 
   3620 # Disable newlib and libgloss for various target OSes.
   3621 case "${target}" in
   3622   alpha*-dec-osf*)
   3623     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3624     ;;
   3625   i[3456789]86-*-linux*)
   3626     # This section makes it possible to build newlib natively on linux.
   3627     # If we are using a cross compiler then don't configure newlib.
   3628     if test x${is_cross_compiler} != xno ; then
   3629       noconfigdirs="$noconfigdirs target-newlib"
   3630     fi
   3631     noconfigdirs="$noconfigdirs target-libgloss"
   3632     # If we are not using a cross compiler, do configure newlib.
   3633     # Note however, that newlib will only be configured in this situation
   3634     # if the --with-newlib option has been given, because otherwise
   3635     # 'target-newlib' will appear in skipdirs.
   3636     ;;
   3637   i[3456789]86-*-rdos*)
   3638     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3639     ;;
   3640   sh*-*-pe|mips*-*-pe|arm-wince-pe)
   3641     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3642     ;;
   3643   sparc-*-sunos4*)
   3644     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3645     ;;
   3646   *-*-aix*)
   3647     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3648     ;;
   3649   *-*-beos*)
   3650     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3651     ;;
   3652   *-*-chorusos)
   3653     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3654     ;;
   3655   *-*-dragonfly*)
   3656     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3657     ;;
   3658   *-*-freebsd*)
   3659     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3660     ;;
   3661   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3662     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3663     ;;
   3664   *-*-lynxos*)
   3665     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3666     ;;
   3667   *-*-mingw*)
   3668     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3669     ;;
   3670   *-*-netbsd*)
   3671     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3672     ;;
   3673   *-*-netware*)
   3674     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3675     ;;
   3676   *-*-tpf*)
   3677     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3678     ;;
   3679   *-*-uclinux*)
   3680     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3681     ;;
   3682   *-*-vxworks*)
   3683     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3684     ;;
   3685 esac
   3686 
   3687 case "${target}" in
   3688   *-*-chorusos)
   3689     ;;
   3690   aarch64-*-darwin*)
   3691     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3692     noconfigdirs="$noconfigdirs sim target-rda"
   3693     ;;
   3694   arm-*-darwin*)
   3695     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3696     noconfigdirs="$noconfigdirs sim target-rda"
   3697     ;;
   3698   powerpc-*-darwin*)
   3699     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3700     noconfigdirs="$noconfigdirs sim target-rda"
   3701     ;;
   3702   i[3456789]86-*-darwin*)
   3703     noconfigdirs="$noconfigdirs ld gprof"
   3704     noconfigdirs="$noconfigdirs sim target-rda"
   3705     ;;
   3706   x86_64-*-darwin[912]*)
   3707     noconfigdirs="$noconfigdirs ld gas gprof"
   3708     noconfigdirs="$noconfigdirs sim target-rda"
   3709     ;;
   3710   *-*-darwin*)
   3711     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3712     noconfigdirs="$noconfigdirs sim target-rda"
   3713     ;;
   3714   *-*-dragonfly*)
   3715     ;;
   3716   *-*-freebsd*)
   3717     if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
   3718 	&& test -f /usr/local/include/gmp.h; then
   3719       with_gmp=/usr/local
   3720     fi
   3721     ;;
   3722   *-*-kaos*)
   3723     # Remove unsupported stuff on all kaOS configurations.
   3724     noconfigdirs="$noconfigdirs target-libgloss"
   3725     ;;
   3726   *-*-netbsd*)
   3727     ;;
   3728   *-*-netware*)
   3729     ;;
   3730   *-*-rtems*)
   3731     noconfigdirs="$noconfigdirs target-libgloss"
   3732     # this is not caught below because this stanza matches earlier
   3733     case $target in
   3734       or1k*-*-*) noconfigdirs="$noconfigdirs gdb" ;;
   3735     esac
   3736     ;;
   3737     # The tpf target doesn't support gdb yet.
   3738   *-*-tpf*)
   3739     noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
   3740     ;;
   3741   *-*-uclinux*)
   3742     noconfigdirs="$noconfigdirs target-rda"
   3743     ;;
   3744   *-*-vxworks*)
   3745     ;;
   3746   alpha*-dec-osf*)
   3747     # ld works, but does not support shared libraries.
   3748     # gas doesn't generate exception information.
   3749     noconfigdirs="$noconfigdirs gas ld"
   3750     ;;
   3751   alpha*-*-*vms*)
   3752     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
   3753     ;;
   3754   alpha*-*-*)
   3755     # newlib is not 64 bit ready
   3756     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3757     ;;
   3758   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3759     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
   3760     ;;
   3761   arc-*-*|arceb-*-*)
   3762     noconfigdirs="$noconfigdirs target-libgloss"
   3763     ;;
   3764   arm-*-pe*)
   3765     noconfigdirs="$noconfigdirs target-libgloss"
   3766     ;;
   3767   arm-*-riscix*)
   3768     noconfigdirs="$noconfigdirs ld target-libgloss"
   3769     ;;
   3770   avr-*-rtems*)
   3771     ;;
   3772   avr-*-*)
   3773     if test x${with_avrlibc} != xno; then
   3774       noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3775     fi
   3776     ;;
   3777   c4x-*-* | tic4x-*-*)
   3778     noconfigdirs="$noconfigdirs target-libgloss"
   3779     ;;
   3780   tic54x-*-*)
   3781     noconfigdirs="$noconfigdirs target-libgloss gdb"
   3782     ;;
   3783   d10v-*-*)
   3784     noconfigdirs="$noconfigdirs target-libgloss"
   3785     ;;
   3786   d30v-*-*)
   3787     noconfigdirs="$noconfigdirs gdb"
   3788     ;;
   3789   fr30-*-elf*)
   3790     noconfigdirs="$noconfigdirs gdb"
   3791     ;;
   3792   ft32-*-*)
   3793     noconfigdirs="$noconfigdirs target-rda gprof"
   3794     ;;
   3795   moxie-*-*)
   3796     noconfigdirs="$noconfigdirs"
   3797     ;;
   3798   h8300*-*-*)
   3799     noconfigdirs="$noconfigdirs target-libgloss"
   3800     ;;
   3801   h8500-*-*)
   3802     noconfigdirs="$noconfigdirs target-libgloss"
   3803     ;;
   3804   hppa1.1-*-osf* | hppa1.1-*-bsd* )
   3805     ;;
   3806   hppa*64*-*-hpux*)
   3807     noconfigdirs="$noconfigdirs gdb"
   3808     ;;
   3809   hppa*-*-hpux11*)
   3810     noconfigdirs="$noconfigdirs gdb ld"
   3811     ;;
   3812   hppa*64*-*-linux*)
   3813     ;;
   3814   hppa*-*-linux*)
   3815     ;;
   3816   hppa*-*-*elf* | \
   3817   hppa*-*-lites* | \
   3818   hppa*-*-openbsd* | \
   3819   hppa*64*-*-*)
   3820     ;;
   3821   hppa*-*-pro*)
   3822     ;;
   3823   hppa*-*-*)
   3824     noconfigdirs="$noconfigdirs ld"
   3825     ;;
   3826   i960-*-*)
   3827     noconfigdirs="$noconfigdirs gdb"
   3828     ;;
   3829   ia64*-*-elf*)
   3830     # No gdb support yet.
   3831     noconfigdirs="$noconfigdirs readline libgui itcl gdb"
   3832     ;;
   3833   ia64*-**-hpux*)
   3834     # No ld support yet.
   3835     noconfigdirs="$noconfigdirs gdb libgui itcl ld"
   3836     ;;
   3837   ia64*-*-*vms*)
   3838     # No ld support yet.
   3839     noconfigdirs="$noconfigdirs libgui itcl ld"
   3840     ;;
   3841   i[3456789]86-w64-mingw*)
   3842     ;;
   3843   i[3456789]86-*-mingw*)
   3844     target_configdirs="$target_configdirs target-winsup"
   3845     ;;
   3846   *-*-cygwin*)
   3847     target_configdirs="$target_configdirs target-libtermcap target-winsup"
   3848     noconfigdirs="$noconfigdirs target-libgloss"
   3849     # always build newlib if winsup directory is present.
   3850     if test -d "$srcdir/winsup/cygwin"; then
   3851       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3852     elif test -d "$srcdir/newlib"; then
   3853       echo "Warning: winsup/cygwin is missing so newlib can't be built."
   3854     fi
   3855     ;;
   3856   i[3456789]86-*-pe)
   3857     noconfigdirs="$noconfigdirs target-libgloss"
   3858     ;;
   3859   i[3456789]86-*-sco3.2v5*)
   3860     # The linker does not yet know about weak symbols in COFF,
   3861     # and is not configured to handle mixed ELF and COFF.
   3862     noconfigdirs="$noconfigdirs ld target-libgloss"
   3863     ;;
   3864   i[3456789]86-*-sco*)
   3865     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3866     ;;
   3867   i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
   3868     noconfigdirs="$noconfigdirs target-libgloss"
   3869     ;;
   3870   i[3456789]86-*-sysv4*)
   3871     noconfigdirs="$noconfigdirs target-libgloss"
   3872     ;;
   3873   i[3456789]86-*-beos*)
   3874     noconfigdirs="$noconfigdirs gdb"
   3875     ;;
   3876   i[3456789]86-*-rdos*)
   3877     noconfigdirs="$noconfigdirs gdb"
   3878     ;;
   3879   mmix-*-*)
   3880     noconfigdirs="$noconfigdirs gdb"
   3881     ;;
   3882   mt-*-*)
   3883     noconfigdirs="$noconfigdirs sim"
   3884     ;;
   3885   powerpc-*-aix*)
   3886     # copied from rs6000-*-* entry
   3887     noconfigdirs="$noconfigdirs gprof"
   3888     ;;
   3889   powerpc*-*-winnt* | powerpc*-*-pe*)
   3890     target_configdirs="$target_configdirs target-winsup"
   3891     noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
   3892     # always build newlib.
   3893     skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3894     ;;
   3895     # This is temporary until we can link against shared libraries
   3896   powerpcle-*-solaris*)
   3897     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
   3898     ;;
   3899   powerpc-*-beos*)
   3900     noconfigdirs="$noconfigdirs gdb"
   3901     ;;
   3902   rs6000-*-lynxos*)
   3903     noconfigdirs="$noconfigdirs gprof"
   3904     ;;
   3905   rs6000-*-aix*)
   3906     noconfigdirs="$noconfigdirs gprof"
   3907     ;;
   3908   rs6000-*-*)
   3909     noconfigdirs="$noconfigdirs gprof"
   3910     ;;
   3911   m68k-apollo-*)
   3912     noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
   3913     ;;
   3914   microblaze*)
   3915     noconfigdirs="$noconfigdirs gprof"
   3916     ;;
   3917   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   3918     if test x$with_newlib = xyes; then
   3919       noconfigdirs="$noconfigdirs gprof"
   3920     fi
   3921     ;;
   3922   mips*-*-irix5*)
   3923     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3924     ;;
   3925   mips*-*-irix6*)
   3926     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3927     ;;
   3928   mips*-*-bsd*)
   3929     noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
   3930     ;;
   3931   mips*-*-linux*)
   3932     ;;
   3933   mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
   3934   | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
   3935     noconfigdirs="$noconfigdirs ld gas gprof"
   3936     ;;
   3937   mips*-*-*)
   3938     noconfigdirs="$noconfigdirs gprof"
   3939     ;;
   3940   nvptx*-*-*)
   3941     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
   3942     ;;
   3943   or1k*-*-*)
   3944     noconfigdirs="$noconfigdirs gdb"
   3945     ;;
   3946   sh-*-* | sh64-*-*)
   3947     case "${target}" in
   3948       sh*-*-elf)
   3949          ;;
   3950       *)
   3951          noconfigdirs="$noconfigdirs target-libgloss" ;;
   3952     esac
   3953     ;;
   3954   sparc-*-sunos4*)
   3955     if test x${is_cross_compiler} = xno ; then
   3956            use_gnu_ld=no
   3957     fi
   3958     ;;
   3959   tic6x-*-*)
   3960     noconfigdirs="$noconfigdirs sim"
   3961     ;;
   3962   tilegx*-*-*)
   3963     noconfigdirs="$noconfigdirs sim"
   3964     ;;
   3965   tilepro*-*-*)
   3966     noconfigdirs="$noconfigdirs gdb sim"
   3967     ;;
   3968   v810-*-*)
   3969     noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
   3970     ;;
   3971   vax-*-*)
   3972     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3973     ;;
   3974 esac
   3975 
   3976 # If we aren't building newlib, then don't build libgloss, since libgloss
   3977 # depends upon some newlib header files.
   3978 case "${noconfigdirs}" in
   3979   *target-libgloss*) ;;
   3980   *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
   3981 esac
   3982 
   3983 # Work in distributions that contain no compiler tools, like Autoconf.
   3984 host_makefile_frag=/dev/null
   3985 if test -d ${srcdir}/config ; then
   3986 case "${host}" in
   3987   i[3456789]86-*-msdosdjgpp*)
   3988     host_makefile_frag="config/mh-djgpp"
   3989     ;;
   3990   *-cygwin*)
   3991 
   3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
   3993 $as_echo_n "checking to see if cat works as expected... " >&6; }
   3994 echo a >cygwin-cat-check
   3995 if test `cat cygwin-cat-check` = a ; then
   3996   rm cygwin-cat-check
   3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3998 $as_echo "yes" >&6; }
   3999 else
   4000   rm cygwin-cat-check
   4001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4002 $as_echo "no" >&6; }
   4003   as_fn_error "The cat command does not ignore carriage return characters.
   4004   Please either mount the build directory in binary mode or run the following
   4005   commands before running any configure script:
   4006 set -o igncr
   4007 export SHELLOPTS
   4008   " "$LINENO" 5
   4009 fi
   4010 
   4011     host_makefile_frag="config/mh-cygwin"
   4012     ;;
   4013   *-mingw*)
   4014     host_makefile_frag="config/mh-mingw"
   4015     ;;
   4016   alpha*-linux*)
   4017     host_makefile_frag="config/mh-alpha-linux"
   4018     ;;
   4019   hppa*-hp-hpux10*)
   4020     host_makefile_frag="config/mh-pa-hpux10"
   4021     ;;
   4022   hppa*-hp-hpux*)
   4023     host_makefile_frag="config/mh-pa"
   4024     ;;
   4025   hppa*-*)
   4026     host_makefile_frag="config/mh-pa"
   4027     ;;
   4028   *-*-darwin*)
   4029     host_makefile_frag="config/mh-darwin"
   4030     ;;
   4031   powerpc-*-aix*)
   4032     host_makefile_frag="config/mh-ppc-aix"
   4033     ;;
   4034   rs6000-*-aix*)
   4035     host_makefile_frag="config/mh-ppc-aix"
   4036     ;;
   4037 esac
   4038 fi
   4039 
   4040 if test "${build}" != "${host}" ; then
   4041   AR_FOR_BUILD=${AR_FOR_BUILD-ar}
   4042   AS_FOR_BUILD=${AS_FOR_BUILD-as}
   4043   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   4044   CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
   4045   GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
   4046   GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
   4047   GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
   4048   DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
   4049   LD_FOR_BUILD=${LD_FOR_BUILD-ld}
   4050   NM_FOR_BUILD=${NM_FOR_BUILD-nm}
   4051   RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
   4052   WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
   4053   WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
   4054 else
   4055   AR_FOR_BUILD="\$(AR)"
   4056   AS_FOR_BUILD="\$(AS)"
   4057   CC_FOR_BUILD="\$(CC)"
   4058   CXX_FOR_BUILD="\$(CXX)"
   4059   GCJ_FOR_BUILD="\$(GCJ)"
   4060   GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
   4061   GOC_FOR_BUILD="\$(GOC)"
   4062   DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
   4063   LD_FOR_BUILD="\$(LD)"
   4064   NM_FOR_BUILD="\$(NM)"
   4065   RANLIB_FOR_BUILD="\$(RANLIB)"
   4066   WINDRES_FOR_BUILD="\$(WINDRES)"
   4067   WINDMC_FOR_BUILD="\$(WINDMC)"
   4068 fi
   4069 
   4070 ac_ext=c
   4071 ac_cpp='$CPP $CPPFLAGS'
   4072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4075 if test -n "$ac_tool_prefix"; then
   4076   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4077 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4079 $as_echo_n "checking for $ac_word... " >&6; }
   4080 if test "${ac_cv_prog_CC+set}" = set; then :
   4081   $as_echo_n "(cached) " >&6
   4082 else
   4083   if test -n "$CC"; then
   4084   ac_cv_prog_CC="$CC" # Let the user override the test.
   4085 else
   4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4087 for as_dir in $PATH
   4088 do
   4089   IFS=$as_save_IFS
   4090   test -z "$as_dir" && as_dir=.
   4091     for ac_exec_ext in '' $ac_executable_extensions; do
   4092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4093     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4095     break 2
   4096   fi
   4097 done
   4098   done
   4099 IFS=$as_save_IFS
   4100 
   4101 fi
   4102 fi
   4103 CC=$ac_cv_prog_CC
   4104 if test -n "$CC"; then
   4105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4106 $as_echo "$CC" >&6; }
   4107 else
   4108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4109 $as_echo "no" >&6; }
   4110 fi
   4111 
   4112 
   4113 fi
   4114 if test -z "$ac_cv_prog_CC"; then
   4115   ac_ct_CC=$CC
   4116   # Extract the first word of "gcc", so it can be a program name with args.
   4117 set dummy gcc; ac_word=$2
   4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4119 $as_echo_n "checking for $ac_word... " >&6; }
   4120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4121   $as_echo_n "(cached) " >&6
   4122 else
   4123   if test -n "$ac_ct_CC"; then
   4124   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4125 else
   4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4127 for as_dir in $PATH
   4128 do
   4129   IFS=$as_save_IFS
   4130   test -z "$as_dir" && as_dir=.
   4131     for ac_exec_ext in '' $ac_executable_extensions; do
   4132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4133     ac_cv_prog_ac_ct_CC="gcc"
   4134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4135     break 2
   4136   fi
   4137 done
   4138   done
   4139 IFS=$as_save_IFS
   4140 
   4141 fi
   4142 fi
   4143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4144 if test -n "$ac_ct_CC"; then
   4145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4146 $as_echo "$ac_ct_CC" >&6; }
   4147 else
   4148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4149 $as_echo "no" >&6; }
   4150 fi
   4151 
   4152   if test "x$ac_ct_CC" = x; then
   4153     CC=""
   4154   else
   4155     case $cross_compiling:$ac_tool_warned in
   4156 yes:)
   4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4159 ac_tool_warned=yes ;;
   4160 esac
   4161     CC=$ac_ct_CC
   4162   fi
   4163 else
   4164   CC="$ac_cv_prog_CC"
   4165 fi
   4166 
   4167 if test -z "$CC"; then
   4168           if test -n "$ac_tool_prefix"; then
   4169     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4170 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4172 $as_echo_n "checking for $ac_word... " >&6; }
   4173 if test "${ac_cv_prog_CC+set}" = set; then :
   4174   $as_echo_n "(cached) " >&6
   4175 else
   4176   if test -n "$CC"; then
   4177   ac_cv_prog_CC="$CC" # Let the user override the test.
   4178 else
   4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4180 for as_dir in $PATH
   4181 do
   4182   IFS=$as_save_IFS
   4183   test -z "$as_dir" && as_dir=.
   4184     for ac_exec_ext in '' $ac_executable_extensions; do
   4185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4186     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4188     break 2
   4189   fi
   4190 done
   4191   done
   4192 IFS=$as_save_IFS
   4193 
   4194 fi
   4195 fi
   4196 CC=$ac_cv_prog_CC
   4197 if test -n "$CC"; then
   4198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4199 $as_echo "$CC" >&6; }
   4200 else
   4201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4202 $as_echo "no" >&6; }
   4203 fi
   4204 
   4205 
   4206   fi
   4207 fi
   4208 if test -z "$CC"; then
   4209   # Extract the first word of "cc", so it can be a program name with args.
   4210 set dummy cc; ac_word=$2
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4212 $as_echo_n "checking for $ac_word... " >&6; }
   4213 if test "${ac_cv_prog_CC+set}" = set; then :
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216   if test -n "$CC"; then
   4217   ac_cv_prog_CC="$CC" # Let the user override the test.
   4218 else
   4219   ac_prog_rejected=no
   4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4221 for as_dir in $PATH
   4222 do
   4223   IFS=$as_save_IFS
   4224   test -z "$as_dir" && as_dir=.
   4225     for ac_exec_ext in '' $ac_executable_extensions; do
   4226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4227     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4228        ac_prog_rejected=yes
   4229        continue
   4230      fi
   4231     ac_cv_prog_CC="cc"
   4232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4233     break 2
   4234   fi
   4235 done
   4236   done
   4237 IFS=$as_save_IFS
   4238 
   4239 if test $ac_prog_rejected = yes; then
   4240   # We found a bogon in the path, so make sure we never use it.
   4241   set dummy $ac_cv_prog_CC
   4242   shift
   4243   if test $# != 0; then
   4244     # We chose a different compiler from the bogus one.
   4245     # However, it has the same basename, so the bogon will be chosen
   4246     # first if we set CC to just the basename; use the full file name.
   4247     shift
   4248     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4249   fi
   4250 fi
   4251 fi
   4252 fi
   4253 CC=$ac_cv_prog_CC
   4254 if test -n "$CC"; then
   4255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4256 $as_echo "$CC" >&6; }
   4257 else
   4258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4259 $as_echo "no" >&6; }
   4260 fi
   4261 
   4262 
   4263 fi
   4264 if test -z "$CC"; then
   4265   if test -n "$ac_tool_prefix"; then
   4266   for ac_prog in cl.exe
   4267   do
   4268     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4269 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4271 $as_echo_n "checking for $ac_word... " >&6; }
   4272 if test "${ac_cv_prog_CC+set}" = set; then :
   4273   $as_echo_n "(cached) " >&6
   4274 else
   4275   if test -n "$CC"; then
   4276   ac_cv_prog_CC="$CC" # Let the user override the test.
   4277 else
   4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4279 for as_dir in $PATH
   4280 do
   4281   IFS=$as_save_IFS
   4282   test -z "$as_dir" && as_dir=.
   4283     for ac_exec_ext in '' $ac_executable_extensions; do
   4284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4285     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4287     break 2
   4288   fi
   4289 done
   4290   done
   4291 IFS=$as_save_IFS
   4292 
   4293 fi
   4294 fi
   4295 CC=$ac_cv_prog_CC
   4296 if test -n "$CC"; then
   4297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4298 $as_echo "$CC" >&6; }
   4299 else
   4300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4301 $as_echo "no" >&6; }
   4302 fi
   4303 
   4304 
   4305     test -n "$CC" && break
   4306   done
   4307 fi
   4308 if test -z "$CC"; then
   4309   ac_ct_CC=$CC
   4310   for ac_prog in cl.exe
   4311 do
   4312   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4313 set dummy $ac_prog; ac_word=$2
   4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4315 $as_echo_n "checking for $ac_word... " >&6; }
   4316 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4317   $as_echo_n "(cached) " >&6
   4318 else
   4319   if test -n "$ac_ct_CC"; then
   4320   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4321 else
   4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4323 for as_dir in $PATH
   4324 do
   4325   IFS=$as_save_IFS
   4326   test -z "$as_dir" && as_dir=.
   4327     for ac_exec_ext in '' $ac_executable_extensions; do
   4328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4329     ac_cv_prog_ac_ct_CC="$ac_prog"
   4330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4331     break 2
   4332   fi
   4333 done
   4334   done
   4335 IFS=$as_save_IFS
   4336 
   4337 fi
   4338 fi
   4339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4340 if test -n "$ac_ct_CC"; then
   4341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4342 $as_echo "$ac_ct_CC" >&6; }
   4343 else
   4344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4345 $as_echo "no" >&6; }
   4346 fi
   4347 
   4348 
   4349   test -n "$ac_ct_CC" && break
   4350 done
   4351 
   4352   if test "x$ac_ct_CC" = x; then
   4353     CC=""
   4354   else
   4355     case $cross_compiling:$ac_tool_warned in
   4356 yes:)
   4357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4359 ac_tool_warned=yes ;;
   4360 esac
   4361     CC=$ac_ct_CC
   4362   fi
   4363 fi
   4364 
   4365 fi
   4366 
   4367 
   4368 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4370 as_fn_error "no acceptable C compiler found in \$PATH
   4371 See \`config.log' for more details." "$LINENO" 5; }
   4372 
   4373 # Provide some information about the compiler.
   4374 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4375 set X $ac_compile
   4376 ac_compiler=$2
   4377 for ac_option in --version -v -V -qversion; do
   4378   { { ac_try="$ac_compiler $ac_option >&5"
   4379 case "(($ac_try" in
   4380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4381   *) ac_try_echo=$ac_try;;
   4382 esac
   4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4384 $as_echo "$ac_try_echo"; } >&5
   4385   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4386   ac_status=$?
   4387   if test -s conftest.err; then
   4388     sed '10a\
   4389 ... rest of stderr output deleted ...
   4390          10q' conftest.err >conftest.er1
   4391     cat conftest.er1 >&5
   4392     rm -f conftest.er1 conftest.err
   4393   fi
   4394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4395   test $ac_status = 0; }
   4396 done
   4397 
   4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4399 /* end confdefs.h.  */
   4400 
   4401 int
   4402 main ()
   4403 {
   4404 
   4405   ;
   4406   return 0;
   4407 }
   4408 _ACEOF
   4409 ac_clean_files_save=$ac_clean_files
   4410 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
   4411 # Try to create an executable without -o first, disregard a.out.
   4412 # It will help us diagnose broken compilers, and finding out an intuition
   4413 # of exeext.
   4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4415 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4416 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4417 
   4418 # The possible output files:
   4419 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4420 
   4421 ac_rmfiles=
   4422 for ac_file in $ac_files
   4423 do
   4424   case $ac_file in
   4425     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4426     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4427   esac
   4428 done
   4429 rm -f $ac_rmfiles
   4430 
   4431 if { { ac_try="$ac_link_default"
   4432 case "(($ac_try" in
   4433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4434   *) ac_try_echo=$ac_try;;
   4435 esac
   4436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4437 $as_echo "$ac_try_echo"; } >&5
   4438   (eval "$ac_link_default") 2>&5
   4439   ac_status=$?
   4440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4441   test $ac_status = 0; }; then :
   4442   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4443 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4444 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4445 # so that the user can short-circuit this test for compilers unknown to
   4446 # Autoconf.
   4447 for ac_file in $ac_files ''
   4448 do
   4449   test -f "$ac_file" || continue
   4450   case $ac_file in
   4451     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4452 	;;
   4453     [ab].out )
   4454 	# We found the default executable, but exeext='' is most
   4455 	# certainly right.
   4456 	break;;
   4457     *.* )
   4458 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   4459 	then :; else
   4460 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4461 	fi
   4462 	# We set ac_cv_exeext here because the later test for it is not
   4463 	# safe: cross compilers may not add the suffix if given an `-o'
   4464 	# argument, so we may need to know it at that point already.
   4465 	# Even if this section looks crufty: it has the advantage of
   4466 	# actually working.
   4467 	break;;
   4468     * )
   4469 	break;;
   4470   esac
   4471 done
   4472 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4473 
   4474 else
   4475   ac_file=''
   4476 fi
   4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4478 $as_echo "$ac_file" >&6; }
   4479 if test -z "$ac_file"; then :
   4480   $as_echo "$as_me: failed program was:" >&5
   4481 sed 's/^/| /' conftest.$ac_ext >&5
   4482 
   4483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4485 { as_fn_set_status 77
   4486 as_fn_error "C compiler cannot create executables
   4487 See \`config.log' for more details." "$LINENO" 5; }; }
   4488 fi
   4489 ac_exeext=$ac_cv_exeext
   4490 
   4491 # Check that the compiler produces executables we can run.  If not, either
   4492 # the compiler is broken, or we cross compile.
   4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4494 $as_echo_n "checking whether the C compiler works... " >&6; }
   4495 # If not cross compiling, check that we can run a simple program.
   4496 if test "$cross_compiling" != yes; then
   4497   if { ac_try='./$ac_file'
   4498   { { case "(($ac_try" in
   4499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4500   *) ac_try_echo=$ac_try;;
   4501 esac
   4502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4503 $as_echo "$ac_try_echo"; } >&5
   4504   (eval "$ac_try") 2>&5
   4505   ac_status=$?
   4506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4507   test $ac_status = 0; }; }; then
   4508     cross_compiling=no
   4509   else
   4510     if test "$cross_compiling" = maybe; then
   4511 	cross_compiling=yes
   4512     else
   4513 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4515 as_fn_error "cannot run C compiled programs.
   4516 If you meant to cross compile, use \`--host'.
   4517 See \`config.log' for more details." "$LINENO" 5; }
   4518     fi
   4519   fi
   4520 fi
   4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4522 $as_echo "yes" >&6; }
   4523 
   4524 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
   4525 ac_clean_files=$ac_clean_files_save
   4526 # Check that the compiler produces executables we can run.  If not, either
   4527 # the compiler is broken, or we cross compile.
   4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4529 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4531 $as_echo "$cross_compiling" >&6; }
   4532 
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4534 $as_echo_n "checking for suffix of executables... " >&6; }
   4535 if { { ac_try="$ac_link"
   4536 case "(($ac_try" in
   4537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4538   *) ac_try_echo=$ac_try;;
   4539 esac
   4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4541 $as_echo "$ac_try_echo"; } >&5
   4542   (eval "$ac_link") 2>&5
   4543   ac_status=$?
   4544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4545   test $ac_status = 0; }; then :
   4546   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4547 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4548 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4549 # `rm'.
   4550 for ac_file in conftest.exe conftest conftest.*; do
   4551   test -f "$ac_file" || continue
   4552   case $ac_file in
   4553     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4554     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4555 	  break;;
   4556     * ) break;;
   4557   esac
   4558 done
   4559 else
   4560   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4562 as_fn_error "cannot compute suffix of executables: cannot compile and link
   4563 See \`config.log' for more details." "$LINENO" 5; }
   4564 fi
   4565 rm -f conftest$ac_cv_exeext
   4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4567 $as_echo "$ac_cv_exeext" >&6; }
   4568 
   4569 rm -f conftest.$ac_ext
   4570 EXEEXT=$ac_cv_exeext
   4571 ac_exeext=$EXEEXT
   4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4573 $as_echo_n "checking for suffix of object files... " >&6; }
   4574 if test "${ac_cv_objext+set}" = set; then :
   4575   $as_echo_n "(cached) " >&6
   4576 else
   4577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4578 /* end confdefs.h.  */
   4579 
   4580 int
   4581 main ()
   4582 {
   4583 
   4584   ;
   4585   return 0;
   4586 }
   4587 _ACEOF
   4588 rm -f conftest.o conftest.obj
   4589 if { { ac_try="$ac_compile"
   4590 case "(($ac_try" in
   4591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4592   *) ac_try_echo=$ac_try;;
   4593 esac
   4594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4595 $as_echo "$ac_try_echo"; } >&5
   4596   (eval "$ac_compile") 2>&5
   4597   ac_status=$?
   4598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4599   test $ac_status = 0; }; then :
   4600   for ac_file in conftest.o conftest.obj conftest.*; do
   4601   test -f "$ac_file" || continue;
   4602   case $ac_file in
   4603     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4604     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4605        break;;
   4606   esac
   4607 done
   4608 else
   4609   $as_echo "$as_me: failed program was:" >&5
   4610 sed 's/^/| /' conftest.$ac_ext >&5
   4611 
   4612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4614 as_fn_error "cannot compute suffix of object files: cannot compile
   4615 See \`config.log' for more details." "$LINENO" 5; }
   4616 fi
   4617 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4618 fi
   4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4620 $as_echo "$ac_cv_objext" >&6; }
   4621 OBJEXT=$ac_cv_objext
   4622 ac_objext=$OBJEXT
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4624 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4625 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   4626   $as_echo_n "(cached) " >&6
   4627 else
   4628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4629 /* end confdefs.h.  */
   4630 
   4631 int
   4632 main ()
   4633 {
   4634 #ifndef __GNUC__
   4635        choke me
   4636 #endif
   4637 
   4638   ;
   4639   return 0;
   4640 }
   4641 _ACEOF
   4642 if ac_fn_c_try_compile "$LINENO"; then :
   4643   ac_compiler_gnu=yes
   4644 else
   4645   ac_compiler_gnu=no
   4646 fi
   4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4648 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4649 
   4650 fi
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4652 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4653 if test $ac_compiler_gnu = yes; then
   4654   GCC=yes
   4655 else
   4656   GCC=
   4657 fi
   4658 ac_test_CFLAGS=${CFLAGS+set}
   4659 ac_save_CFLAGS=$CFLAGS
   4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4661 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4662 if test "${ac_cv_prog_cc_g+set}" = set; then :
   4663   $as_echo_n "(cached) " >&6
   4664 else
   4665   ac_save_c_werror_flag=$ac_c_werror_flag
   4666    ac_c_werror_flag=yes
   4667    ac_cv_prog_cc_g=no
   4668    CFLAGS="-g"
   4669    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4670 /* end confdefs.h.  */
   4671 
   4672 int
   4673 main ()
   4674 {
   4675 
   4676   ;
   4677   return 0;
   4678 }
   4679 _ACEOF
   4680 if ac_fn_c_try_compile "$LINENO"; then :
   4681   ac_cv_prog_cc_g=yes
   4682 else
   4683   CFLAGS=""
   4684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4685 /* end confdefs.h.  */
   4686 
   4687 int
   4688 main ()
   4689 {
   4690 
   4691   ;
   4692   return 0;
   4693 }
   4694 _ACEOF
   4695 if ac_fn_c_try_compile "$LINENO"; then :
   4696 
   4697 else
   4698   ac_c_werror_flag=$ac_save_c_werror_flag
   4699 	 CFLAGS="-g"
   4700 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4701 /* end confdefs.h.  */
   4702 
   4703 int
   4704 main ()
   4705 {
   4706 
   4707   ;
   4708   return 0;
   4709 }
   4710 _ACEOF
   4711 if ac_fn_c_try_compile "$LINENO"; then :
   4712   ac_cv_prog_cc_g=yes
   4713 fi
   4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4715 fi
   4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4717 fi
   4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4719    ac_c_werror_flag=$ac_save_c_werror_flag
   4720 fi
   4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4722 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4723 if test "$ac_test_CFLAGS" = set; then
   4724   CFLAGS=$ac_save_CFLAGS
   4725 elif test $ac_cv_prog_cc_g = yes; then
   4726   if test "$GCC" = yes; then
   4727     CFLAGS="-g -O2"
   4728   else
   4729     CFLAGS="-g"
   4730   fi
   4731 else
   4732   if test "$GCC" = yes; then
   4733     CFLAGS="-O2"
   4734   else
   4735     CFLAGS=
   4736   fi
   4737 fi
   4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4739 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4740 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4741   $as_echo_n "(cached) " >&6
   4742 else
   4743   ac_cv_prog_cc_c89=no
   4744 ac_save_CC=$CC
   4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4746 /* end confdefs.h.  */
   4747 #include <stdarg.h>
   4748 #include <stdio.h>
   4749 #include <sys/types.h>
   4750 #include <sys/stat.h>
   4751 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4752 struct buf { int x; };
   4753 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4754 static char *e (p, i)
   4755      char **p;
   4756      int i;
   4757 {
   4758   return p[i];
   4759 }
   4760 static char *f (char * (*g) (char **, int), char **p, ...)
   4761 {
   4762   char *s;
   4763   va_list v;
   4764   va_start (v,p);
   4765   s = g (p, va_arg (v,int));
   4766   va_end (v);
   4767   return s;
   4768 }
   4769 
   4770 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4771    function prototypes and stuff, but not '\xHH' hex character constants.
   4772    These don't provoke an error unfortunately, instead are silently treated
   4773    as 'x'.  The following induces an error, until -std is added to get
   4774    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4775    array size at least.  It's necessary to write '\x00'==0 to get something
   4776    that's true only with -std.  */
   4777 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4778 
   4779 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4780    inside strings and character constants.  */
   4781 #define FOO(x) 'x'
   4782 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4783 
   4784 int test (int i, double x);
   4785 struct s1 {int (*f) (int a);};
   4786 struct s2 {int (*f) (double a);};
   4787 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4788 int argc;
   4789 char **argv;
   4790 int
   4791 main ()
   4792 {
   4793 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4794   ;
   4795   return 0;
   4796 }
   4797 _ACEOF
   4798 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4799 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4800 do
   4801   CC="$ac_save_CC $ac_arg"
   4802   if ac_fn_c_try_compile "$LINENO"; then :
   4803   ac_cv_prog_cc_c89=$ac_arg
   4804 fi
   4805 rm -f core conftest.err conftest.$ac_objext
   4806   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4807 done
   4808 rm -f conftest.$ac_ext
   4809 CC=$ac_save_CC
   4810 
   4811 fi
   4812 # AC_CACHE_VAL
   4813 case "x$ac_cv_prog_cc_c89" in
   4814   x)
   4815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4816 $as_echo "none needed" >&6; } ;;
   4817   xno)
   4818     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4819 $as_echo "unsupported" >&6; } ;;
   4820   *)
   4821     CC="$CC $ac_cv_prog_cc_c89"
   4822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4823 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4824 esac
   4825 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4826 
   4827 fi
   4828 
   4829 ac_ext=c
   4830 ac_cpp='$CPP $CPPFLAGS'
   4831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4834 
   4835 ac_ext=cpp
   4836 ac_cpp='$CXXCPP $CPPFLAGS'
   4837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4840 if test -z "$CXX"; then
   4841   if test -n "$CCC"; then
   4842     CXX=$CCC
   4843   else
   4844     if test -n "$ac_tool_prefix"; then
   4845   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4846   do
   4847     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4850 $as_echo_n "checking for $ac_word... " >&6; }
   4851 if test "${ac_cv_prog_CXX+set}" = set; then :
   4852   $as_echo_n "(cached) " >&6
   4853 else
   4854   if test -n "$CXX"; then
   4855   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4856 else
   4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4858 for as_dir in $PATH
   4859 do
   4860   IFS=$as_save_IFS
   4861   test -z "$as_dir" && as_dir=.
   4862     for ac_exec_ext in '' $ac_executable_extensions; do
   4863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4864     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4866     break 2
   4867   fi
   4868 done
   4869   done
   4870 IFS=$as_save_IFS
   4871 
   4872 fi
   4873 fi
   4874 CXX=$ac_cv_prog_CXX
   4875 if test -n "$CXX"; then
   4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   4877 $as_echo "$CXX" >&6; }
   4878 else
   4879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4880 $as_echo "no" >&6; }
   4881 fi
   4882 
   4883 
   4884     test -n "$CXX" && break
   4885   done
   4886 fi
   4887 if test -z "$CXX"; then
   4888   ac_ct_CXX=$CXX
   4889   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4890 do
   4891   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4892 set dummy $ac_prog; ac_word=$2
   4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4894 $as_echo_n "checking for $ac_word... " >&6; }
   4895 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
   4896   $as_echo_n "(cached) " >&6
   4897 else
   4898   if test -n "$ac_ct_CXX"; then
   4899   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4900 else
   4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4902 for as_dir in $PATH
   4903 do
   4904   IFS=$as_save_IFS
   4905   test -z "$as_dir" && as_dir=.
   4906     for ac_exec_ext in '' $ac_executable_extensions; do
   4907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4908     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4910     break 2
   4911   fi
   4912 done
   4913   done
   4914 IFS=$as_save_IFS
   4915 
   4916 fi
   4917 fi
   4918 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4919 if test -n "$ac_ct_CXX"; then
   4920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   4921 $as_echo "$ac_ct_CXX" >&6; }
   4922 else
   4923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4924 $as_echo "no" >&6; }
   4925 fi
   4926 
   4927 
   4928   test -n "$ac_ct_CXX" && break
   4929 done
   4930 
   4931   if test "x$ac_ct_CXX" = x; then
   4932     CXX="g++"
   4933   else
   4934     case $cross_compiling:$ac_tool_warned in
   4935 yes:)
   4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4938 ac_tool_warned=yes ;;
   4939 esac
   4940     CXX=$ac_ct_CXX
   4941   fi
   4942 fi
   4943 
   4944   fi
   4945 fi
   4946 # Provide some information about the compiler.
   4947 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   4948 set X $ac_compile
   4949 ac_compiler=$2
   4950 for ac_option in --version -v -V -qversion; do
   4951   { { ac_try="$ac_compiler $ac_option >&5"
   4952 case "(($ac_try" in
   4953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4954   *) ac_try_echo=$ac_try;;
   4955 esac
   4956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4957 $as_echo "$ac_try_echo"; } >&5
   4958   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4959   ac_status=$?
   4960   if test -s conftest.err; then
   4961     sed '10a\
   4962 ... rest of stderr output deleted ...
   4963          10q' conftest.err >conftest.er1
   4964     cat conftest.er1 >&5
   4965     rm -f conftest.er1 conftest.err
   4966   fi
   4967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4968   test $ac_status = 0; }
   4969 done
   4970 
   4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   4972 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   4973 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
   4974   $as_echo_n "(cached) " >&6
   4975 else
   4976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4977 /* end confdefs.h.  */
   4978 
   4979 int
   4980 main ()
   4981 {
   4982 #ifndef __GNUC__
   4983        choke me
   4984 #endif
   4985 
   4986   ;
   4987   return 0;
   4988 }
   4989 _ACEOF
   4990 if ac_fn_cxx_try_compile "$LINENO"; then :
   4991   ac_compiler_gnu=yes
   4992 else
   4993   ac_compiler_gnu=no
   4994 fi
   4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4996 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4997 
   4998 fi
   4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5000 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5001 if test $ac_compiler_gnu = yes; then
   5002   GXX=yes
   5003 else
   5004   GXX=
   5005 fi
   5006 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5007 ac_save_CXXFLAGS=$CXXFLAGS
   5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5009 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5010 if test "${ac_cv_prog_cxx_g+set}" = set; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5014    ac_cxx_werror_flag=yes
   5015    ac_cv_prog_cxx_g=no
   5016    CXXFLAGS="-g"
   5017    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5018 /* end confdefs.h.  */
   5019 
   5020 int
   5021 main ()
   5022 {
   5023 
   5024   ;
   5025   return 0;
   5026 }
   5027 _ACEOF
   5028 if ac_fn_cxx_try_compile "$LINENO"; then :
   5029   ac_cv_prog_cxx_g=yes
   5030 else
   5031   CXXFLAGS=""
   5032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5033 /* end confdefs.h.  */
   5034 
   5035 int
   5036 main ()
   5037 {
   5038 
   5039   ;
   5040   return 0;
   5041 }
   5042 _ACEOF
   5043 if ac_fn_cxx_try_compile "$LINENO"; then :
   5044 
   5045 else
   5046   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5047 	 CXXFLAGS="-g"
   5048 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5049 /* end confdefs.h.  */
   5050 
   5051 int
   5052 main ()
   5053 {
   5054 
   5055   ;
   5056   return 0;
   5057 }
   5058 _ACEOF
   5059 if ac_fn_cxx_try_compile "$LINENO"; then :
   5060   ac_cv_prog_cxx_g=yes
   5061 fi
   5062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5063 fi
   5064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5065 fi
   5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5067    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5068 fi
   5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5070 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5071 if test "$ac_test_CXXFLAGS" = set; then
   5072   CXXFLAGS=$ac_save_CXXFLAGS
   5073 elif test $ac_cv_prog_cxx_g = yes; then
   5074   if test "$GXX" = yes; then
   5075     CXXFLAGS="-g -O2"
   5076   else
   5077     CXXFLAGS="-g"
   5078   fi
   5079 else
   5080   if test "$GXX" = yes; then
   5081     CXXFLAGS="-O2"
   5082   else
   5083     CXXFLAGS=
   5084   fi
   5085 fi
   5086 ac_ext=c
   5087 ac_cpp='$CPP $CPPFLAGS'
   5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5091 
   5092 
   5093 # We must set the default linker to the linker used by gcc for the correct
   5094 # operation of libtool.  If LD is not defined and we are using gcc, try to
   5095 # set the LD default to the ld used by gcc.
   5096 if test -z "$LD"; then
   5097   if test "$GCC" = yes; then
   5098     case $build in
   5099     *-*-mingw*)
   5100       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
   5101     *)
   5102       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
   5103     esac
   5104     case $gcc_prog_ld in
   5105     # Accept absolute paths.
   5106     [\\/]* | [A-Za-z]:[\\/]*)
   5107       LD="$gcc_prog_ld" ;;
   5108     esac
   5109   fi
   5110 fi
   5111 
   5112 # Check whether -static-libstdc++ -static-libgcc is supported.
   5113 have_static_libs=no
   5114 if test "$GCC" = yes; then
   5115   saved_LDFLAGS="$LDFLAGS"
   5116 
   5117   LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
   5118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
   5119 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
   5120   ac_ext=cpp
   5121 ac_cpp='$CXXCPP $CPPFLAGS'
   5122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5125 
   5126 
   5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5128 /* end confdefs.h.  */
   5129 
   5130 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
   5131 #error -static-libstdc++ not implemented
   5132 #endif
   5133 int main() {}
   5134 _ACEOF
   5135 if ac_fn_cxx_try_link "$LINENO"; then :
   5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5137 $as_echo "yes" >&6; }; have_static_libs=yes
   5138 else
   5139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5140 $as_echo "no" >&6; }
   5141 fi
   5142 rm -f core conftest.err conftest.$ac_objext \
   5143     conftest$ac_exeext conftest.$ac_ext
   5144   ac_ext=c
   5145 ac_cpp='$CPP $CPPFLAGS'
   5146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5149 
   5150 
   5151   LDFLAGS="$saved_LDFLAGS"
   5152 fi
   5153 
   5154 
   5155 
   5156 
   5157 if test -n "$ac_tool_prefix"; then
   5158   # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
   5159 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
   5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5161 $as_echo_n "checking for $ac_word... " >&6; }
   5162 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
   5163   $as_echo_n "(cached) " >&6
   5164 else
   5165   if test -n "$GNATBIND"; then
   5166   ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
   5167 else
   5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5169 for as_dir in $PATH
   5170 do
   5171   IFS=$as_save_IFS
   5172   test -z "$as_dir" && as_dir=.
   5173     for ac_exec_ext in '' $ac_executable_extensions; do
   5174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5175     ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
   5176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5177     break 2
   5178   fi
   5179 done
   5180   done
   5181 IFS=$as_save_IFS
   5182 
   5183 fi
   5184 fi
   5185 GNATBIND=$ac_cv_prog_GNATBIND
   5186 if test -n "$GNATBIND"; then
   5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
   5188 $as_echo "$GNATBIND" >&6; }
   5189 else
   5190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5191 $as_echo "no" >&6; }
   5192 fi
   5193 
   5194 
   5195 fi
   5196 if test -z "$ac_cv_prog_GNATBIND"; then
   5197   ac_ct_GNATBIND=$GNATBIND
   5198   # Extract the first word of "gnatbind", so it can be a program name with args.
   5199 set dummy gnatbind; ac_word=$2
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5201 $as_echo_n "checking for $ac_word... " >&6; }
   5202 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
   5203   $as_echo_n "(cached) " >&6
   5204 else
   5205   if test -n "$ac_ct_GNATBIND"; then
   5206   ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
   5207 else
   5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5209 for as_dir in $PATH
   5210 do
   5211   IFS=$as_save_IFS
   5212   test -z "$as_dir" && as_dir=.
   5213     for ac_exec_ext in '' $ac_executable_extensions; do
   5214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5215     ac_cv_prog_ac_ct_GNATBIND="gnatbind"
   5216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5217     break 2
   5218   fi
   5219 done
   5220   done
   5221 IFS=$as_save_IFS
   5222 
   5223 fi
   5224 fi
   5225 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
   5226 if test -n "$ac_ct_GNATBIND"; then
   5227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
   5228 $as_echo "$ac_ct_GNATBIND" >&6; }
   5229 else
   5230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5231 $as_echo "no" >&6; }
   5232 fi
   5233 
   5234   if test "x$ac_ct_GNATBIND" = x; then
   5235     GNATBIND="no"
   5236   else
   5237     case $cross_compiling:$ac_tool_warned in
   5238 yes:)
   5239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5241 ac_tool_warned=yes ;;
   5242 esac
   5243     GNATBIND=$ac_ct_GNATBIND
   5244   fi
   5245 else
   5246   GNATBIND="$ac_cv_prog_GNATBIND"
   5247 fi
   5248 
   5249 if test -n "$ac_tool_prefix"; then
   5250   # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
   5251 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
   5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5253 $as_echo_n "checking for $ac_word... " >&6; }
   5254 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
   5255   $as_echo_n "(cached) " >&6
   5256 else
   5257   if test -n "$GNATMAKE"; then
   5258   ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
   5259 else
   5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5261 for as_dir in $PATH
   5262 do
   5263   IFS=$as_save_IFS
   5264   test -z "$as_dir" && as_dir=.
   5265     for ac_exec_ext in '' $ac_executable_extensions; do
   5266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5267     ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
   5268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5269     break 2
   5270   fi
   5271 done
   5272   done
   5273 IFS=$as_save_IFS
   5274 
   5275 fi
   5276 fi
   5277 GNATMAKE=$ac_cv_prog_GNATMAKE
   5278 if test -n "$GNATMAKE"; then
   5279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
   5280 $as_echo "$GNATMAKE" >&6; }
   5281 else
   5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5283 $as_echo "no" >&6; }
   5284 fi
   5285 
   5286 
   5287 fi
   5288 if test -z "$ac_cv_prog_GNATMAKE"; then
   5289   ac_ct_GNATMAKE=$GNATMAKE
   5290   # Extract the first word of "gnatmake", so it can be a program name with args.
   5291 set dummy gnatmake; ac_word=$2
   5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5293 $as_echo_n "checking for $ac_word... " >&6; }
   5294 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
   5295   $as_echo_n "(cached) " >&6
   5296 else
   5297   if test -n "$ac_ct_GNATMAKE"; then
   5298   ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
   5299 else
   5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5301 for as_dir in $PATH
   5302 do
   5303   IFS=$as_save_IFS
   5304   test -z "$as_dir" && as_dir=.
   5305     for ac_exec_ext in '' $ac_executable_extensions; do
   5306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5307     ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
   5308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5309     break 2
   5310   fi
   5311 done
   5312   done
   5313 IFS=$as_save_IFS
   5314 
   5315 fi
   5316 fi
   5317 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
   5318 if test -n "$ac_ct_GNATMAKE"; then
   5319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
   5320 $as_echo "$ac_ct_GNATMAKE" >&6; }
   5321 else
   5322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5323 $as_echo "no" >&6; }
   5324 fi
   5325 
   5326   if test "x$ac_ct_GNATMAKE" = x; then
   5327     GNATMAKE="no"
   5328   else
   5329     case $cross_compiling:$ac_tool_warned in
   5330 yes:)
   5331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5333 ac_tool_warned=yes ;;
   5334 esac
   5335     GNATMAKE=$ac_ct_GNATMAKE
   5336   fi
   5337 else
   5338   GNATMAKE="$ac_cv_prog_GNATMAKE"
   5339 fi
   5340 
   5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
   5342 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
   5343 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
   5344   $as_echo_n "(cached) " >&6
   5345 else
   5346   cat >conftest.adb <<EOF
   5347 procedure conftest is begin null; end conftest;
   5348 EOF
   5349 acx_cv_cc_gcc_supports_ada=no
   5350 # There is a bug in old released versions of GCC which causes the
   5351 # driver to exit successfully when the appropriate language module
   5352 # has not been installed.  This is fixed in 2.95.4, 3.0.2, and 3.1.
   5353 # Therefore we must check for the error message as well as an
   5354 # unsuccessful exit.
   5355 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
   5356 # given a .adb file, but produce no object file.  So we must check
   5357 # if an object file was really produced to guard against this.
   5358 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
   5359 if test x"$errors" = x && test -f conftest.$ac_objext; then
   5360   acx_cv_cc_gcc_supports_ada=yes
   5361 fi
   5362 rm -f conftest.*
   5363 fi
   5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
   5365 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
   5366 
   5367 if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
   5368   have_gnat=yes
   5369 else
   5370   have_gnat=no
   5371 fi
   5372 
   5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   5374 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   5375 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
   5376   $as_echo_n "(cached) " >&6
   5377 else
   5378    echo abfoo >t1
   5379   echo cdfoo >t2
   5380   gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   5381   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   5382     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   5383       :
   5384     else
   5385       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   5386     fi
   5387   fi
   5388   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   5389     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   5390       :
   5391     else
   5392       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   5393     fi
   5394   fi
   5395   rm t1 t2
   5396 
   5397 fi
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   5399 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   5400 do_compare="$gcc_cv_prog_cmp_skip"
   5401 
   5402 
   5403 
   5404 # Check whether --enable-bootstrap was given.
   5405 if test "${enable_bootstrap+set}" = set; then :
   5406   enableval=$enable_bootstrap;
   5407 else
   5408   enable_bootstrap=default
   5409 fi
   5410 
   5411 
   5412 # Issue errors and warnings for invalid/strange bootstrap combinations.
   5413 if test -r $srcdir/gcc/configure; then
   5414   have_compiler=yes
   5415 else
   5416   have_compiler=no
   5417 fi
   5418 
   5419 case "$have_compiler:$host:$target:$enable_bootstrap" in
   5420   *:*:*:no) ;;
   5421 
   5422   # Default behavior.  Enable bootstrap if we have a compiler
   5423   # and we are in a native configuration.
   5424   yes:$build:$build:default)
   5425     enable_bootstrap=yes ;;
   5426 
   5427   *:*:*:default)
   5428     enable_bootstrap=no ;;
   5429 
   5430   # We have a compiler and we are in a native configuration, bootstrap is ok
   5431   yes:$build:$build:yes)
   5432     ;;
   5433 
   5434   # Other configurations, but we have a compiler.  Assume the user knows
   5435   # what he's doing.
   5436   yes:*:*:yes)
   5437     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
   5438 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
   5439     ;;
   5440 
   5441   # No compiler: if they passed --enable-bootstrap explicitly, fail
   5442   no:*:*:yes)
   5443     as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
   5444 
   5445   # Fail if wrong command line
   5446   *)
   5447     as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
   5448     ;;
   5449 esac
   5450 
   5451 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
   5452 # C++98 compiler can still start the bootstrap.
   5453 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
   5454   CXX="$CXX -std=gnu++98"
   5455 fi
   5456 
   5457 # Used for setting $lt_cv_objdir
   5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   5459 $as_echo_n "checking for objdir... " >&6; }
   5460 if test "${lt_cv_objdir+set}" = set; then :
   5461   $as_echo_n "(cached) " >&6
   5462 else
   5463   rm -f .libs 2>/dev/null
   5464 mkdir .libs 2>/dev/null
   5465 if test -d .libs; then
   5466   lt_cv_objdir=.libs
   5467 else
   5468   # MS-DOS does not allow filenames that begin with a dot.
   5469   lt_cv_objdir=_libs
   5470 fi
   5471 rmdir .libs 2>/dev/null
   5472 fi
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   5474 $as_echo "$lt_cv_objdir" >&6; }
   5475 objdir=$lt_cv_objdir
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 cat >>confdefs.h <<_ACEOF
   5482 #define LT_OBJDIR "$lt_cv_objdir/"
   5483 _ACEOF
   5484 
   5485 
   5486 
   5487 # Check for GMP, MPFR and MPC
   5488 gmplibs="-lmpc -lmpfr -lgmp"
   5489 gmpinc=
   5490 have_gmp=no
   5491 
   5492 # Specify a location for mpc
   5493 # check for this first so it ends up on the link line before mpfr.
   5494 
   5495 # Check whether --with-mpc was given.
   5496 if test "${with_mpc+set}" = set; then :
   5497   withval=$with_mpc;
   5498 fi
   5499 
   5500 
   5501 # Check whether --with-mpc-include was given.
   5502 if test "${with_mpc_include+set}" = set; then :
   5503   withval=$with_mpc_include;
   5504 fi
   5505 
   5506 
   5507 # Check whether --with-mpc-lib was given.
   5508 if test "${with_mpc_lib+set}" = set; then :
   5509   withval=$with_mpc_lib;
   5510 fi
   5511 
   5512 
   5513 if test "x$with_mpc" != x; then
   5514   gmplibs="-L$with_mpc/lib $gmplibs"
   5515   gmpinc="-I$with_mpc/include $gmpinc"
   5516 fi
   5517 if test "x$with_mpc_include" != x; then
   5518   gmpinc="-I$with_mpc_include $gmpinc"
   5519 fi
   5520 if test "x$with_mpc_lib" != x; then
   5521   gmplibs="-L$with_mpc_lib $gmplibs"
   5522 fi
   5523 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
   5524   gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
   5525   gmpinc='-I$$s/mpc/src '"$gmpinc"
   5526   # Do not test the mpc version.  Assume that it is sufficient, since
   5527   # it is in the source tree, and the library has not been built yet
   5528   # but it would be included on the link line in the version check below
   5529   # hence making the test fail.
   5530   have_gmp=yes
   5531 fi
   5532 
   5533 # Specify a location for mpfr
   5534 # check for this first so it ends up on the link line before gmp.
   5535 
   5536 # Check whether --with-mpfr-dir was given.
   5537 if test "${with_mpfr_dir+set}" = set; then :
   5538   withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
   5539 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
   5540 fi
   5541 
   5542 
   5543 
   5544 # Check whether --with-mpfr was given.
   5545 if test "${with_mpfr+set}" = set; then :
   5546   withval=$with_mpfr;
   5547 fi
   5548 
   5549 
   5550 # Check whether --with-mpfr-include was given.
   5551 if test "${with_mpfr_include+set}" = set; then :
   5552   withval=$with_mpfr_include;
   5553 fi
   5554 
   5555 
   5556 # Check whether --with-mpfr-lib was given.
   5557 if test "${with_mpfr_lib+set}" = set; then :
   5558   withval=$with_mpfr_lib;
   5559 fi
   5560 
   5561 
   5562 if test "x$with_mpfr" != x; then
   5563   gmplibs="-L$with_mpfr/lib $gmplibs"
   5564   gmpinc="-I$with_mpfr/include $gmpinc"
   5565 fi
   5566 if test "x$with_mpfr_include" != x; then
   5567   gmpinc="-I$with_mpfr_include $gmpinc"
   5568 fi
   5569 if test "x$with_mpfr_lib" != x; then
   5570   gmplibs="-L$with_mpfr_lib $gmplibs"
   5571 fi
   5572 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
   5573   # MPFR v3.1.0 moved the sources into a src sub-directory.
   5574   if test -d ${srcdir}/mpfr/src; then
   5575     gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
   5576     gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
   5577     extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
   5578   else
   5579     gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
   5580     gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
   5581     extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
   5582   fi
   5583   # Do not test the mpfr version.  Assume that it is sufficient, since
   5584   # it is in the source tree, and the library has not been built yet
   5585   # but it would be included on the link line in the version check below
   5586   # hence making the test fail.
   5587   have_gmp=yes
   5588 fi
   5589 
   5590 # Specify a location for gmp
   5591 
   5592 # Check whether --with-gmp-dir was given.
   5593 if test "${with_gmp_dir+set}" = set; then :
   5594   withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
   5595 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
   5596 fi
   5597 
   5598 
   5599 
   5600 # Check whether --with-gmp was given.
   5601 if test "${with_gmp+set}" = set; then :
   5602   withval=$with_gmp;
   5603 fi
   5604 
   5605 
   5606 # Check whether --with-gmp-include was given.
   5607 if test "${with_gmp_include+set}" = set; then :
   5608   withval=$with_gmp_include;
   5609 fi
   5610 
   5611 
   5612 # Check whether --with-gmp-lib was given.
   5613 if test "${with_gmp_lib+set}" = set; then :
   5614   withval=$with_gmp_lib;
   5615 fi
   5616 
   5617 
   5618 
   5619 if test "x$with_gmp" != x; then
   5620   gmplibs="-L$with_gmp/lib $gmplibs"
   5621   gmpinc="-I$with_gmp/include $gmpinc"
   5622 fi
   5623 if test "x$with_gmp_include" != x; then
   5624   gmpinc="-I$with_gmp_include $gmpinc"
   5625 fi
   5626 if test "x$with_gmp_lib" != x; then
   5627   gmplibs="-L$with_gmp_lib $gmplibs"
   5628 fi
   5629 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
   5630   gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
   5631   gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
   5632   extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5633   extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5634   extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
   5635   # Do not test the gmp version.  Assume that it is sufficient, since
   5636   # it is in the source tree, and the library has not been built yet
   5637   # but it would be included on the link line in the version check below
   5638   # hence making the test fail.
   5639   have_gmp=yes
   5640 fi
   5641 
   5642 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   5643   have_gmp=yes
   5644   saved_CFLAGS="$CFLAGS"
   5645   CFLAGS="$CFLAGS $gmpinc"
   5646   # Check for the recommended and required versions of GMP.
   5647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
   5648 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
   5649 
   5650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5651 /* end confdefs.h.  */
   5652 #include "gmp.h"
   5653 int
   5654 main ()
   5655 {
   5656 
   5657   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5658   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5659   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
   5660   choke me
   5661   #endif
   5662 
   5663   ;
   5664   return 0;
   5665 }
   5666 _ACEOF
   5667 if ac_fn_c_try_compile "$LINENO"; then :
   5668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5669 /* end confdefs.h.  */
   5670 #include <gmp.h>
   5671 int
   5672 main ()
   5673 {
   5674 
   5675   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5676   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5677   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
   5678   choke me
   5679   #endif
   5680 
   5681   ;
   5682   return 0;
   5683 }
   5684 _ACEOF
   5685 if ac_fn_c_try_compile "$LINENO"; then :
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5687 $as_echo "yes" >&6; }
   5688 else
   5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5690 $as_echo "buggy but acceptable" >&6; }
   5691 fi
   5692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5693 else
   5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5695 $as_echo "no" >&6; }; have_gmp=no
   5696 fi
   5697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5698 
   5699   # If we have GMP, check the MPFR version.
   5700   if test x"$have_gmp" = xyes; then
   5701     # Check for the recommended and required versions of MPFR.
   5702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
   5703 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
   5704     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5705 /* end confdefs.h.  */
   5706 #include <gmp.h>
   5707     #include <mpfr.h>
   5708 int
   5709 main ()
   5710 {
   5711 
   5712     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
   5713     choke me
   5714     #endif
   5715 
   5716   ;
   5717   return 0;
   5718 }
   5719 _ACEOF
   5720 if ac_fn_c_try_compile "$LINENO"; then :
   5721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5722 /* end confdefs.h.  */
   5723 #include <gmp.h>
   5724     #include <mpfr.h>
   5725 int
   5726 main ()
   5727 {
   5728 
   5729     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
   5730     choke me
   5731     #endif
   5732 
   5733   ;
   5734   return 0;
   5735 }
   5736 _ACEOF
   5737 if ac_fn_c_try_compile "$LINENO"; then :
   5738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5739 $as_echo "yes" >&6; }
   5740 else
   5741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5742 $as_echo "buggy but acceptable" >&6; }
   5743 fi
   5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5745 else
   5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5747 $as_echo "no" >&6; }; have_gmp=no
   5748 fi
   5749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5750   fi
   5751 
   5752   # Check for the MPC header version.
   5753   if test x"$have_gmp" = xyes ; then
   5754     # Check for the recommended and required versions of MPC.
   5755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
   5756 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
   5757     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5758 /* end confdefs.h.  */
   5759 #include <mpc.h>
   5760 int
   5761 main ()
   5762 {
   5763 
   5764     #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
   5765     choke me
   5766     #endif
   5767 
   5768   ;
   5769   return 0;
   5770 }
   5771 _ACEOF
   5772 if ac_fn_c_try_compile "$LINENO"; then :
   5773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5774 /* end confdefs.h.  */
   5775 #include <mpc.h>
   5776 int
   5777 main ()
   5778 {
   5779 
   5780     #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
   5781     choke me
   5782     #endif
   5783 
   5784   ;
   5785   return 0;
   5786 }
   5787 _ACEOF
   5788 if ac_fn_c_try_compile "$LINENO"; then :
   5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5790 $as_echo "yes" >&6; }
   5791 else
   5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5793 $as_echo "buggy but acceptable" >&6; }
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5796 else
   5797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5798 $as_echo "no" >&6; }; have_gmp=no
   5799 fi
   5800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5801   fi
   5802 
   5803   # Now check the MPFR library.
   5804   if test x"$have_gmp" = xyes; then
   5805     saved_LIBS="$LIBS"
   5806     LIBS="$LIBS $gmplibs"
   5807     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
   5808 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
   5809     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5810 /* end confdefs.h.  */
   5811 #include <mpc.h>
   5812 int
   5813 main ()
   5814 {
   5815 
   5816     mpfr_t n;
   5817     mpfr_t x;
   5818     mpc_t c;
   5819     int t;
   5820     mpfr_init (n);
   5821     mpfr_init (x);
   5822     mpfr_atan2 (n, n, x, GMP_RNDN);
   5823     mpfr_erfc (n, x, GMP_RNDN);
   5824     mpfr_subnormalize (x, t, GMP_RNDN);
   5825     mpfr_clear(n);
   5826     mpfr_clear(x);
   5827     mpc_init2 (c, 53);
   5828     mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
   5829     mpc_cosh (c, c, MPC_RNDNN);
   5830     mpc_pow (c, c, c, MPC_RNDNN);
   5831     mpc_acosh (c, c, MPC_RNDNN);
   5832     mpc_clear (c);
   5833 
   5834   ;
   5835   return 0;
   5836 }
   5837 _ACEOF
   5838 if ac_fn_c_try_link "$LINENO"; then :
   5839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5840 $as_echo "yes" >&6; }
   5841 else
   5842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5843 $as_echo "no" >&6; }; have_gmp=no
   5844 fi
   5845 rm -f core conftest.err conftest.$ac_objext \
   5846     conftest$ac_exeext conftest.$ac_ext
   5847     LIBS="$saved_LIBS"
   5848   fi
   5849 
   5850   CFLAGS="$saved_CFLAGS"
   5851 
   5852 # The library versions listed in the error message below should match
   5853 # the HARD-minimums enforced above.
   5854   if test x$have_gmp != xyes; then
   5855     as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
   5856 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
   5857 their locations.  Source code for these libraries can be found at
   5858 their respective hosting sites as well as at
   5859 ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
   5860 http://gcc.gnu.org/install/prerequisites.html for additional info.  If
   5861 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
   5862 make sure that you have installed both the libraries and the header
   5863 files.  They may be located in separate packages." "$LINENO" 5
   5864   fi
   5865 fi
   5866 
   5867 # Flags needed for both GMP, MPFR and/or MPC.
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 # Libraries to use for stage1 or when not bootstrapping.
   5876 
   5877 # Check whether --with-stage1-libs was given.
   5878 if test "${with_stage1_libs+set}" = set; then :
   5879   withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   5880    stage1_libs=
   5881  else
   5882    stage1_libs=$withval
   5883  fi
   5884 else
   5885   stage1_libs=
   5886 fi
   5887 
   5888 
   5889 
   5890 # Linker flags to use for stage1 or when not bootstrapping.
   5891 
   5892 # Check whether --with-stage1-ldflags was given.
   5893 if test "${with_stage1_ldflags+set}" = set; then :
   5894   withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   5895    stage1_ldflags=
   5896  else
   5897    stage1_ldflags=$withval
   5898  fi
   5899 else
   5900   stage1_ldflags=
   5901  # In stage 1, default to linking libstdc++ and libgcc statically with GCC
   5902  # if supported.  But if the user explicitly specified the libraries to use,
   5903  # trust that they are doing what they want.
   5904  if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
   5905    stage1_ldflags="-static-libstdc++ -static-libgcc"
   5906  fi
   5907 fi
   5908 
   5909 
   5910 
   5911 # Libraries to use for stage2 and later builds.
   5912 
   5913 # Check whether --with-boot-libs was given.
   5914 if test "${with_boot_libs+set}" = set; then :
   5915   withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   5916    poststage1_libs=
   5917  else
   5918    poststage1_libs=$withval
   5919  fi
   5920 else
   5921   poststage1_libs=
   5922 fi
   5923 
   5924 
   5925 
   5926 # Linker flags to use for stage2 and later builds.
   5927 
   5928 # Check whether --with-boot-ldflags was given.
   5929 if test "${with_boot_ldflags+set}" = set; then :
   5930   withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   5931    poststage1_ldflags=
   5932  else
   5933    poststage1_ldflags=$withval
   5934  fi
   5935 else
   5936   poststage1_ldflags=
   5937  # In stages 2 and 3, default to linking libstdc++ and libgcc
   5938  # statically.  But if the user explicitly specified the libraries to
   5939  # use, trust that they are doing what they want.
   5940  if test "$poststage1_libs" = ""; then
   5941    poststage1_ldflags="-static-libstdc++ -static-libgcc"
   5942  fi
   5943 fi
   5944 
   5945 
   5946 
   5947 # GCC GRAPHITE dependency isl.
   5948 # Basic setup is inlined here, actual checks are in config/isl.m4
   5949 
   5950 
   5951 # Check whether --with-isl was given.
   5952 if test "${with_isl+set}" = set; then :
   5953   withval=$with_isl;
   5954 fi
   5955 
   5956 
   5957 # Treat --without-isl as a request to disable
   5958 # GRAPHITE support and skip all following checks.
   5959 if test "x$with_isl" != "xno"; then
   5960   # Check for isl
   5961 
   5962 
   5963 # Check whether --with-isl-include was given.
   5964 if test "${with_isl_include+set}" = set; then :
   5965   withval=$with_isl_include;
   5966 fi
   5967 
   5968 
   5969 # Check whether --with-isl-lib was given.
   5970 if test "${with_isl_lib+set}" = set; then :
   5971   withval=$with_isl_lib;
   5972 fi
   5973 
   5974 
   5975   # Check whether --enable-isl-version-check was given.
   5976 if test "${enable_isl_version_check+set}" = set; then :
   5977   enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
   5978 else
   5979   ENABLE_ISL_CHECK=yes
   5980 fi
   5981 
   5982 
   5983   # Initialize isllibs and islinc.
   5984   case $with_isl in
   5985     no)
   5986       isllibs=
   5987       islinc=
   5988       ;;
   5989     "" | yes)
   5990       ;;
   5991     *)
   5992       isllibs="-L$with_isl/lib"
   5993       islinc="-I$with_isl/include"
   5994       ;;
   5995   esac
   5996   if test "x${with_isl_include}" != x ; then
   5997     islinc="-I$with_isl_include"
   5998   fi
   5999   if test "x${with_isl_lib}" != x; then
   6000     isllibs="-L$with_isl_lib"
   6001   fi
   6002         if test "x${islinc}" = x && test "x${isllibs}" = x \
   6003      && test -d ${srcdir}/isl; then
   6004     isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
   6005     islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
   6006     ENABLE_ISL_CHECK=no
   6007     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
   6008 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
   6009   fi
   6010 
   6011   isllibs="${isllibs} -lisl"
   6012 
   6013 
   6014 
   6015   if test "${ENABLE_ISL_CHECK}" = yes ; then
   6016     _isl_saved_CFLAGS=$CFLAGS
   6017     _isl_saved_LDFLAGS=$LDFLAGS
   6018     _isl_saved_LIBS=$LIBS
   6019 
   6020     CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
   6021     LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
   6022     LIBS="${_isl_saved_LIBS} -lisl -lgmp"
   6023 
   6024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
   6025 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
   6026     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6027 /* end confdefs.h.  */
   6028 #include <isl/ctx.h>
   6029 int
   6030 main ()
   6031 {
   6032 isl_ctx_get_max_operations (isl_ctx_alloc ());
   6033   ;
   6034   return 0;
   6035 }
   6036 _ACEOF
   6037 if ac_fn_c_try_link "$LINENO"; then :
   6038   gcc_cv_isl=yes
   6039 else
   6040   gcc_cv_isl=no
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext \
   6043     conftest$ac_exeext conftest.$ac_ext
   6044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
   6045 $as_echo "$gcc_cv_isl" >&6; }
   6046 
   6047     if test "${gcc_cv_isl}" = no ; then
   6048       { $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
   6049 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
   6050     fi
   6051 
   6052     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
   6053 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
   6054     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6055 /* end confdefs.h.  */
   6056 #include <isl/schedule.h>
   6057 int
   6058 main ()
   6059 {
   6060 isl_options_set_schedule_serialize_sccs (NULL, 0);
   6061   ;
   6062   return 0;
   6063 }
   6064 _ACEOF
   6065 if ac_fn_c_try_link "$LINENO"; then :
   6066   ac_has_isl_options_set_schedule_serialize_sccs=yes
   6067 else
   6068   ac_has_isl_options_set_schedule_serialize_sccs=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext \
   6071     conftest$ac_exeext conftest.$ac_ext
   6072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
   6073 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
   6074 
   6075     if test x"$ac_has_isl_options_set_schedule_serialize_sccs" = x"yes"; then
   6076       islver="0.15"
   6077 
   6078     fi
   6079 
   6080     CFLAGS=$_isl_saved_CFLAGS
   6081     LDFLAGS=$_isl_saved_LDFLAGS
   6082     LIBS=$_isl_saved_LIBS
   6083   fi
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090   if test "x${with_isl}" = xno; then
   6091     graphite_requested=no
   6092   elif test "x${with_isl}" != x \
   6093     || test "x${with_isl_include}" != x \
   6094     || test "x${with_isl_lib}" != x ; then
   6095     graphite_requested=yes
   6096   else
   6097     graphite_requested=no
   6098   fi
   6099 
   6100 
   6101 
   6102   if test "${gcc_cv_isl}" = no ; then
   6103     isllibs=
   6104     islinc=
   6105   fi
   6106 
   6107   if test "${graphite_requested}" = yes \
   6108     && test "x${isllibs}" = x \
   6109     && test "x${islinc}" = x ; then
   6110 
   6111     as_fn_error "Unable to find a usable isl.  See config.log for details." "$LINENO" 5
   6112   fi
   6113 
   6114 
   6115 fi
   6116 
   6117 # If the isl check failed, disable builds of in-tree variant of isl
   6118 if test "x$with_isl" = xno ||
   6119    test "x$gcc_cv_isl" = xno; then
   6120   noconfigdirs="$noconfigdirs isl"
   6121   islinc=
   6122 fi
   6123 
   6124 
   6125 
   6126 
   6127 # Check for LTO support.
   6128 # Check whether --enable-lto was given.
   6129 if test "${enable_lto+set}" = set; then :
   6130   enableval=$enable_lto; enable_lto=$enableval
   6131 else
   6132   enable_lto=yes; default_enable_lto=yes
   6133 fi
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 target_elf=no
   6140 case $target in
   6141   *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
   6142   *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
   6143   alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \
   6144   nvptx-*-none)
   6145     target_elf=no
   6146     ;;
   6147   *)
   6148     target_elf=yes
   6149     ;;
   6150 esac
   6151 
   6152 if test $target_elf = yes; then :
   6153   # ELF platforms build the lto-plugin always.
   6154   build_lto_plugin=yes
   6155 
   6156 else
   6157   if test x"$default_enable_lto" = x"yes" ; then
   6158     case $target in
   6159       *-apple-darwin9* | *-cygwin* | *-mingw* | *djgpp*) ;;
   6160       # On other non-ELF platforms, LTO has yet to be validated.
   6161       *) enable_lto=no ;;
   6162     esac
   6163   else
   6164   # Apart from ELF platforms, only Windows and Darwin support LTO so far.
   6165   # It would also be nice to check the binutils support, but we don't
   6166   # have gcc_GAS_CHECK_FEATURE available here.  For now, we'll just
   6167   # warn during gcc/ subconfigure; unless you're bootstrapping with
   6168   # -flto it won't be needed until after installation anyway.
   6169     case $target in
   6170       *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
   6171       *) if test x"$enable_lto" = x"yes"; then
   6172 	as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
   6173         fi
   6174       ;;
   6175     esac
   6176   fi
   6177   # Among non-ELF, only Windows platforms support the lto-plugin so far.
   6178   # Build it unless LTO was explicitly disabled.
   6179   case $target in
   6180     *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
   6181     *) ;;
   6182   esac
   6183 
   6184 fi
   6185 
   6186 
   6187 # Check whether --enable-linker-plugin-configure-flags was given.
   6188 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
   6189   enableval=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags=$enableval
   6190 else
   6191   extra_linker_plugin_configure_flags=
   6192 fi
   6193 
   6194 
   6195 # Check whether --enable-linker-plugin-flags was given.
   6196 if test "${enable_linker_plugin_flags+set}" = set; then :
   6197   enableval=$enable_linker_plugin_flags; extra_linker_plugin_flags=$enableval
   6198 else
   6199   extra_linker_plugin_flags=
   6200 fi
   6201 
   6202 
   6203 
   6204 
   6205 # By default, C and C++ are the only stage 1 languages.
   6206 stage1_languages=,c,
   6207 
   6208 # Target libraries that we bootstrap.
   6209 bootstrap_target_libs=,target-libgcc,
   6210 
   6211 # Figure out what language subdirectories are present.
   6212 # Look if the user specified --enable-languages="..."; if not, use
   6213 # the environment variable $LANGUAGES if defined. $LANGUAGES might
   6214 # go away some day.
   6215 # NB:  embedded tabs in this IF block -- do not untabify
   6216 if test -d ${srcdir}/gcc; then
   6217   if test x"${enable_languages+set}" != xset; then
   6218     if test x"${LANGUAGES+set}" = xset; then
   6219       enable_languages="${LANGUAGES}"
   6220         echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
   6221     else
   6222       enable_languages=all
   6223     fi
   6224   else
   6225     if test x"${enable_languages}" = x ||
   6226        test x"${enable_languages}" = xyes;
   6227        then
   6228       echo configure.ac: --enable-languages needs at least one language argument 1>&2
   6229       exit 1
   6230     fi
   6231   fi
   6232   enable_languages=`echo "${enable_languages}" | sed -e 's/[ 	,][ 	,]*/,/g' -e 's/,$//'`
   6233 
   6234   # 'f95' is the old name for the 'fortran' language. We issue a warning
   6235   # and make the substitution.
   6236   case ,${enable_languages}, in
   6237     *,f95,*)
   6238       echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
   6239       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
   6240       ;;
   6241   esac
   6242 
   6243   # If bootstrapping, C++ must be enabled.
   6244   case ",$enable_languages,:$enable_bootstrap" in
   6245     *,c++,*:*) ;;
   6246     *:yes)
   6247       if test -f ${srcdir}/gcc/cp/config-lang.in; then
   6248         enable_languages="${enable_languages},c++"
   6249       else
   6250         as_fn_error "bootstrapping requires c++ sources" "$LINENO" 5
   6251       fi
   6252       ;;
   6253   esac
   6254 
   6255   # First scan to see if an enabled language requires some other language.
   6256   # We assume that a given config-lang.in will list all the language
   6257   # front ends it requires, even if some are required indirectly.
   6258   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6259     case ${lang_frag} in
   6260       ..) ;;
   6261       # The odd quoting in the next line works around
   6262       # an apparent bug in bash 1.12 on linux.
   6263       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6264       *)
   6265         # From the config-lang.in, get $language, $lang_requires, and
   6266         # $lang_requires_boot_languages.
   6267         language=
   6268         lang_requires=
   6269         lang_requires_boot_languages=
   6270         . ${lang_frag}
   6271         for other in ${lang_requires} ${lang_requires_boot_languages}; do
   6272           case ,${enable_languages}, in
   6273 	    *,$other,*) ;;
   6274 	    *,all,*) ;;
   6275 	    *,$language,*)
   6276 	      echo " \`$other' language required by \`$language'; enabling" 1>&2
   6277 	      enable_languages="${enable_languages},${other}"
   6278 	      ;;
   6279 	  esac
   6280         done
   6281 	for other in ${lang_requires_boot_languages} ; do
   6282 	  if test "$other" != "c"; then
   6283 	    case ,${enable_stage1_languages}, in
   6284 	      *,$other,*) ;;
   6285 	      *,all,*) ;;
   6286 	      *)
   6287 		case ,${enable_languages}, in
   6288 		  *,$language,*)
   6289 		    echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
   6290 		    enable_stage1_languages="$enable_stage1_languages,${other}"
   6291 		    ;;
   6292 		esac
   6293 		;;
   6294 	    esac
   6295           fi
   6296         done
   6297         ;;
   6298     esac
   6299   done
   6300 
   6301   new_enable_languages=,c,
   6302 
   6303   # If LTO is enabled, add the LTO front end.
   6304   if test "$enable_lto" = "yes" ; then
   6305     case ,${enable_languages}, in
   6306       *,lto,*) ;;
   6307       *) enable_languages="${enable_languages},lto" ;;
   6308     esac
   6309     if test "${build_lto_plugin}" = "yes" ; then
   6310       configdirs="$configdirs lto-plugin"
   6311     fi
   6312   fi
   6313 
   6314   # If we're building an offloading compiler, add the LTO front end.
   6315   if test x"$enable_as_accelerator_for" != x ; then
   6316     case ,${enable_languages}, in
   6317       *,lto,*) ;;
   6318       *) enable_languages="${enable_languages},lto" ;;
   6319     esac
   6320   fi
   6321 
   6322   missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
   6323   potential_languages=,c,
   6324 
   6325   enabled_target_libs=
   6326   disabled_target_libs=
   6327 
   6328   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6329     case ${lang_frag} in
   6330       ..) ;;
   6331       # The odd quoting in the next line works around
   6332       # an apparent bug in bash 1.12 on linux.
   6333       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6334       *)
   6335         # From the config-lang.in, get $language, $target_libs,
   6336         # $lang_dirs, $boot_language, and $build_by_default
   6337         language=
   6338         target_libs=
   6339         lang_dirs=
   6340         subdir_requires=
   6341         boot_language=no
   6342         build_by_default=yes
   6343         . ${lang_frag}
   6344         if test x${language} = x; then
   6345           echo "${lang_frag} doesn't set \$language." 1>&2
   6346           exit 1
   6347         fi
   6348 
   6349 	if test "$language" = "c++"; then
   6350 	  boot_language=yes
   6351 	fi
   6352 
   6353         add_this_lang=no
   6354         case ,${enable_languages}, in
   6355           *,${language},*)
   6356             # Language was explicitly selected; include it
   6357 	    # unless it is C, which is enabled by default.
   6358 	    if test "$language" != "c"; then
   6359 	      add_this_lang=yes
   6360 	    fi
   6361             ;;
   6362           *,all,*)
   6363             # 'all' was selected, select it if it is a default language
   6364 	    if test "$language" != "c"; then
   6365 	      add_this_lang=${build_by_default}
   6366 	    fi
   6367             ;;
   6368         esac
   6369 
   6370         # Disable languages that need other directories if these aren't available.
   6371 	for i in $subdir_requires; do
   6372 	  test -f "$srcdir/gcc/$i/config-lang.in" && continue
   6373 	  case ,${enable_languages}, in
   6374             *,${language},*)
   6375               # Specifically requested language; tell them.
   6376               as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
   6377               ;;
   6378             *)
   6379               # Silently disable.
   6380               add_this_lang=unsupported
   6381               ;;
   6382           esac
   6383 	done
   6384 
   6385         # Disable Ada if no preexisting GNAT is available.
   6386         case ,${enable_languages},:${language}:${have_gnat} in
   6387           *,${language},*:ada:no)
   6388             # Specifically requested language; tell them.
   6389             as_fn_error "GNAT is required to build $language" "$LINENO" 5
   6390             ;;
   6391           *:ada:no)
   6392             # Silently disable.
   6393             add_this_lang=unsupported
   6394             ;;
   6395         esac
   6396 
   6397 	# Disable a language that is unsupported by the target.
   6398 	case " $unsupported_languages " in
   6399 	  *" $language "*)
   6400 	    add_this_lang=unsupported
   6401 	    ;;
   6402 	esac
   6403 
   6404 	case $add_this_lang in
   6405 	  unsupported)
   6406             # Remove language-dependent dirs.
   6407 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6408 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6409 	    ;;
   6410 	  no)
   6411             # Remove language-dependent dirs; still show language as supported.
   6412 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6413 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6414             potential_languages="${potential_languages}${language},"
   6415 	    ;;
   6416           yes)
   6417 	    new_enable_languages="${new_enable_languages}${language},"
   6418             potential_languages="${potential_languages}${language},"
   6419 	    missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
   6420 	    enabled_target_libs="$enabled_target_libs $target_libs"
   6421 	    case "${boot_language}:,$enable_stage1_languages," in
   6422 	      yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
   6423 		# Add to (comma-separated) list of stage 1 languages.
   6424 		case ",$stage1_languages," in
   6425 		  *,$language,* | ,yes, | ,all,) ;;
   6426 		  *) stage1_languages="${stage1_languages}${language}," ;;
   6427 		esac
   6428 		# We need to bootstrap any supporting libraries.
   6429 		bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
   6430 		;;
   6431 	    esac
   6432 	    ;;
   6433         esac
   6434         ;;
   6435     esac
   6436   done
   6437 
   6438   # Add target libraries which are only needed for disabled languages
   6439   # to noconfigdirs.
   6440   if test -n "$disabled_target_libs"; then
   6441     for dir in $disabled_target_libs; do
   6442       case " $enabled_target_libs " in
   6443       *" ${dir} "*) ;;
   6444       *) noconfigdirs="$noconfigdirs $dir" ;;
   6445       esac
   6446     done
   6447   fi
   6448 
   6449   # Check whether --enable-stage1-languages was given.
   6450 if test "${enable_stage1_languages+set}" = set; then :
   6451   enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
   6452     ,no,|,,)
   6453       # Set it to something that will have no effect in the loop below
   6454       enable_stage1_languages=c ;;
   6455     ,yes,)
   6456       enable_stage1_languages=`echo $new_enable_languages | \
   6457 	sed -e "s/^,//" -e "s/,$//" ` ;;
   6458     *,all,*)
   6459       enable_stage1_languages=`echo ,$enable_stage1_languages, | \
   6460 	sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
   6461   esac
   6462 
   6463   # Add "good" languages from enable_stage1_languages to stage1_languages,
   6464   # while "bad" languages go in missing_languages.  Leave no duplicates.
   6465   for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
   6466     case $potential_languages in
   6467       *,$i,*)
   6468         case $stage1_languages in
   6469           *,$i,*) ;;
   6470           *) stage1_languages="$stage1_languages$i," ;;
   6471         esac ;;
   6472       *)
   6473         case $missing_languages in
   6474           *,$i,*) ;;
   6475           *) missing_languages="$missing_languages$i," ;;
   6476         esac ;;
   6477      esac
   6478   done
   6479 fi
   6480 
   6481 
   6482   # Remove leading/trailing commas that were added for simplicity
   6483   potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
   6484   missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
   6485   stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
   6486   new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
   6487 
   6488   if test "x$missing_languages" != x; then
   6489     as_fn_error "
   6490 The following requested languages could not be built: ${missing_languages}
   6491 Supported languages are: ${potential_languages}" "$LINENO" 5
   6492   fi
   6493   if test "x$new_enable_languages" != "x$enable_languages"; then
   6494     echo The following languages will be built: ${new_enable_languages}
   6495     enable_languages="$new_enable_languages"
   6496   fi
   6497 
   6498 
   6499   ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
   6500 fi
   6501 
   6502 # Handle --disable-<component> generically.
   6503 for dir in $configdirs $build_configdirs $target_configdirs ; do
   6504   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
   6505   varname=`echo $dirname | sed -e s/+/_/g`
   6506   if eval test x\${enable_${varname}} "=" xno ; then
   6507     noconfigdirs="$noconfigdirs $dir"
   6508   fi
   6509 done
   6510 
   6511 # Check for Boehm's garbage collector
   6512 # Check whether --enable-objc-gc was given.
   6513 if test "${enable_objc_gc+set}" = set; then :
   6514   enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
   6515   *,objc,*:*:yes:*target-boehm-gc*)
   6516     as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
   6517     ;;
   6518 esac
   6519 fi
   6520 
   6521 
   6522 # Make sure we only build Boehm's garbage collector if required.
   6523 case ,${enable_languages},:${enable_objc_gc} in
   6524   *,objc,*:yes)
   6525     # Keep target-boehm-gc if requested for Objective-C.
   6526     ;;
   6527   *)
   6528     # Otherwise remove target-boehm-gc depending on target-libjava.
   6529     if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
   6530       noconfigdirs="$noconfigdirs target-boehm-gc"
   6531     fi
   6532     ;;
   6533 esac
   6534 
   6535 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
   6536 case ,${enable_languages}, in
   6537   *,c++,*)
   6538     # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
   6539     case "${noconfigdirs}" in
   6540       *target-libstdc++-v3*)
   6541         noconfigdirs="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
   6542         ;;
   6543       *) ;;
   6544     esac
   6545     ;;
   6546   *)
   6547     noconfigdirs="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
   6548     ;;
   6549 esac
   6550 
   6551 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
   6552 # $build_configdirs and $target_configdirs.
   6553 # If we have the source for $noconfigdirs entries, add them to $notsupp.
   6554 
   6555 notsupp=""
   6556 for dir in . $skipdirs $noconfigdirs ; do
   6557   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
   6558   if test $dir != .  && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6559     configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
   6560     if test -r $srcdir/$dirname/configure ; then
   6561       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6562 	true
   6563       else
   6564 	notsupp="$notsupp $dir"
   6565       fi
   6566     fi
   6567   fi
   6568   if test $dir != .  && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6569     build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
   6570     if test -r $srcdir/$dirname/configure ; then
   6571       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6572 	true
   6573       else
   6574 	notsupp="$notsupp $dir"
   6575       fi
   6576     fi
   6577   fi
   6578   if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6579     target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
   6580     if test -r $srcdir/$dirname/configure ; then
   6581       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6582 	true
   6583       else
   6584 	notsupp="$notsupp $dir"
   6585       fi
   6586     fi
   6587   fi
   6588 done
   6589 
   6590 # Quietly strip out all directories which aren't configurable in this tree.
   6591 # This relies on all configurable subdirectories being autoconfiscated, which
   6592 # is now the case.
   6593 build_configdirs_all="$build_configdirs"
   6594 build_configdirs=
   6595 for i in ${build_configdirs_all} ; do
   6596   j=`echo $i | sed -e s/build-//g`
   6597   if test -f ${srcdir}/$j/configure ; then
   6598     build_configdirs="${build_configdirs} $i"
   6599   fi
   6600 done
   6601 
   6602 configdirs_all="$configdirs"
   6603 configdirs=
   6604 for i in ${configdirs_all} ; do
   6605   if test -f ${srcdir}/$i/configure ; then
   6606     configdirs="${configdirs} $i"
   6607   fi
   6608 done
   6609 
   6610 target_configdirs_all="$target_configdirs"
   6611 target_configdirs=
   6612 for i in ${target_configdirs_all} ; do
   6613   j=`echo $i | sed -e s/target-//g`
   6614   if test -f ${srcdir}/$j/configure ; then
   6615     target_configdirs="${target_configdirs} $i"
   6616   fi
   6617 done
   6618 
   6619 # Exclude target-zlib if target-libjava isn't built.
   6620 case ${target_configdirs} in
   6621 *target-libjava*)
   6622   ;;
   6623 *)
   6624   target_configdirs="`echo ${target_configdirs} | sed -e 's/target-zlib//'`"
   6625   ;;
   6626 esac
   6627 
   6628 # libiberty-linker-plugin is special: it doesn't have its own source directory,
   6629 # so we have to add it after the preceding checks.
   6630 if test x"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
   6631 then
   6632   case " $configdirs " in
   6633     *" libiberty "*)
   6634       # If we can build libiberty, we can also build libiberty-linker-plugin.
   6635       configdirs="$configdirs libiberty-linker-plugin"
   6636       extra_linker_plugin_configure_flags="$extra_linker_plugin_configure_flags \
   6637         --with-libiberty=../libiberty-linker-plugin";;
   6638     *)
   6639       as_fn_error "libiberty missing" "$LINENO" 5;;
   6640   esac
   6641 fi
   6642 
   6643 # Sometimes we have special requirements for the host libiberty.
   6644 extra_host_libiberty_configure_flags=
   6645 extra_host_zlib_configure_flags=
   6646 case " $configdirs " in
   6647   *" lto-plugin "* | *" libcc1 "*)
   6648     # When these are to be built as shared libraries, the same applies to
   6649     # libiberty.
   6650     extra_host_libiberty_configure_flags=--enable-shared
   6651     ;;
   6652   *" bfd "*)
   6653     # When bfd is to be built as a shared library, the same applies to
   6654     # zlib.
   6655     if test "$enable_shared" = "yes"; then
   6656       extra_host_zlib_configure_flags=--enable-host-shared
   6657     fi
   6658     ;;
   6659 esac
   6660 
   6661 
   6662 
   6663 # Produce a warning message for the subdirs we can't configure.
   6664 # This isn't especially interesting in the Cygnus tree, but in the individual
   6665 # FSF releases, it's important to let people know when their machine isn't
   6666 # supported by the one or two programs in a package.
   6667 
   6668 if test -n "${notsupp}" && test -z "${norecursion}" ; then
   6669   # If $appdirs is non-empty, at least one of those directories must still
   6670   # be configured, or we error out.  (E.g., if the gas release supports a
   6671   # specified target in some subdirs but not the gas subdir, we shouldn't
   6672   # pretend that all is well.)
   6673   if test -n "$appdirs" ; then
   6674     for dir in $appdirs ; do
   6675       if test -r $dir/Makefile.in ; then
   6676 	if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6677 	  appdirs=""
   6678 	  break
   6679 	fi
   6680 	if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
   6681 	  appdirs=""
   6682 	  break
   6683 	fi
   6684       fi
   6685     done
   6686     if test -n "$appdirs" ; then
   6687       echo "*** This configuration is not supported by this package." 1>&2
   6688       exit 1
   6689     fi
   6690   fi
   6691   # Okay, some application will build, or we don't care to check.  Still
   6692   # notify of subdirs not getting built.
   6693   echo "*** This configuration is not supported in the following subdirectories:" 1>&2
   6694   echo "    ${notsupp}" 1>&2
   6695   echo "    (Any other directories should still work fine.)" 1>&2
   6696 fi
   6697 
   6698 case "$host" in
   6699   *msdosdjgpp*)
   6700     enable_gdbtk=no ;;
   6701 esac
   6702 
   6703 # To find our prefix, in gcc_cv_tool_prefix.
   6704 
   6705 # The user is always right.
   6706 if test "${PATH_SEPARATOR+set}" != set; then
   6707   echo "#! /bin/sh" >conf$$.sh
   6708   echo  "exit 0"   >>conf$$.sh
   6709   chmod +x conf$$.sh
   6710   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   6711     PATH_SEPARATOR=';'
   6712   else
   6713     PATH_SEPARATOR=:
   6714   fi
   6715   rm -f conf$$.sh
   6716 fi
   6717 
   6718 
   6719 
   6720 if test "x$exec_prefix" = xNONE; then
   6721         if test "x$prefix" = xNONE; then
   6722                 gcc_cv_tool_prefix=$ac_default_prefix
   6723         else
   6724                 gcc_cv_tool_prefix=$prefix
   6725         fi
   6726 else
   6727         gcc_cv_tool_prefix=$exec_prefix
   6728 fi
   6729 
   6730 # If there is no compiler in the tree, use the PATH only.  In any
   6731 # case, if there is no compiler in the tree nobody should use
   6732 # AS_FOR_TARGET and LD_FOR_TARGET.
   6733 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
   6734     gcc_version=`cat $srcdir/gcc/BASE-VER`
   6735     gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6736     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
   6737     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6738     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
   6739     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6740     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
   6741 else
   6742     gcc_cv_tool_dirs=
   6743 fi
   6744 
   6745 if test x$build = x$target && test -n "$md_exec_prefix"; then
   6746         gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
   6747 fi
   6748 
   6749 
   6750 
   6751 copy_dirs=
   6752 
   6753 
   6754 # Check whether --with-build-sysroot was given.
   6755 if test "${with_build_sysroot+set}" = set; then :
   6756   withval=$with_build_sysroot; if test x"$withval" != x ; then
   6757      SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
   6758    fi
   6759 else
   6760   SYSROOT_CFLAGS_FOR_TARGET=
   6761 fi
   6762 
   6763 
   6764 
   6765 
   6766 # Check whether --with-debug-prefix-map was given.
   6767 if test "${with_debug_prefix_map+set}" = set; then :
   6768   withval=$with_debug_prefix_map; if test x"$withval" != x; then
   6769      DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6770      for debug_map in $withval; do
   6771        DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
   6772      done
   6773    fi
   6774 else
   6775   DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6776 fi
   6777 
   6778 
   6779 
   6780 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
   6781 # might be empty or "-g".  We don't require a C++ compiler, so CXXFLAGS
   6782 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
   6783 # We want to ensure that TARGET libraries (which we know are built with
   6784 # gcc) are built with "-O2 -g", so include those options when setting
   6785 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
   6786 if test "x$CFLAGS_FOR_TARGET" = x; then
   6787   if test "x${is_cross_compiler}" = xyes; then
   6788     CFLAGS_FOR_TARGET="-g -O2"
   6789   else
   6790     CFLAGS_FOR_TARGET=$CFLAGS
   6791     case " $CFLAGS " in
   6792       *" -O2 "*) ;;
   6793       *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
   6794     esac
   6795     case " $CFLAGS " in
   6796       *" -g "* | *" -g3 "*) ;;
   6797       *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
   6798     esac
   6799   fi
   6800 fi
   6801 
   6802 
   6803 if test "x$CXXFLAGS_FOR_TARGET" = x; then
   6804   if test "x${is_cross_compiler}" = xyes; then
   6805     CXXFLAGS_FOR_TARGET="-g -O2"
   6806   else
   6807     CXXFLAGS_FOR_TARGET=$CXXFLAGS
   6808     case " $CXXFLAGS " in
   6809       *" -O2 "*) ;;
   6810       *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
   6811     esac
   6812     case " $CXXFLAGS " in
   6813       *" -g "* | *" -g3 "*) ;;
   6814       *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
   6815     esac
   6816   fi
   6817 fi
   6818 
   6819 
   6820 
   6821 
   6822 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
   6823 # the named directory are copied to $(tooldir)/sys-include.
   6824 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
   6825   if test x${is_cross_compiler} = xno ; then
   6826     echo 1>&2 '***' --with-headers is only supported when cross compiling
   6827     exit 1
   6828   fi
   6829   if test x"${with_headers}" != xyes ; then
   6830     x=${gcc_cv_tool_prefix}
   6831     copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
   6832   fi
   6833 fi
   6834 
   6835 # Handle --with-libs=XXX.  If the value is not "yes", the contents of
   6836 # the name directories are copied to $(tooldir)/lib.  Multiple directories
   6837 # are permitted.
   6838 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   6839   if test x${is_cross_compiler} = xno ; then
   6840     echo 1>&2 '***' --with-libs is only supported when cross compiling
   6841     exit 1
   6842   fi
   6843   if test x"${with_libs}" != xyes ; then
   6844     # Copy the libraries in reverse order, so that files in the first named
   6845     # library override files in subsequent libraries.
   6846     x=${gcc_cv_tool_prefix}
   6847     for l in ${with_libs}; do
   6848       copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
   6849     done
   6850   fi
   6851 fi
   6852 
   6853 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
   6854 #
   6855 # This is done by determining whether or not the appropriate directory
   6856 # is available, and by checking whether or not specific configurations
   6857 # have requested that this magic not happen.
   6858 #
   6859 # The command line options always override the explicit settings in
   6860 # configure.ac, and the settings in configure.ac override this magic.
   6861 #
   6862 # If the default for a toolchain is to use GNU as and ld, and you don't
   6863 # want to do that, then you should use the --without-gnu-as and
   6864 # --without-gnu-ld options for the configure script.  Similarly, if
   6865 # the default is to use the included zlib and you don't want to do that,
   6866 # you should use the --with-system-zlib option for the configure script.
   6867 
   6868 if test x${use_gnu_as} = x &&
   6869    echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
   6870   with_gnu_as=yes
   6871   extra_host_args="$extra_host_args --with-gnu-as"
   6872 fi
   6873 
   6874 if test x${use_gnu_ld} = x &&
   6875    echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
   6876   with_gnu_ld=yes
   6877   extra_host_args="$extra_host_args --with-gnu-ld"
   6878 fi
   6879 
   6880 if test x${use_included_zlib} = x &&
   6881    echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
   6882   :
   6883 else
   6884   with_system_zlib=yes
   6885   extra_host_args="$extra_host_args --with-system-zlib"
   6886 fi
   6887 
   6888 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
   6889 # can detect this case.
   6890 
   6891 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
   6892   with_newlib=yes
   6893   extra_host_args="$extra_host_args --with-newlib"
   6894 fi
   6895 
   6896 # Handle ${copy_dirs}
   6897 set fnord ${copy_dirs}
   6898 shift
   6899 while test $# != 0 ; do
   6900   if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
   6901     :
   6902   else
   6903     echo Copying $1 to $2
   6904 
   6905     # Use the install script to create the directory and all required
   6906     # parent directories.
   6907     if test -d $2 ; then
   6908       :
   6909     else
   6910       echo >config.temp
   6911       ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
   6912     fi
   6913 
   6914     # Copy the directory, assuming we have tar.
   6915     # FIXME: Should we use B in the second tar?  Not all systems support it.
   6916     (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
   6917 
   6918     # It is the responsibility of the user to correctly adjust all
   6919     # symlinks.  If somebody can figure out how to handle them correctly
   6920     # here, feel free to add the code.
   6921 
   6922     echo $1 > $2/COPIED
   6923   fi
   6924   shift; shift
   6925 done
   6926 
   6927 # Determine a target-dependent exec_prefix that the installed
   6928 # gcc will search in.  Keep this list sorted by triplet, with
   6929 # the *-*-osname triplets last.
   6930 md_exec_prefix=
   6931 case "${target}" in
   6932   i[34567]86-pc-msdosdjgpp*)
   6933     md_exec_prefix=/dev/env/DJDIR/bin
   6934     ;;
   6935   *-*-hpux* | \
   6936   *-*-nto-qnx* | \
   6937   *-*-solaris2*)
   6938     md_exec_prefix=/usr/ccs/bin
   6939     ;;
   6940 esac
   6941 
   6942 extra_arflags_for_target=
   6943 extra_nmflags_for_target=
   6944 extra_ranlibflags_for_target=
   6945 target_makefile_frag=/dev/null
   6946 case "${target}" in
   6947   spu-*-*)
   6948     target_makefile_frag="config/mt-spu"
   6949     ;;
   6950   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   6951     target_makefile_frag="config/mt-sde"
   6952     ;;
   6953   mipsisa*-*-elfoabi*)
   6954     target_makefile_frag="config/mt-mips-elfoabi"
   6955     ;;
   6956   mips*-*-*linux* | mips*-*-gnu*)
   6957     target_makefile_frag="config/mt-mips-gnu"
   6958     ;;
   6959   nios2-*-elf*)
   6960     target_makefile_frag="config/mt-nios2-elf"
   6961     ;;
   6962   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   6963     target_makefile_frag="config/mt-gnu"
   6964     ;;
   6965   *-*-aix4.[3456789]* | *-*-aix[56789].*)
   6966     # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
   6967     # commands to handle both 32-bit and 64-bit objects.  These flags are
   6968     # harmless if we're using GNU nm or ar.
   6969     extra_arflags_for_target=" -X32_64"
   6970     extra_nmflags_for_target=" -B -X32_64"
   6971     ;;
   6972 esac
   6973 
   6974 alphaieee_frag=/dev/null
   6975 case $target in
   6976   alpha*-*-*)
   6977     # This just makes sure to use the -mieee option to build target libs.
   6978     # This should probably be set individually by each library.
   6979     alphaieee_frag="config/mt-alphaieee"
   6980     ;;
   6981 esac
   6982 
   6983 # If --enable-target-optspace always use -Os instead of -O2 to build
   6984 # the target libraries, similarly if it is not specified, use -Os
   6985 # on selected platforms.
   6986 ospace_frag=/dev/null
   6987 case "${enable_target_optspace}:${target}" in
   6988   yes:*)
   6989     ospace_frag="config/mt-ospace"
   6990     ;;
   6991   :d30v-*)
   6992     ospace_frag="config/mt-d30v"
   6993     ;;
   6994   :m32r-* | :d10v-* | :fr30-* | :i?86*-*-elfiamcu)
   6995     ospace_frag="config/mt-ospace"
   6996     ;;
   6997   no:* | :*)
   6998     ;;
   6999   *)
   7000     echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
   7001     ;;
   7002 esac
   7003 
   7004 # Some systems (e.g., one of the i386-aix systems the gas testers are
   7005 # using) don't handle "\$" correctly, so don't use it here.
   7006 tooldir='${exec_prefix}'/${target_noncanonical}
   7007 build_tooldir=${tooldir}
   7008 
   7009 # Create a .gdbinit file which runs the one in srcdir
   7010 # and tells GDB to look there for source files.
   7011 
   7012 if test -r ${srcdir}/.gdbinit ; then
   7013   case ${srcdir} in
   7014     .) ;;
   7015     *) cat > ./.gdbinit <<EOF
   7016 # ${NO_EDIT}
   7017 dir ${srcdir}
   7018 dir .
   7019 source ${srcdir}/.gdbinit
   7020 EOF
   7021     ;;
   7022   esac
   7023 fi
   7024 
   7025 # Make sure that the compiler is able to generate an executable.  If it
   7026 # can't, we are probably in trouble.  We don't care whether we can run the
   7027 # executable--we might be using a cross compiler--we only care whether it
   7028 # can be created.  At this point the main configure script has set CC.
   7029 we_are_ok=no
   7030 echo "int main () { return 0; }" > conftest.c
   7031 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7032 if test $? = 0 ; then
   7033   if test -s conftest || test -s conftest.exe ; then
   7034     we_are_ok=yes
   7035   fi
   7036 fi
   7037 case $we_are_ok in
   7038   no)
   7039     echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
   7040     echo 1>&2 "*** You must set the environment variable CC to a working compiler."
   7041     rm -f conftest*
   7042     exit 1
   7043     ;;
   7044 esac
   7045 rm -f conftest*
   7046 
   7047 # Decide which environment variable is used to find dynamic libraries.
   7048 case "${host}" in
   7049   *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
   7050   *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
   7051   *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
   7052   *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
   7053 esac
   7054 
   7055 # On systems where the dynamic library environment variable is PATH,
   7056 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
   7057 # built executables to PATH.
   7058 if test "$RPATH_ENVVAR" = PATH; then
   7059   GCC_SHLIB_SUBDIR=/shlib
   7060 else
   7061   GCC_SHLIB_SUBDIR=
   7062 fi
   7063 
   7064 # Adjust the toplevel makefile according to whether bootstrap was selected.
   7065 case $enable_bootstrap in
   7066   yes)
   7067     bootstrap_suffix=bootstrap
   7068     BUILD_CONFIG=bootstrap-debug
   7069     ;;
   7070   no)
   7071     bootstrap_suffix=no-bootstrap
   7072     BUILD_CONFIG=
   7073     ;;
   7074 esac
   7075 
   7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
   7077 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
   7078 
   7079 
   7080 # Check whether --with-build-config was given.
   7081 if test "${with_build_config+set}" = set; then :
   7082   withval=$with_build_config; case $with_build_config in
   7083    yes) with_build_config= ;;
   7084    no) with_build_config= BUILD_CONFIG= ;;
   7085    esac
   7086 fi
   7087 
   7088 
   7089 if test "x${with_build_config}" != x; then
   7090   BUILD_CONFIG=$with_build_config
   7091 else
   7092   case $BUILD_CONFIG in
   7093   bootstrap-debug)
   7094     if echo "int f (void) { return 0; }" > conftest.c &&
   7095        ${CC} -c conftest.c &&
   7096        mv conftest.o conftest.o.g0 &&
   7097        ${CC} -c -g conftest.c &&
   7098        mv conftest.o conftest.o.g &&
   7099        ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
   7100       :
   7101     else
   7102       BUILD_CONFIG=
   7103     fi
   7104     rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
   7105     ;;
   7106   esac
   7107 fi
   7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
   7109 $as_echo "$BUILD_CONFIG" >&6; }
   7110 
   7111 
   7112 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
   7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
   7114 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
   7115 # Check whether --enable-vtable-verify was given.
   7116 if test "${enable_vtable_verify+set}" = set; then :
   7117   enableval=$enable_vtable_verify; case "$enableval" in
   7118  yes) enable_vtable_verify=yes ;;
   7119  no)  enable_vtable_verify=no ;;
   7120  *)   enable_vtable_verify=no;;
   7121  esac
   7122 else
   7123   enable_vtable_verify=no
   7124 fi
   7125 
   7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
   7127 $as_echo "$enable_vtable_verify" >&6; }
   7128 
   7129 # Record target_configdirs and the configure arguments for target and
   7130 # build configuration in Makefile.
   7131 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
   7132 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
   7133 bootstrap_fixincludes=no
   7134 
   7135 # If we are building libgomp, bootstrap it.
   7136 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
   7137   bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
   7138 fi
   7139 
   7140 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
   7141 # or bootstrap-ubsan, bootstrap it.
   7142 if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then
   7143   case "$BUILD_CONFIG" in
   7144     *bootstrap-asan* | *bootstrap-ubsan* )
   7145       bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
   7146       bootstrap_fixincludes=yes
   7147       ;;
   7148   esac
   7149 fi
   7150 
   7151 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
   7152 if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
   7153    test "$enable_vtable_verify" != no; then
   7154   bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
   7155 fi
   7156 
   7157 # If we are building libmpx, bootstrap it.
   7158 if echo " ${target_configdirs} " | grep " libmpx " > /dev/null 2>&1; then
   7159   bootstrap_target_libs=${bootstrap_target_libs}target-libmpx,
   7160 fi
   7161 
   7162 # Determine whether gdb needs tk/tcl or not.
   7163 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
   7164 # and in that case we want gdb to be built without tk.  Ugh!
   7165 # In fact I believe gdb is the *only* package directly dependent on tk,
   7166 # so we should be able to put the 'maybe's in unconditionally and
   7167 # leave out the maybe dependencies when enable_gdbtk is false.  I'm not
   7168 # 100% sure that that's safe though.
   7169 
   7170 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
   7171 case "$enable_gdbtk" in
   7172   no)
   7173     GDB_TK="" ;;
   7174   yes)
   7175     GDB_TK="${gdb_tk}" ;;
   7176   *)
   7177     # Only add the dependency on gdbtk when GDBtk is part of the gdb
   7178     # distro.  Eventually someone will fix this and move Insight, nee
   7179     # gdbtk to a separate directory.
   7180     if test -d ${srcdir}/gdb/gdbtk ; then
   7181       GDB_TK="${gdb_tk}"
   7182     else
   7183       GDB_TK=""
   7184     fi
   7185     ;;
   7186 esac
   7187 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
   7188 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
   7189 
   7190 # Strip out unwanted targets.
   7191 
   7192 # While at that, we remove Makefiles if we were started for recursive
   7193 # configuration, so that the top-level Makefile reconfigures them,
   7194 # like we used to do when configure itself was recursive.
   7195 
   7196 # Loop over modules.  We used to use the "$extrasub" feature from Autoconf
   7197 # but now we're fixing up the Makefile ourselves with the additional
   7198 # commands passed to AC_CONFIG_FILES.  Use separate variables
   7199 # extrasub-{build,host,target} not because there is any reason to split
   7200 # the substitutions up that way, but only to remain below the limit of
   7201 # 99 commands in a script, for HP-UX sed.
   7202 # Do not nest @if/@endif pairs, because configure will not warn you at all.
   7203 
   7204 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
   7205   yes:yes:*\ gold\ *:*,c++,*) ;;
   7206   yes:yes:*\ gold\ *:*)
   7207     as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
   7208     ;;
   7209 esac
   7210 
   7211 extrasub_build=
   7212 for module in ${build_configdirs} ; do
   7213   if test -z "${no_recursion}" \
   7214      && test -f ${build_subdir}/${module}/Makefile; then
   7215     echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
   7216     rm -f ${build_subdir}/${module}/Makefile
   7217   fi
   7218   extrasub_build="$extrasub_build
   7219 /^@if build-$module\$/d
   7220 /^@endif build-$module\$/d
   7221 /^@if build-$module-$bootstrap_suffix\$/d
   7222 /^@endif build-$module-$bootstrap_suffix\$/d"
   7223 done
   7224 extrasub_host=
   7225 for module in ${configdirs} ; do
   7226   if test -z "${no_recursion}"; then
   7227     for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
   7228       if test -f ${file}; then
   7229 	echo 1>&2 "*** removing ${file} to force reconfigure"
   7230 	rm -f ${file}
   7231       fi
   7232     done
   7233   fi
   7234   case ${module},${bootstrap_fixincludes} in
   7235     fixincludes,no) host_bootstrap_suffix=no-bootstrap ;;
   7236     *) host_bootstrap_suffix=$bootstrap_suffix ;;
   7237   esac
   7238   extrasub_host="$extrasub_host
   7239 /^@if $module\$/d
   7240 /^@endif $module\$/d
   7241 /^@if $module-$host_bootstrap_suffix\$/d
   7242 /^@endif $module-$host_bootstrap_suffix\$/d"
   7243 done
   7244 extrasub_target=
   7245 for module in ${target_configdirs} ; do
   7246   if test -z "${no_recursion}" \
   7247      && test -f ${target_subdir}/${module}/Makefile; then
   7248     echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
   7249     rm -f ${target_subdir}/${module}/Makefile
   7250   fi
   7251 
   7252   # We only bootstrap target libraries listed in bootstrap_target_libs.
   7253   case $bootstrap_target_libs in
   7254     *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
   7255     *) target_bootstrap_suffix=no-bootstrap ;;
   7256   esac
   7257 
   7258   extrasub_target="$extrasub_target
   7259 /^@if target-$module\$/d
   7260 /^@endif target-$module\$/d
   7261 /^@if target-$module-$target_bootstrap_suffix\$/d
   7262 /^@endif target-$module-$target_bootstrap_suffix\$/d"
   7263 done
   7264 
   7265 # Do the final fixup along with target modules.
   7266 extrasub_target="$extrasub_target
   7267 /^@if /,/^@endif /d"
   7268 
   7269 # Create the serialization dependencies.  This uses a temporary file.
   7270 
   7271 # Check whether --enable-serial-configure was given.
   7272 if test "${enable_serial_configure+set}" = set; then :
   7273   enableval=$enable_serial_configure;
   7274 fi
   7275 
   7276 
   7277 case ${enable_serial_configure} in
   7278   yes)
   7279     enable_serial_build_configure=yes
   7280     enable_serial_host_configure=yes
   7281     enable_serial_target_configure=yes
   7282     ;;
   7283 esac
   7284 
   7285 # These force 'configure's to be done one at a time, to avoid problems
   7286 # with contention over a shared config.cache.
   7287 rm -f serdep.tmp
   7288 echo '# serdep.tmp' > serdep.tmp
   7289 olditem=
   7290 test "x${enable_serial_build_configure}" = xyes &&
   7291 for item in ${build_configdirs} ; do
   7292   case ${olditem} in
   7293     "") ;;
   7294     *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
   7295   esac
   7296   olditem=${item}
   7297 done
   7298 olditem=
   7299 test "x${enable_serial_host_configure}" = xyes &&
   7300 for item in ${configdirs} ; do
   7301   case ${olditem} in
   7302     "") ;;
   7303     *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
   7304   esac
   7305   olditem=${item}
   7306 done
   7307 olditem=
   7308 test "x${enable_serial_target_configure}" = xyes &&
   7309 for item in ${target_configdirs} ; do
   7310   case ${olditem} in
   7311     "") ;;
   7312     *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
   7313   esac
   7314   olditem=${item}
   7315 done
   7316 serialization_dependencies=serdep.tmp
   7317 
   7318 
   7319 # Base args.  Strip norecursion, cache-file, srcdir, host, build,
   7320 # target, nonopt, and variable assignments.  These are the ones we
   7321 # might not want to pass down to subconfigures.  The exception being
   7322 # --cache-file=/dev/null, which is used to turn off the use of cache
   7323 # files altogether, and which should be passed on to subconfigures.
   7324 # Also strip program-prefix, program-suffix, and program-transform-name,
   7325 # so that we can pass down a consistent program-transform-name.
   7326 baseargs=
   7327 tbaseargs=
   7328 keep_next=no
   7329 skip_next=no
   7330 eval "set -- $ac_configure_args"
   7331 for ac_arg
   7332 do
   7333   if test X"$skip_next" = X"yes"; then
   7334     skip_next=no
   7335     continue
   7336   fi
   7337   if test X"$keep_next" = X"yes"; then
   7338     case $ac_arg in
   7339       *\'*)
   7340 	ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7341     esac
   7342     baseargs="$baseargs '$ac_arg'"
   7343     tbaseargs="$tbaseargs '$ac_arg'"
   7344     keep_next=no
   7345     continue
   7346   fi
   7347 
   7348   # Handle separated arguments.  Based on the logic generated by
   7349   # autoconf 2.59.
   7350   case $ac_arg in
   7351     *=* | --config-cache | -C | -disable-* | --disable-* \
   7352       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   7353       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   7354       | -with-* | --with-* | -without-* | --without-* | --x)
   7355       separate_arg=no
   7356       ;;
   7357     -*)
   7358       separate_arg=yes
   7359       ;;
   7360     *)
   7361       separate_arg=no
   7362       ;;
   7363   esac
   7364 
   7365   skip_targ=no
   7366   case $ac_arg in
   7367 
   7368   --with-* | --without-*)
   7369     libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
   7370 
   7371     case $libopt in
   7372     *[-_]include)
   7373       lib=`echo "$libopt" | sed 's,[-_]include$,,'`
   7374       ;;
   7375     *[-_]lib)
   7376       lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
   7377       ;;
   7378     *)
   7379       lib=$libopt
   7380       ;;
   7381     esac
   7382 
   7383 
   7384     case $lib in
   7385     mpc | mpfr | gmp | isl)
   7386       # If we're processing --with-$lib, --with-$lib-include or
   7387       # --with-$lib-lib, for one of the libs above, and target is
   7388       # different from host, don't pass the current argument to any
   7389       # target library's configure.
   7390       if test x$is_cross_compiler = xyes; then
   7391         skip_targ=yes
   7392       fi
   7393       ;;
   7394     esac
   7395     ;;
   7396   esac
   7397 
   7398   case "$ac_arg" in
   7399     --cache-file=/dev/null | \
   7400     -cache-file=/dev/null )
   7401       # Handled here to avoid the test to skip args below.
   7402       baseargs="$baseargs '$ac_arg'"
   7403       tbaseargs="$tbaseargs '$ac_arg'"
   7404       # Assert: $separate_arg should always be no.
   7405       keep_next=$separate_arg
   7406       ;;
   7407     --no*)
   7408       continue
   7409       ;;
   7410     --c* | \
   7411     --sr* | \
   7412     --ho* | \
   7413     --bu* | \
   7414     --t* | \
   7415     --program-* | \
   7416     -cache_file* | \
   7417     -srcdir* | \
   7418     -host* | \
   7419     -build* | \
   7420     -target* | \
   7421     -program-prefix* | \
   7422     -program-suffix* | \
   7423     -program-transform-name* )
   7424       skip_next=$separate_arg
   7425       continue
   7426       ;;
   7427     -*)
   7428       # An option.  Add it.
   7429       case $ac_arg in
   7430 	*\'*)
   7431 	  ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7432       esac
   7433       baseargs="$baseargs '$ac_arg'"
   7434       if test X"$skip_targ" = Xno; then
   7435         tbaseargs="$tbaseargs '$ac_arg'"
   7436       fi
   7437       keep_next=$separate_arg
   7438       ;;
   7439     *)
   7440       # Either a variable assignment, or a nonopt (triplet).  Don't
   7441       # pass it down; let the Makefile handle this.
   7442       continue
   7443       ;;
   7444   esac
   7445 done
   7446 # Remove the initial space we just introduced and, as these will be
   7447 # expanded by make, quote '$'.
   7448 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   7449 
   7450 # Add in --program-transform-name, after --program-prefix and
   7451 # --program-suffix have been applied to it.  Autoconf has already
   7452 # doubled dollar signs and backslashes in program_transform_name; we want
   7453 # the backslashes un-doubled, and then the entire thing wrapped in single
   7454 # quotes, because this will be expanded first by make and then by the shell.
   7455 # Also, because we want to override the logic in subdir configure scripts to
   7456 # choose program_transform_name, replace any s,x,x, with s,y,y,.
   7457 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
   7458 ${program_transform_name}
   7459 EOF_SED
   7460 gcc_transform_name=`cat conftestsed.out`
   7461 rm -f conftestsed.out
   7462 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
   7463 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
   7464 if test "$silent" = yes; then
   7465   baseargs="$baseargs --silent"
   7466   tbaseargs="$tbaseargs --silent"
   7467 fi
   7468 baseargs="$baseargs --disable-option-checking"
   7469 tbaseargs="$tbaseargs --disable-option-checking"
   7470 
   7471 # Record and document user additions to sub configure arguments.
   7472 
   7473 
   7474 
   7475 
   7476 # For the build-side libraries, we just need to pretend we're native,
   7477 # and not use the same cache file.  Multilibs are neither needed nor
   7478 # desired.  We can't even use the same cache file for all build-side
   7479 # libraries, as they're compiled differently; some with C, some with
   7480 # C++ or with different feature-enabling options.
   7481 build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}"
   7482 
   7483 # For host modules, accept cache file option, or specification as blank.
   7484 case "${cache_file}" in
   7485 "") # empty
   7486   cache_file_option="" ;;
   7487 /* | [A-Za-z]:[\\/]* ) # absolute path
   7488   cache_file_option="--cache-file=${cache_file}" ;;
   7489 *) # relative path
   7490   cache_file_option="--cache-file=../${cache_file}" ;;
   7491 esac
   7492 
   7493 # Host dirs don't like to share a cache file either, horribly enough.
   7494 # This seems to be due to autoconf 2.5x stupidity.
   7495 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
   7496 
   7497 target_configargs="$target_configargs ${tbaseargs}"
   7498 
   7499 # Passing a --with-cross-host argument lets the target libraries know
   7500 # whether they are being built with a cross-compiler or being built
   7501 # native.  However, it would be better to use other mechanisms to make the
   7502 # sorts of decisions they want to make on this basis.  Please consider
   7503 # this option to be deprecated.  FIXME.
   7504 if test x${is_cross_compiler} = xyes ; then
   7505   target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
   7506 fi
   7507 
   7508 # Special user-friendly check for native x86_64-linux build, if
   7509 # multilib is not explicitly enabled.
   7510 case "$target:$have_compiler:$host:$target:$enable_multilib" in
   7511   x86_64-*linux*:yes:$build:$build:)
   7512     # Make sure we have a development environment that handles 32-bit
   7513     dev64=no
   7514     echo "int main () { return 0; }" > conftest.c
   7515     ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7516     if test $? = 0 ; then
   7517       if test -s conftest || test -s conftest.exe ; then
   7518 	dev64=yes
   7519       fi
   7520     fi
   7521     rm -f conftest*
   7522     if test x${dev64} != xyes ; then
   7523       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
   7524     fi
   7525     ;;
   7526 esac
   7527 
   7528 # Default to --enable-multilib.
   7529 if test x${enable_multilib} = x ; then
   7530   target_configargs="--enable-multilib ${target_configargs}"
   7531 fi
   7532 
   7533 # Pass --with-newlib if appropriate.  Note that target_configdirs has
   7534 # changed from the earlier setting of with_newlib.
   7535 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
   7536   target_configargs="--with-newlib ${target_configargs}"
   7537 fi
   7538 
   7539 # Different target subdirs use different values of certain variables
   7540 # (notably CXX).  Worse, multilibs use *lots* of different values.
   7541 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
   7542 # it doesn't automatically accept command-line overrides of them.
   7543 # This means it's not safe for target subdirs to share a cache file,
   7544 # which is disgusting, but there you have it.  Hopefully this can be
   7545 # fixed in future.  It's still worthwhile to use a cache file for each
   7546 # directory.  I think.
   7547 
   7548 # Pass the appropriate --build, --host, --target and --cache-file arguments.
   7549 # We need to pass --target, as newer autoconf's requires consistency
   7550 # for target_alias and gcc doesn't manage it consistently.
   7551 target_configargs="--cache-file=./config.cache ${target_configargs}"
   7552 
   7553 FLAGS_FOR_TARGET=
   7554 case " $target_configdirs " in
   7555  *" newlib "*)
   7556   case " $target_configargs " in
   7557   *" --with-newlib "*)
   7558    case "$target" in
   7559     *-cygwin*)
   7560       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
   7561       ;;
   7562    esac
   7563 
   7564    # If we're not building GCC, don't discard standard headers.
   7565    if test -d ${srcdir}/gcc; then
   7566      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
   7567 
   7568      if test "${build}" != "${host}"; then
   7569        # On Canadian crosses, CC_FOR_TARGET will have already been set
   7570        # by `configure', so we won't have an opportunity to add -Bgcc/
   7571        # to it.  This is right: we don't want to search that directory
   7572        # for binaries, but we want the header files in there, so add
   7573        # them explicitly.
   7574        FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
   7575 
   7576        # Someone might think of using the pre-installed headers on
   7577        # Canadian crosses, in case the installed compiler is not fully
   7578        # compatible with the compiler being built.  In this case, it
   7579        # would be better to flag an error than risking having
   7580        # incompatible object files being constructed.  We can't
   7581        # guarantee that an error will be flagged, but let's hope the
   7582        # compiler will do it, when presented with incompatible header
   7583        # files.
   7584      fi
   7585    fi
   7586 
   7587    case "${target}-${is_cross_compiler}" in
   7588    i[3456789]86-*-linux*-no)
   7589       # Here host == target, so we don't need to build gcc,
   7590       # so we don't want to discard standard headers.
   7591       FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
   7592       ;;
   7593    *)
   7594       # If we're building newlib, use its generic headers last, but search
   7595       # for any libc-related directories first (so make it the last -B
   7596       # switch).
   7597       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
   7598 
   7599       # If we're building libgloss, find the startup file, simulator library
   7600       # and linker script.
   7601       case " $target_configdirs " in
   7602 	*" libgloss "*)
   7603 	# Look for startup file, simulator library and maybe linker script.
   7604 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
   7605 	# Look for libnosys.a in case the target needs it.
   7606 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
   7607 	# Most targets have the linker script in the source directory.
   7608 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
   7609 	;;
   7610       esac
   7611       ;;
   7612    esac
   7613    ;;
   7614   esac
   7615   ;;
   7616 esac
   7617 
   7618 case "$target" in
   7619   x86_64-*mingw* | *-w64-mingw*)
   7620   # MinGW-w64 does not use newlib, nor does it use winsup. It may,
   7621   # however, use a symlink named 'mingw' in ${prefix} .
   7622     FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
   7623     ;;
   7624   *-mingw*)
   7625   # MinGW can't be handled as Cygwin above since it does not use newlib.
   7626     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'
   7627     ;;
   7628 esac
   7629 
   7630 # Allow the user to override the flags for
   7631 # our build compiler if desired.
   7632 if test x"${build}" = x"${host}" ; then
   7633   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
   7634   CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
   7635   LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
   7636 fi
   7637 
   7638 # On Canadian crosses, we'll be searching the right directories for
   7639 # the previously-installed cross compiler, so don't bother to add
   7640 # flags for directories within the install tree of the compiler
   7641 # being built; programs in there won't even run.
   7642 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
   7643   # Search for pre-installed headers if nothing else fits.
   7644   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
   7645 fi
   7646 
   7647 if test "x${use_gnu_ld}" = x &&
   7648    echo " ${configdirs} " | grep " ld " > /dev/null ; then
   7649   # Arrange for us to find uninstalled linker scripts.
   7650   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
   7651 fi
   7652 
   7653 # Search for other target-specific linker scripts and such.
   7654 case "${target}" in
   7655   mep*)
   7656     FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
   7657     ;;
   7658 esac
   7659 
   7660 # Makefile fragments.
   7661 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
   7662 do
   7663   eval fragval=\$$frag
   7664   if test $fragval != /dev/null; then
   7665     eval $frag=${srcdir}/$fragval
   7666   fi
   7667 done
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 # Miscellanea: directories, flags, etc.
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 # Build module lists & subconfigure args.
   7683 
   7684 
   7685 
   7686 # Host module lists & subconfigure args.
   7687 
   7688 
   7689 
   7690 
   7691 # Target module lists & subconfigure args.
   7692 
   7693 
   7694 
   7695 # Build tools.
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 # Generate default definitions for YACC, M4, LEX and other programs that run
   7714 # on the build machine.  These are used if the Makefile can't locate these
   7715 # programs in objdir.
   7716 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
   7717 
   7718 for ac_prog in 'bison -y' byacc yacc
   7719 do
   7720   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7721 set dummy $ac_prog; ac_word=$2
   7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7723 $as_echo_n "checking for $ac_word... " >&6; }
   7724 if test "${ac_cv_prog_YACC+set}" = set; then :
   7725   $as_echo_n "(cached) " >&6
   7726 else
   7727   if test -n "$YACC"; then
   7728   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   7729 else
   7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7731 for as_dir in $PATH
   7732 do
   7733   IFS=$as_save_IFS
   7734   test -z "$as_dir" && as_dir=.
   7735     for ac_exec_ext in '' $ac_executable_extensions; do
   7736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7737     ac_cv_prog_YACC="$ac_prog"
   7738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7739     break 2
   7740   fi
   7741 done
   7742   done
   7743 IFS=$as_save_IFS
   7744 
   7745 fi
   7746 fi
   7747 YACC=$ac_cv_prog_YACC
   7748 if test -n "$YACC"; then
   7749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   7750 $as_echo "$YACC" >&6; }
   7751 else
   7752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7753 $as_echo "no" >&6; }
   7754 fi
   7755 
   7756 
   7757   test -n "$YACC" && break
   7758 done
   7759 test -n "$YACC" || YACC="$MISSING bison -y"
   7760 
   7761 case " $build_configdirs " in
   7762   *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
   7763 esac
   7764 
   7765 for ac_prog in bison
   7766 do
   7767   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7768 set dummy $ac_prog; ac_word=$2
   7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7770 $as_echo_n "checking for $ac_word... " >&6; }
   7771 if test "${ac_cv_prog_BISON+set}" = set; then :
   7772   $as_echo_n "(cached) " >&6
   7773 else
   7774   if test -n "$BISON"; then
   7775   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   7776 else
   7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7778 for as_dir in $PATH
   7779 do
   7780   IFS=$as_save_IFS
   7781   test -z "$as_dir" && as_dir=.
   7782     for ac_exec_ext in '' $ac_executable_extensions; do
   7783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7784     ac_cv_prog_BISON="$ac_prog"
   7785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7786     break 2
   7787   fi
   7788 done
   7789   done
   7790 IFS=$as_save_IFS
   7791 
   7792 fi
   7793 fi
   7794 BISON=$ac_cv_prog_BISON
   7795 if test -n "$BISON"; then
   7796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   7797 $as_echo "$BISON" >&6; }
   7798 else
   7799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7800 $as_echo "no" >&6; }
   7801 fi
   7802 
   7803 
   7804   test -n "$BISON" && break
   7805 done
   7806 test -n "$BISON" || BISON="$MISSING bison"
   7807 
   7808 case " $build_configdirs " in
   7809   *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
   7810 esac
   7811 
   7812 for ac_prog in gm4 gnum4 m4
   7813 do
   7814   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7815 set dummy $ac_prog; ac_word=$2
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7817 $as_echo_n "checking for $ac_word... " >&6; }
   7818 if test "${ac_cv_prog_M4+set}" = set; then :
   7819   $as_echo_n "(cached) " >&6
   7820 else
   7821   if test -n "$M4"; then
   7822   ac_cv_prog_M4="$M4" # Let the user override the test.
   7823 else
   7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7825 for as_dir in $PATH
   7826 do
   7827   IFS=$as_save_IFS
   7828   test -z "$as_dir" && as_dir=.
   7829     for ac_exec_ext in '' $ac_executable_extensions; do
   7830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7831     ac_cv_prog_M4="$ac_prog"
   7832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7833     break 2
   7834   fi
   7835 done
   7836   done
   7837 IFS=$as_save_IFS
   7838 
   7839 fi
   7840 fi
   7841 M4=$ac_cv_prog_M4
   7842 if test -n "$M4"; then
   7843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
   7844 $as_echo "$M4" >&6; }
   7845 else
   7846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7847 $as_echo "no" >&6; }
   7848 fi
   7849 
   7850 
   7851   test -n "$M4" && break
   7852 done
   7853 test -n "$M4" || M4="$MISSING m4"
   7854 
   7855 case " $build_configdirs " in
   7856   *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
   7857 esac
   7858 
   7859 for ac_prog in flex lex
   7860 do
   7861   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7862 set dummy $ac_prog; ac_word=$2
   7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7864 $as_echo_n "checking for $ac_word... " >&6; }
   7865 if test "${ac_cv_prog_LEX+set}" = set; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   if test -n "$LEX"; then
   7869   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   7870 else
   7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7872 for as_dir in $PATH
   7873 do
   7874   IFS=$as_save_IFS
   7875   test -z "$as_dir" && as_dir=.
   7876     for ac_exec_ext in '' $ac_executable_extensions; do
   7877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7878     ac_cv_prog_LEX="$ac_prog"
   7879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7880     break 2
   7881   fi
   7882 done
   7883   done
   7884 IFS=$as_save_IFS
   7885 
   7886 fi
   7887 fi
   7888 LEX=$ac_cv_prog_LEX
   7889 if test -n "$LEX"; then
   7890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   7891 $as_echo "$LEX" >&6; }
   7892 else
   7893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7894 $as_echo "no" >&6; }
   7895 fi
   7896 
   7897 
   7898   test -n "$LEX" && break
   7899 done
   7900 test -n "$LEX" || LEX="$MISSING flex"
   7901 
   7902 case " $build_configdirs " in
   7903   *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   7904   *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
   7905 esac
   7906 
   7907 for ac_prog in flex
   7908 do
   7909   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7910 set dummy $ac_prog; ac_word=$2
   7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7912 $as_echo_n "checking for $ac_word... " >&6; }
   7913 if test "${ac_cv_prog_FLEX+set}" = set; then :
   7914   $as_echo_n "(cached) " >&6
   7915 else
   7916   if test -n "$FLEX"; then
   7917   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
   7918 else
   7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7920 for as_dir in $PATH
   7921 do
   7922   IFS=$as_save_IFS
   7923   test -z "$as_dir" && as_dir=.
   7924     for ac_exec_ext in '' $ac_executable_extensions; do
   7925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7926     ac_cv_prog_FLEX="$ac_prog"
   7927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7928     break 2
   7929   fi
   7930 done
   7931   done
   7932 IFS=$as_save_IFS
   7933 
   7934 fi
   7935 fi
   7936 FLEX=$ac_cv_prog_FLEX
   7937 if test -n "$FLEX"; then
   7938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
   7939 $as_echo "$FLEX" >&6; }
   7940 else
   7941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7942 $as_echo "no" >&6; }
   7943 fi
   7944 
   7945 
   7946   test -n "$FLEX" && break
   7947 done
   7948 test -n "$FLEX" || FLEX="$MISSING flex"
   7949 
   7950 case " $build_configdirs " in
   7951   *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   7952 esac
   7953 
   7954 for ac_prog in makeinfo
   7955 do
   7956   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7957 set dummy $ac_prog; ac_word=$2
   7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7959 $as_echo_n "checking for $ac_word... " >&6; }
   7960 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
   7961   $as_echo_n "(cached) " >&6
   7962 else
   7963   if test -n "$MAKEINFO"; then
   7964   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   7965 else
   7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7967 for as_dir in $PATH
   7968 do
   7969   IFS=$as_save_IFS
   7970   test -z "$as_dir" && as_dir=.
   7971     for ac_exec_ext in '' $ac_executable_extensions; do
   7972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7973     ac_cv_prog_MAKEINFO="$ac_prog"
   7974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7975     break 2
   7976   fi
   7977 done
   7978   done
   7979 IFS=$as_save_IFS
   7980 
   7981 fi
   7982 fi
   7983 MAKEINFO=$ac_cv_prog_MAKEINFO
   7984 if test -n "$MAKEINFO"; then
   7985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   7986 $as_echo "$MAKEINFO" >&6; }
   7987 else
   7988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7989 $as_echo "no" >&6; }
   7990 fi
   7991 
   7992 
   7993   test -n "$MAKEINFO" && break
   7994 done
   7995 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   7996 
   7997 case " $build_configdirs " in
   7998   *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
   7999   *)
   8000 
   8001     # For an installed makeinfo, we require it to be from texinfo 4.7 or
   8002     # higher, else we use the "missing" dummy.
   8003     if ${MAKEINFO} --version \
   8004        | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
   8005       :
   8006     else
   8007       MAKEINFO="$MISSING makeinfo"
   8008     fi
   8009     ;;
   8010 
   8011 esac
   8012 
   8013 # FIXME: expect and dejagnu may become build tools?
   8014 
   8015 for ac_prog in expect
   8016 do
   8017   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8018 set dummy $ac_prog; ac_word=$2
   8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8020 $as_echo_n "checking for $ac_word... " >&6; }
   8021 if test "${ac_cv_prog_EXPECT+set}" = set; then :
   8022   $as_echo_n "(cached) " >&6
   8023 else
   8024   if test -n "$EXPECT"; then
   8025   ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
   8026 else
   8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8028 for as_dir in $PATH
   8029 do
   8030   IFS=$as_save_IFS
   8031   test -z "$as_dir" && as_dir=.
   8032     for ac_exec_ext in '' $ac_executable_extensions; do
   8033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8034     ac_cv_prog_EXPECT="$ac_prog"
   8035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8036     break 2
   8037   fi
   8038 done
   8039   done
   8040 IFS=$as_save_IFS
   8041 
   8042 fi
   8043 fi
   8044 EXPECT=$ac_cv_prog_EXPECT
   8045 if test -n "$EXPECT"; then
   8046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   8047 $as_echo "$EXPECT" >&6; }
   8048 else
   8049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8050 $as_echo "no" >&6; }
   8051 fi
   8052 
   8053 
   8054   test -n "$EXPECT" && break
   8055 done
   8056 test -n "$EXPECT" || EXPECT="expect"
   8057 
   8058 case " $configdirs " in
   8059   *" expect "*)
   8060     test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
   8061     ;;
   8062 esac
   8063 
   8064 for ac_prog in runtest
   8065 do
   8066   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8067 set dummy $ac_prog; ac_word=$2
   8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8069 $as_echo_n "checking for $ac_word... " >&6; }
   8070 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   if test -n "$RUNTEST"; then
   8074   ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
   8075 else
   8076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8077 for as_dir in $PATH
   8078 do
   8079   IFS=$as_save_IFS
   8080   test -z "$as_dir" && as_dir=.
   8081     for ac_exec_ext in '' $ac_executable_extensions; do
   8082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8083     ac_cv_prog_RUNTEST="$ac_prog"
   8084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8085     break 2
   8086   fi
   8087 done
   8088   done
   8089 IFS=$as_save_IFS
   8090 
   8091 fi
   8092 fi
   8093 RUNTEST=$ac_cv_prog_RUNTEST
   8094 if test -n "$RUNTEST"; then
   8095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
   8096 $as_echo "$RUNTEST" >&6; }
   8097 else
   8098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8099 $as_echo "no" >&6; }
   8100 fi
   8101 
   8102 
   8103   test -n "$RUNTEST" && break
   8104 done
   8105 test -n "$RUNTEST" || RUNTEST="runtest"
   8106 
   8107 case " $configdirs " in
   8108   *" dejagnu "*)
   8109     test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
   8110     ;;
   8111 esac
   8112 
   8113 
   8114 # Host tools.
   8115 ncn_tool_prefix=
   8116 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
   8117 ncn_target_tool_prefix=
   8118 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
   8119 
   8120 
   8121 
   8122 if test -n "$AR"; then
   8123   ac_cv_prog_AR=$AR
   8124 elif test -n "$ac_cv_prog_AR"; then
   8125   AR=$ac_cv_prog_AR
   8126 fi
   8127 
   8128 if test -n "$ac_cv_prog_AR"; then
   8129   for ncn_progname in ar; do
   8130     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8131 set dummy ${ncn_progname}; ac_word=$2
   8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8133 $as_echo_n "checking for $ac_word... " >&6; }
   8134 if test "${ac_cv_prog_AR+set}" = set; then :
   8135   $as_echo_n "(cached) " >&6
   8136 else
   8137   if test -n "$AR"; then
   8138   ac_cv_prog_AR="$AR" # Let the user override the test.
   8139 else
   8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8141 for as_dir in $PATH
   8142 do
   8143   IFS=$as_save_IFS
   8144   test -z "$as_dir" && as_dir=.
   8145     for ac_exec_ext in '' $ac_executable_extensions; do
   8146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8147     ac_cv_prog_AR="${ncn_progname}"
   8148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8149     break 2
   8150   fi
   8151 done
   8152   done
   8153 IFS=$as_save_IFS
   8154 
   8155 fi
   8156 fi
   8157 AR=$ac_cv_prog_AR
   8158 if test -n "$AR"; then
   8159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8160 $as_echo "$AR" >&6; }
   8161 else
   8162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8163 $as_echo "no" >&6; }
   8164 fi
   8165 
   8166 
   8167   done
   8168 fi
   8169 
   8170 for ncn_progname in ar; do
   8171   if test -n "$ncn_tool_prefix"; then
   8172     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8173 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8175 $as_echo_n "checking for $ac_word... " >&6; }
   8176 if test "${ac_cv_prog_AR+set}" = set; then :
   8177   $as_echo_n "(cached) " >&6
   8178 else
   8179   if test -n "$AR"; then
   8180   ac_cv_prog_AR="$AR" # Let the user override the test.
   8181 else
   8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8183 for as_dir in $PATH
   8184 do
   8185   IFS=$as_save_IFS
   8186   test -z "$as_dir" && as_dir=.
   8187     for ac_exec_ext in '' $ac_executable_extensions; do
   8188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8189     ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
   8190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8191     break 2
   8192   fi
   8193 done
   8194   done
   8195 IFS=$as_save_IFS
   8196 
   8197 fi
   8198 fi
   8199 AR=$ac_cv_prog_AR
   8200 if test -n "$AR"; then
   8201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8202 $as_echo "$AR" >&6; }
   8203 else
   8204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8205 $as_echo "no" >&6; }
   8206 fi
   8207 
   8208 
   8209   fi
   8210   if test -z "$ac_cv_prog_AR" && test $build = $host ; then
   8211     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8212 set dummy ${ncn_progname}; ac_word=$2
   8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8214 $as_echo_n "checking for $ac_word... " >&6; }
   8215 if test "${ac_cv_prog_AR+set}" = set; then :
   8216   $as_echo_n "(cached) " >&6
   8217 else
   8218   if test -n "$AR"; then
   8219   ac_cv_prog_AR="$AR" # Let the user override the test.
   8220 else
   8221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8222 for as_dir in $PATH
   8223 do
   8224   IFS=$as_save_IFS
   8225   test -z "$as_dir" && as_dir=.
   8226     for ac_exec_ext in '' $ac_executable_extensions; do
   8227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8228     ac_cv_prog_AR="${ncn_progname}"
   8229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8230     break 2
   8231   fi
   8232 done
   8233   done
   8234 IFS=$as_save_IFS
   8235 
   8236 fi
   8237 fi
   8238 AR=$ac_cv_prog_AR
   8239 if test -n "$AR"; then
   8240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8241 $as_echo "$AR" >&6; }
   8242 else
   8243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8244 $as_echo "no" >&6; }
   8245 fi
   8246 
   8247 
   8248   fi
   8249   test -n "$ac_cv_prog_AR" && break
   8250 done
   8251 
   8252 if test -z "$ac_cv_prog_AR" ; then
   8253   set dummy ar
   8254   if test $build = $host ; then
   8255     AR="$2"
   8256   else
   8257     AR="${ncn_tool_prefix}$2"
   8258   fi
   8259 fi
   8260 
   8261 
   8262 
   8263 if test -n "$AS"; then
   8264   ac_cv_prog_AS=$AS
   8265 elif test -n "$ac_cv_prog_AS"; then
   8266   AS=$ac_cv_prog_AS
   8267 fi
   8268 
   8269 if test -n "$ac_cv_prog_AS"; then
   8270   for ncn_progname in as; do
   8271     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8272 set dummy ${ncn_progname}; ac_word=$2
   8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8274 $as_echo_n "checking for $ac_word... " >&6; }
   8275 if test "${ac_cv_prog_AS+set}" = set; then :
   8276   $as_echo_n "(cached) " >&6
   8277 else
   8278   if test -n "$AS"; then
   8279   ac_cv_prog_AS="$AS" # Let the user override the test.
   8280 else
   8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8282 for as_dir in $PATH
   8283 do
   8284   IFS=$as_save_IFS
   8285   test -z "$as_dir" && as_dir=.
   8286     for ac_exec_ext in '' $ac_executable_extensions; do
   8287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8288     ac_cv_prog_AS="${ncn_progname}"
   8289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8290     break 2
   8291   fi
   8292 done
   8293   done
   8294 IFS=$as_save_IFS
   8295 
   8296 fi
   8297 fi
   8298 AS=$ac_cv_prog_AS
   8299 if test -n "$AS"; then
   8300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8301 $as_echo "$AS" >&6; }
   8302 else
   8303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8304 $as_echo "no" >&6; }
   8305 fi
   8306 
   8307 
   8308   done
   8309 fi
   8310 
   8311 for ncn_progname in as; do
   8312   if test -n "$ncn_tool_prefix"; then
   8313     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8314 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8316 $as_echo_n "checking for $ac_word... " >&6; }
   8317 if test "${ac_cv_prog_AS+set}" = set; then :
   8318   $as_echo_n "(cached) " >&6
   8319 else
   8320   if test -n "$AS"; then
   8321   ac_cv_prog_AS="$AS" # Let the user override the test.
   8322 else
   8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8324 for as_dir in $PATH
   8325 do
   8326   IFS=$as_save_IFS
   8327   test -z "$as_dir" && as_dir=.
   8328     for ac_exec_ext in '' $ac_executable_extensions; do
   8329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8330     ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
   8331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8332     break 2
   8333   fi
   8334 done
   8335   done
   8336 IFS=$as_save_IFS
   8337 
   8338 fi
   8339 fi
   8340 AS=$ac_cv_prog_AS
   8341 if test -n "$AS"; then
   8342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8343 $as_echo "$AS" >&6; }
   8344 else
   8345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8346 $as_echo "no" >&6; }
   8347 fi
   8348 
   8349 
   8350   fi
   8351   if test -z "$ac_cv_prog_AS" && test $build = $host ; then
   8352     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8353 set dummy ${ncn_progname}; ac_word=$2
   8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8355 $as_echo_n "checking for $ac_word... " >&6; }
   8356 if test "${ac_cv_prog_AS+set}" = set; then :
   8357   $as_echo_n "(cached) " >&6
   8358 else
   8359   if test -n "$AS"; then
   8360   ac_cv_prog_AS="$AS" # Let the user override the test.
   8361 else
   8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8363 for as_dir in $PATH
   8364 do
   8365   IFS=$as_save_IFS
   8366   test -z "$as_dir" && as_dir=.
   8367     for ac_exec_ext in '' $ac_executable_extensions; do
   8368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8369     ac_cv_prog_AS="${ncn_progname}"
   8370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8371     break 2
   8372   fi
   8373 done
   8374   done
   8375 IFS=$as_save_IFS
   8376 
   8377 fi
   8378 fi
   8379 AS=$ac_cv_prog_AS
   8380 if test -n "$AS"; then
   8381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8382 $as_echo "$AS" >&6; }
   8383 else
   8384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8385 $as_echo "no" >&6; }
   8386 fi
   8387 
   8388 
   8389   fi
   8390   test -n "$ac_cv_prog_AS" && break
   8391 done
   8392 
   8393 if test -z "$ac_cv_prog_AS" ; then
   8394   set dummy as
   8395   if test $build = $host ; then
   8396     AS="$2"
   8397   else
   8398     AS="${ncn_tool_prefix}$2"
   8399   fi
   8400 fi
   8401 
   8402 
   8403 
   8404 if test -n "$DLLTOOL"; then
   8405   ac_cv_prog_DLLTOOL=$DLLTOOL
   8406 elif test -n "$ac_cv_prog_DLLTOOL"; then
   8407   DLLTOOL=$ac_cv_prog_DLLTOOL
   8408 fi
   8409 
   8410 if test -n "$ac_cv_prog_DLLTOOL"; then
   8411   for ncn_progname in dlltool; do
   8412     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8413 set dummy ${ncn_progname}; ac_word=$2
   8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8415 $as_echo_n "checking for $ac_word... " >&6; }
   8416 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   8417   $as_echo_n "(cached) " >&6
   8418 else
   8419   if test -n "$DLLTOOL"; then
   8420   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8421 else
   8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8423 for as_dir in $PATH
   8424 do
   8425   IFS=$as_save_IFS
   8426   test -z "$as_dir" && as_dir=.
   8427     for ac_exec_ext in '' $ac_executable_extensions; do
   8428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8429     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8431     break 2
   8432   fi
   8433 done
   8434   done
   8435 IFS=$as_save_IFS
   8436 
   8437 fi
   8438 fi
   8439 DLLTOOL=$ac_cv_prog_DLLTOOL
   8440 if test -n "$DLLTOOL"; then
   8441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8442 $as_echo "$DLLTOOL" >&6; }
   8443 else
   8444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8445 $as_echo "no" >&6; }
   8446 fi
   8447 
   8448 
   8449   done
   8450 fi
   8451 
   8452 for ncn_progname in dlltool; do
   8453   if test -n "$ncn_tool_prefix"; then
   8454     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8455 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8457 $as_echo_n "checking for $ac_word... " >&6; }
   8458 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   8459   $as_echo_n "(cached) " >&6
   8460 else
   8461   if test -n "$DLLTOOL"; then
   8462   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8463 else
   8464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8465 for as_dir in $PATH
   8466 do
   8467   IFS=$as_save_IFS
   8468   test -z "$as_dir" && as_dir=.
   8469     for ac_exec_ext in '' $ac_executable_extensions; do
   8470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8471     ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
   8472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8473     break 2
   8474   fi
   8475 done
   8476   done
   8477 IFS=$as_save_IFS
   8478 
   8479 fi
   8480 fi
   8481 DLLTOOL=$ac_cv_prog_DLLTOOL
   8482 if test -n "$DLLTOOL"; then
   8483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8484 $as_echo "$DLLTOOL" >&6; }
   8485 else
   8486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8487 $as_echo "no" >&6; }
   8488 fi
   8489 
   8490 
   8491   fi
   8492   if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
   8493     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8494 set dummy ${ncn_progname}; ac_word=$2
   8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8496 $as_echo_n "checking for $ac_word... " >&6; }
   8497 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   8498   $as_echo_n "(cached) " >&6
   8499 else
   8500   if test -n "$DLLTOOL"; then
   8501   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8502 else
   8503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8504 for as_dir in $PATH
   8505 do
   8506   IFS=$as_save_IFS
   8507   test -z "$as_dir" && as_dir=.
   8508     for ac_exec_ext in '' $ac_executable_extensions; do
   8509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8510     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8512     break 2
   8513   fi
   8514 done
   8515   done
   8516 IFS=$as_save_IFS
   8517 
   8518 fi
   8519 fi
   8520 DLLTOOL=$ac_cv_prog_DLLTOOL
   8521 if test -n "$DLLTOOL"; then
   8522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8523 $as_echo "$DLLTOOL" >&6; }
   8524 else
   8525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8526 $as_echo "no" >&6; }
   8527 fi
   8528 
   8529 
   8530   fi
   8531   test -n "$ac_cv_prog_DLLTOOL" && break
   8532 done
   8533 
   8534 if test -z "$ac_cv_prog_DLLTOOL" ; then
   8535   set dummy dlltool
   8536   if test $build = $host ; then
   8537     DLLTOOL="$2"
   8538   else
   8539     DLLTOOL="${ncn_tool_prefix}$2"
   8540   fi
   8541 fi
   8542 
   8543 
   8544 
   8545 if test -n "$LD"; then
   8546   ac_cv_prog_LD=$LD
   8547 elif test -n "$ac_cv_prog_LD"; then
   8548   LD=$ac_cv_prog_LD
   8549 fi
   8550 
   8551 if test -n "$ac_cv_prog_LD"; then
   8552   for ncn_progname in ld; do
   8553     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8554 set dummy ${ncn_progname}; ac_word=$2
   8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8556 $as_echo_n "checking for $ac_word... " >&6; }
   8557 if test "${ac_cv_prog_LD+set}" = set; then :
   8558   $as_echo_n "(cached) " >&6
   8559 else
   8560   if test -n "$LD"; then
   8561   ac_cv_prog_LD="$LD" # Let the user override the test.
   8562 else
   8563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8564 for as_dir in $PATH
   8565 do
   8566   IFS=$as_save_IFS
   8567   test -z "$as_dir" && as_dir=.
   8568     for ac_exec_ext in '' $ac_executable_extensions; do
   8569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8570     ac_cv_prog_LD="${ncn_progname}"
   8571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8572     break 2
   8573   fi
   8574 done
   8575   done
   8576 IFS=$as_save_IFS
   8577 
   8578 fi
   8579 fi
   8580 LD=$ac_cv_prog_LD
   8581 if test -n "$LD"; then
   8582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8583 $as_echo "$LD" >&6; }
   8584 else
   8585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8586 $as_echo "no" >&6; }
   8587 fi
   8588 
   8589 
   8590   done
   8591 fi
   8592 
   8593 for ncn_progname in ld; do
   8594   if test -n "$ncn_tool_prefix"; then
   8595     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8596 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8598 $as_echo_n "checking for $ac_word... " >&6; }
   8599 if test "${ac_cv_prog_LD+set}" = set; then :
   8600   $as_echo_n "(cached) " >&6
   8601 else
   8602   if test -n "$LD"; then
   8603   ac_cv_prog_LD="$LD" # Let the user override the test.
   8604 else
   8605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8606 for as_dir in $PATH
   8607 do
   8608   IFS=$as_save_IFS
   8609   test -z "$as_dir" && as_dir=.
   8610     for ac_exec_ext in '' $ac_executable_extensions; do
   8611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8612     ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
   8613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8614     break 2
   8615   fi
   8616 done
   8617   done
   8618 IFS=$as_save_IFS
   8619 
   8620 fi
   8621 fi
   8622 LD=$ac_cv_prog_LD
   8623 if test -n "$LD"; then
   8624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8625 $as_echo "$LD" >&6; }
   8626 else
   8627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8628 $as_echo "no" >&6; }
   8629 fi
   8630 
   8631 
   8632   fi
   8633   if test -z "$ac_cv_prog_LD" && test $build = $host ; then
   8634     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8635 set dummy ${ncn_progname}; ac_word=$2
   8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8637 $as_echo_n "checking for $ac_word... " >&6; }
   8638 if test "${ac_cv_prog_LD+set}" = set; then :
   8639   $as_echo_n "(cached) " >&6
   8640 else
   8641   if test -n "$LD"; then
   8642   ac_cv_prog_LD="$LD" # Let the user override the test.
   8643 else
   8644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8645 for as_dir in $PATH
   8646 do
   8647   IFS=$as_save_IFS
   8648   test -z "$as_dir" && as_dir=.
   8649     for ac_exec_ext in '' $ac_executable_extensions; do
   8650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8651     ac_cv_prog_LD="${ncn_progname}"
   8652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8653     break 2
   8654   fi
   8655 done
   8656   done
   8657 IFS=$as_save_IFS
   8658 
   8659 fi
   8660 fi
   8661 LD=$ac_cv_prog_LD
   8662 if test -n "$LD"; then
   8663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8664 $as_echo "$LD" >&6; }
   8665 else
   8666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8667 $as_echo "no" >&6; }
   8668 fi
   8669 
   8670 
   8671   fi
   8672   test -n "$ac_cv_prog_LD" && break
   8673 done
   8674 
   8675 if test -z "$ac_cv_prog_LD" ; then
   8676   set dummy ld
   8677   if test $build = $host ; then
   8678     LD="$2"
   8679   else
   8680     LD="${ncn_tool_prefix}$2"
   8681   fi
   8682 fi
   8683 
   8684 
   8685 
   8686 if test -n "$LIPO"; then
   8687   ac_cv_prog_LIPO=$LIPO
   8688 elif test -n "$ac_cv_prog_LIPO"; then
   8689   LIPO=$ac_cv_prog_LIPO
   8690 fi
   8691 
   8692 if test -n "$ac_cv_prog_LIPO"; then
   8693   for ncn_progname in lipo; do
   8694     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8695 set dummy ${ncn_progname}; ac_word=$2
   8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8697 $as_echo_n "checking for $ac_word... " >&6; }
   8698 if test "${ac_cv_prog_LIPO+set}" = set; then :
   8699   $as_echo_n "(cached) " >&6
   8700 else
   8701   if test -n "$LIPO"; then
   8702   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8703 else
   8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8705 for as_dir in $PATH
   8706 do
   8707   IFS=$as_save_IFS
   8708   test -z "$as_dir" && as_dir=.
   8709     for ac_exec_ext in '' $ac_executable_extensions; do
   8710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8711     ac_cv_prog_LIPO="${ncn_progname}"
   8712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8713     break 2
   8714   fi
   8715 done
   8716   done
   8717 IFS=$as_save_IFS
   8718 
   8719 fi
   8720 fi
   8721 LIPO=$ac_cv_prog_LIPO
   8722 if test -n "$LIPO"; then
   8723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8724 $as_echo "$LIPO" >&6; }
   8725 else
   8726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8727 $as_echo "no" >&6; }
   8728 fi
   8729 
   8730 
   8731   done
   8732 fi
   8733 
   8734 for ncn_progname in lipo; do
   8735   if test -n "$ncn_tool_prefix"; then
   8736     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8737 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8739 $as_echo_n "checking for $ac_word... " >&6; }
   8740 if test "${ac_cv_prog_LIPO+set}" = set; then :
   8741   $as_echo_n "(cached) " >&6
   8742 else
   8743   if test -n "$LIPO"; then
   8744   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8745 else
   8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8747 for as_dir in $PATH
   8748 do
   8749   IFS=$as_save_IFS
   8750   test -z "$as_dir" && as_dir=.
   8751     for ac_exec_ext in '' $ac_executable_extensions; do
   8752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8753     ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
   8754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8755     break 2
   8756   fi
   8757 done
   8758   done
   8759 IFS=$as_save_IFS
   8760 
   8761 fi
   8762 fi
   8763 LIPO=$ac_cv_prog_LIPO
   8764 if test -n "$LIPO"; then
   8765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8766 $as_echo "$LIPO" >&6; }
   8767 else
   8768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8769 $as_echo "no" >&6; }
   8770 fi
   8771 
   8772 
   8773   fi
   8774   if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
   8775     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8776 set dummy ${ncn_progname}; ac_word=$2
   8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8778 $as_echo_n "checking for $ac_word... " >&6; }
   8779 if test "${ac_cv_prog_LIPO+set}" = set; then :
   8780   $as_echo_n "(cached) " >&6
   8781 else
   8782   if test -n "$LIPO"; then
   8783   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8784 else
   8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8786 for as_dir in $PATH
   8787 do
   8788   IFS=$as_save_IFS
   8789   test -z "$as_dir" && as_dir=.
   8790     for ac_exec_ext in '' $ac_executable_extensions; do
   8791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8792     ac_cv_prog_LIPO="${ncn_progname}"
   8793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8794     break 2
   8795   fi
   8796 done
   8797   done
   8798 IFS=$as_save_IFS
   8799 
   8800 fi
   8801 fi
   8802 LIPO=$ac_cv_prog_LIPO
   8803 if test -n "$LIPO"; then
   8804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8805 $as_echo "$LIPO" >&6; }
   8806 else
   8807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8808 $as_echo "no" >&6; }
   8809 fi
   8810 
   8811 
   8812   fi
   8813   test -n "$ac_cv_prog_LIPO" && break
   8814 done
   8815 
   8816 if test -z "$ac_cv_prog_LIPO" ; then
   8817   set dummy lipo
   8818   if test $build = $host ; then
   8819     LIPO="$2"
   8820   else
   8821     LIPO="${ncn_tool_prefix}$2"
   8822   fi
   8823 fi
   8824 
   8825 
   8826 
   8827 if test -n "$NM"; then
   8828   ac_cv_prog_NM=$NM
   8829 elif test -n "$ac_cv_prog_NM"; then
   8830   NM=$ac_cv_prog_NM
   8831 fi
   8832 
   8833 if test -n "$ac_cv_prog_NM"; then
   8834   for ncn_progname in nm; do
   8835     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8836 set dummy ${ncn_progname}; ac_word=$2
   8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8838 $as_echo_n "checking for $ac_word... " >&6; }
   8839 if test "${ac_cv_prog_NM+set}" = set; then :
   8840   $as_echo_n "(cached) " >&6
   8841 else
   8842   if test -n "$NM"; then
   8843   ac_cv_prog_NM="$NM" # Let the user override the test.
   8844 else
   8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8846 for as_dir in $PATH
   8847 do
   8848   IFS=$as_save_IFS
   8849   test -z "$as_dir" && as_dir=.
   8850     for ac_exec_ext in '' $ac_executable_extensions; do
   8851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8852     ac_cv_prog_NM="${ncn_progname}"
   8853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8854     break 2
   8855   fi
   8856 done
   8857   done
   8858 IFS=$as_save_IFS
   8859 
   8860 fi
   8861 fi
   8862 NM=$ac_cv_prog_NM
   8863 if test -n "$NM"; then
   8864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8865 $as_echo "$NM" >&6; }
   8866 else
   8867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8868 $as_echo "no" >&6; }
   8869 fi
   8870 
   8871 
   8872   done
   8873 fi
   8874 
   8875 for ncn_progname in nm; do
   8876   if test -n "$ncn_tool_prefix"; then
   8877     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8878 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8880 $as_echo_n "checking for $ac_word... " >&6; }
   8881 if test "${ac_cv_prog_NM+set}" = set; then :
   8882   $as_echo_n "(cached) " >&6
   8883 else
   8884   if test -n "$NM"; then
   8885   ac_cv_prog_NM="$NM" # Let the user override the test.
   8886 else
   8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8888 for as_dir in $PATH
   8889 do
   8890   IFS=$as_save_IFS
   8891   test -z "$as_dir" && as_dir=.
   8892     for ac_exec_ext in '' $ac_executable_extensions; do
   8893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8894     ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
   8895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8896     break 2
   8897   fi
   8898 done
   8899   done
   8900 IFS=$as_save_IFS
   8901 
   8902 fi
   8903 fi
   8904 NM=$ac_cv_prog_NM
   8905 if test -n "$NM"; then
   8906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8907 $as_echo "$NM" >&6; }
   8908 else
   8909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8910 $as_echo "no" >&6; }
   8911 fi
   8912 
   8913 
   8914   fi
   8915   if test -z "$ac_cv_prog_NM" && test $build = $host ; then
   8916     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8917 set dummy ${ncn_progname}; ac_word=$2
   8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8919 $as_echo_n "checking for $ac_word... " >&6; }
   8920 if test "${ac_cv_prog_NM+set}" = set; then :
   8921   $as_echo_n "(cached) " >&6
   8922 else
   8923   if test -n "$NM"; then
   8924   ac_cv_prog_NM="$NM" # Let the user override the test.
   8925 else
   8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8927 for as_dir in $PATH
   8928 do
   8929   IFS=$as_save_IFS
   8930   test -z "$as_dir" && as_dir=.
   8931     for ac_exec_ext in '' $ac_executable_extensions; do
   8932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8933     ac_cv_prog_NM="${ncn_progname}"
   8934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8935     break 2
   8936   fi
   8937 done
   8938   done
   8939 IFS=$as_save_IFS
   8940 
   8941 fi
   8942 fi
   8943 NM=$ac_cv_prog_NM
   8944 if test -n "$NM"; then
   8945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8946 $as_echo "$NM" >&6; }
   8947 else
   8948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8949 $as_echo "no" >&6; }
   8950 fi
   8951 
   8952 
   8953   fi
   8954   test -n "$ac_cv_prog_NM" && break
   8955 done
   8956 
   8957 if test -z "$ac_cv_prog_NM" ; then
   8958   set dummy nm
   8959   if test $build = $host ; then
   8960     NM="$2"
   8961   else
   8962     NM="${ncn_tool_prefix}$2"
   8963   fi
   8964 fi
   8965 
   8966 
   8967 
   8968 if test -n "$RANLIB"; then
   8969   ac_cv_prog_RANLIB=$RANLIB
   8970 elif test -n "$ac_cv_prog_RANLIB"; then
   8971   RANLIB=$ac_cv_prog_RANLIB
   8972 fi
   8973 
   8974 if test -n "$ac_cv_prog_RANLIB"; then
   8975   for ncn_progname in ranlib; do
   8976     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8977 set dummy ${ncn_progname}; ac_word=$2
   8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8979 $as_echo_n "checking for $ac_word... " >&6; }
   8980 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   8981   $as_echo_n "(cached) " >&6
   8982 else
   8983   if test -n "$RANLIB"; then
   8984   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8985 else
   8986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8987 for as_dir in $PATH
   8988 do
   8989   IFS=$as_save_IFS
   8990   test -z "$as_dir" && as_dir=.
   8991     for ac_exec_ext in '' $ac_executable_extensions; do
   8992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8993     ac_cv_prog_RANLIB="${ncn_progname}"
   8994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8995     break 2
   8996   fi
   8997 done
   8998   done
   8999 IFS=$as_save_IFS
   9000 
   9001 fi
   9002 fi
   9003 RANLIB=$ac_cv_prog_RANLIB
   9004 if test -n "$RANLIB"; then
   9005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9006 $as_echo "$RANLIB" >&6; }
   9007 else
   9008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9009 $as_echo "no" >&6; }
   9010 fi
   9011 
   9012 
   9013   done
   9014 fi
   9015 
   9016 for ncn_progname in ranlib; do
   9017   if test -n "$ncn_tool_prefix"; then
   9018     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9019 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9021 $as_echo_n "checking for $ac_word... " >&6; }
   9022 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   9023   $as_echo_n "(cached) " >&6
   9024 else
   9025   if test -n "$RANLIB"; then
   9026   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9027 else
   9028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9029 for as_dir in $PATH
   9030 do
   9031   IFS=$as_save_IFS
   9032   test -z "$as_dir" && as_dir=.
   9033     for ac_exec_ext in '' $ac_executable_extensions; do
   9034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9035     ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
   9036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9037     break 2
   9038   fi
   9039 done
   9040   done
   9041 IFS=$as_save_IFS
   9042 
   9043 fi
   9044 fi
   9045 RANLIB=$ac_cv_prog_RANLIB
   9046 if test -n "$RANLIB"; then
   9047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9048 $as_echo "$RANLIB" >&6; }
   9049 else
   9050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9051 $as_echo "no" >&6; }
   9052 fi
   9053 
   9054 
   9055   fi
   9056   if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
   9057     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9058 set dummy ${ncn_progname}; ac_word=$2
   9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9060 $as_echo_n "checking for $ac_word... " >&6; }
   9061 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   9062   $as_echo_n "(cached) " >&6
   9063 else
   9064   if test -n "$RANLIB"; then
   9065   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9066 else
   9067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9068 for as_dir in $PATH
   9069 do
   9070   IFS=$as_save_IFS
   9071   test -z "$as_dir" && as_dir=.
   9072     for ac_exec_ext in '' $ac_executable_extensions; do
   9073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9074     ac_cv_prog_RANLIB="${ncn_progname}"
   9075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9076     break 2
   9077   fi
   9078 done
   9079   done
   9080 IFS=$as_save_IFS
   9081 
   9082 fi
   9083 fi
   9084 RANLIB=$ac_cv_prog_RANLIB
   9085 if test -n "$RANLIB"; then
   9086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9087 $as_echo "$RANLIB" >&6; }
   9088 else
   9089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9090 $as_echo "no" >&6; }
   9091 fi
   9092 
   9093 
   9094   fi
   9095   test -n "$ac_cv_prog_RANLIB" && break
   9096 done
   9097 
   9098 if test -z "$ac_cv_prog_RANLIB" ; then
   9099   RANLIB="true"
   9100 fi
   9101 
   9102 
   9103 
   9104 if test -n "$STRIP"; then
   9105   ac_cv_prog_STRIP=$STRIP
   9106 elif test -n "$ac_cv_prog_STRIP"; then
   9107   STRIP=$ac_cv_prog_STRIP
   9108 fi
   9109 
   9110 if test -n "$ac_cv_prog_STRIP"; then
   9111   for ncn_progname in strip; do
   9112     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9113 set dummy ${ncn_progname}; ac_word=$2
   9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9115 $as_echo_n "checking for $ac_word... " >&6; }
   9116 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9117   $as_echo_n "(cached) " >&6
   9118 else
   9119   if test -n "$STRIP"; then
   9120   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9121 else
   9122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9123 for as_dir in $PATH
   9124 do
   9125   IFS=$as_save_IFS
   9126   test -z "$as_dir" && as_dir=.
   9127     for ac_exec_ext in '' $ac_executable_extensions; do
   9128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9129     ac_cv_prog_STRIP="${ncn_progname}"
   9130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9131     break 2
   9132   fi
   9133 done
   9134   done
   9135 IFS=$as_save_IFS
   9136 
   9137 fi
   9138 fi
   9139 STRIP=$ac_cv_prog_STRIP
   9140 if test -n "$STRIP"; then
   9141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9142 $as_echo "$STRIP" >&6; }
   9143 else
   9144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9145 $as_echo "no" >&6; }
   9146 fi
   9147 
   9148 
   9149   done
   9150 fi
   9151 
   9152 for ncn_progname in strip; do
   9153   if test -n "$ncn_tool_prefix"; then
   9154     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9155 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9157 $as_echo_n "checking for $ac_word... " >&6; }
   9158 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9159   $as_echo_n "(cached) " >&6
   9160 else
   9161   if test -n "$STRIP"; then
   9162   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9163 else
   9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9165 for as_dir in $PATH
   9166 do
   9167   IFS=$as_save_IFS
   9168   test -z "$as_dir" && as_dir=.
   9169     for ac_exec_ext in '' $ac_executable_extensions; do
   9170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9171     ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
   9172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9173     break 2
   9174   fi
   9175 done
   9176   done
   9177 IFS=$as_save_IFS
   9178 
   9179 fi
   9180 fi
   9181 STRIP=$ac_cv_prog_STRIP
   9182 if test -n "$STRIP"; then
   9183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9184 $as_echo "$STRIP" >&6; }
   9185 else
   9186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9187 $as_echo "no" >&6; }
   9188 fi
   9189 
   9190 
   9191   fi
   9192   if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
   9193     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9194 set dummy ${ncn_progname}; ac_word=$2
   9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9196 $as_echo_n "checking for $ac_word... " >&6; }
   9197 if test "${ac_cv_prog_STRIP+set}" = set; then :
   9198   $as_echo_n "(cached) " >&6
   9199 else
   9200   if test -n "$STRIP"; then
   9201   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9202 else
   9203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9204 for as_dir in $PATH
   9205 do
   9206   IFS=$as_save_IFS
   9207   test -z "$as_dir" && as_dir=.
   9208     for ac_exec_ext in '' $ac_executable_extensions; do
   9209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9210     ac_cv_prog_STRIP="${ncn_progname}"
   9211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9212     break 2
   9213   fi
   9214 done
   9215   done
   9216 IFS=$as_save_IFS
   9217 
   9218 fi
   9219 fi
   9220 STRIP=$ac_cv_prog_STRIP
   9221 if test -n "$STRIP"; then
   9222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9223 $as_echo "$STRIP" >&6; }
   9224 else
   9225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9226 $as_echo "no" >&6; }
   9227 fi
   9228 
   9229 
   9230   fi
   9231   test -n "$ac_cv_prog_STRIP" && break
   9232 done
   9233 
   9234 if test -z "$ac_cv_prog_STRIP" ; then
   9235   STRIP="true"
   9236 fi
   9237 
   9238 
   9239 
   9240 if test -n "$WINDRES"; then
   9241   ac_cv_prog_WINDRES=$WINDRES
   9242 elif test -n "$ac_cv_prog_WINDRES"; then
   9243   WINDRES=$ac_cv_prog_WINDRES
   9244 fi
   9245 
   9246 if test -n "$ac_cv_prog_WINDRES"; then
   9247   for ncn_progname in windres; do
   9248     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9249 set dummy ${ncn_progname}; ac_word=$2
   9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9251 $as_echo_n "checking for $ac_word... " >&6; }
   9252 if test "${ac_cv_prog_WINDRES+set}" = set; then :
   9253   $as_echo_n "(cached) " >&6
   9254 else
   9255   if test -n "$WINDRES"; then
   9256   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9257 else
   9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9259 for as_dir in $PATH
   9260 do
   9261   IFS=$as_save_IFS
   9262   test -z "$as_dir" && as_dir=.
   9263     for ac_exec_ext in '' $ac_executable_extensions; do
   9264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9265     ac_cv_prog_WINDRES="${ncn_progname}"
   9266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9267     break 2
   9268   fi
   9269 done
   9270   done
   9271 IFS=$as_save_IFS
   9272 
   9273 fi
   9274 fi
   9275 WINDRES=$ac_cv_prog_WINDRES
   9276 if test -n "$WINDRES"; then
   9277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9278 $as_echo "$WINDRES" >&6; }
   9279 else
   9280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9281 $as_echo "no" >&6; }
   9282 fi
   9283 
   9284 
   9285   done
   9286 fi
   9287 
   9288 for ncn_progname in windres; do
   9289   if test -n "$ncn_tool_prefix"; then
   9290     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9291 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9293 $as_echo_n "checking for $ac_word... " >&6; }
   9294 if test "${ac_cv_prog_WINDRES+set}" = set; then :
   9295   $as_echo_n "(cached) " >&6
   9296 else
   9297   if test -n "$WINDRES"; then
   9298   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9299 else
   9300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9301 for as_dir in $PATH
   9302 do
   9303   IFS=$as_save_IFS
   9304   test -z "$as_dir" && as_dir=.
   9305     for ac_exec_ext in '' $ac_executable_extensions; do
   9306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9307     ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
   9308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9309     break 2
   9310   fi
   9311 done
   9312   done
   9313 IFS=$as_save_IFS
   9314 
   9315 fi
   9316 fi
   9317 WINDRES=$ac_cv_prog_WINDRES
   9318 if test -n "$WINDRES"; then
   9319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9320 $as_echo "$WINDRES" >&6; }
   9321 else
   9322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9323 $as_echo "no" >&6; }
   9324 fi
   9325 
   9326 
   9327   fi
   9328   if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
   9329     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9330 set dummy ${ncn_progname}; ac_word=$2
   9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9332 $as_echo_n "checking for $ac_word... " >&6; }
   9333 if test "${ac_cv_prog_WINDRES+set}" = set; then :
   9334   $as_echo_n "(cached) " >&6
   9335 else
   9336   if test -n "$WINDRES"; then
   9337   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9338 else
   9339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9340 for as_dir in $PATH
   9341 do
   9342   IFS=$as_save_IFS
   9343   test -z "$as_dir" && as_dir=.
   9344     for ac_exec_ext in '' $ac_executable_extensions; do
   9345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9346     ac_cv_prog_WINDRES="${ncn_progname}"
   9347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9348     break 2
   9349   fi
   9350 done
   9351   done
   9352 IFS=$as_save_IFS
   9353 
   9354 fi
   9355 fi
   9356 WINDRES=$ac_cv_prog_WINDRES
   9357 if test -n "$WINDRES"; then
   9358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9359 $as_echo "$WINDRES" >&6; }
   9360 else
   9361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9362 $as_echo "no" >&6; }
   9363 fi
   9364 
   9365 
   9366   fi
   9367   test -n "$ac_cv_prog_WINDRES" && break
   9368 done
   9369 
   9370 if test -z "$ac_cv_prog_WINDRES" ; then
   9371   set dummy windres
   9372   if test $build = $host ; then
   9373     WINDRES="$2"
   9374   else
   9375     WINDRES="${ncn_tool_prefix}$2"
   9376   fi
   9377 fi
   9378 
   9379 
   9380 
   9381 if test -n "$WINDMC"; then
   9382   ac_cv_prog_WINDMC=$WINDMC
   9383 elif test -n "$ac_cv_prog_WINDMC"; then
   9384   WINDMC=$ac_cv_prog_WINDMC
   9385 fi
   9386 
   9387 if test -n "$ac_cv_prog_WINDMC"; then
   9388   for ncn_progname in windmc; do
   9389     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9390 set dummy ${ncn_progname}; ac_word=$2
   9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9392 $as_echo_n "checking for $ac_word... " >&6; }
   9393 if test "${ac_cv_prog_WINDMC+set}" = set; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   if test -n "$WINDMC"; then
   9397   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9398 else
   9399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9400 for as_dir in $PATH
   9401 do
   9402   IFS=$as_save_IFS
   9403   test -z "$as_dir" && as_dir=.
   9404     for ac_exec_ext in '' $ac_executable_extensions; do
   9405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9406     ac_cv_prog_WINDMC="${ncn_progname}"
   9407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9408     break 2
   9409   fi
   9410 done
   9411   done
   9412 IFS=$as_save_IFS
   9413 
   9414 fi
   9415 fi
   9416 WINDMC=$ac_cv_prog_WINDMC
   9417 if test -n "$WINDMC"; then
   9418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9419 $as_echo "$WINDMC" >&6; }
   9420 else
   9421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9422 $as_echo "no" >&6; }
   9423 fi
   9424 
   9425 
   9426   done
   9427 fi
   9428 
   9429 for ncn_progname in windmc; do
   9430   if test -n "$ncn_tool_prefix"; then
   9431     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9432 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9434 $as_echo_n "checking for $ac_word... " >&6; }
   9435 if test "${ac_cv_prog_WINDMC+set}" = set; then :
   9436   $as_echo_n "(cached) " >&6
   9437 else
   9438   if test -n "$WINDMC"; then
   9439   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9440 else
   9441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9442 for as_dir in $PATH
   9443 do
   9444   IFS=$as_save_IFS
   9445   test -z "$as_dir" && as_dir=.
   9446     for ac_exec_ext in '' $ac_executable_extensions; do
   9447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9448     ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
   9449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9450     break 2
   9451   fi
   9452 done
   9453   done
   9454 IFS=$as_save_IFS
   9455 
   9456 fi
   9457 fi
   9458 WINDMC=$ac_cv_prog_WINDMC
   9459 if test -n "$WINDMC"; then
   9460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9461 $as_echo "$WINDMC" >&6; }
   9462 else
   9463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9464 $as_echo "no" >&6; }
   9465 fi
   9466 
   9467 
   9468   fi
   9469   if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
   9470     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9471 set dummy ${ncn_progname}; ac_word=$2
   9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9473 $as_echo_n "checking for $ac_word... " >&6; }
   9474 if test "${ac_cv_prog_WINDMC+set}" = set; then :
   9475   $as_echo_n "(cached) " >&6
   9476 else
   9477   if test -n "$WINDMC"; then
   9478   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9479 else
   9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9481 for as_dir in $PATH
   9482 do
   9483   IFS=$as_save_IFS
   9484   test -z "$as_dir" && as_dir=.
   9485     for ac_exec_ext in '' $ac_executable_extensions; do
   9486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9487     ac_cv_prog_WINDMC="${ncn_progname}"
   9488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9489     break 2
   9490   fi
   9491 done
   9492   done
   9493 IFS=$as_save_IFS
   9494 
   9495 fi
   9496 fi
   9497 WINDMC=$ac_cv_prog_WINDMC
   9498 if test -n "$WINDMC"; then
   9499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9500 $as_echo "$WINDMC" >&6; }
   9501 else
   9502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9503 $as_echo "no" >&6; }
   9504 fi
   9505 
   9506 
   9507   fi
   9508   test -n "$ac_cv_prog_WINDMC" && break
   9509 done
   9510 
   9511 if test -z "$ac_cv_prog_WINDMC" ; then
   9512   set dummy windmc
   9513   if test $build = $host ; then
   9514     WINDMC="$2"
   9515   else
   9516     WINDMC="${ncn_tool_prefix}$2"
   9517   fi
   9518 fi
   9519 
   9520 
   9521 
   9522 if test -n "$OBJCOPY"; then
   9523   ac_cv_prog_OBJCOPY=$OBJCOPY
   9524 elif test -n "$ac_cv_prog_OBJCOPY"; then
   9525   OBJCOPY=$ac_cv_prog_OBJCOPY
   9526 fi
   9527 
   9528 if test -n "$ac_cv_prog_OBJCOPY"; then
   9529   for ncn_progname in objcopy; do
   9530     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9531 set dummy ${ncn_progname}; ac_word=$2
   9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9533 $as_echo_n "checking for $ac_word... " >&6; }
   9534 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   9535   $as_echo_n "(cached) " >&6
   9536 else
   9537   if test -n "$OBJCOPY"; then
   9538   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9539 else
   9540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9541 for as_dir in $PATH
   9542 do
   9543   IFS=$as_save_IFS
   9544   test -z "$as_dir" && as_dir=.
   9545     for ac_exec_ext in '' $ac_executable_extensions; do
   9546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9547     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9549     break 2
   9550   fi
   9551 done
   9552   done
   9553 IFS=$as_save_IFS
   9554 
   9555 fi
   9556 fi
   9557 OBJCOPY=$ac_cv_prog_OBJCOPY
   9558 if test -n "$OBJCOPY"; then
   9559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9560 $as_echo "$OBJCOPY" >&6; }
   9561 else
   9562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9563 $as_echo "no" >&6; }
   9564 fi
   9565 
   9566 
   9567   done
   9568 fi
   9569 
   9570 for ncn_progname in objcopy; do
   9571   if test -n "$ncn_tool_prefix"; then
   9572     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9573 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9575 $as_echo_n "checking for $ac_word... " >&6; }
   9576 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   9577   $as_echo_n "(cached) " >&6
   9578 else
   9579   if test -n "$OBJCOPY"; then
   9580   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9581 else
   9582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9583 for as_dir in $PATH
   9584 do
   9585   IFS=$as_save_IFS
   9586   test -z "$as_dir" && as_dir=.
   9587     for ac_exec_ext in '' $ac_executable_extensions; do
   9588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9589     ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
   9590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9591     break 2
   9592   fi
   9593 done
   9594   done
   9595 IFS=$as_save_IFS
   9596 
   9597 fi
   9598 fi
   9599 OBJCOPY=$ac_cv_prog_OBJCOPY
   9600 if test -n "$OBJCOPY"; then
   9601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9602 $as_echo "$OBJCOPY" >&6; }
   9603 else
   9604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9605 $as_echo "no" >&6; }
   9606 fi
   9607 
   9608 
   9609   fi
   9610   if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
   9611     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9612 set dummy ${ncn_progname}; ac_word=$2
   9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9614 $as_echo_n "checking for $ac_word... " >&6; }
   9615 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   9616   $as_echo_n "(cached) " >&6
   9617 else
   9618   if test -n "$OBJCOPY"; then
   9619   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9620 else
   9621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9622 for as_dir in $PATH
   9623 do
   9624   IFS=$as_save_IFS
   9625   test -z "$as_dir" && as_dir=.
   9626     for ac_exec_ext in '' $ac_executable_extensions; do
   9627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9628     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9630     break 2
   9631   fi
   9632 done
   9633   done
   9634 IFS=$as_save_IFS
   9635 
   9636 fi
   9637 fi
   9638 OBJCOPY=$ac_cv_prog_OBJCOPY
   9639 if test -n "$OBJCOPY"; then
   9640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9641 $as_echo "$OBJCOPY" >&6; }
   9642 else
   9643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9644 $as_echo "no" >&6; }
   9645 fi
   9646 
   9647 
   9648   fi
   9649   test -n "$ac_cv_prog_OBJCOPY" && break
   9650 done
   9651 
   9652 if test -z "$ac_cv_prog_OBJCOPY" ; then
   9653   set dummy objcopy
   9654   if test $build = $host ; then
   9655     OBJCOPY="$2"
   9656   else
   9657     OBJCOPY="${ncn_tool_prefix}$2"
   9658   fi
   9659 fi
   9660 
   9661 
   9662 
   9663 if test -n "$OBJDUMP"; then
   9664   ac_cv_prog_OBJDUMP=$OBJDUMP
   9665 elif test -n "$ac_cv_prog_OBJDUMP"; then
   9666   OBJDUMP=$ac_cv_prog_OBJDUMP
   9667 fi
   9668 
   9669 if test -n "$ac_cv_prog_OBJDUMP"; then
   9670   for ncn_progname in objdump; do
   9671     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9672 set dummy ${ncn_progname}; ac_word=$2
   9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9674 $as_echo_n "checking for $ac_word... " >&6; }
   9675 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   9676   $as_echo_n "(cached) " >&6
   9677 else
   9678   if test -n "$OBJDUMP"; then
   9679   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9680 else
   9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9682 for as_dir in $PATH
   9683 do
   9684   IFS=$as_save_IFS
   9685   test -z "$as_dir" && as_dir=.
   9686     for ac_exec_ext in '' $ac_executable_extensions; do
   9687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9688     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9690     break 2
   9691   fi
   9692 done
   9693   done
   9694 IFS=$as_save_IFS
   9695 
   9696 fi
   9697 fi
   9698 OBJDUMP=$ac_cv_prog_OBJDUMP
   9699 if test -n "$OBJDUMP"; then
   9700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9701 $as_echo "$OBJDUMP" >&6; }
   9702 else
   9703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9704 $as_echo "no" >&6; }
   9705 fi
   9706 
   9707 
   9708   done
   9709 fi
   9710 
   9711 for ncn_progname in objdump; do
   9712   if test -n "$ncn_tool_prefix"; then
   9713     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9714 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9716 $as_echo_n "checking for $ac_word... " >&6; }
   9717 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   9718   $as_echo_n "(cached) " >&6
   9719 else
   9720   if test -n "$OBJDUMP"; then
   9721   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9722 else
   9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9724 for as_dir in $PATH
   9725 do
   9726   IFS=$as_save_IFS
   9727   test -z "$as_dir" && as_dir=.
   9728     for ac_exec_ext in '' $ac_executable_extensions; do
   9729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9730     ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
   9731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9732     break 2
   9733   fi
   9734 done
   9735   done
   9736 IFS=$as_save_IFS
   9737 
   9738 fi
   9739 fi
   9740 OBJDUMP=$ac_cv_prog_OBJDUMP
   9741 if test -n "$OBJDUMP"; then
   9742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9743 $as_echo "$OBJDUMP" >&6; }
   9744 else
   9745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9746 $as_echo "no" >&6; }
   9747 fi
   9748 
   9749 
   9750   fi
   9751   if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
   9752     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9753 set dummy ${ncn_progname}; ac_word=$2
   9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9755 $as_echo_n "checking for $ac_word... " >&6; }
   9756 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   9757   $as_echo_n "(cached) " >&6
   9758 else
   9759   if test -n "$OBJDUMP"; then
   9760   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9761 else
   9762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9763 for as_dir in $PATH
   9764 do
   9765   IFS=$as_save_IFS
   9766   test -z "$as_dir" && as_dir=.
   9767     for ac_exec_ext in '' $ac_executable_extensions; do
   9768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9769     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9771     break 2
   9772   fi
   9773 done
   9774   done
   9775 IFS=$as_save_IFS
   9776 
   9777 fi
   9778 fi
   9779 OBJDUMP=$ac_cv_prog_OBJDUMP
   9780 if test -n "$OBJDUMP"; then
   9781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9782 $as_echo "$OBJDUMP" >&6; }
   9783 else
   9784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9785 $as_echo "no" >&6; }
   9786 fi
   9787 
   9788 
   9789   fi
   9790   test -n "$ac_cv_prog_OBJDUMP" && break
   9791 done
   9792 
   9793 if test -z "$ac_cv_prog_OBJDUMP" ; then
   9794   set dummy objdump
   9795   if test $build = $host ; then
   9796     OBJDUMP="$2"
   9797   else
   9798     OBJDUMP="${ncn_tool_prefix}$2"
   9799   fi
   9800 fi
   9801 
   9802 
   9803 
   9804 if test -n "$READELF"; then
   9805   ac_cv_prog_READELF=$READELF
   9806 elif test -n "$ac_cv_prog_READELF"; then
   9807   READELF=$ac_cv_prog_READELF
   9808 fi
   9809 
   9810 if test -n "$ac_cv_prog_READELF"; then
   9811   for ncn_progname in readelf; do
   9812     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9813 set dummy ${ncn_progname}; ac_word=$2
   9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9815 $as_echo_n "checking for $ac_word... " >&6; }
   9816 if test "${ac_cv_prog_READELF+set}" = set; then :
   9817   $as_echo_n "(cached) " >&6
   9818 else
   9819   if test -n "$READELF"; then
   9820   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9821 else
   9822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9823 for as_dir in $PATH
   9824 do
   9825   IFS=$as_save_IFS
   9826   test -z "$as_dir" && as_dir=.
   9827     for ac_exec_ext in '' $ac_executable_extensions; do
   9828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9829     ac_cv_prog_READELF="${ncn_progname}"
   9830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9831     break 2
   9832   fi
   9833 done
   9834   done
   9835 IFS=$as_save_IFS
   9836 
   9837 fi
   9838 fi
   9839 READELF=$ac_cv_prog_READELF
   9840 if test -n "$READELF"; then
   9841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9842 $as_echo "$READELF" >&6; }
   9843 else
   9844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9845 $as_echo "no" >&6; }
   9846 fi
   9847 
   9848 
   9849   done
   9850 fi
   9851 
   9852 for ncn_progname in readelf; do
   9853   if test -n "$ncn_tool_prefix"; then
   9854     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9855 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9857 $as_echo_n "checking for $ac_word... " >&6; }
   9858 if test "${ac_cv_prog_READELF+set}" = set; then :
   9859   $as_echo_n "(cached) " >&6
   9860 else
   9861   if test -n "$READELF"; then
   9862   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9863 else
   9864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9865 for as_dir in $PATH
   9866 do
   9867   IFS=$as_save_IFS
   9868   test -z "$as_dir" && as_dir=.
   9869     for ac_exec_ext in '' $ac_executable_extensions; do
   9870   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9871     ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
   9872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9873     break 2
   9874   fi
   9875 done
   9876   done
   9877 IFS=$as_save_IFS
   9878 
   9879 fi
   9880 fi
   9881 READELF=$ac_cv_prog_READELF
   9882 if test -n "$READELF"; then
   9883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9884 $as_echo "$READELF" >&6; }
   9885 else
   9886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9887 $as_echo "no" >&6; }
   9888 fi
   9889 
   9890 
   9891   fi
   9892   if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
   9893     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9894 set dummy ${ncn_progname}; ac_word=$2
   9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9896 $as_echo_n "checking for $ac_word... " >&6; }
   9897 if test "${ac_cv_prog_READELF+set}" = set; then :
   9898   $as_echo_n "(cached) " >&6
   9899 else
   9900   if test -n "$READELF"; then
   9901   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9902 else
   9903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9904 for as_dir in $PATH
   9905 do
   9906   IFS=$as_save_IFS
   9907   test -z "$as_dir" && as_dir=.
   9908     for ac_exec_ext in '' $ac_executable_extensions; do
   9909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9910     ac_cv_prog_READELF="${ncn_progname}"
   9911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9912     break 2
   9913   fi
   9914 done
   9915   done
   9916 IFS=$as_save_IFS
   9917 
   9918 fi
   9919 fi
   9920 READELF=$ac_cv_prog_READELF
   9921 if test -n "$READELF"; then
   9922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9923 $as_echo "$READELF" >&6; }
   9924 else
   9925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9926 $as_echo "no" >&6; }
   9927 fi
   9928 
   9929 
   9930   fi
   9931   test -n "$ac_cv_prog_READELF" && break
   9932 done
   9933 
   9934 if test -z "$ac_cv_prog_READELF" ; then
   9935   set dummy readelf
   9936   if test $build = $host ; then
   9937     READELF="$2"
   9938   else
   9939     READELF="${ncn_tool_prefix}$2"
   9940   fi
   9941 fi
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 # Target tools.
   9949 
   9950 # Check whether --with-build-time-tools was given.
   9951 if test "${with_build_time_tools+set}" = set; then :
   9952   withval=$with_build_time_tools; case x"$withval" in
   9953      x/*) ;;
   9954      *)
   9955        with_build_time_tools=
   9956        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
   9957 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
   9958        ;;
   9959    esac
   9960 else
   9961   with_build_time_tools=
   9962 fi
   9963 
   9964 
   9965 
   9966 
   9967 if test -n "$CC_FOR_TARGET"; then
   9968   ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
   9969 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   9970   CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   9971 fi
   9972 
   9973 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   9974   for ncn_progname in cc gcc; do
   9975     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9976 set dummy ${ncn_progname}; ac_word=$2
   9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9978 $as_echo_n "checking for $ac_word... " >&6; }
   9979 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
   9980   $as_echo_n "(cached) " >&6
   9981 else
   9982   if test -n "$CC_FOR_TARGET"; then
   9983   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   9984 else
   9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9986 for as_dir in $PATH
   9987 do
   9988   IFS=$as_save_IFS
   9989   test -z "$as_dir" && as_dir=.
   9990     for ac_exec_ext in '' $ac_executable_extensions; do
   9991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9992     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   9993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9994     break 2
   9995   fi
   9996 done
   9997   done
   9998 IFS=$as_save_IFS
   9999 
   10000 fi
   10001 fi
   10002 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10003 if test -n "$CC_FOR_TARGET"; then
   10004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10005 $as_echo "$CC_FOR_TARGET" >&6; }
   10006 else
   10007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10008 $as_echo "no" >&6; }
   10009 fi
   10010 
   10011 
   10012   done
   10013 fi
   10014 
   10015 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10016   for ncn_progname in cc gcc; do
   10017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10018 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10019     if test -x $with_build_time_tools/${ncn_progname}; then
   10020       ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10021       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10022 $as_echo "yes" >&6; }
   10023       break
   10024     else
   10025       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10026 $as_echo "no" >&6; }
   10027     fi
   10028   done
   10029 fi
   10030 
   10031 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
   10032   for ncn_progname in cc gcc; do
   10033     if test -n "$ncn_target_tool_prefix"; then
   10034       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10035 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10037 $as_echo_n "checking for $ac_word... " >&6; }
   10038 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
   10039   $as_echo_n "(cached) " >&6
   10040 else
   10041   if test -n "$CC_FOR_TARGET"; then
   10042   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10043 else
   10044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10045 for as_dir in $PATH
   10046 do
   10047   IFS=$as_save_IFS
   10048   test -z "$as_dir" && as_dir=.
   10049     for ac_exec_ext in '' $ac_executable_extensions; do
   10050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10051     ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10053     break 2
   10054   fi
   10055 done
   10056   done
   10057 IFS=$as_save_IFS
   10058 
   10059 fi
   10060 fi
   10061 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10062 if test -n "$CC_FOR_TARGET"; then
   10063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10064 $as_echo "$CC_FOR_TARGET" >&6; }
   10065 else
   10066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10067 $as_echo "no" >&6; }
   10068 fi
   10069 
   10070 
   10071     fi
   10072     if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
   10073       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10074 set dummy ${ncn_progname}; ac_word=$2
   10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10076 $as_echo_n "checking for $ac_word... " >&6; }
   10077 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
   10078   $as_echo_n "(cached) " >&6
   10079 else
   10080   if test -n "$CC_FOR_TARGET"; then
   10081   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10082 else
   10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10084 for as_dir in $PATH
   10085 do
   10086   IFS=$as_save_IFS
   10087   test -z "$as_dir" && as_dir=.
   10088     for ac_exec_ext in '' $ac_executable_extensions; do
   10089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10090     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   10091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10092     break 2
   10093   fi
   10094 done
   10095   done
   10096 IFS=$as_save_IFS
   10097 
   10098 fi
   10099 fi
   10100 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10101 if test -n "$CC_FOR_TARGET"; then
   10102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10103 $as_echo "$CC_FOR_TARGET" >&6; }
   10104 else
   10105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10106 $as_echo "no" >&6; }
   10107 fi
   10108 
   10109 
   10110     fi
   10111     test -n "$ac_cv_prog_CC_FOR_TARGET" && break
   10112   done
   10113 fi
   10114 
   10115 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
   10116   set dummy cc gcc
   10117   if test $build = $target ; then
   10118     CC_FOR_TARGET="$2"
   10119   else
   10120     CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10121   fi
   10122 else
   10123   CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
   10124 fi
   10125 
   10126 
   10127 
   10128 if test -n "$CXX_FOR_TARGET"; then
   10129   ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
   10130 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10131   CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10132 fi
   10133 
   10134 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10135   for ncn_progname in c++ g++ cxx gxx; do
   10136     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10137 set dummy ${ncn_progname}; ac_word=$2
   10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10139 $as_echo_n "checking for $ac_word... " >&6; }
   10140 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
   10141   $as_echo_n "(cached) " >&6
   10142 else
   10143   if test -n "$CXX_FOR_TARGET"; then
   10144   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10145 else
   10146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10147 for as_dir in $PATH
   10148 do
   10149   IFS=$as_save_IFS
   10150   test -z "$as_dir" && as_dir=.
   10151     for ac_exec_ext in '' $ac_executable_extensions; do
   10152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10153     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10155     break 2
   10156   fi
   10157 done
   10158   done
   10159 IFS=$as_save_IFS
   10160 
   10161 fi
   10162 fi
   10163 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10164 if test -n "$CXX_FOR_TARGET"; then
   10165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10166 $as_echo "$CXX_FOR_TARGET" >&6; }
   10167 else
   10168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10169 $as_echo "no" >&6; }
   10170 fi
   10171 
   10172 
   10173   done
   10174 fi
   10175 
   10176 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10177   for ncn_progname in c++ g++ cxx gxx; do
   10178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10179 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10180     if test -x $with_build_time_tools/${ncn_progname}; then
   10181       ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10182       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10183 $as_echo "yes" >&6; }
   10184       break
   10185     else
   10186       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10187 $as_echo "no" >&6; }
   10188     fi
   10189   done
   10190 fi
   10191 
   10192 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
   10193   for ncn_progname in c++ g++ cxx gxx; do
   10194     if test -n "$ncn_target_tool_prefix"; then
   10195       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10196 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10198 $as_echo_n "checking for $ac_word... " >&6; }
   10199 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
   10200   $as_echo_n "(cached) " >&6
   10201 else
   10202   if test -n "$CXX_FOR_TARGET"; then
   10203   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10204 else
   10205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10206 for as_dir in $PATH
   10207 do
   10208   IFS=$as_save_IFS
   10209   test -z "$as_dir" && as_dir=.
   10210     for ac_exec_ext in '' $ac_executable_extensions; do
   10211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10212     ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10214     break 2
   10215   fi
   10216 done
   10217   done
   10218 IFS=$as_save_IFS
   10219 
   10220 fi
   10221 fi
   10222 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10223 if test -n "$CXX_FOR_TARGET"; then
   10224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10225 $as_echo "$CXX_FOR_TARGET" >&6; }
   10226 else
   10227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10228 $as_echo "no" >&6; }
   10229 fi
   10230 
   10231 
   10232     fi
   10233     if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
   10234       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10235 set dummy ${ncn_progname}; ac_word=$2
   10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10237 $as_echo_n "checking for $ac_word... " >&6; }
   10238 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
   10239   $as_echo_n "(cached) " >&6
   10240 else
   10241   if test -n "$CXX_FOR_TARGET"; then
   10242   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10243 else
   10244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10245 for as_dir in $PATH
   10246 do
   10247   IFS=$as_save_IFS
   10248   test -z "$as_dir" && as_dir=.
   10249     for ac_exec_ext in '' $ac_executable_extensions; do
   10250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10251     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10253     break 2
   10254   fi
   10255 done
   10256   done
   10257 IFS=$as_save_IFS
   10258 
   10259 fi
   10260 fi
   10261 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10262 if test -n "$CXX_FOR_TARGET"; then
   10263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10264 $as_echo "$CXX_FOR_TARGET" >&6; }
   10265 else
   10266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10267 $as_echo "no" >&6; }
   10268 fi
   10269 
   10270 
   10271     fi
   10272     test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
   10273   done
   10274 fi
   10275 
   10276 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
   10277   set dummy c++ g++ cxx gxx
   10278   if test $build = $target ; then
   10279     CXX_FOR_TARGET="$2"
   10280   else
   10281     CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10282   fi
   10283 else
   10284   CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
   10285 fi
   10286 
   10287 
   10288 
   10289 if test -n "$GCC_FOR_TARGET"; then
   10290   ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
   10291 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10292   GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10293 fi
   10294 
   10295 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10296   for ncn_progname in gcc; do
   10297     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10298 set dummy ${ncn_progname}; ac_word=$2
   10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10300 $as_echo_n "checking for $ac_word... " >&6; }
   10301 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
   10302   $as_echo_n "(cached) " >&6
   10303 else
   10304   if test -n "$GCC_FOR_TARGET"; then
   10305   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10306 else
   10307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10308 for as_dir in $PATH
   10309 do
   10310   IFS=$as_save_IFS
   10311   test -z "$as_dir" && as_dir=.
   10312     for ac_exec_ext in '' $ac_executable_extensions; do
   10313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10314     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10316     break 2
   10317   fi
   10318 done
   10319   done
   10320 IFS=$as_save_IFS
   10321 
   10322 fi
   10323 fi
   10324 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10325 if test -n "$GCC_FOR_TARGET"; then
   10326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10327 $as_echo "$GCC_FOR_TARGET" >&6; }
   10328 else
   10329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10330 $as_echo "no" >&6; }
   10331 fi
   10332 
   10333 
   10334   done
   10335 fi
   10336 
   10337 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10338   for ncn_progname in gcc; do
   10339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10340 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10341     if test -x $with_build_time_tools/${ncn_progname}; then
   10342       ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10343       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10344 $as_echo "yes" >&6; }
   10345       break
   10346     else
   10347       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10348 $as_echo "no" >&6; }
   10349     fi
   10350   done
   10351 fi
   10352 
   10353 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
   10354   for ncn_progname in gcc; do
   10355     if test -n "$ncn_target_tool_prefix"; then
   10356       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10357 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10359 $as_echo_n "checking for $ac_word... " >&6; }
   10360 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
   10361   $as_echo_n "(cached) " >&6
   10362 else
   10363   if test -n "$GCC_FOR_TARGET"; then
   10364   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10365 else
   10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10367 for as_dir in $PATH
   10368 do
   10369   IFS=$as_save_IFS
   10370   test -z "$as_dir" && as_dir=.
   10371     for ac_exec_ext in '' $ac_executable_extensions; do
   10372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10373     ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10375     break 2
   10376   fi
   10377 done
   10378   done
   10379 IFS=$as_save_IFS
   10380 
   10381 fi
   10382 fi
   10383 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10384 if test -n "$GCC_FOR_TARGET"; then
   10385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10386 $as_echo "$GCC_FOR_TARGET" >&6; }
   10387 else
   10388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10389 $as_echo "no" >&6; }
   10390 fi
   10391 
   10392 
   10393     fi
   10394     if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
   10395       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10396 set dummy ${ncn_progname}; ac_word=$2
   10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10398 $as_echo_n "checking for $ac_word... " >&6; }
   10399 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
   10400   $as_echo_n "(cached) " >&6
   10401 else
   10402   if test -n "$GCC_FOR_TARGET"; then
   10403   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10404 else
   10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10406 for as_dir in $PATH
   10407 do
   10408   IFS=$as_save_IFS
   10409   test -z "$as_dir" && as_dir=.
   10410     for ac_exec_ext in '' $ac_executable_extensions; do
   10411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10412     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10414     break 2
   10415   fi
   10416 done
   10417   done
   10418 IFS=$as_save_IFS
   10419 
   10420 fi
   10421 fi
   10422 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10423 if test -n "$GCC_FOR_TARGET"; then
   10424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10425 $as_echo "$GCC_FOR_TARGET" >&6; }
   10426 else
   10427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10428 $as_echo "no" >&6; }
   10429 fi
   10430 
   10431 
   10432     fi
   10433     test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
   10434   done
   10435 fi
   10436 
   10437 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
   10438   GCC_FOR_TARGET="${CC_FOR_TARGET}"
   10439 else
   10440   GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
   10441 fi
   10442 
   10443 
   10444 
   10445 if test -n "$GCJ_FOR_TARGET"; then
   10446   ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
   10447 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
   10448   GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10449 fi
   10450 
   10451 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
   10452   for ncn_progname in gcj; do
   10453     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10454 set dummy ${ncn_progname}; ac_word=$2
   10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10456 $as_echo_n "checking for $ac_word... " >&6; }
   10457 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
   10458   $as_echo_n "(cached) " >&6
   10459 else
   10460   if test -n "$GCJ_FOR_TARGET"; then
   10461   ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
   10462 else
   10463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10464 for as_dir in $PATH
   10465 do
   10466   IFS=$as_save_IFS
   10467   test -z "$as_dir" && as_dir=.
   10468     for ac_exec_ext in '' $ac_executable_extensions; do
   10469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10470     ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
   10471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10472     break 2
   10473   fi
   10474 done
   10475   done
   10476 IFS=$as_save_IFS
   10477 
   10478 fi
   10479 fi
   10480 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10481 if test -n "$GCJ_FOR_TARGET"; then
   10482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
   10483 $as_echo "$GCJ_FOR_TARGET" >&6; }
   10484 else
   10485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10486 $as_echo "no" >&6; }
   10487 fi
   10488 
   10489 
   10490   done
   10491 fi
   10492 
   10493 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10494   for ncn_progname in gcj; do
   10495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10496 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10497     if test -x $with_build_time_tools/${ncn_progname}; then
   10498       ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10499       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10500 $as_echo "yes" >&6; }
   10501       break
   10502     else
   10503       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10504 $as_echo "no" >&6; }
   10505     fi
   10506   done
   10507 fi
   10508 
   10509 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
   10510   for ncn_progname in gcj; do
   10511     if test -n "$ncn_target_tool_prefix"; then
   10512       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10513 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10515 $as_echo_n "checking for $ac_word... " >&6; }
   10516 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
   10517   $as_echo_n "(cached) " >&6
   10518 else
   10519   if test -n "$GCJ_FOR_TARGET"; then
   10520   ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
   10521 else
   10522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10523 for as_dir in $PATH
   10524 do
   10525   IFS=$as_save_IFS
   10526   test -z "$as_dir" && as_dir=.
   10527     for ac_exec_ext in '' $ac_executable_extensions; do
   10528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10529     ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10531     break 2
   10532   fi
   10533 done
   10534   done
   10535 IFS=$as_save_IFS
   10536 
   10537 fi
   10538 fi
   10539 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10540 if test -n "$GCJ_FOR_TARGET"; then
   10541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
   10542 $as_echo "$GCJ_FOR_TARGET" >&6; }
   10543 else
   10544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10545 $as_echo "no" >&6; }
   10546 fi
   10547 
   10548 
   10549     fi
   10550     if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
   10551       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10552 set dummy ${ncn_progname}; ac_word=$2
   10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10554 $as_echo_n "checking for $ac_word... " >&6; }
   10555 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
   10556   $as_echo_n "(cached) " >&6
   10557 else
   10558   if test -n "$GCJ_FOR_TARGET"; then
   10559   ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
   10560 else
   10561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10562 for as_dir in $PATH
   10563 do
   10564   IFS=$as_save_IFS
   10565   test -z "$as_dir" && as_dir=.
   10566     for ac_exec_ext in '' $ac_executable_extensions; do
   10567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10568     ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
   10569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10570     break 2
   10571   fi
   10572 done
   10573   done
   10574 IFS=$as_save_IFS
   10575 
   10576 fi
   10577 fi
   10578 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
   10579 if test -n "$GCJ_FOR_TARGET"; then
   10580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
   10581 $as_echo "$GCJ_FOR_TARGET" >&6; }
   10582 else
   10583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10584 $as_echo "no" >&6; }
   10585 fi
   10586 
   10587 
   10588     fi
   10589     test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
   10590   done
   10591 fi
   10592 
   10593 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
   10594   set dummy gcj
   10595   if test $build = $target ; then
   10596     GCJ_FOR_TARGET="$2"
   10597   else
   10598     GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10599   fi
   10600 else
   10601   GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
   10602 fi
   10603 
   10604 
   10605 
   10606 if test -n "$GFORTRAN_FOR_TARGET"; then
   10607   ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
   10608 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10609   GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10610 fi
   10611 
   10612 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10613   for ncn_progname in gfortran; do
   10614     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10615 set dummy ${ncn_progname}; ac_word=$2
   10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10617 $as_echo_n "checking for $ac_word... " >&6; }
   10618 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
   10619   $as_echo_n "(cached) " >&6
   10620 else
   10621   if test -n "$GFORTRAN_FOR_TARGET"; then
   10622   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10623 else
   10624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10625 for as_dir in $PATH
   10626 do
   10627   IFS=$as_save_IFS
   10628   test -z "$as_dir" && as_dir=.
   10629     for ac_exec_ext in '' $ac_executable_extensions; do
   10630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10631     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10633     break 2
   10634   fi
   10635 done
   10636   done
   10637 IFS=$as_save_IFS
   10638 
   10639 fi
   10640 fi
   10641 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10642 if test -n "$GFORTRAN_FOR_TARGET"; then
   10643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10644 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10645 else
   10646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10647 $as_echo "no" >&6; }
   10648 fi
   10649 
   10650 
   10651   done
   10652 fi
   10653 
   10654 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10655   for ncn_progname in gfortran; do
   10656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10657 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10658     if test -x $with_build_time_tools/${ncn_progname}; then
   10659       ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10660       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10661 $as_echo "yes" >&6; }
   10662       break
   10663     else
   10664       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10665 $as_echo "no" >&6; }
   10666     fi
   10667   done
   10668 fi
   10669 
   10670 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10671   for ncn_progname in gfortran; do
   10672     if test -n "$ncn_target_tool_prefix"; then
   10673       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10674 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10676 $as_echo_n "checking for $ac_word... " >&6; }
   10677 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
   10678   $as_echo_n "(cached) " >&6
   10679 else
   10680   if test -n "$GFORTRAN_FOR_TARGET"; then
   10681   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10682 else
   10683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10684 for as_dir in $PATH
   10685 do
   10686   IFS=$as_save_IFS
   10687   test -z "$as_dir" && as_dir=.
   10688     for ac_exec_ext in '' $ac_executable_extensions; do
   10689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10690     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10692     break 2
   10693   fi
   10694 done
   10695   done
   10696 IFS=$as_save_IFS
   10697 
   10698 fi
   10699 fi
   10700 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10701 if test -n "$GFORTRAN_FOR_TARGET"; then
   10702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10703 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10704 else
   10705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10706 $as_echo "no" >&6; }
   10707 fi
   10708 
   10709 
   10710     fi
   10711     if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
   10712       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10713 set dummy ${ncn_progname}; ac_word=$2
   10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10715 $as_echo_n "checking for $ac_word... " >&6; }
   10716 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
   10717   $as_echo_n "(cached) " >&6
   10718 else
   10719   if test -n "$GFORTRAN_FOR_TARGET"; then
   10720   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10721 else
   10722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10723 for as_dir in $PATH
   10724 do
   10725   IFS=$as_save_IFS
   10726   test -z "$as_dir" && as_dir=.
   10727     for ac_exec_ext in '' $ac_executable_extensions; do
   10728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10729     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10731     break 2
   10732   fi
   10733 done
   10734   done
   10735 IFS=$as_save_IFS
   10736 
   10737 fi
   10738 fi
   10739 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10740 if test -n "$GFORTRAN_FOR_TARGET"; then
   10741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10742 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10743 else
   10744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10745 $as_echo "no" >&6; }
   10746 fi
   10747 
   10748 
   10749     fi
   10750     test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
   10751   done
   10752 fi
   10753 
   10754 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
   10755   set dummy gfortran
   10756   if test $build = $target ; then
   10757     GFORTRAN_FOR_TARGET="$2"
   10758   else
   10759     GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10760   fi
   10761 else
   10762   GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
   10763 fi
   10764 
   10765 
   10766 
   10767 if test -n "$GOC_FOR_TARGET"; then
   10768   ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
   10769 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10770   GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10771 fi
   10772 
   10773 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10774   for ncn_progname in gccgo; do
   10775     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10776 set dummy ${ncn_progname}; ac_word=$2
   10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10778 $as_echo_n "checking for $ac_word... " >&6; }
   10779 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
   10780   $as_echo_n "(cached) " >&6
   10781 else
   10782   if test -n "$GOC_FOR_TARGET"; then
   10783   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10784 else
   10785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10786 for as_dir in $PATH
   10787 do
   10788   IFS=$as_save_IFS
   10789   test -z "$as_dir" && as_dir=.
   10790     for ac_exec_ext in '' $ac_executable_extensions; do
   10791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10792     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10794     break 2
   10795   fi
   10796 done
   10797   done
   10798 IFS=$as_save_IFS
   10799 
   10800 fi
   10801 fi
   10802 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10803 if test -n "$GOC_FOR_TARGET"; then
   10804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10805 $as_echo "$GOC_FOR_TARGET" >&6; }
   10806 else
   10807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10808 $as_echo "no" >&6; }
   10809 fi
   10810 
   10811 
   10812   done
   10813 fi
   10814 
   10815 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10816   for ncn_progname in gccgo; do
   10817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10818 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10819     if test -x $with_build_time_tools/${ncn_progname}; then
   10820       ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10821       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10822 $as_echo "yes" >&6; }
   10823       break
   10824     else
   10825       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10826 $as_echo "no" >&6; }
   10827     fi
   10828   done
   10829 fi
   10830 
   10831 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
   10832   for ncn_progname in gccgo; do
   10833     if test -n "$ncn_target_tool_prefix"; then
   10834       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10835 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10837 $as_echo_n "checking for $ac_word... " >&6; }
   10838 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
   10839   $as_echo_n "(cached) " >&6
   10840 else
   10841   if test -n "$GOC_FOR_TARGET"; then
   10842   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10843 else
   10844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10845 for as_dir in $PATH
   10846 do
   10847   IFS=$as_save_IFS
   10848   test -z "$as_dir" && as_dir=.
   10849     for ac_exec_ext in '' $ac_executable_extensions; do
   10850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10851     ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10853     break 2
   10854   fi
   10855 done
   10856   done
   10857 IFS=$as_save_IFS
   10858 
   10859 fi
   10860 fi
   10861 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10862 if test -n "$GOC_FOR_TARGET"; then
   10863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10864 $as_echo "$GOC_FOR_TARGET" >&6; }
   10865 else
   10866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10867 $as_echo "no" >&6; }
   10868 fi
   10869 
   10870 
   10871     fi
   10872     if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
   10873       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10874 set dummy ${ncn_progname}; ac_word=$2
   10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10876 $as_echo_n "checking for $ac_word... " >&6; }
   10877 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
   10878   $as_echo_n "(cached) " >&6
   10879 else
   10880   if test -n "$GOC_FOR_TARGET"; then
   10881   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10882 else
   10883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10884 for as_dir in $PATH
   10885 do
   10886   IFS=$as_save_IFS
   10887   test -z "$as_dir" && as_dir=.
   10888     for ac_exec_ext in '' $ac_executable_extensions; do
   10889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10890     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10892     break 2
   10893   fi
   10894 done
   10895   done
   10896 IFS=$as_save_IFS
   10897 
   10898 fi
   10899 fi
   10900 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10901 if test -n "$GOC_FOR_TARGET"; then
   10902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10903 $as_echo "$GOC_FOR_TARGET" >&6; }
   10904 else
   10905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10906 $as_echo "no" >&6; }
   10907 fi
   10908 
   10909 
   10910     fi
   10911     test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
   10912   done
   10913 fi
   10914 
   10915 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
   10916   set dummy gccgo
   10917   if test $build = $target ; then
   10918     GOC_FOR_TARGET="$2"
   10919   else
   10920     GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10921   fi
   10922 else
   10923   GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
   10924 fi
   10925 
   10926 
   10927 
   10928 cat > conftest.c << \EOF
   10929 #ifdef __GNUC__
   10930   gcc_yay;
   10931 #endif
   10932 EOF
   10933 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
   10934   have_gcc_for_target=yes
   10935 else
   10936   GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
   10937   have_gcc_for_target=no
   10938 fi
   10939 rm conftest.c
   10940 
   10941 
   10942 
   10943 
   10944 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   10945   if test -n "$with_build_time_tools"; then
   10946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
   10947 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
   10948     if test -x $with_build_time_tools/ar; then
   10949       AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
   10950       ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10951       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
   10952 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
   10953     else
   10954       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10955 $as_echo "no" >&6; }
   10956     fi
   10957   elif test $build != $host && test $have_gcc_for_target = yes; then
   10958     AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
   10959     test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
   10960     test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10961   fi
   10962 fi
   10963 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   10964   # Extract the first word of "ar", so it can be a program name with args.
   10965 set dummy ar; ac_word=$2
   10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10967 $as_echo_n "checking for $ac_word... " >&6; }
   10968 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
   10969   $as_echo_n "(cached) " >&6
   10970 else
   10971   case $AR_FOR_TARGET in
   10972   [\\/]* | ?:[\\/]*)
   10973   ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
   10974   ;;
   10975   *)
   10976   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10977 for as_dir in $gcc_cv_tool_dirs
   10978 do
   10979   IFS=$as_save_IFS
   10980   test -z "$as_dir" && as_dir=.
   10981     for ac_exec_ext in '' $ac_executable_extensions; do
   10982   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10983     ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   10984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10985     break 2
   10986   fi
   10987 done
   10988   done
   10989 IFS=$as_save_IFS
   10990 
   10991   ;;
   10992 esac
   10993 fi
   10994 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   10995 if test -n "$AR_FOR_TARGET"; then
   10996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   10997 $as_echo "$AR_FOR_TARGET" >&6; }
   10998 else
   10999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11000 $as_echo "no" >&6; }
   11001 fi
   11002 
   11003 
   11004 fi
   11005 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   11006 
   11007 
   11008 if test -n "$AR_FOR_TARGET"; then
   11009   ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
   11010 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   11011   AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11012 fi
   11013 
   11014 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   11015   for ncn_progname in ar; do
   11016     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11017 set dummy ${ncn_progname}; ac_word=$2
   11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11019 $as_echo_n "checking for $ac_word... " >&6; }
   11020 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
   11021   $as_echo_n "(cached) " >&6
   11022 else
   11023   if test -n "$AR_FOR_TARGET"; then
   11024   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11025 else
   11026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11027 for as_dir in $PATH
   11028 do
   11029   IFS=$as_save_IFS
   11030   test -z "$as_dir" && as_dir=.
   11031     for ac_exec_ext in '' $ac_executable_extensions; do
   11032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11033     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   11034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11035     break 2
   11036   fi
   11037 done
   11038   done
   11039 IFS=$as_save_IFS
   11040 
   11041 fi
   11042 fi
   11043 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11044 if test -n "$AR_FOR_TARGET"; then
   11045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11046 $as_echo "$AR_FOR_TARGET" >&6; }
   11047 else
   11048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11049 $as_echo "no" >&6; }
   11050 fi
   11051 
   11052 
   11053   done
   11054 fi
   11055 
   11056 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11057   for ncn_progname in ar; do
   11058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11059 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11060     if test -x $with_build_time_tools/${ncn_progname}; then
   11061       ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11062       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11063 $as_echo "yes" >&6; }
   11064       break
   11065     else
   11066       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11067 $as_echo "no" >&6; }
   11068     fi
   11069   done
   11070 fi
   11071 
   11072 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
   11073   for ncn_progname in ar; do
   11074     if test -n "$ncn_target_tool_prefix"; then
   11075       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11076 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11078 $as_echo_n "checking for $ac_word... " >&6; }
   11079 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
   11080   $as_echo_n "(cached) " >&6
   11081 else
   11082   if test -n "$AR_FOR_TARGET"; then
   11083   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11084 else
   11085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11086 for as_dir in $PATH
   11087 do
   11088   IFS=$as_save_IFS
   11089   test -z "$as_dir" && as_dir=.
   11090     for ac_exec_ext in '' $ac_executable_extensions; do
   11091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11092     ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11094     break 2
   11095   fi
   11096 done
   11097   done
   11098 IFS=$as_save_IFS
   11099 
   11100 fi
   11101 fi
   11102 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11103 if test -n "$AR_FOR_TARGET"; then
   11104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11105 $as_echo "$AR_FOR_TARGET" >&6; }
   11106 else
   11107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11108 $as_echo "no" >&6; }
   11109 fi
   11110 
   11111 
   11112     fi
   11113     if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
   11114       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11115 set dummy ${ncn_progname}; ac_word=$2
   11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11117 $as_echo_n "checking for $ac_word... " >&6; }
   11118 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
   11119   $as_echo_n "(cached) " >&6
   11120 else
   11121   if test -n "$AR_FOR_TARGET"; then
   11122   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11123 else
   11124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11125 for as_dir in $PATH
   11126 do
   11127   IFS=$as_save_IFS
   11128   test -z "$as_dir" && as_dir=.
   11129     for ac_exec_ext in '' $ac_executable_extensions; do
   11130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11131     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   11132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11133     break 2
   11134   fi
   11135 done
   11136   done
   11137 IFS=$as_save_IFS
   11138 
   11139 fi
   11140 fi
   11141 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11142 if test -n "$AR_FOR_TARGET"; then
   11143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11144 $as_echo "$AR_FOR_TARGET" >&6; }
   11145 else
   11146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11147 $as_echo "no" >&6; }
   11148 fi
   11149 
   11150 
   11151     fi
   11152     test -n "$ac_cv_prog_AR_FOR_TARGET" && break
   11153   done
   11154 fi
   11155 
   11156 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
   11157   set dummy ar
   11158   if test $build = $target ; then
   11159     AR_FOR_TARGET="$2"
   11160   else
   11161     AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11162   fi
   11163 else
   11164   AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
   11165 fi
   11166 
   11167 else
   11168   AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   11169 fi
   11170 
   11171 
   11172 
   11173 
   11174 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11175   if test -n "$with_build_time_tools"; then
   11176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
   11177 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
   11178     if test -x $with_build_time_tools/as; then
   11179       AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
   11180       ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11181       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
   11182 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
   11183     else
   11184       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11185 $as_echo "no" >&6; }
   11186     fi
   11187   elif test $build != $host && test $have_gcc_for_target = yes; then
   11188     AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
   11189     test $AS_FOR_TARGET = as && AS_FOR_TARGET=
   11190     test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11191   fi
   11192 fi
   11193 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11194   # Extract the first word of "as", so it can be a program name with args.
   11195 set dummy as; ac_word=$2
   11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11197 $as_echo_n "checking for $ac_word... " >&6; }
   11198 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
   11199   $as_echo_n "(cached) " >&6
   11200 else
   11201   case $AS_FOR_TARGET in
   11202   [\\/]* | ?:[\\/]*)
   11203   ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
   11204   ;;
   11205   *)
   11206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11207 for as_dir in $gcc_cv_tool_dirs
   11208 do
   11209   IFS=$as_save_IFS
   11210   test -z "$as_dir" && as_dir=.
   11211     for ac_exec_ext in '' $ac_executable_extensions; do
   11212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11213     ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11215     break 2
   11216   fi
   11217 done
   11218   done
   11219 IFS=$as_save_IFS
   11220 
   11221   ;;
   11222 esac
   11223 fi
   11224 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11225 if test -n "$AS_FOR_TARGET"; then
   11226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11227 $as_echo "$AS_FOR_TARGET" >&6; }
   11228 else
   11229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11230 $as_echo "no" >&6; }
   11231 fi
   11232 
   11233 
   11234 fi
   11235 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11236 
   11237 
   11238 if test -n "$AS_FOR_TARGET"; then
   11239   ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
   11240 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11241   AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11242 fi
   11243 
   11244 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11245   for ncn_progname in as; do
   11246     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11247 set dummy ${ncn_progname}; ac_word=$2
   11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11249 $as_echo_n "checking for $ac_word... " >&6; }
   11250 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
   11251   $as_echo_n "(cached) " >&6
   11252 else
   11253   if test -n "$AS_FOR_TARGET"; then
   11254   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11255 else
   11256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11257 for as_dir in $PATH
   11258 do
   11259   IFS=$as_save_IFS
   11260   test -z "$as_dir" && as_dir=.
   11261     for ac_exec_ext in '' $ac_executable_extensions; do
   11262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11263     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11265     break 2
   11266   fi
   11267 done
   11268   done
   11269 IFS=$as_save_IFS
   11270 
   11271 fi
   11272 fi
   11273 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11274 if test -n "$AS_FOR_TARGET"; then
   11275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11276 $as_echo "$AS_FOR_TARGET" >&6; }
   11277 else
   11278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11279 $as_echo "no" >&6; }
   11280 fi
   11281 
   11282 
   11283   done
   11284 fi
   11285 
   11286 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11287   for ncn_progname in as; do
   11288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11289 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11290     if test -x $with_build_time_tools/${ncn_progname}; then
   11291       ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11292       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11293 $as_echo "yes" >&6; }
   11294       break
   11295     else
   11296       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11297 $as_echo "no" >&6; }
   11298     fi
   11299   done
   11300 fi
   11301 
   11302 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
   11303   for ncn_progname in as; do
   11304     if test -n "$ncn_target_tool_prefix"; then
   11305       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11306 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11308 $as_echo_n "checking for $ac_word... " >&6; }
   11309 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
   11310   $as_echo_n "(cached) " >&6
   11311 else
   11312   if test -n "$AS_FOR_TARGET"; then
   11313   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11314 else
   11315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11316 for as_dir in $PATH
   11317 do
   11318   IFS=$as_save_IFS
   11319   test -z "$as_dir" && as_dir=.
   11320     for ac_exec_ext in '' $ac_executable_extensions; do
   11321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11322     ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11324     break 2
   11325   fi
   11326 done
   11327   done
   11328 IFS=$as_save_IFS
   11329 
   11330 fi
   11331 fi
   11332 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11333 if test -n "$AS_FOR_TARGET"; then
   11334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11335 $as_echo "$AS_FOR_TARGET" >&6; }
   11336 else
   11337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11338 $as_echo "no" >&6; }
   11339 fi
   11340 
   11341 
   11342     fi
   11343     if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
   11344       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11345 set dummy ${ncn_progname}; ac_word=$2
   11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11347 $as_echo_n "checking for $ac_word... " >&6; }
   11348 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
   11349   $as_echo_n "(cached) " >&6
   11350 else
   11351   if test -n "$AS_FOR_TARGET"; then
   11352   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11353 else
   11354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11355 for as_dir in $PATH
   11356 do
   11357   IFS=$as_save_IFS
   11358   test -z "$as_dir" && as_dir=.
   11359     for ac_exec_ext in '' $ac_executable_extensions; do
   11360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11361     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11363     break 2
   11364   fi
   11365 done
   11366   done
   11367 IFS=$as_save_IFS
   11368 
   11369 fi
   11370 fi
   11371 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11372 if test -n "$AS_FOR_TARGET"; then
   11373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11374 $as_echo "$AS_FOR_TARGET" >&6; }
   11375 else
   11376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11377 $as_echo "no" >&6; }
   11378 fi
   11379 
   11380 
   11381     fi
   11382     test -n "$ac_cv_prog_AS_FOR_TARGET" && break
   11383   done
   11384 fi
   11385 
   11386 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
   11387   set dummy as
   11388   if test $build = $target ; then
   11389     AS_FOR_TARGET="$2"
   11390   else
   11391     AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11392   fi
   11393 else
   11394   AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
   11395 fi
   11396 
   11397 else
   11398   AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11399 fi
   11400 
   11401 
   11402 
   11403 
   11404 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11405   if test -n "$with_build_time_tools"; then
   11406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
   11407 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
   11408     if test -x $with_build_time_tools/dlltool; then
   11409       DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
   11410       ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11411       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
   11412 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
   11413     else
   11414       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11415 $as_echo "no" >&6; }
   11416     fi
   11417   elif test $build != $host && test $have_gcc_for_target = yes; then
   11418     DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
   11419     test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
   11420     test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11421   fi
   11422 fi
   11423 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11424   # Extract the first word of "dlltool", so it can be a program name with args.
   11425 set dummy dlltool; ac_word=$2
   11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11427 $as_echo_n "checking for $ac_word... " >&6; }
   11428 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
   11429   $as_echo_n "(cached) " >&6
   11430 else
   11431   case $DLLTOOL_FOR_TARGET in
   11432   [\\/]* | ?:[\\/]*)
   11433   ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
   11434   ;;
   11435   *)
   11436   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11437 for as_dir in $gcc_cv_tool_dirs
   11438 do
   11439   IFS=$as_save_IFS
   11440   test -z "$as_dir" && as_dir=.
   11441     for ac_exec_ext in '' $ac_executable_extensions; do
   11442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11443     ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11445     break 2
   11446   fi
   11447 done
   11448   done
   11449 IFS=$as_save_IFS
   11450 
   11451   ;;
   11452 esac
   11453 fi
   11454 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11455 if test -n "$DLLTOOL_FOR_TARGET"; then
   11456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11457 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11458 else
   11459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11460 $as_echo "no" >&6; }
   11461 fi
   11462 
   11463 
   11464 fi
   11465 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11466 
   11467 
   11468 if test -n "$DLLTOOL_FOR_TARGET"; then
   11469   ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11470 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11471   DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11472 fi
   11473 
   11474 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11475   for ncn_progname in dlltool; do
   11476     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11477 set dummy ${ncn_progname}; ac_word=$2
   11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11479 $as_echo_n "checking for $ac_word... " >&6; }
   11480 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
   11481   $as_echo_n "(cached) " >&6
   11482 else
   11483   if test -n "$DLLTOOL_FOR_TARGET"; then
   11484   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11485 else
   11486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11487 for as_dir in $PATH
   11488 do
   11489   IFS=$as_save_IFS
   11490   test -z "$as_dir" && as_dir=.
   11491     for ac_exec_ext in '' $ac_executable_extensions; do
   11492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11493     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11495     break 2
   11496   fi
   11497 done
   11498   done
   11499 IFS=$as_save_IFS
   11500 
   11501 fi
   11502 fi
   11503 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11504 if test -n "$DLLTOOL_FOR_TARGET"; then
   11505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11506 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11507 else
   11508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11509 $as_echo "no" >&6; }
   11510 fi
   11511 
   11512 
   11513   done
   11514 fi
   11515 
   11516 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11517   for ncn_progname in dlltool; do
   11518     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11519 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11520     if test -x $with_build_time_tools/${ncn_progname}; then
   11521       ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11522       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11523 $as_echo "yes" >&6; }
   11524       break
   11525     else
   11526       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11527 $as_echo "no" >&6; }
   11528     fi
   11529   done
   11530 fi
   11531 
   11532 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11533   for ncn_progname in dlltool; do
   11534     if test -n "$ncn_target_tool_prefix"; then
   11535       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11536 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11538 $as_echo_n "checking for $ac_word... " >&6; }
   11539 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
   11540   $as_echo_n "(cached) " >&6
   11541 else
   11542   if test -n "$DLLTOOL_FOR_TARGET"; then
   11543   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11544 else
   11545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11546 for as_dir in $PATH
   11547 do
   11548   IFS=$as_save_IFS
   11549   test -z "$as_dir" && as_dir=.
   11550     for ac_exec_ext in '' $ac_executable_extensions; do
   11551   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11552     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11554     break 2
   11555   fi
   11556 done
   11557   done
   11558 IFS=$as_save_IFS
   11559 
   11560 fi
   11561 fi
   11562 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11563 if test -n "$DLLTOOL_FOR_TARGET"; then
   11564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11565 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11566 else
   11567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11568 $as_echo "no" >&6; }
   11569 fi
   11570 
   11571 
   11572     fi
   11573     if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
   11574       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11575 set dummy ${ncn_progname}; ac_word=$2
   11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11577 $as_echo_n "checking for $ac_word... " >&6; }
   11578 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
   11579   $as_echo_n "(cached) " >&6
   11580 else
   11581   if test -n "$DLLTOOL_FOR_TARGET"; then
   11582   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11583 else
   11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11585 for as_dir in $PATH
   11586 do
   11587   IFS=$as_save_IFS
   11588   test -z "$as_dir" && as_dir=.
   11589     for ac_exec_ext in '' $ac_executable_extensions; do
   11590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11591     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11593     break 2
   11594   fi
   11595 done
   11596   done
   11597 IFS=$as_save_IFS
   11598 
   11599 fi
   11600 fi
   11601 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11602 if test -n "$DLLTOOL_FOR_TARGET"; then
   11603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11604 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11605 else
   11606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11607 $as_echo "no" >&6; }
   11608 fi
   11609 
   11610 
   11611     fi
   11612     test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
   11613   done
   11614 fi
   11615 
   11616 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
   11617   set dummy dlltool
   11618   if test $build = $target ; then
   11619     DLLTOOL_FOR_TARGET="$2"
   11620   else
   11621     DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11622   fi
   11623 else
   11624   DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
   11625 fi
   11626 
   11627 else
   11628   DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11629 fi
   11630 
   11631 
   11632 
   11633 
   11634 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11635   if test -n "$with_build_time_tools"; then
   11636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
   11637 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
   11638     if test -x $with_build_time_tools/ld; then
   11639       LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
   11640       ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11641       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
   11642 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
   11643     else
   11644       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11645 $as_echo "no" >&6; }
   11646     fi
   11647   elif test $build != $host && test $have_gcc_for_target = yes; then
   11648     LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
   11649     test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
   11650     test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11651   fi
   11652 fi
   11653 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11654   # Extract the first word of "ld", so it can be a program name with args.
   11655 set dummy ld; ac_word=$2
   11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11657 $as_echo_n "checking for $ac_word... " >&6; }
   11658 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
   11659   $as_echo_n "(cached) " >&6
   11660 else
   11661   case $LD_FOR_TARGET in
   11662   [\\/]* | ?:[\\/]*)
   11663   ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
   11664   ;;
   11665   *)
   11666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11667 for as_dir in $gcc_cv_tool_dirs
   11668 do
   11669   IFS=$as_save_IFS
   11670   test -z "$as_dir" && as_dir=.
   11671     for ac_exec_ext in '' $ac_executable_extensions; do
   11672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11673     ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11675     break 2
   11676   fi
   11677 done
   11678   done
   11679 IFS=$as_save_IFS
   11680 
   11681   ;;
   11682 esac
   11683 fi
   11684 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11685 if test -n "$LD_FOR_TARGET"; then
   11686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11687 $as_echo "$LD_FOR_TARGET" >&6; }
   11688 else
   11689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11690 $as_echo "no" >&6; }
   11691 fi
   11692 
   11693 
   11694 fi
   11695 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11696 
   11697 
   11698 if test -n "$LD_FOR_TARGET"; then
   11699   ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
   11700 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11701   LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11702 fi
   11703 
   11704 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11705   for ncn_progname in ld; do
   11706     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11707 set dummy ${ncn_progname}; ac_word=$2
   11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11709 $as_echo_n "checking for $ac_word... " >&6; }
   11710 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
   11711   $as_echo_n "(cached) " >&6
   11712 else
   11713   if test -n "$LD_FOR_TARGET"; then
   11714   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11715 else
   11716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11717 for as_dir in $PATH
   11718 do
   11719   IFS=$as_save_IFS
   11720   test -z "$as_dir" && as_dir=.
   11721     for ac_exec_ext in '' $ac_executable_extensions; do
   11722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11723     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11725     break 2
   11726   fi
   11727 done
   11728   done
   11729 IFS=$as_save_IFS
   11730 
   11731 fi
   11732 fi
   11733 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11734 if test -n "$LD_FOR_TARGET"; then
   11735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11736 $as_echo "$LD_FOR_TARGET" >&6; }
   11737 else
   11738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11739 $as_echo "no" >&6; }
   11740 fi
   11741 
   11742 
   11743   done
   11744 fi
   11745 
   11746 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11747   for ncn_progname in ld; do
   11748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11749 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11750     if test -x $with_build_time_tools/${ncn_progname}; then
   11751       ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11752       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11753 $as_echo "yes" >&6; }
   11754       break
   11755     else
   11756       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11757 $as_echo "no" >&6; }
   11758     fi
   11759   done
   11760 fi
   11761 
   11762 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
   11763   for ncn_progname in ld; do
   11764     if test -n "$ncn_target_tool_prefix"; then
   11765       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11766 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11768 $as_echo_n "checking for $ac_word... " >&6; }
   11769 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
   11770   $as_echo_n "(cached) " >&6
   11771 else
   11772   if test -n "$LD_FOR_TARGET"; then
   11773   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11774 else
   11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11776 for as_dir in $PATH
   11777 do
   11778   IFS=$as_save_IFS
   11779   test -z "$as_dir" && as_dir=.
   11780     for ac_exec_ext in '' $ac_executable_extensions; do
   11781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11782     ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11784     break 2
   11785   fi
   11786 done
   11787   done
   11788 IFS=$as_save_IFS
   11789 
   11790 fi
   11791 fi
   11792 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11793 if test -n "$LD_FOR_TARGET"; then
   11794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11795 $as_echo "$LD_FOR_TARGET" >&6; }
   11796 else
   11797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11798 $as_echo "no" >&6; }
   11799 fi
   11800 
   11801 
   11802     fi
   11803     if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
   11804       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11805 set dummy ${ncn_progname}; ac_word=$2
   11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11807 $as_echo_n "checking for $ac_word... " >&6; }
   11808 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
   11809   $as_echo_n "(cached) " >&6
   11810 else
   11811   if test -n "$LD_FOR_TARGET"; then
   11812   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11813 else
   11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11815 for as_dir in $PATH
   11816 do
   11817   IFS=$as_save_IFS
   11818   test -z "$as_dir" && as_dir=.
   11819     for ac_exec_ext in '' $ac_executable_extensions; do
   11820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11821     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11823     break 2
   11824   fi
   11825 done
   11826   done
   11827 IFS=$as_save_IFS
   11828 
   11829 fi
   11830 fi
   11831 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11832 if test -n "$LD_FOR_TARGET"; then
   11833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11834 $as_echo "$LD_FOR_TARGET" >&6; }
   11835 else
   11836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11837 $as_echo "no" >&6; }
   11838 fi
   11839 
   11840 
   11841     fi
   11842     test -n "$ac_cv_prog_LD_FOR_TARGET" && break
   11843   done
   11844 fi
   11845 
   11846 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
   11847   set dummy ld
   11848   if test $build = $target ; then
   11849     LD_FOR_TARGET="$2"
   11850   else
   11851     LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11852   fi
   11853 else
   11854   LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
   11855 fi
   11856 
   11857 else
   11858   LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11859 fi
   11860 
   11861 
   11862 
   11863 
   11864 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11865   if test -n "$with_build_time_tools"; then
   11866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
   11867 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
   11868     if test -x $with_build_time_tools/lipo; then
   11869       LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
   11870       ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11871       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
   11872 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
   11873     else
   11874       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11875 $as_echo "no" >&6; }
   11876     fi
   11877   elif test $build != $host && test $have_gcc_for_target = yes; then
   11878     LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
   11879     test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
   11880     test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11881   fi
   11882 fi
   11883 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11884   # Extract the first word of "lipo", so it can be a program name with args.
   11885 set dummy lipo; ac_word=$2
   11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11887 $as_echo_n "checking for $ac_word... " >&6; }
   11888 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
   11889   $as_echo_n "(cached) " >&6
   11890 else
   11891   case $LIPO_FOR_TARGET in
   11892   [\\/]* | ?:[\\/]*)
   11893   ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
   11894   ;;
   11895   *)
   11896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11897 for as_dir in $gcc_cv_tool_dirs
   11898 do
   11899   IFS=$as_save_IFS
   11900   test -z "$as_dir" && as_dir=.
   11901     for ac_exec_ext in '' $ac_executable_extensions; do
   11902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11903     ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11905     break 2
   11906   fi
   11907 done
   11908   done
   11909 IFS=$as_save_IFS
   11910 
   11911   ;;
   11912 esac
   11913 fi
   11914 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   11915 if test -n "$LIPO_FOR_TARGET"; then
   11916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11917 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11918 else
   11919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11920 $as_echo "no" >&6; }
   11921 fi
   11922 
   11923 
   11924 fi
   11925 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11926 
   11927 
   11928 if test -n "$LIPO_FOR_TARGET"; then
   11929   ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11930 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11931   LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11932 fi
   11933 
   11934 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11935   for ncn_progname in lipo; do
   11936     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11937 set dummy ${ncn_progname}; ac_word=$2
   11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11939 $as_echo_n "checking for $ac_word... " >&6; }
   11940 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
   11941   $as_echo_n "(cached) " >&6
   11942 else
   11943   if test -n "$LIPO_FOR_TARGET"; then
   11944   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   11945 else
   11946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11947 for as_dir in $PATH
   11948 do
   11949   IFS=$as_save_IFS
   11950   test -z "$as_dir" && as_dir=.
   11951     for ac_exec_ext in '' $ac_executable_extensions; do
   11952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11953     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   11954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11955     break 2
   11956   fi
   11957 done
   11958   done
   11959 IFS=$as_save_IFS
   11960 
   11961 fi
   11962 fi
   11963 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11964 if test -n "$LIPO_FOR_TARGET"; then
   11965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11966 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11967 else
   11968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11969 $as_echo "no" >&6; }
   11970 fi
   11971 
   11972 
   11973   done
   11974 fi
   11975 
   11976 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11977   for ncn_progname in lipo; do
   11978     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11979 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11980     if test -x $with_build_time_tools/${ncn_progname}; then
   11981       ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11982       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11983 $as_echo "yes" >&6; }
   11984       break
   11985     else
   11986       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11987 $as_echo "no" >&6; }
   11988     fi
   11989   done
   11990 fi
   11991 
   11992 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11993   for ncn_progname in lipo; do
   11994     if test -n "$ncn_target_tool_prefix"; then
   11995       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11996 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11998 $as_echo_n "checking for $ac_word... " >&6; }
   11999 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
   12000   $as_echo_n "(cached) " >&6
   12001 else
   12002   if test -n "$LIPO_FOR_TARGET"; then
   12003   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   12004 else
   12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12006 for as_dir in $PATH
   12007 do
   12008   IFS=$as_save_IFS
   12009   test -z "$as_dir" && as_dir=.
   12010     for ac_exec_ext in '' $ac_executable_extensions; do
   12011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12012     ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12014     break 2
   12015   fi
   12016 done
   12017   done
   12018 IFS=$as_save_IFS
   12019 
   12020 fi
   12021 fi
   12022 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   12023 if test -n "$LIPO_FOR_TARGET"; then
   12024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   12025 $as_echo "$LIPO_FOR_TARGET" >&6; }
   12026 else
   12027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12028 $as_echo "no" >&6; }
   12029 fi
   12030 
   12031 
   12032     fi
   12033     if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
   12034       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12035 set dummy ${ncn_progname}; ac_word=$2
   12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12037 $as_echo_n "checking for $ac_word... " >&6; }
   12038 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
   12039   $as_echo_n "(cached) " >&6
   12040 else
   12041   if test -n "$LIPO_FOR_TARGET"; then
   12042   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   12043 else
   12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12045 for as_dir in $PATH
   12046 do
   12047   IFS=$as_save_IFS
   12048   test -z "$as_dir" && as_dir=.
   12049     for ac_exec_ext in '' $ac_executable_extensions; do
   12050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12051     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   12052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12053     break 2
   12054   fi
   12055 done
   12056   done
   12057 IFS=$as_save_IFS
   12058 
   12059 fi
   12060 fi
   12061 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   12062 if test -n "$LIPO_FOR_TARGET"; then
   12063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   12064 $as_echo "$LIPO_FOR_TARGET" >&6; }
   12065 else
   12066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12067 $as_echo "no" >&6; }
   12068 fi
   12069 
   12070 
   12071     fi
   12072     test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
   12073   done
   12074 fi
   12075 
   12076 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
   12077   set dummy lipo
   12078   if test $build = $target ; then
   12079     LIPO_FOR_TARGET="$2"
   12080   else
   12081     LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12082   fi
   12083 else
   12084   LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
   12085 fi
   12086 
   12087 else
   12088   LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   12089 fi
   12090 
   12091 
   12092 
   12093 
   12094 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   12095   if test -n "$with_build_time_tools"; then
   12096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
   12097 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
   12098     if test -x $with_build_time_tools/nm; then
   12099       NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
   12100       ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12101       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
   12102 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
   12103     else
   12104       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12105 $as_echo "no" >&6; }
   12106     fi
   12107   elif test $build != $host && test $have_gcc_for_target = yes; then
   12108     NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
   12109     test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
   12110     test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12111   fi
   12112 fi
   12113 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12114   # Extract the first word of "nm", so it can be a program name with args.
   12115 set dummy nm; ac_word=$2
   12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12117 $as_echo_n "checking for $ac_word... " >&6; }
   12118 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
   12119   $as_echo_n "(cached) " >&6
   12120 else
   12121   case $NM_FOR_TARGET in
   12122   [\\/]* | ?:[\\/]*)
   12123   ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
   12124   ;;
   12125   *)
   12126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12127 for as_dir in $gcc_cv_tool_dirs
   12128 do
   12129   IFS=$as_save_IFS
   12130   test -z "$as_dir" && as_dir=.
   12131     for ac_exec_ext in '' $ac_executable_extensions; do
   12132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12133     ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12135     break 2
   12136   fi
   12137 done
   12138   done
   12139 IFS=$as_save_IFS
   12140 
   12141   ;;
   12142 esac
   12143 fi
   12144 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12145 if test -n "$NM_FOR_TARGET"; then
   12146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12147 $as_echo "$NM_FOR_TARGET" >&6; }
   12148 else
   12149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12150 $as_echo "no" >&6; }
   12151 fi
   12152 
   12153 
   12154 fi
   12155 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   12156 
   12157 
   12158 if test -n "$NM_FOR_TARGET"; then
   12159   ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
   12160 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12161   NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12162 fi
   12163 
   12164 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12165   for ncn_progname in nm; do
   12166     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12167 set dummy ${ncn_progname}; ac_word=$2
   12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12169 $as_echo_n "checking for $ac_word... " >&6; }
   12170 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
   12171   $as_echo_n "(cached) " >&6
   12172 else
   12173   if test -n "$NM_FOR_TARGET"; then
   12174   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12175 else
   12176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12177 for as_dir in $PATH
   12178 do
   12179   IFS=$as_save_IFS
   12180   test -z "$as_dir" && as_dir=.
   12181     for ac_exec_ext in '' $ac_executable_extensions; do
   12182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12183     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12185     break 2
   12186   fi
   12187 done
   12188   done
   12189 IFS=$as_save_IFS
   12190 
   12191 fi
   12192 fi
   12193 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12194 if test -n "$NM_FOR_TARGET"; then
   12195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12196 $as_echo "$NM_FOR_TARGET" >&6; }
   12197 else
   12198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12199 $as_echo "no" >&6; }
   12200 fi
   12201 
   12202 
   12203   done
   12204 fi
   12205 
   12206 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12207   for ncn_progname in nm; do
   12208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12209 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12210     if test -x $with_build_time_tools/${ncn_progname}; then
   12211       ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12212       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12213 $as_echo "yes" >&6; }
   12214       break
   12215     else
   12216       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12217 $as_echo "no" >&6; }
   12218     fi
   12219   done
   12220 fi
   12221 
   12222 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
   12223   for ncn_progname in nm; do
   12224     if test -n "$ncn_target_tool_prefix"; then
   12225       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12226 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12228 $as_echo_n "checking for $ac_word... " >&6; }
   12229 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
   12230   $as_echo_n "(cached) " >&6
   12231 else
   12232   if test -n "$NM_FOR_TARGET"; then
   12233   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12234 else
   12235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12236 for as_dir in $PATH
   12237 do
   12238   IFS=$as_save_IFS
   12239   test -z "$as_dir" && as_dir=.
   12240     for ac_exec_ext in '' $ac_executable_extensions; do
   12241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12242     ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12244     break 2
   12245   fi
   12246 done
   12247   done
   12248 IFS=$as_save_IFS
   12249 
   12250 fi
   12251 fi
   12252 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12253 if test -n "$NM_FOR_TARGET"; then
   12254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12255 $as_echo "$NM_FOR_TARGET" >&6; }
   12256 else
   12257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12258 $as_echo "no" >&6; }
   12259 fi
   12260 
   12261 
   12262     fi
   12263     if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
   12264       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12265 set dummy ${ncn_progname}; ac_word=$2
   12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12267 $as_echo_n "checking for $ac_word... " >&6; }
   12268 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
   12269   $as_echo_n "(cached) " >&6
   12270 else
   12271   if test -n "$NM_FOR_TARGET"; then
   12272   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12273 else
   12274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12275 for as_dir in $PATH
   12276 do
   12277   IFS=$as_save_IFS
   12278   test -z "$as_dir" && as_dir=.
   12279     for ac_exec_ext in '' $ac_executable_extensions; do
   12280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12281     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12283     break 2
   12284   fi
   12285 done
   12286   done
   12287 IFS=$as_save_IFS
   12288 
   12289 fi
   12290 fi
   12291 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12292 if test -n "$NM_FOR_TARGET"; then
   12293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12294 $as_echo "$NM_FOR_TARGET" >&6; }
   12295 else
   12296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12297 $as_echo "no" >&6; }
   12298 fi
   12299 
   12300 
   12301     fi
   12302     test -n "$ac_cv_prog_NM_FOR_TARGET" && break
   12303   done
   12304 fi
   12305 
   12306 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
   12307   set dummy nm
   12308   if test $build = $target ; then
   12309     NM_FOR_TARGET="$2"
   12310   else
   12311     NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12312   fi
   12313 else
   12314   NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
   12315 fi
   12316 
   12317 else
   12318   NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12319 fi
   12320 
   12321 
   12322 
   12323 
   12324 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12325   if test -n "$with_build_time_tools"; then
   12326     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objcopy in $with_build_time_tools" >&5
   12327 $as_echo_n "checking for objcopy in $with_build_time_tools... " >&6; }
   12328     if test -x $with_build_time_tools/objcopy; then
   12329       OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
   12330       ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12331       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
   12332 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
   12333     else
   12334       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12335 $as_echo "no" >&6; }
   12336     fi
   12337   elif test $build != $host && test $have_gcc_for_target = yes; then
   12338     OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
   12339     test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
   12340     test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12341   fi
   12342 fi
   12343 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12344   # Extract the first word of "objcopy", so it can be a program name with args.
   12345 set dummy objcopy; ac_word=$2
   12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12347 $as_echo_n "checking for $ac_word... " >&6; }
   12348 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
   12349   $as_echo_n "(cached) " >&6
   12350 else
   12351   case $OBJCOPY_FOR_TARGET in
   12352   [\\/]* | ?:[\\/]*)
   12353   ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
   12354   ;;
   12355   *)
   12356   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12357 for as_dir in $gcc_cv_tool_dirs
   12358 do
   12359   IFS=$as_save_IFS
   12360   test -z "$as_dir" && as_dir=.
   12361     for ac_exec_ext in '' $ac_executable_extensions; do
   12362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12363     ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12365     break 2
   12366   fi
   12367 done
   12368   done
   12369 IFS=$as_save_IFS
   12370 
   12371   ;;
   12372 esac
   12373 fi
   12374 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12375 if test -n "$OBJCOPY_FOR_TARGET"; then
   12376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12377 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12378 else
   12379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12380 $as_echo "no" >&6; }
   12381 fi
   12382 
   12383 
   12384 fi
   12385 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12386 
   12387 
   12388 if test -n "$OBJCOPY_FOR_TARGET"; then
   12389   ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12390 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12391   OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12392 fi
   12393 
   12394 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12395   for ncn_progname in objcopy; do
   12396     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12397 set dummy ${ncn_progname}; ac_word=$2
   12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12399 $as_echo_n "checking for $ac_word... " >&6; }
   12400 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
   12401   $as_echo_n "(cached) " >&6
   12402 else
   12403   if test -n "$OBJCOPY_FOR_TARGET"; then
   12404   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12405 else
   12406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12407 for as_dir in $PATH
   12408 do
   12409   IFS=$as_save_IFS
   12410   test -z "$as_dir" && as_dir=.
   12411     for ac_exec_ext in '' $ac_executable_extensions; do
   12412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12413     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12415     break 2
   12416   fi
   12417 done
   12418   done
   12419 IFS=$as_save_IFS
   12420 
   12421 fi
   12422 fi
   12423 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12424 if test -n "$OBJCOPY_FOR_TARGET"; then
   12425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12426 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12427 else
   12428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12429 $as_echo "no" >&6; }
   12430 fi
   12431 
   12432 
   12433   done
   12434 fi
   12435 
   12436 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12437   for ncn_progname in objcopy; do
   12438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12439 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12440     if test -x $with_build_time_tools/${ncn_progname}; then
   12441       ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12442       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12443 $as_echo "yes" >&6; }
   12444       break
   12445     else
   12446       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12447 $as_echo "no" >&6; }
   12448     fi
   12449   done
   12450 fi
   12451 
   12452 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12453   for ncn_progname in objcopy; do
   12454     if test -n "$ncn_target_tool_prefix"; then
   12455       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12456 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12458 $as_echo_n "checking for $ac_word... " >&6; }
   12459 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
   12460   $as_echo_n "(cached) " >&6
   12461 else
   12462   if test -n "$OBJCOPY_FOR_TARGET"; then
   12463   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12464 else
   12465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12466 for as_dir in $PATH
   12467 do
   12468   IFS=$as_save_IFS
   12469   test -z "$as_dir" && as_dir=.
   12470     for ac_exec_ext in '' $ac_executable_extensions; do
   12471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12472     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12474     break 2
   12475   fi
   12476 done
   12477   done
   12478 IFS=$as_save_IFS
   12479 
   12480 fi
   12481 fi
   12482 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12483 if test -n "$OBJCOPY_FOR_TARGET"; then
   12484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12485 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12486 else
   12487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12488 $as_echo "no" >&6; }
   12489 fi
   12490 
   12491 
   12492     fi
   12493     if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
   12494       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12495 set dummy ${ncn_progname}; ac_word=$2
   12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12497 $as_echo_n "checking for $ac_word... " >&6; }
   12498 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
   12499   $as_echo_n "(cached) " >&6
   12500 else
   12501   if test -n "$OBJCOPY_FOR_TARGET"; then
   12502   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12503 else
   12504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12505 for as_dir in $PATH
   12506 do
   12507   IFS=$as_save_IFS
   12508   test -z "$as_dir" && as_dir=.
   12509     for ac_exec_ext in '' $ac_executable_extensions; do
   12510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12511     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12513     break 2
   12514   fi
   12515 done
   12516   done
   12517 IFS=$as_save_IFS
   12518 
   12519 fi
   12520 fi
   12521 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12522 if test -n "$OBJCOPY_FOR_TARGET"; then
   12523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12524 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12525 else
   12526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12527 $as_echo "no" >&6; }
   12528 fi
   12529 
   12530 
   12531     fi
   12532     test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
   12533   done
   12534 fi
   12535 
   12536 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
   12537   set dummy objcopy
   12538   if test $build = $target ; then
   12539     OBJCOPY_FOR_TARGET="$2"
   12540   else
   12541     OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12542   fi
   12543 else
   12544   OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
   12545 fi
   12546 
   12547 else
   12548   OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12549 fi
   12550 
   12551 
   12552 
   12553 
   12554 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12555   if test -n "$with_build_time_tools"; then
   12556     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
   12557 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
   12558     if test -x $with_build_time_tools/objdump; then
   12559       OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
   12560       ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12561       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
   12562 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
   12563     else
   12564       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12565 $as_echo "no" >&6; }
   12566     fi
   12567   elif test $build != $host && test $have_gcc_for_target = yes; then
   12568     OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
   12569     test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
   12570     test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12571   fi
   12572 fi
   12573 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12574   # Extract the first word of "objdump", so it can be a program name with args.
   12575 set dummy objdump; ac_word=$2
   12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12577 $as_echo_n "checking for $ac_word... " >&6; }
   12578 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
   12579   $as_echo_n "(cached) " >&6
   12580 else
   12581   case $OBJDUMP_FOR_TARGET in
   12582   [\\/]* | ?:[\\/]*)
   12583   ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
   12584   ;;
   12585   *)
   12586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12587 for as_dir in $gcc_cv_tool_dirs
   12588 do
   12589   IFS=$as_save_IFS
   12590   test -z "$as_dir" && as_dir=.
   12591     for ac_exec_ext in '' $ac_executable_extensions; do
   12592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12593     ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12595     break 2
   12596   fi
   12597 done
   12598   done
   12599 IFS=$as_save_IFS
   12600 
   12601   ;;
   12602 esac
   12603 fi
   12604 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12605 if test -n "$OBJDUMP_FOR_TARGET"; then
   12606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12607 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12608 else
   12609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12610 $as_echo "no" >&6; }
   12611 fi
   12612 
   12613 
   12614 fi
   12615 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12616 
   12617 
   12618 if test -n "$OBJDUMP_FOR_TARGET"; then
   12619   ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12620 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12621   OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12622 fi
   12623 
   12624 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12625   for ncn_progname in objdump; do
   12626     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12627 set dummy ${ncn_progname}; ac_word=$2
   12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12629 $as_echo_n "checking for $ac_word... " >&6; }
   12630 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
   12631   $as_echo_n "(cached) " >&6
   12632 else
   12633   if test -n "$OBJDUMP_FOR_TARGET"; then
   12634   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12635 else
   12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12637 for as_dir in $PATH
   12638 do
   12639   IFS=$as_save_IFS
   12640   test -z "$as_dir" && as_dir=.
   12641     for ac_exec_ext in '' $ac_executable_extensions; do
   12642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12643     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12645     break 2
   12646   fi
   12647 done
   12648   done
   12649 IFS=$as_save_IFS
   12650 
   12651 fi
   12652 fi
   12653 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12654 if test -n "$OBJDUMP_FOR_TARGET"; then
   12655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12656 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12657 else
   12658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12659 $as_echo "no" >&6; }
   12660 fi
   12661 
   12662 
   12663   done
   12664 fi
   12665 
   12666 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12667   for ncn_progname in objdump; do
   12668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12669 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12670     if test -x $with_build_time_tools/${ncn_progname}; then
   12671       ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12672       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12673 $as_echo "yes" >&6; }
   12674       break
   12675     else
   12676       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12677 $as_echo "no" >&6; }
   12678     fi
   12679   done
   12680 fi
   12681 
   12682 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12683   for ncn_progname in objdump; do
   12684     if test -n "$ncn_target_tool_prefix"; then
   12685       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12686 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12688 $as_echo_n "checking for $ac_word... " >&6; }
   12689 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
   12690   $as_echo_n "(cached) " >&6
   12691 else
   12692   if test -n "$OBJDUMP_FOR_TARGET"; then
   12693   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12694 else
   12695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12696 for as_dir in $PATH
   12697 do
   12698   IFS=$as_save_IFS
   12699   test -z "$as_dir" && as_dir=.
   12700     for ac_exec_ext in '' $ac_executable_extensions; do
   12701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12702     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12704     break 2
   12705   fi
   12706 done
   12707   done
   12708 IFS=$as_save_IFS
   12709 
   12710 fi
   12711 fi
   12712 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12713 if test -n "$OBJDUMP_FOR_TARGET"; then
   12714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12715 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12716 else
   12717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12718 $as_echo "no" >&6; }
   12719 fi
   12720 
   12721 
   12722     fi
   12723     if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
   12724       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12725 set dummy ${ncn_progname}; ac_word=$2
   12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12727 $as_echo_n "checking for $ac_word... " >&6; }
   12728 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
   12729   $as_echo_n "(cached) " >&6
   12730 else
   12731   if test -n "$OBJDUMP_FOR_TARGET"; then
   12732   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12733 else
   12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12735 for as_dir in $PATH
   12736 do
   12737   IFS=$as_save_IFS
   12738   test -z "$as_dir" && as_dir=.
   12739     for ac_exec_ext in '' $ac_executable_extensions; do
   12740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12741     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12743     break 2
   12744   fi
   12745 done
   12746   done
   12747 IFS=$as_save_IFS
   12748 
   12749 fi
   12750 fi
   12751 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12752 if test -n "$OBJDUMP_FOR_TARGET"; then
   12753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12754 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12755 else
   12756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12757 $as_echo "no" >&6; }
   12758 fi
   12759 
   12760 
   12761     fi
   12762     test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
   12763   done
   12764 fi
   12765 
   12766 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
   12767   set dummy objdump
   12768   if test $build = $target ; then
   12769     OBJDUMP_FOR_TARGET="$2"
   12770   else
   12771     OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12772   fi
   12773 else
   12774   OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
   12775 fi
   12776 
   12777 else
   12778   OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12779 fi
   12780 
   12781 
   12782 
   12783 
   12784 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12785   if test -n "$with_build_time_tools"; then
   12786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
   12787 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
   12788     if test -x $with_build_time_tools/ranlib; then
   12789       RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
   12790       ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12791       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
   12792 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
   12793     else
   12794       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12795 $as_echo "no" >&6; }
   12796     fi
   12797   elif test $build != $host && test $have_gcc_for_target = yes; then
   12798     RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
   12799     test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
   12800     test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12801   fi
   12802 fi
   12803 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12804   # Extract the first word of "ranlib", so it can be a program name with args.
   12805 set dummy ranlib; ac_word=$2
   12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12807 $as_echo_n "checking for $ac_word... " >&6; }
   12808 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
   12809   $as_echo_n "(cached) " >&6
   12810 else
   12811   case $RANLIB_FOR_TARGET in
   12812   [\\/]* | ?:[\\/]*)
   12813   ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
   12814   ;;
   12815   *)
   12816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12817 for as_dir in $gcc_cv_tool_dirs
   12818 do
   12819   IFS=$as_save_IFS
   12820   test -z "$as_dir" && as_dir=.
   12821     for ac_exec_ext in '' $ac_executable_extensions; do
   12822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12823     ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12825     break 2
   12826   fi
   12827 done
   12828   done
   12829 IFS=$as_save_IFS
   12830 
   12831   ;;
   12832 esac
   12833 fi
   12834 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   12835 if test -n "$RANLIB_FOR_TARGET"; then
   12836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12837 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12838 else
   12839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12840 $as_echo "no" >&6; }
   12841 fi
   12842 
   12843 
   12844 fi
   12845 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12846 
   12847 
   12848 if test -n "$RANLIB_FOR_TARGET"; then
   12849   ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12850 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12851   RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12852 fi
   12853 
   12854 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12855   for ncn_progname in ranlib; do
   12856     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12857 set dummy ${ncn_progname}; ac_word=$2
   12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12859 $as_echo_n "checking for $ac_word... " >&6; }
   12860 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
   12861   $as_echo_n "(cached) " >&6
   12862 else
   12863   if test -n "$RANLIB_FOR_TARGET"; then
   12864   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12865 else
   12866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12867 for as_dir in $PATH
   12868 do
   12869   IFS=$as_save_IFS
   12870   test -z "$as_dir" && as_dir=.
   12871     for ac_exec_ext in '' $ac_executable_extensions; do
   12872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12873     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12875     break 2
   12876   fi
   12877 done
   12878   done
   12879 IFS=$as_save_IFS
   12880 
   12881 fi
   12882 fi
   12883 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12884 if test -n "$RANLIB_FOR_TARGET"; then
   12885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12886 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12887 else
   12888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12889 $as_echo "no" >&6; }
   12890 fi
   12891 
   12892 
   12893   done
   12894 fi
   12895 
   12896 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12897   for ncn_progname in ranlib; do
   12898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12899 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12900     if test -x $with_build_time_tools/${ncn_progname}; then
   12901       ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12902       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12903 $as_echo "yes" >&6; }
   12904       break
   12905     else
   12906       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12907 $as_echo "no" >&6; }
   12908     fi
   12909   done
   12910 fi
   12911 
   12912 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12913   for ncn_progname in ranlib; do
   12914     if test -n "$ncn_target_tool_prefix"; then
   12915       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12916 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12918 $as_echo_n "checking for $ac_word... " >&6; }
   12919 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
   12920   $as_echo_n "(cached) " >&6
   12921 else
   12922   if test -n "$RANLIB_FOR_TARGET"; then
   12923   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12924 else
   12925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12926 for as_dir in $PATH
   12927 do
   12928   IFS=$as_save_IFS
   12929   test -z "$as_dir" && as_dir=.
   12930     for ac_exec_ext in '' $ac_executable_extensions; do
   12931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12932     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12934     break 2
   12935   fi
   12936 done
   12937   done
   12938 IFS=$as_save_IFS
   12939 
   12940 fi
   12941 fi
   12942 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12943 if test -n "$RANLIB_FOR_TARGET"; then
   12944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12945 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12946 else
   12947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12948 $as_echo "no" >&6; }
   12949 fi
   12950 
   12951 
   12952     fi
   12953     if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
   12954       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12955 set dummy ${ncn_progname}; ac_word=$2
   12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12957 $as_echo_n "checking for $ac_word... " >&6; }
   12958 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
   12959   $as_echo_n "(cached) " >&6
   12960 else
   12961   if test -n "$RANLIB_FOR_TARGET"; then
   12962   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12963 else
   12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12965 for as_dir in $PATH
   12966 do
   12967   IFS=$as_save_IFS
   12968   test -z "$as_dir" && as_dir=.
   12969     for ac_exec_ext in '' $ac_executable_extensions; do
   12970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12971     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12973     break 2
   12974   fi
   12975 done
   12976   done
   12977 IFS=$as_save_IFS
   12978 
   12979 fi
   12980 fi
   12981 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12982 if test -n "$RANLIB_FOR_TARGET"; then
   12983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12984 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12985 else
   12986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12987 $as_echo "no" >&6; }
   12988 fi
   12989 
   12990 
   12991     fi
   12992     test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
   12993   done
   12994 fi
   12995 
   12996 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
   12997   set dummy ranlib
   12998   if test $build = $target ; then
   12999     RANLIB_FOR_TARGET="$2"
   13000   else
   13001     RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13002   fi
   13003 else
   13004   RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
   13005 fi
   13006 
   13007 else
   13008   RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   13009 fi
   13010 
   13011 
   13012 
   13013 
   13014 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   13015   if test -n "$with_build_time_tools"; then
   13016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build_time_tools" >&5
   13017 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
   13018     if test -x $with_build_time_tools/readelf; then
   13019       READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
   13020       ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13021       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_TARGET" >&5
   13022 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
   13023     else
   13024       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13025 $as_echo "no" >&6; }
   13026     fi
   13027   elif test $build != $host && test $have_gcc_for_target = yes; then
   13028     READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
   13029     test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
   13030     test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13031   fi
   13032 fi
   13033 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13034   # Extract the first word of "readelf", so it can be a program name with args.
   13035 set dummy readelf; ac_word=$2
   13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13037 $as_echo_n "checking for $ac_word... " >&6; }
   13038 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
   13039   $as_echo_n "(cached) " >&6
   13040 else
   13041   case $READELF_FOR_TARGET in
   13042   [\\/]* | ?:[\\/]*)
   13043   ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
   13044   ;;
   13045   *)
   13046   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13047 for as_dir in $gcc_cv_tool_dirs
   13048 do
   13049   IFS=$as_save_IFS
   13050   test -z "$as_dir" && as_dir=.
   13051     for ac_exec_ext in '' $ac_executable_extensions; do
   13052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13053     ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13055     break 2
   13056   fi
   13057 done
   13058   done
   13059 IFS=$as_save_IFS
   13060 
   13061   ;;
   13062 esac
   13063 fi
   13064 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   13065 if test -n "$READELF_FOR_TARGET"; then
   13066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13067 $as_echo "$READELF_FOR_TARGET" >&6; }
   13068 else
   13069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13070 $as_echo "no" >&6; }
   13071 fi
   13072 
   13073 
   13074 fi
   13075 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   13076 
   13077 
   13078 if test -n "$READELF_FOR_TARGET"; then
   13079   ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13080 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   13081   READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13082 fi
   13083 
   13084 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   13085   for ncn_progname in readelf; do
   13086     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13087 set dummy ${ncn_progname}; ac_word=$2
   13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13089 $as_echo_n "checking for $ac_word... " >&6; }
   13090 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
   13091   $as_echo_n "(cached) " >&6
   13092 else
   13093   if test -n "$READELF_FOR_TARGET"; then
   13094   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13095 else
   13096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13097 for as_dir in $PATH
   13098 do
   13099   IFS=$as_save_IFS
   13100   test -z "$as_dir" && as_dir=.
   13101     for ac_exec_ext in '' $ac_executable_extensions; do
   13102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13103     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13105     break 2
   13106   fi
   13107 done
   13108   done
   13109 IFS=$as_save_IFS
   13110 
   13111 fi
   13112 fi
   13113 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13114 if test -n "$READELF_FOR_TARGET"; then
   13115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13116 $as_echo "$READELF_FOR_TARGET" >&6; }
   13117 else
   13118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13119 $as_echo "no" >&6; }
   13120 fi
   13121 
   13122 
   13123   done
   13124 fi
   13125 
   13126 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13127   for ncn_progname in readelf; do
   13128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13129 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13130     if test -x $with_build_time_tools/${ncn_progname}; then
   13131       ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13132       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13133 $as_echo "yes" >&6; }
   13134       break
   13135     else
   13136       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13137 $as_echo "no" >&6; }
   13138     fi
   13139   done
   13140 fi
   13141 
   13142 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
   13143   for ncn_progname in readelf; do
   13144     if test -n "$ncn_target_tool_prefix"; then
   13145       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13146 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13148 $as_echo_n "checking for $ac_word... " >&6; }
   13149 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
   13150   $as_echo_n "(cached) " >&6
   13151 else
   13152   if test -n "$READELF_FOR_TARGET"; then
   13153   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13154 else
   13155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13156 for as_dir in $PATH
   13157 do
   13158   IFS=$as_save_IFS
   13159   test -z "$as_dir" && as_dir=.
   13160     for ac_exec_ext in '' $ac_executable_extensions; do
   13161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13162     ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13164     break 2
   13165   fi
   13166 done
   13167   done
   13168 IFS=$as_save_IFS
   13169 
   13170 fi
   13171 fi
   13172 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13173 if test -n "$READELF_FOR_TARGET"; then
   13174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13175 $as_echo "$READELF_FOR_TARGET" >&6; }
   13176 else
   13177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13178 $as_echo "no" >&6; }
   13179 fi
   13180 
   13181 
   13182     fi
   13183     if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
   13184       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13185 set dummy ${ncn_progname}; ac_word=$2
   13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13187 $as_echo_n "checking for $ac_word... " >&6; }
   13188 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
   13189   $as_echo_n "(cached) " >&6
   13190 else
   13191   if test -n "$READELF_FOR_TARGET"; then
   13192   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13193 else
   13194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13195 for as_dir in $PATH
   13196 do
   13197   IFS=$as_save_IFS
   13198   test -z "$as_dir" && as_dir=.
   13199     for ac_exec_ext in '' $ac_executable_extensions; do
   13200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13201     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13203     break 2
   13204   fi
   13205 done
   13206   done
   13207 IFS=$as_save_IFS
   13208 
   13209 fi
   13210 fi
   13211 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13212 if test -n "$READELF_FOR_TARGET"; then
   13213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13214 $as_echo "$READELF_FOR_TARGET" >&6; }
   13215 else
   13216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13217 $as_echo "no" >&6; }
   13218 fi
   13219 
   13220 
   13221     fi
   13222     test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
   13223   done
   13224 fi
   13225 
   13226 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
   13227   set dummy readelf
   13228   if test $build = $target ; then
   13229     READELF_FOR_TARGET="$2"
   13230   else
   13231     READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13232   fi
   13233 else
   13234   READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
   13235 fi
   13236 
   13237 else
   13238   READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   13239 fi
   13240 
   13241 
   13242 
   13243 
   13244 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13245   if test -n "$with_build_time_tools"; then
   13246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
   13247 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
   13248     if test -x $with_build_time_tools/strip; then
   13249       STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
   13250       ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13251       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
   13252 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
   13253     else
   13254       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13255 $as_echo "no" >&6; }
   13256     fi
   13257   elif test $build != $host && test $have_gcc_for_target = yes; then
   13258     STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
   13259     test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
   13260     test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13261   fi
   13262 fi
   13263 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13264   # Extract the first word of "strip", so it can be a program name with args.
   13265 set dummy strip; ac_word=$2
   13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13267 $as_echo_n "checking for $ac_word... " >&6; }
   13268 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
   13269   $as_echo_n "(cached) " >&6
   13270 else
   13271   case $STRIP_FOR_TARGET in
   13272   [\\/]* | ?:[\\/]*)
   13273   ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
   13274   ;;
   13275   *)
   13276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13277 for as_dir in $gcc_cv_tool_dirs
   13278 do
   13279   IFS=$as_save_IFS
   13280   test -z "$as_dir" && as_dir=.
   13281     for ac_exec_ext in '' $ac_executable_extensions; do
   13282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13283     ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13285     break 2
   13286   fi
   13287 done
   13288   done
   13289 IFS=$as_save_IFS
   13290 
   13291   ;;
   13292 esac
   13293 fi
   13294 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13295 if test -n "$STRIP_FOR_TARGET"; then
   13296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13297 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13298 else
   13299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13300 $as_echo "no" >&6; }
   13301 fi
   13302 
   13303 
   13304 fi
   13305 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13306 
   13307 
   13308 if test -n "$STRIP_FOR_TARGET"; then
   13309   ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13310 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13311   STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13312 fi
   13313 
   13314 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13315   for ncn_progname in strip; do
   13316     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13317 set dummy ${ncn_progname}; ac_word=$2
   13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13319 $as_echo_n "checking for $ac_word... " >&6; }
   13320 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
   13321   $as_echo_n "(cached) " >&6
   13322 else
   13323   if test -n "$STRIP_FOR_TARGET"; then
   13324   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13325 else
   13326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13327 for as_dir in $PATH
   13328 do
   13329   IFS=$as_save_IFS
   13330   test -z "$as_dir" && as_dir=.
   13331     for ac_exec_ext in '' $ac_executable_extensions; do
   13332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13333     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13335     break 2
   13336   fi
   13337 done
   13338   done
   13339 IFS=$as_save_IFS
   13340 
   13341 fi
   13342 fi
   13343 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13344 if test -n "$STRIP_FOR_TARGET"; then
   13345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13346 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13347 else
   13348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13349 $as_echo "no" >&6; }
   13350 fi
   13351 
   13352 
   13353   done
   13354 fi
   13355 
   13356 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13357   for ncn_progname in strip; do
   13358     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13359 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13360     if test -x $with_build_time_tools/${ncn_progname}; then
   13361       ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13362       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13363 $as_echo "yes" >&6; }
   13364       break
   13365     else
   13366       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13367 $as_echo "no" >&6; }
   13368     fi
   13369   done
   13370 fi
   13371 
   13372 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13373   for ncn_progname in strip; do
   13374     if test -n "$ncn_target_tool_prefix"; then
   13375       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13376 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13378 $as_echo_n "checking for $ac_word... " >&6; }
   13379 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
   13380   $as_echo_n "(cached) " >&6
   13381 else
   13382   if test -n "$STRIP_FOR_TARGET"; then
   13383   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13384 else
   13385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13386 for as_dir in $PATH
   13387 do
   13388   IFS=$as_save_IFS
   13389   test -z "$as_dir" && as_dir=.
   13390     for ac_exec_ext in '' $ac_executable_extensions; do
   13391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13392     ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13394     break 2
   13395   fi
   13396 done
   13397   done
   13398 IFS=$as_save_IFS
   13399 
   13400 fi
   13401 fi
   13402 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13403 if test -n "$STRIP_FOR_TARGET"; then
   13404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13405 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13406 else
   13407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13408 $as_echo "no" >&6; }
   13409 fi
   13410 
   13411 
   13412     fi
   13413     if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
   13414       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13415 set dummy ${ncn_progname}; ac_word=$2
   13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13417 $as_echo_n "checking for $ac_word... " >&6; }
   13418 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
   13419   $as_echo_n "(cached) " >&6
   13420 else
   13421   if test -n "$STRIP_FOR_TARGET"; then
   13422   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13423 else
   13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13425 for as_dir in $PATH
   13426 do
   13427   IFS=$as_save_IFS
   13428   test -z "$as_dir" && as_dir=.
   13429     for ac_exec_ext in '' $ac_executable_extensions; do
   13430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13431     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13433     break 2
   13434   fi
   13435 done
   13436   done
   13437 IFS=$as_save_IFS
   13438 
   13439 fi
   13440 fi
   13441 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13442 if test -n "$STRIP_FOR_TARGET"; then
   13443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13444 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13445 else
   13446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13447 $as_echo "no" >&6; }
   13448 fi
   13449 
   13450 
   13451     fi
   13452     test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
   13453   done
   13454 fi
   13455 
   13456 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
   13457   set dummy strip
   13458   if test $build = $target ; then
   13459     STRIP_FOR_TARGET="$2"
   13460   else
   13461     STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13462   fi
   13463 else
   13464   STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
   13465 fi
   13466 
   13467 else
   13468   STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13469 fi
   13470 
   13471 
   13472 
   13473 
   13474 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13475   if test -n "$with_build_time_tools"; then
   13476     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
   13477 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
   13478     if test -x $with_build_time_tools/windres; then
   13479       WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
   13480       ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13481       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
   13482 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
   13483     else
   13484       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13485 $as_echo "no" >&6; }
   13486     fi
   13487   elif test $build != $host && test $have_gcc_for_target = yes; then
   13488     WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
   13489     test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
   13490     test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13491   fi
   13492 fi
   13493 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13494   # Extract the first word of "windres", so it can be a program name with args.
   13495 set dummy windres; ac_word=$2
   13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13497 $as_echo_n "checking for $ac_word... " >&6; }
   13498 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
   13499   $as_echo_n "(cached) " >&6
   13500 else
   13501   case $WINDRES_FOR_TARGET in
   13502   [\\/]* | ?:[\\/]*)
   13503   ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
   13504   ;;
   13505   *)
   13506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13507 for as_dir in $gcc_cv_tool_dirs
   13508 do
   13509   IFS=$as_save_IFS
   13510   test -z "$as_dir" && as_dir=.
   13511     for ac_exec_ext in '' $ac_executable_extensions; do
   13512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13513     ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13515     break 2
   13516   fi
   13517 done
   13518   done
   13519 IFS=$as_save_IFS
   13520 
   13521   ;;
   13522 esac
   13523 fi
   13524 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13525 if test -n "$WINDRES_FOR_TARGET"; then
   13526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13527 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13528 else
   13529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13530 $as_echo "no" >&6; }
   13531 fi
   13532 
   13533 
   13534 fi
   13535 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13536 
   13537 
   13538 if test -n "$WINDRES_FOR_TARGET"; then
   13539   ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13540 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13541   WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13542 fi
   13543 
   13544 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13545   for ncn_progname in windres; do
   13546     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13547 set dummy ${ncn_progname}; ac_word=$2
   13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13549 $as_echo_n "checking for $ac_word... " >&6; }
   13550 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
   13551   $as_echo_n "(cached) " >&6
   13552 else
   13553   if test -n "$WINDRES_FOR_TARGET"; then
   13554   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13555 else
   13556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13557 for as_dir in $PATH
   13558 do
   13559   IFS=$as_save_IFS
   13560   test -z "$as_dir" && as_dir=.
   13561     for ac_exec_ext in '' $ac_executable_extensions; do
   13562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13563     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13565     break 2
   13566   fi
   13567 done
   13568   done
   13569 IFS=$as_save_IFS
   13570 
   13571 fi
   13572 fi
   13573 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13574 if test -n "$WINDRES_FOR_TARGET"; then
   13575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13576 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13577 else
   13578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13579 $as_echo "no" >&6; }
   13580 fi
   13581 
   13582 
   13583   done
   13584 fi
   13585 
   13586 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13587   for ncn_progname in windres; do
   13588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13589 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13590     if test -x $with_build_time_tools/${ncn_progname}; then
   13591       ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13592       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13593 $as_echo "yes" >&6; }
   13594       break
   13595     else
   13596       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13597 $as_echo "no" >&6; }
   13598     fi
   13599   done
   13600 fi
   13601 
   13602 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13603   for ncn_progname in windres; do
   13604     if test -n "$ncn_target_tool_prefix"; then
   13605       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13606 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13608 $as_echo_n "checking for $ac_word... " >&6; }
   13609 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
   13610   $as_echo_n "(cached) " >&6
   13611 else
   13612   if test -n "$WINDRES_FOR_TARGET"; then
   13613   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13614 else
   13615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13616 for as_dir in $PATH
   13617 do
   13618   IFS=$as_save_IFS
   13619   test -z "$as_dir" && as_dir=.
   13620     for ac_exec_ext in '' $ac_executable_extensions; do
   13621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13622     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13624     break 2
   13625   fi
   13626 done
   13627   done
   13628 IFS=$as_save_IFS
   13629 
   13630 fi
   13631 fi
   13632 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13633 if test -n "$WINDRES_FOR_TARGET"; then
   13634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13635 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13636 else
   13637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13638 $as_echo "no" >&6; }
   13639 fi
   13640 
   13641 
   13642     fi
   13643     if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
   13644       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13645 set dummy ${ncn_progname}; ac_word=$2
   13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13647 $as_echo_n "checking for $ac_word... " >&6; }
   13648 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
   13649   $as_echo_n "(cached) " >&6
   13650 else
   13651   if test -n "$WINDRES_FOR_TARGET"; then
   13652   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13653 else
   13654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13655 for as_dir in $PATH
   13656 do
   13657   IFS=$as_save_IFS
   13658   test -z "$as_dir" && as_dir=.
   13659     for ac_exec_ext in '' $ac_executable_extensions; do
   13660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13661     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13663     break 2
   13664   fi
   13665 done
   13666   done
   13667 IFS=$as_save_IFS
   13668 
   13669 fi
   13670 fi
   13671 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13672 if test -n "$WINDRES_FOR_TARGET"; then
   13673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13674 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13675 else
   13676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13677 $as_echo "no" >&6; }
   13678 fi
   13679 
   13680 
   13681     fi
   13682     test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
   13683   done
   13684 fi
   13685 
   13686 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
   13687   set dummy windres
   13688   if test $build = $target ; then
   13689     WINDRES_FOR_TARGET="$2"
   13690   else
   13691     WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13692   fi
   13693 else
   13694   WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
   13695 fi
   13696 
   13697 else
   13698   WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13699 fi
   13700 
   13701 
   13702 
   13703 
   13704 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13705   if test -n "$with_build_time_tools"; then
   13706     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
   13707 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
   13708     if test -x $with_build_time_tools/windmc; then
   13709       WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
   13710       ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13711       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
   13712 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
   13713     else
   13714       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13715 $as_echo "no" >&6; }
   13716     fi
   13717   elif test $build != $host && test $have_gcc_for_target = yes; then
   13718     WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
   13719     test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
   13720     test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13721   fi
   13722 fi
   13723 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13724   # Extract the first word of "windmc", so it can be a program name with args.
   13725 set dummy windmc; ac_word=$2
   13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13727 $as_echo_n "checking for $ac_word... " >&6; }
   13728 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
   13729   $as_echo_n "(cached) " >&6
   13730 else
   13731   case $WINDMC_FOR_TARGET in
   13732   [\\/]* | ?:[\\/]*)
   13733   ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
   13734   ;;
   13735   *)
   13736   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13737 for as_dir in $gcc_cv_tool_dirs
   13738 do
   13739   IFS=$as_save_IFS
   13740   test -z "$as_dir" && as_dir=.
   13741     for ac_exec_ext in '' $ac_executable_extensions; do
   13742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13743     ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13745     break 2
   13746   fi
   13747 done
   13748   done
   13749 IFS=$as_save_IFS
   13750 
   13751   ;;
   13752 esac
   13753 fi
   13754 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13755 if test -n "$WINDMC_FOR_TARGET"; then
   13756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13757 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13758 else
   13759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13760 $as_echo "no" >&6; }
   13761 fi
   13762 
   13763 
   13764 fi
   13765 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13766 
   13767 
   13768 if test -n "$WINDMC_FOR_TARGET"; then
   13769   ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13770 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13771   WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13772 fi
   13773 
   13774 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13775   for ncn_progname in windmc; do
   13776     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13777 set dummy ${ncn_progname}; ac_word=$2
   13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13779 $as_echo_n "checking for $ac_word... " >&6; }
   13780 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
   13781   $as_echo_n "(cached) " >&6
   13782 else
   13783   if test -n "$WINDMC_FOR_TARGET"; then
   13784   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13785 else
   13786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13787 for as_dir in $PATH
   13788 do
   13789   IFS=$as_save_IFS
   13790   test -z "$as_dir" && as_dir=.
   13791     for ac_exec_ext in '' $ac_executable_extensions; do
   13792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13793     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13795     break 2
   13796   fi
   13797 done
   13798   done
   13799 IFS=$as_save_IFS
   13800 
   13801 fi
   13802 fi
   13803 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13804 if test -n "$WINDMC_FOR_TARGET"; then
   13805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13806 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13807 else
   13808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13809 $as_echo "no" >&6; }
   13810 fi
   13811 
   13812 
   13813   done
   13814 fi
   13815 
   13816 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13817   for ncn_progname in windmc; do
   13818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13819 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13820     if test -x $with_build_time_tools/${ncn_progname}; then
   13821       ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13822       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13823 $as_echo "yes" >&6; }
   13824       break
   13825     else
   13826       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13827 $as_echo "no" >&6; }
   13828     fi
   13829   done
   13830 fi
   13831 
   13832 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13833   for ncn_progname in windmc; do
   13834     if test -n "$ncn_target_tool_prefix"; then
   13835       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13836 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13838 $as_echo_n "checking for $ac_word... " >&6; }
   13839 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
   13840   $as_echo_n "(cached) " >&6
   13841 else
   13842   if test -n "$WINDMC_FOR_TARGET"; then
   13843   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13844 else
   13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13846 for as_dir in $PATH
   13847 do
   13848   IFS=$as_save_IFS
   13849   test -z "$as_dir" && as_dir=.
   13850     for ac_exec_ext in '' $ac_executable_extensions; do
   13851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13852     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13854     break 2
   13855   fi
   13856 done
   13857   done
   13858 IFS=$as_save_IFS
   13859 
   13860 fi
   13861 fi
   13862 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13863 if test -n "$WINDMC_FOR_TARGET"; then
   13864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13865 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13866 else
   13867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13868 $as_echo "no" >&6; }
   13869 fi
   13870 
   13871 
   13872     fi
   13873     if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
   13874       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13875 set dummy ${ncn_progname}; ac_word=$2
   13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13877 $as_echo_n "checking for $ac_word... " >&6; }
   13878 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
   13879   $as_echo_n "(cached) " >&6
   13880 else
   13881   if test -n "$WINDMC_FOR_TARGET"; then
   13882   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13883 else
   13884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13885 for as_dir in $PATH
   13886 do
   13887   IFS=$as_save_IFS
   13888   test -z "$as_dir" && as_dir=.
   13889     for ac_exec_ext in '' $ac_executable_extensions; do
   13890   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13891     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13893     break 2
   13894   fi
   13895 done
   13896   done
   13897 IFS=$as_save_IFS
   13898 
   13899 fi
   13900 fi
   13901 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13902 if test -n "$WINDMC_FOR_TARGET"; then
   13903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13904 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13905 else
   13906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13907 $as_echo "no" >&6; }
   13908 fi
   13909 
   13910 
   13911     fi
   13912     test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
   13913   done
   13914 fi
   13915 
   13916 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
   13917   set dummy windmc
   13918   if test $build = $target ; then
   13919     WINDMC_FOR_TARGET="$2"
   13920   else
   13921     WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13922   fi
   13923 else
   13924   WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
   13925 fi
   13926 
   13927 else
   13928   WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13929 fi
   13930 
   13931 
   13932 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
   13933 
   13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
   13935 $as_echo_n "checking where to find the target ar... " >&6; }
   13936 if test "x${build}" != "x${host}" ; then
   13937   if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13938     # We already found the complete path
   13939     ac_dir=`dirname $AR_FOR_TARGET`
   13940     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13941 $as_echo "pre-installed in $ac_dir" >&6; }
   13942   else
   13943     # Canadian cross, just use what we found
   13944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13945 $as_echo "pre-installed" >&6; }
   13946   fi
   13947 else
   13948   ok=yes
   13949   case " ${configdirs} " in
   13950     *" binutils "*) ;;
   13951     *) ok=no ;;
   13952   esac
   13953 
   13954   if test $ok = yes; then
   13955     # An in-tree tool is available and we can use it
   13956     AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
   13957     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   13958 $as_echo "just compiled" >&6; }
   13959   elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13960     # We already found the complete path
   13961     ac_dir=`dirname $AR_FOR_TARGET`
   13962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13963 $as_echo "pre-installed in $ac_dir" >&6; }
   13964   elif test "x$target" = "x$host"; then
   13965     # We can use an host tool
   13966     AR_FOR_TARGET='$(AR)'
   13967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   13968 $as_echo "host tool" >&6; }
   13969   else
   13970     # We need a cross tool
   13971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13972 $as_echo "pre-installed" >&6; }
   13973   fi
   13974 fi
   13975 
   13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
   13977 $as_echo_n "checking where to find the target as... " >&6; }
   13978 if test "x${build}" != "x${host}" ; then
   13979   if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   13980     # We already found the complete path
   13981     ac_dir=`dirname $AS_FOR_TARGET`
   13982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13983 $as_echo "pre-installed in $ac_dir" >&6; }
   13984   else
   13985     # Canadian cross, just use what we found
   13986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13987 $as_echo "pre-installed" >&6; }
   13988   fi
   13989 else
   13990   ok=yes
   13991   case " ${configdirs} " in
   13992     *" gas "*) ;;
   13993     *) ok=no ;;
   13994   esac
   13995 
   13996   if test $ok = yes; then
   13997     # An in-tree tool is available and we can use it
   13998     AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
   13999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14000 $as_echo "just compiled" >&6; }
   14001   elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   14002     # We already found the complete path
   14003     ac_dir=`dirname $AS_FOR_TARGET`
   14004     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14005 $as_echo "pre-installed in $ac_dir" >&6; }
   14006   elif test "x$target" = "x$host"; then
   14007     # We can use an host tool
   14008     AS_FOR_TARGET='$(AS)'
   14009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14010 $as_echo "host tool" >&6; }
   14011   else
   14012     # We need a cross tool
   14013     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14014 $as_echo "pre-installed" >&6; }
   14015   fi
   14016 fi
   14017 
   14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
   14019 $as_echo_n "checking where to find the target cc... " >&6; }
   14020 if test "x${build}" != "x${host}" ; then
   14021   if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14022     # We already found the complete path
   14023     ac_dir=`dirname $CC_FOR_TARGET`
   14024     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14025 $as_echo "pre-installed in $ac_dir" >&6; }
   14026   else
   14027     # Canadian cross, just use what we found
   14028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14029 $as_echo "pre-installed" >&6; }
   14030   fi
   14031 else
   14032   ok=yes
   14033   case " ${configdirs} " in
   14034     *" gcc "*) ;;
   14035     *) ok=no ;;
   14036   esac
   14037 
   14038   if test $ok = yes; then
   14039     # An in-tree tool is available and we can use it
   14040     CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   14041     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14042 $as_echo "just compiled" >&6; }
   14043   elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14044     # We already found the complete path
   14045     ac_dir=`dirname $CC_FOR_TARGET`
   14046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14047 $as_echo "pre-installed in $ac_dir" >&6; }
   14048   elif test "x$target" = "x$host"; then
   14049     # We can use an host tool
   14050     CC_FOR_TARGET='$(CC)'
   14051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14052 $as_echo "host tool" >&6; }
   14053   else
   14054     # We need a cross tool
   14055     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14056 $as_echo "pre-installed" >&6; }
   14057   fi
   14058 fi
   14059 
   14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
   14061 $as_echo_n "checking where to find the target c++... " >&6; }
   14062 if test "x${build}" != "x${host}" ; then
   14063   if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   14064     # We already found the complete path
   14065     ac_dir=`dirname $CXX_FOR_TARGET`
   14066     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14067 $as_echo "pre-installed in $ac_dir" >&6; }
   14068   else
   14069     # Canadian cross, just use what we found
   14070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14071 $as_echo "pre-installed" >&6; }
   14072   fi
   14073 else
   14074   ok=yes
   14075   case " ${configdirs} " in
   14076     *" gcc "*) ;;
   14077     *) ok=no ;;
   14078   esac
   14079   case ,${enable_languages}, in
   14080     *,c++,*) ;;
   14081     *) ok=no ;;
   14082   esac
   14083   if test $ok = yes; then
   14084     # An in-tree tool is available and we can use it
   14085     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'
   14086     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14087 $as_echo "just compiled" >&6; }
   14088   elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   14089     # We already found the complete path
   14090     ac_dir=`dirname $CXX_FOR_TARGET`
   14091     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14092 $as_echo "pre-installed in $ac_dir" >&6; }
   14093   elif test "x$target" = "x$host"; then
   14094     # We can use an host tool
   14095     CXX_FOR_TARGET='$(CXX)'
   14096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14097 $as_echo "host tool" >&6; }
   14098   else
   14099     # We need a cross tool
   14100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14101 $as_echo "pre-installed" >&6; }
   14102   fi
   14103 fi
   14104 
   14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
   14106 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
   14107 if test "x${build}" != "x${host}" ; then
   14108   if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14109     # We already found the complete path
   14110     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14111     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14112 $as_echo "pre-installed in $ac_dir" >&6; }
   14113   else
   14114     # Canadian cross, just use what we found
   14115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14116 $as_echo "pre-installed" >&6; }
   14117   fi
   14118 else
   14119   ok=yes
   14120   case " ${configdirs} " in
   14121     *" gcc "*) ;;
   14122     *) ok=no ;;
   14123   esac
   14124   case ,${enable_languages}, in
   14125     *,c++,*) ;;
   14126     *) ok=no ;;
   14127   esac
   14128   if test $ok = yes; then
   14129     # An in-tree tool is available and we can use it
   14130     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'
   14131     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14132 $as_echo "just compiled" >&6; }
   14133   elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14134     # We already found the complete path
   14135     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14137 $as_echo "pre-installed in $ac_dir" >&6; }
   14138   elif test "x$target" = "x$host"; then
   14139     # We can use an host tool
   14140     RAW_CXX_FOR_TARGET='$(CXX)'
   14141     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14142 $as_echo "host tool" >&6; }
   14143   else
   14144     # We need a cross tool
   14145     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14146 $as_echo "pre-installed" >&6; }
   14147   fi
   14148 fi
   14149 
   14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
   14151 $as_echo_n "checking where to find the target dlltool... " >&6; }
   14152 if test "x${build}" != "x${host}" ; then
   14153   if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14154     # We already found the complete path
   14155     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14156     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14157 $as_echo "pre-installed in $ac_dir" >&6; }
   14158   else
   14159     # Canadian cross, just use what we found
   14160     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14161 $as_echo "pre-installed" >&6; }
   14162   fi
   14163 else
   14164   ok=yes
   14165   case " ${configdirs} " in
   14166     *" binutils "*) ;;
   14167     *) ok=no ;;
   14168   esac
   14169 
   14170   if test $ok = yes; then
   14171     # An in-tree tool is available and we can use it
   14172     DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
   14173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14174 $as_echo "just compiled" >&6; }
   14175   elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14176     # We already found the complete path
   14177     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14178     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14179 $as_echo "pre-installed in $ac_dir" >&6; }
   14180   elif test "x$target" = "x$host"; then
   14181     # We can use an host tool
   14182     DLLTOOL_FOR_TARGET='$(DLLTOOL)'
   14183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14184 $as_echo "host tool" >&6; }
   14185   else
   14186     # We need a cross tool
   14187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14188 $as_echo "pre-installed" >&6; }
   14189   fi
   14190 fi
   14191 
   14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
   14193 $as_echo_n "checking where to find the target gcc... " >&6; }
   14194 if test "x${build}" != "x${host}" ; then
   14195   if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14196     # We already found the complete path
   14197     ac_dir=`dirname $GCC_FOR_TARGET`
   14198     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14199 $as_echo "pre-installed in $ac_dir" >&6; }
   14200   else
   14201     # Canadian cross, just use what we found
   14202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14203 $as_echo "pre-installed" >&6; }
   14204   fi
   14205 else
   14206   ok=yes
   14207   case " ${configdirs} " in
   14208     *" gcc "*) ;;
   14209     *) ok=no ;;
   14210   esac
   14211 
   14212   if test $ok = yes; then
   14213     # An in-tree tool is available and we can use it
   14214     GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   14215     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14216 $as_echo "just compiled" >&6; }
   14217   elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14218     # We already found the complete path
   14219     ac_dir=`dirname $GCC_FOR_TARGET`
   14220     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14221 $as_echo "pre-installed in $ac_dir" >&6; }
   14222   elif test "x$target" = "x$host"; then
   14223     # We can use an host tool
   14224     GCC_FOR_TARGET='$()'
   14225     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14226 $as_echo "host tool" >&6; }
   14227   else
   14228     # We need a cross tool
   14229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14230 $as_echo "pre-installed" >&6; }
   14231   fi
   14232 fi
   14233 
   14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
   14235 $as_echo_n "checking where to find the target gcj... " >&6; }
   14236 if test "x${build}" != "x${host}" ; then
   14237   if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
   14238     # We already found the complete path
   14239     ac_dir=`dirname $GCJ_FOR_TARGET`
   14240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14241 $as_echo "pre-installed in $ac_dir" >&6; }
   14242   else
   14243     # Canadian cross, just use what we found
   14244     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14245 $as_echo "pre-installed" >&6; }
   14246   fi
   14247 else
   14248   ok=yes
   14249   case " ${configdirs} " in
   14250     *" gcc "*) ;;
   14251     *) ok=no ;;
   14252   esac
   14253   case ,${enable_languages}, in
   14254     *,java,*) ;;
   14255     *) ok=no ;;
   14256   esac
   14257   if test $ok = yes; then
   14258     # An in-tree tool is available and we can use it
   14259     GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
   14260     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14261 $as_echo "just compiled" >&6; }
   14262   elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
   14263     # We already found the complete path
   14264     ac_dir=`dirname $GCJ_FOR_TARGET`
   14265     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14266 $as_echo "pre-installed in $ac_dir" >&6; }
   14267   elif test "x$target" = "x$host"; then
   14268     # We can use an host tool
   14269     GCJ_FOR_TARGET='$(GCJ)'
   14270     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14271 $as_echo "host tool" >&6; }
   14272   else
   14273     # We need a cross tool
   14274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14275 $as_echo "pre-installed" >&6; }
   14276   fi
   14277 fi
   14278 
   14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
   14280 $as_echo_n "checking where to find the target gfortran... " >&6; }
   14281 if test "x${build}" != "x${host}" ; then
   14282   if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14283     # We already found the complete path
   14284     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   14285     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14286 $as_echo "pre-installed in $ac_dir" >&6; }
   14287   else
   14288     # Canadian cross, just use what we found
   14289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14290 $as_echo "pre-installed" >&6; }
   14291   fi
   14292 else
   14293   ok=yes
   14294   case " ${configdirs} " in
   14295     *" gcc "*) ;;
   14296     *) ok=no ;;
   14297   esac
   14298   case ,${enable_languages}, in
   14299     *,fortran,*) ;;
   14300     *) ok=no ;;
   14301   esac
   14302   if test $ok = yes; then
   14303     # An in-tree tool is available and we can use it
   14304     GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
   14305     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14306 $as_echo "just compiled" >&6; }
   14307   elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14308     # We already found the complete path
   14309     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   14310     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14311 $as_echo "pre-installed in $ac_dir" >&6; }
   14312   elif test "x$target" = "x$host"; then
   14313     # We can use an host tool
   14314     GFORTRAN_FOR_TARGET='$(GFORTRAN)'
   14315     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14316 $as_echo "host tool" >&6; }
   14317   else
   14318     # We need a cross tool
   14319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14320 $as_echo "pre-installed" >&6; }
   14321   fi
   14322 fi
   14323 
   14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
   14325 $as_echo_n "checking where to find the target gccgo... " >&6; }
   14326 if test "x${build}" != "x${host}" ; then
   14327   if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14328     # We already found the complete path
   14329     ac_dir=`dirname $GOC_FOR_TARGET`
   14330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14331 $as_echo "pre-installed in $ac_dir" >&6; }
   14332   else
   14333     # Canadian cross, just use what we found
   14334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14335 $as_echo "pre-installed" >&6; }
   14336   fi
   14337 else
   14338   ok=yes
   14339   case " ${configdirs} " in
   14340     *" gcc "*) ;;
   14341     *) ok=no ;;
   14342   esac
   14343   case ,${enable_languages}, in
   14344     *,go,*) ;;
   14345     *) ok=no ;;
   14346   esac
   14347   if test $ok = yes; then
   14348     # An in-tree tool is available and we can use it
   14349     GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
   14350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14351 $as_echo "just compiled" >&6; }
   14352   elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14353     # We already found the complete path
   14354     ac_dir=`dirname $GOC_FOR_TARGET`
   14355     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14356 $as_echo "pre-installed in $ac_dir" >&6; }
   14357   elif test "x$target" = "x$host"; then
   14358     # We can use an host tool
   14359     GOC_FOR_TARGET='$(GOC)'
   14360     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14361 $as_echo "host tool" >&6; }
   14362   else
   14363     # We need a cross tool
   14364     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14365 $as_echo "pre-installed" >&6; }
   14366   fi
   14367 fi
   14368 
   14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
   14370 $as_echo_n "checking where to find the target ld... " >&6; }
   14371 if test "x${build}" != "x${host}" ; then
   14372   if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14373     # We already found the complete path
   14374     ac_dir=`dirname $LD_FOR_TARGET`
   14375     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14376 $as_echo "pre-installed in $ac_dir" >&6; }
   14377   else
   14378     # Canadian cross, just use what we found
   14379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14380 $as_echo "pre-installed" >&6; }
   14381   fi
   14382 else
   14383   ok=yes
   14384   case " ${configdirs} " in
   14385     *" ld "*) ;;
   14386     *) ok=no ;;
   14387   esac
   14388 
   14389   if test $ok = yes; then
   14390     # An in-tree tool is available and we can use it
   14391     LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
   14392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14393 $as_echo "just compiled" >&6; }
   14394   elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14395     # We already found the complete path
   14396     ac_dir=`dirname $LD_FOR_TARGET`
   14397     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14398 $as_echo "pre-installed in $ac_dir" >&6; }
   14399   elif test "x$target" = "x$host"; then
   14400     # We can use an host tool
   14401     LD_FOR_TARGET='$(LD)'
   14402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14403 $as_echo "host tool" >&6; }
   14404   else
   14405     # We need a cross tool
   14406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14407 $as_echo "pre-installed" >&6; }
   14408   fi
   14409 fi
   14410 
   14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
   14412 $as_echo_n "checking where to find the target lipo... " >&6; }
   14413 if test "x${build}" != "x${host}" ; then
   14414   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14415     # We already found the complete path
   14416     ac_dir=`dirname $LIPO_FOR_TARGET`
   14417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14418 $as_echo "pre-installed in $ac_dir" >&6; }
   14419   else
   14420     # Canadian cross, just use what we found
   14421     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14422 $as_echo "pre-installed" >&6; }
   14423   fi
   14424 else
   14425   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14426     # We already found the complete path
   14427     ac_dir=`dirname $LIPO_FOR_TARGET`
   14428     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14429 $as_echo "pre-installed in $ac_dir" >&6; }
   14430   elif test "x$target" = "x$host"; then
   14431     # We can use an host tool
   14432     LIPO_FOR_TARGET='$(LIPO)'
   14433     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14434 $as_echo "host tool" >&6; }
   14435   else
   14436     # We need a cross tool
   14437     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14438 $as_echo "pre-installed" >&6; }
   14439   fi
   14440 fi
   14441 
   14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
   14443 $as_echo_n "checking where to find the target nm... " >&6; }
   14444 if test "x${build}" != "x${host}" ; then
   14445   if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14446     # We already found the complete path
   14447     ac_dir=`dirname $NM_FOR_TARGET`
   14448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14449 $as_echo "pre-installed in $ac_dir" >&6; }
   14450   else
   14451     # Canadian cross, just use what we found
   14452     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14453 $as_echo "pre-installed" >&6; }
   14454   fi
   14455 else
   14456   ok=yes
   14457   case " ${configdirs} " in
   14458     *" binutils "*) ;;
   14459     *) ok=no ;;
   14460   esac
   14461 
   14462   if test $ok = yes; then
   14463     # An in-tree tool is available and we can use it
   14464     NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
   14465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14466 $as_echo "just compiled" >&6; }
   14467   elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14468     # We already found the complete path
   14469     ac_dir=`dirname $NM_FOR_TARGET`
   14470     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14471 $as_echo "pre-installed in $ac_dir" >&6; }
   14472   elif test "x$target" = "x$host"; then
   14473     # We can use an host tool
   14474     NM_FOR_TARGET='$(NM)'
   14475     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14476 $as_echo "host tool" >&6; }
   14477   else
   14478     # We need a cross tool
   14479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14480 $as_echo "pre-installed" >&6; }
   14481   fi
   14482 fi
   14483 
   14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objcopy" >&5
   14485 $as_echo_n "checking where to find the target objcopy... " >&6; }
   14486 if test "x${build}" != "x${host}" ; then
   14487   if expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14488     # We already found the complete path
   14489     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14490     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14491 $as_echo "pre-installed in $ac_dir" >&6; }
   14492   else
   14493     # Canadian cross, just use what we found
   14494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14495 $as_echo "pre-installed" >&6; }
   14496   fi
   14497 else
   14498   ok=yes
   14499   case " ${configdirs} " in
   14500     *" binutils "*) ;;
   14501     *) ok=no ;;
   14502   esac
   14503 
   14504   if test $ok = yes; then
   14505     # An in-tree tool is available and we can use it
   14506     OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
   14507     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14508 $as_echo "just compiled" >&6; }
   14509   elif expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14510     # We already found the complete path
   14511     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14513 $as_echo "pre-installed in $ac_dir" >&6; }
   14514   elif test "x$target" = "x$host"; then
   14515     # We can use an host tool
   14516     OBJCOPY_FOR_TARGET='$(OBJCOPY)'
   14517     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14518 $as_echo "host tool" >&6; }
   14519   else
   14520     # We need a cross tool
   14521     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14522 $as_echo "pre-installed" >&6; }
   14523   fi
   14524 fi
   14525 
   14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
   14527 $as_echo_n "checking where to find the target objdump... " >&6; }
   14528 if test "x${build}" != "x${host}" ; then
   14529   if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14530     # We already found the complete path
   14531     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14532     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14533 $as_echo "pre-installed in $ac_dir" >&6; }
   14534   else
   14535     # Canadian cross, just use what we found
   14536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14537 $as_echo "pre-installed" >&6; }
   14538   fi
   14539 else
   14540   ok=yes
   14541   case " ${configdirs} " in
   14542     *" binutils "*) ;;
   14543     *) ok=no ;;
   14544   esac
   14545 
   14546   if test $ok = yes; then
   14547     # An in-tree tool is available and we can use it
   14548     OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
   14549     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14550 $as_echo "just compiled" >&6; }
   14551   elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14552     # We already found the complete path
   14553     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14555 $as_echo "pre-installed in $ac_dir" >&6; }
   14556   elif test "x$target" = "x$host"; then
   14557     # We can use an host tool
   14558     OBJDUMP_FOR_TARGET='$(OBJDUMP)'
   14559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14560 $as_echo "host tool" >&6; }
   14561   else
   14562     # We need a cross tool
   14563     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14564 $as_echo "pre-installed" >&6; }
   14565   fi
   14566 fi
   14567 
   14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
   14569 $as_echo_n "checking where to find the target ranlib... " >&6; }
   14570 if test "x${build}" != "x${host}" ; then
   14571   if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14572     # We already found the complete path
   14573     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14574     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14575 $as_echo "pre-installed in $ac_dir" >&6; }
   14576   else
   14577     # Canadian cross, just use what we found
   14578     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14579 $as_echo "pre-installed" >&6; }
   14580   fi
   14581 else
   14582   ok=yes
   14583   case " ${configdirs} " in
   14584     *" binutils "*) ;;
   14585     *) ok=no ;;
   14586   esac
   14587 
   14588   if test $ok = yes; then
   14589     # An in-tree tool is available and we can use it
   14590     RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
   14591     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14592 $as_echo "just compiled" >&6; }
   14593   elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14594     # We already found the complete path
   14595     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14596     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14597 $as_echo "pre-installed in $ac_dir" >&6; }
   14598   elif test "x$target" = "x$host"; then
   14599     # We can use an host tool
   14600     RANLIB_FOR_TARGET='$(RANLIB)'
   14601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14602 $as_echo "host tool" >&6; }
   14603   else
   14604     # We need a cross tool
   14605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14606 $as_echo "pre-installed" >&6; }
   14607   fi
   14608 fi
   14609 
   14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target readelf" >&5
   14611 $as_echo_n "checking where to find the target readelf... " >&6; }
   14612 if test "x${build}" != "x${host}" ; then
   14613   if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14614     # We already found the complete path
   14615     ac_dir=`dirname $READELF_FOR_TARGET`
   14616     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14617 $as_echo "pre-installed in $ac_dir" >&6; }
   14618   else
   14619     # Canadian cross, just use what we found
   14620     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14621 $as_echo "pre-installed" >&6; }
   14622   fi
   14623 else
   14624   ok=yes
   14625   case " ${configdirs} " in
   14626     *" binutils "*) ;;
   14627     *) ok=no ;;
   14628   esac
   14629 
   14630   if test $ok = yes; then
   14631     # An in-tree tool is available and we can use it
   14632     READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
   14633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14634 $as_echo "just compiled" >&6; }
   14635   elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14636     # We already found the complete path
   14637     ac_dir=`dirname $READELF_FOR_TARGET`
   14638     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14639 $as_echo "pre-installed in $ac_dir" >&6; }
   14640   elif test "x$target" = "x$host"; then
   14641     # We can use an host tool
   14642     READELF_FOR_TARGET='$(READELF)'
   14643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14644 $as_echo "host tool" >&6; }
   14645   else
   14646     # We need a cross tool
   14647     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14648 $as_echo "pre-installed" >&6; }
   14649   fi
   14650 fi
   14651 
   14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
   14653 $as_echo_n "checking where to find the target strip... " >&6; }
   14654 if test "x${build}" != "x${host}" ; then
   14655   if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14656     # We already found the complete path
   14657     ac_dir=`dirname $STRIP_FOR_TARGET`
   14658     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14659 $as_echo "pre-installed in $ac_dir" >&6; }
   14660   else
   14661     # Canadian cross, just use what we found
   14662     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14663 $as_echo "pre-installed" >&6; }
   14664   fi
   14665 else
   14666   ok=yes
   14667   case " ${configdirs} " in
   14668     *" binutils "*) ;;
   14669     *) ok=no ;;
   14670   esac
   14671 
   14672   if test $ok = yes; then
   14673     # An in-tree tool is available and we can use it
   14674     STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
   14675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14676 $as_echo "just compiled" >&6; }
   14677   elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14678     # We already found the complete path
   14679     ac_dir=`dirname $STRIP_FOR_TARGET`
   14680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14681 $as_echo "pre-installed in $ac_dir" >&6; }
   14682   elif test "x$target" = "x$host"; then
   14683     # We can use an host tool
   14684     STRIP_FOR_TARGET='$(STRIP)'
   14685     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14686 $as_echo "host tool" >&6; }
   14687   else
   14688     # We need a cross tool
   14689     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14690 $as_echo "pre-installed" >&6; }
   14691   fi
   14692 fi
   14693 
   14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
   14695 $as_echo_n "checking where to find the target windres... " >&6; }
   14696 if test "x${build}" != "x${host}" ; then
   14697   if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14698     # We already found the complete path
   14699     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14701 $as_echo "pre-installed in $ac_dir" >&6; }
   14702   else
   14703     # Canadian cross, just use what we found
   14704     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14705 $as_echo "pre-installed" >&6; }
   14706   fi
   14707 else
   14708   ok=yes
   14709   case " ${configdirs} " in
   14710     *" binutils "*) ;;
   14711     *) ok=no ;;
   14712   esac
   14713 
   14714   if test $ok = yes; then
   14715     # An in-tree tool is available and we can use it
   14716     WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
   14717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14718 $as_echo "just compiled" >&6; }
   14719   elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14720     # We already found the complete path
   14721     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14722     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14723 $as_echo "pre-installed in $ac_dir" >&6; }
   14724   elif test "x$target" = "x$host"; then
   14725     # We can use an host tool
   14726     WINDRES_FOR_TARGET='$(WINDRES)'
   14727     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14728 $as_echo "host tool" >&6; }
   14729   else
   14730     # We need a cross tool
   14731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14732 $as_echo "pre-installed" >&6; }
   14733   fi
   14734 fi
   14735 
   14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
   14737 $as_echo_n "checking where to find the target windmc... " >&6; }
   14738 if test "x${build}" != "x${host}" ; then
   14739   if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14740     # We already found the complete path
   14741     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14743 $as_echo "pre-installed in $ac_dir" >&6; }
   14744   else
   14745     # Canadian cross, just use what we found
   14746     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14747 $as_echo "pre-installed" >&6; }
   14748   fi
   14749 else
   14750   ok=yes
   14751   case " ${configdirs} " in
   14752     *" binutils "*) ;;
   14753     *) ok=no ;;
   14754   esac
   14755 
   14756   if test $ok = yes; then
   14757     # An in-tree tool is available and we can use it
   14758     WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
   14759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14760 $as_echo "just compiled" >&6; }
   14761   elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14762     # We already found the complete path
   14763     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14765 $as_echo "pre-installed in $ac_dir" >&6; }
   14766   elif test "x$target" = "x$host"; then
   14767     # We can use an host tool
   14768     WINDMC_FOR_TARGET='$(WINDMC)'
   14769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14770 $as_echo "host tool" >&6; }
   14771   else
   14772     # We need a cross tool
   14773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14774 $as_echo "pre-installed" >&6; }
   14775   fi
   14776 fi
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 # Certain tools may need extra flags.
   14783 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
   14784 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
   14785 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
   14786 
   14787 # When building target libraries, except in a Canadian cross, we use
   14788 # the same toolchain as the compiler we just built.
   14789 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
   14790 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
   14791 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
   14792 if test $host = $build; then
   14793   case " $configdirs " in
   14794     *" gcc "*)
   14795       COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
   14796       COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
   14797       COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
   14798       ;;
   14799   esac
   14800 fi
   14801 
   14802 
   14803 
   14804 
   14805 
   14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   14807 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   14808 # Check whether --enable-maintainer-mode was given.
   14809 if test "${enable_maintainer_mode+set}" = set; then :
   14810   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   14811 else
   14812   USE_MAINTAINER_MODE=no
   14813 fi
   14814 
   14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   14816 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   14817 
   14818 
   14819 if test "$USE_MAINTAINER_MODE" = yes; then
   14820   MAINTAINER_MODE_TRUE=
   14821   MAINTAINER_MODE_FALSE='#'
   14822 else
   14823   MAINTAINER_MODE_TRUE='#'
   14824   MAINTAINER_MODE_FALSE=
   14825 fi
   14826 MAINT=$MAINTAINER_MODE_TRUE
   14827 
   14828 # ---------------------
   14829 # GCC bootstrap support
   14830 # ---------------------
   14831 
   14832 # Stage specific cflags for build.
   14833 stage1_cflags="-g"
   14834 case $build in
   14835   vax-*-*)
   14836     case ${GCC} in
   14837       yes) stage1_cflags="-g -Wa,-J" ;;
   14838       *) stage1_cflags="-g -J" ;;
   14839     esac ;;
   14840 esac
   14841 
   14842 
   14843 
   14844 # Enable --enable-checking in stage1 of the compiler.
   14845 # Check whether --enable-stage1-checking was given.
   14846 if test "${enable_stage1_checking+set}" = set; then :
   14847   enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
   14848 else
   14849   if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
   14850   # For --disable-checking or implicit --enable-checking=release, avoid
   14851   # setting --enable-checking=gc in the default stage1 checking for LTO
   14852   # bootstraps.  See PR62077.
   14853   stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types
   14854   case $BUILD_CONFIG in
   14855     *lto*)
   14856       if test "x$enable_checking" = x && \
   14857 	 test -d ${srcdir}/gcc && \
   14858 	 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
   14859 	stage1_checking=--enable-checking=yes,types
   14860       fi;;
   14861     *) stage1_checking=--enable-checking=yes,types;;
   14862   esac
   14863 else
   14864   stage1_checking=--enable-checking=$enable_checking,types
   14865 fi
   14866 fi
   14867 
   14868 
   14869 
   14870 # Enable -Werror in bootstrap stage2 and later.
   14871 # Check whether --enable-werror was given.
   14872 if test "${enable_werror+set}" = set; then :
   14873   enableval=$enable_werror;
   14874 else
   14875   if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
   14876   enable_werror=yes
   14877 else
   14878   enable_werror=no
   14879 fi
   14880 fi
   14881 
   14882 case ${enable_werror} in
   14883   yes) stage2_werror_flag="--enable-werror-always" ;;
   14884   *) stage2_werror_flag="" ;;
   14885 esac
   14886 
   14887 
   14888 # Enable --enable-host-shared.
   14889 # Check whether --enable-host-shared was given.
   14890 if test "${enable_host_shared+set}" = set; then :
   14891   enableval=$enable_host_shared; host_shared=$enableval
   14892 else
   14893   host_shared=no
   14894 fi
   14895 
   14896 
   14897 
   14898 # PR jit/64780: Require the user to explicitly specify
   14899 # --enable-host-shared if the jit is enabled, hinting
   14900 # that they might want to do a separate configure/build of
   14901 # the jit, to avoid users from slowing down the rest of the
   14902 # compiler by enabling the jit.
   14903 if test ${host_shared} = "no" ; then
   14904   case "${enable_languages}" in
   14905     *jit*)
   14906       as_fn_error "
   14907 Enabling language \"jit\" requires --enable-host-shared.
   14908 
   14909 --enable-host-shared typically slows the rest of the compiler down by
   14910 a few %, so you must explicitly enable it.
   14911 
   14912 If you want to build both the jit and the regular compiler, it is often
   14913 best to do this via two separate configure/builds, in separate
   14914 directories, to avoid imposing the performance cost of
   14915 --enable-host-shared on the regular compiler." "$LINENO" 5
   14916       ;;
   14917     *)
   14918       ;;
   14919   esac
   14920 fi
   14921 
   14922 # Specify what files to not compare during bootstrap.
   14923 
   14924 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
   14925 case "$target" in
   14926   hppa*64*-*-hpux*) ;;
   14927   hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
   14928   powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
   14929 esac
   14930 
   14931 
   14932 ac_config_files="$ac_config_files Makefile"
   14933 
   14934 cat >confcache <<\_ACEOF
   14935 # This file is a shell script that caches the results of configure
   14936 # tests run on this system so they can be shared between configure
   14937 # scripts and configure runs, see configure's option --config-cache.
   14938 # It is not useful on other systems.  If it contains results you don't
   14939 # want to keep, you may remove or edit it.
   14940 #
   14941 # config.status only pays attention to the cache file if you give it
   14942 # the --recheck option to rerun configure.
   14943 #
   14944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14946 # following values.
   14947 
   14948 _ACEOF
   14949 
   14950 # The following way of writing the cache mishandles newlines in values,
   14951 # but we know of no workaround that is simple, portable, and efficient.
   14952 # So, we kill variables containing newlines.
   14953 # Ultrix sh set writes to stderr and can't be redirected directly,
   14954 # and sets the high bit in the cache file unless we assign to the vars.
   14955 (
   14956   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14957     eval ac_val=\$$ac_var
   14958     case $ac_val in #(
   14959     *${as_nl}*)
   14960       case $ac_var in #(
   14961       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14962 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14963       esac
   14964       case $ac_var in #(
   14965       _ | IFS | as_nl) ;; #(
   14966       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14967       *) { eval $ac_var=; unset $ac_var;} ;;
   14968       esac ;;
   14969     esac
   14970   done
   14971 
   14972   (set) 2>&1 |
   14973     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14974     *${as_nl}ac_space=\ *)
   14975       # `set' does not quote correctly, so add quotes: double-quote
   14976       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14977       sed -n \
   14978 	"s/'/'\\\\''/g;
   14979 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14980       ;; #(
   14981     *)
   14982       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14983       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14984       ;;
   14985     esac |
   14986     sort
   14987 ) |
   14988   sed '
   14989      /^ac_cv_env_/b end
   14990      t clear
   14991      :clear
   14992      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14993      t end
   14994      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14995      :end' >>confcache
   14996 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14997   if test -w "$cache_file"; then
   14998     test "x$cache_file" != "x/dev/null" &&
   14999       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15000 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15001     cat confcache >$cache_file
   15002   else
   15003     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15004 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15005   fi
   15006 fi
   15007 rm -f confcache
   15008 
   15009 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15010 # Let make expand exec_prefix.
   15011 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15012 
   15013 # Transform confdefs.h into DEFS.
   15014 # Protect against shell expansion while executing Makefile rules.
   15015 # Protect against Makefile macro expansion.
   15016 #
   15017 # If the first sed substitution is executed (which looks for macros that
   15018 # take arguments), then branch to the quote section.  Otherwise,
   15019 # look for a macro that doesn't take arguments.
   15020 ac_script='
   15021 :mline
   15022 /\\$/{
   15023  N
   15024  s,\\\n,,
   15025  b mline
   15026 }
   15027 t clear
   15028 :clear
   15029 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   15030 t quote
   15031 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   15032 t quote
   15033 b any
   15034 :quote
   15035 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   15036 s/\[/\\&/g
   15037 s/\]/\\&/g
   15038 s/\$/$$/g
   15039 H
   15040 :any
   15041 ${
   15042 	g
   15043 	s/^\n//
   15044 	s/\n/ /g
   15045 	p
   15046 }
   15047 '
   15048 DEFS=`sed -n "$ac_script" confdefs.h`
   15049 
   15050 
   15051 ac_libobjs=
   15052 ac_ltlibobjs=
   15053 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15054   # 1. Remove the extension, and $U if already installed.
   15055   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15056   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15057   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15058   #    will be set to the directory where LIBOBJS objects are built.
   15059   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15060   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15061 done
   15062 LIBOBJS=$ac_libobjs
   15063 
   15064 LTLIBOBJS=$ac_ltlibobjs
   15065 
   15066 
   15067 
   15068 : ${CONFIG_STATUS=./config.status}
   15069 ac_write_fail=0
   15070 ac_clean_files_save=$ac_clean_files
   15071 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15073 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15074 as_write_fail=0
   15075 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15076 #! $SHELL
   15077 # Generated by $as_me.
   15078 # Run this file to recreate the current configuration.
   15079 # Compiler output produced by configure, useful for debugging
   15080 # configure, is in config.log if it exists.
   15081 
   15082 debug=false
   15083 ac_cs_recheck=false
   15084 ac_cs_silent=false
   15085 
   15086 SHELL=\${CONFIG_SHELL-$SHELL}
   15087 export SHELL
   15088 _ASEOF
   15089 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15090 ## -------------------- ##
   15091 ## M4sh Initialization. ##
   15092 ## -------------------- ##
   15093 
   15094 # Be more Bourne compatible
   15095 DUALCASE=1; export DUALCASE # for MKS sh
   15096 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15097   emulate sh
   15098   NULLCMD=:
   15099   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15100   # is contrary to our usage.  Disable this feature.
   15101   alias -g '${1+"$@"}'='"$@"'
   15102   setopt NO_GLOB_SUBST
   15103 else
   15104   case `(set -o) 2>/dev/null` in #(
   15105   *posix*) :
   15106     set -o posix ;; #(
   15107   *) :
   15108      ;;
   15109 esac
   15110 fi
   15111 
   15112 
   15113 as_nl='
   15114 '
   15115 export as_nl
   15116 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15117 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15118 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15119 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15120 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15121 # but without wasting forks for bash or zsh.
   15122 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15123     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15124   as_echo='print -r --'
   15125   as_echo_n='print -rn --'
   15126 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15127   as_echo='printf %s\n'
   15128   as_echo_n='printf %s'
   15129 else
   15130   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15131     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15132     as_echo_n='/usr/ucb/echo -n'
   15133   else
   15134     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15135     as_echo_n_body='eval
   15136       arg=$1;
   15137       case $arg in #(
   15138       *"$as_nl"*)
   15139 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15140 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15141       esac;
   15142       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15143     '
   15144     export as_echo_n_body
   15145     as_echo_n='sh -c $as_echo_n_body as_echo'
   15146   fi
   15147   export as_echo_body
   15148   as_echo='sh -c $as_echo_body as_echo'
   15149 fi
   15150 
   15151 # The user is always right.
   15152 if test "${PATH_SEPARATOR+set}" != set; then
   15153   PATH_SEPARATOR=:
   15154   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15155     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15156       PATH_SEPARATOR=';'
   15157   }
   15158 fi
   15159 
   15160 
   15161 # IFS
   15162 # We need space, tab and new line, in precisely that order.  Quoting is
   15163 # there to prevent editors from complaining about space-tab.
   15164 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15165 # splitting by setting IFS to empty value.)
   15166 IFS=" ""	$as_nl"
   15167 
   15168 # Find who we are.  Look in the path if we contain no directory separator.
   15169 case $0 in #((
   15170   *[\\/]* ) as_myself=$0 ;;
   15171   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15172 for as_dir in $PATH
   15173 do
   15174   IFS=$as_save_IFS
   15175   test -z "$as_dir" && as_dir=.
   15176     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15177   done
   15178 IFS=$as_save_IFS
   15179 
   15180      ;;
   15181 esac
   15182 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15183 # in which case we are not to be found in the path.
   15184 if test "x$as_myself" = x; then
   15185   as_myself=$0
   15186 fi
   15187 if test ! -f "$as_myself"; then
   15188   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15189   exit 1
   15190 fi
   15191 
   15192 # Unset variables that we do not need and which cause bugs (e.g. in
   15193 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15194 # suppresses any "Segmentation fault" message there.  '((' could
   15195 # trigger a bug in pdksh 5.2.14.
   15196 for as_var in BASH_ENV ENV MAIL MAILPATH
   15197 do eval test x\${$as_var+set} = xset \
   15198   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15199 done
   15200 PS1='$ '
   15201 PS2='> '
   15202 PS4='+ '
   15203 
   15204 # NLS nuisances.
   15205 LC_ALL=C
   15206 export LC_ALL
   15207 LANGUAGE=C
   15208 export LANGUAGE
   15209 
   15210 # CDPATH.
   15211 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15212 
   15213 
   15214 # as_fn_error ERROR [LINENO LOG_FD]
   15215 # ---------------------------------
   15216 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15217 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15218 # script with status $?, using 1 if that was 0.
   15219 as_fn_error ()
   15220 {
   15221   as_status=$?; test $as_status -eq 0 && as_status=1
   15222   if test "$3"; then
   15223     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15224     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   15225   fi
   15226   $as_echo "$as_me: error: $1" >&2
   15227   as_fn_exit $as_status
   15228 } # as_fn_error
   15229 
   15230 
   15231 # as_fn_set_status STATUS
   15232 # -----------------------
   15233 # Set $? to STATUS, without forking.
   15234 as_fn_set_status ()
   15235 {
   15236   return $1
   15237 } # as_fn_set_status
   15238 
   15239 # as_fn_exit STATUS
   15240 # -----------------
   15241 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15242 as_fn_exit ()
   15243 {
   15244   set +e
   15245   as_fn_set_status $1
   15246   exit $1
   15247 } # as_fn_exit
   15248 
   15249 # as_fn_unset VAR
   15250 # ---------------
   15251 # Portably unset VAR.
   15252 as_fn_unset ()
   15253 {
   15254   { eval $1=; unset $1;}
   15255 }
   15256 as_unset=as_fn_unset
   15257 # as_fn_append VAR VALUE
   15258 # ----------------------
   15259 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15260 # advantage of any shell optimizations that allow amortized linear growth over
   15261 # repeated appends, instead of the typical quadratic growth present in naive
   15262 # implementations.
   15263 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15264   eval 'as_fn_append ()
   15265   {
   15266     eval $1+=\$2
   15267   }'
   15268 else
   15269   as_fn_append ()
   15270   {
   15271     eval $1=\$$1\$2
   15272   }
   15273 fi # as_fn_append
   15274 
   15275 # as_fn_arith ARG...
   15276 # ------------------
   15277 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15278 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15279 # must be portable across $(()) and expr.
   15280 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15281   eval 'as_fn_arith ()
   15282   {
   15283     as_val=$(( $* ))
   15284   }'
   15285 else
   15286   as_fn_arith ()
   15287   {
   15288     as_val=`expr "$@" || test $? -eq 1`
   15289   }
   15290 fi # as_fn_arith
   15291 
   15292 
   15293 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15294    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15295   as_expr=expr
   15296 else
   15297   as_expr=false
   15298 fi
   15299 
   15300 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15301   as_basename=basename
   15302 else
   15303   as_basename=false
   15304 fi
   15305 
   15306 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15307   as_dirname=dirname
   15308 else
   15309   as_dirname=false
   15310 fi
   15311 
   15312 as_me=`$as_basename -- "$0" ||
   15313 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15314 	 X"$0" : 'X\(//\)$' \| \
   15315 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15316 $as_echo X/"$0" |
   15317     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15318 	    s//\1/
   15319 	    q
   15320 	  }
   15321 	  /^X\/\(\/\/\)$/{
   15322 	    s//\1/
   15323 	    q
   15324 	  }
   15325 	  /^X\/\(\/\).*/{
   15326 	    s//\1/
   15327 	    q
   15328 	  }
   15329 	  s/.*/./; q'`
   15330 
   15331 # Avoid depending upon Character Ranges.
   15332 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15333 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15334 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15335 as_cr_digits='0123456789'
   15336 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15337 
   15338 ECHO_C= ECHO_N= ECHO_T=
   15339 case `echo -n x` in #(((((
   15340 -n*)
   15341   case `echo 'xy\c'` in
   15342   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15343   xy)  ECHO_C='\c';;
   15344   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15345        ECHO_T='	';;
   15346   esac;;
   15347 *)
   15348   ECHO_N='-n';;
   15349 esac
   15350 
   15351 rm -f conf$$ conf$$.exe conf$$.file
   15352 if test -d conf$$.dir; then
   15353   rm -f conf$$.dir/conf$$.file
   15354 else
   15355   rm -f conf$$.dir
   15356   mkdir conf$$.dir 2>/dev/null
   15357 fi
   15358 if (echo >conf$$.file) 2>/dev/null; then
   15359   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15360     as_ln_s='ln -s'
   15361     # ... but there are two gotchas:
   15362     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15363     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15364     # In both cases, we have to default to `cp -p'.
   15365     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15366       as_ln_s='cp -p'
   15367   elif ln conf$$.file conf$$ 2>/dev/null; then
   15368     as_ln_s=ln
   15369   else
   15370     as_ln_s='cp -p'
   15371   fi
   15372 else
   15373   as_ln_s='cp -p'
   15374 fi
   15375 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15376 rmdir conf$$.dir 2>/dev/null
   15377 
   15378 
   15379 # as_fn_mkdir_p
   15380 # -------------
   15381 # Create "$as_dir" as a directory, including parents if necessary.
   15382 as_fn_mkdir_p ()
   15383 {
   15384 
   15385   case $as_dir in #(
   15386   -*) as_dir=./$as_dir;;
   15387   esac
   15388   test -d "$as_dir" || eval $as_mkdir_p || {
   15389     as_dirs=
   15390     while :; do
   15391       case $as_dir in #(
   15392       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15393       *) as_qdir=$as_dir;;
   15394       esac
   15395       as_dirs="'$as_qdir' $as_dirs"
   15396       as_dir=`$as_dirname -- "$as_dir" ||
   15397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15398 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15399 	 X"$as_dir" : 'X\(//\)$' \| \
   15400 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15401 $as_echo X"$as_dir" |
   15402     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15403 	    s//\1/
   15404 	    q
   15405 	  }
   15406 	  /^X\(\/\/\)[^/].*/{
   15407 	    s//\1/
   15408 	    q
   15409 	  }
   15410 	  /^X\(\/\/\)$/{
   15411 	    s//\1/
   15412 	    q
   15413 	  }
   15414 	  /^X\(\/\).*/{
   15415 	    s//\1/
   15416 	    q
   15417 	  }
   15418 	  s/.*/./; q'`
   15419       test -d "$as_dir" && break
   15420     done
   15421     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15422   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   15423 
   15424 
   15425 } # as_fn_mkdir_p
   15426 if mkdir -p . 2>/dev/null; then
   15427   as_mkdir_p='mkdir -p "$as_dir"'
   15428 else
   15429   test -d ./-p && rmdir ./-p
   15430   as_mkdir_p=false
   15431 fi
   15432 
   15433 if test -x / >/dev/null 2>&1; then
   15434   as_test_x='test -x'
   15435 else
   15436   if ls -dL / >/dev/null 2>&1; then
   15437     as_ls_L_option=L
   15438   else
   15439     as_ls_L_option=
   15440   fi
   15441   as_test_x='
   15442     eval sh -c '\''
   15443       if test -d "$1"; then
   15444 	test -d "$1/.";
   15445       else
   15446 	case $1 in #(
   15447 	-*)set "./$1";;
   15448 	esac;
   15449 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   15450 	???[sx]*):;;*)false;;esac;fi
   15451     '\'' sh
   15452   '
   15453 fi
   15454 as_executable_p=$as_test_x
   15455 
   15456 # Sed expression to map a string onto a valid CPP name.
   15457 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15458 
   15459 # Sed expression to map a string onto a valid variable name.
   15460 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15461 
   15462 
   15463 exec 6>&1
   15464 ## ----------------------------------- ##
   15465 ## Main body of $CONFIG_STATUS script. ##
   15466 ## ----------------------------------- ##
   15467 _ASEOF
   15468 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15469 
   15470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15471 # Save the log message, to keep $0 and so on meaningful, and to
   15472 # report actual input values of CONFIG_FILES etc. instead of their
   15473 # values after options handling.
   15474 ac_log="
   15475 This file was extended by $as_me, which was
   15476 generated by GNU Autoconf 2.64.  Invocation command line was
   15477 
   15478   CONFIG_FILES    = $CONFIG_FILES
   15479   CONFIG_HEADERS  = $CONFIG_HEADERS
   15480   CONFIG_LINKS    = $CONFIG_LINKS
   15481   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15482   $ $0 $@
   15483 
   15484 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15485 "
   15486 
   15487 _ACEOF
   15488 
   15489 case $ac_config_files in *"
   15490 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15491 esac
   15492 
   15493 
   15494 
   15495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15496 # Files that config.status was made for.
   15497 config_files="$ac_config_files"
   15498 
   15499 _ACEOF
   15500 
   15501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15502 ac_cs_usage="\
   15503 \`$as_me' instantiates files and other configuration actions
   15504 from templates according to the current configuration.  Unless the files
   15505 and actions are specified as TAGs, all are instantiated by default.
   15506 
   15507 Usage: $0 [OPTION]... [TAG]...
   15508 
   15509   -h, --help       print this help, then exit
   15510   -V, --version    print version number and configuration settings, then exit
   15511   -q, --quiet, --silent
   15512                    do not print progress messages
   15513   -d, --debug      don't remove temporary files
   15514       --recheck    update $as_me by reconfiguring in the same conditions
   15515       --file=FILE[:TEMPLATE]
   15516                    instantiate the configuration file FILE
   15517 
   15518 Configuration files:
   15519 $config_files
   15520 
   15521 Report bugs to the package provider."
   15522 
   15523 _ACEOF
   15524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15525 ac_cs_version="\\
   15526 config.status
   15527 configured by $0, generated by GNU Autoconf 2.64,
   15528   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   15529 
   15530 Copyright (C) 2009 Free Software Foundation, Inc.
   15531 This config.status script is free software; the Free Software Foundation
   15532 gives unlimited permission to copy, distribute and modify it."
   15533 
   15534 ac_pwd='$ac_pwd'
   15535 srcdir='$srcdir'
   15536 INSTALL='$INSTALL'
   15537 AWK='$AWK'
   15538 test -n "\$AWK" || AWK=awk
   15539 _ACEOF
   15540 
   15541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15542 # The default lists apply if the user does not specify any file.
   15543 ac_need_defaults=:
   15544 while test $# != 0
   15545 do
   15546   case $1 in
   15547   --*=*)
   15548     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15549     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15550     ac_shift=:
   15551     ;;
   15552   *)
   15553     ac_option=$1
   15554     ac_optarg=$2
   15555     ac_shift=shift
   15556     ;;
   15557   esac
   15558 
   15559   case $ac_option in
   15560   # Handling of the options.
   15561   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15562     ac_cs_recheck=: ;;
   15563   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15564     $as_echo "$ac_cs_version"; exit ;;
   15565   --debug | --debu | --deb | --de | --d | -d )
   15566     debug=: ;;
   15567   --file | --fil | --fi | --f )
   15568     $ac_shift
   15569     case $ac_optarg in
   15570     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15571     esac
   15572     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15573     ac_need_defaults=false;;
   15574   --he | --h |  --help | --hel | -h )
   15575     $as_echo "$ac_cs_usage"; exit ;;
   15576   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15577   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15578     ac_cs_silent=: ;;
   15579 
   15580   # This is an error.
   15581   -*) as_fn_error "unrecognized option: \`$1'
   15582 Try \`$0 --help' for more information." ;;
   15583 
   15584   *) as_fn_append ac_config_targets " $1"
   15585      ac_need_defaults=false ;;
   15586 
   15587   esac
   15588   shift
   15589 done
   15590 
   15591 ac_configure_extra_args=
   15592 
   15593 if $ac_cs_silent; then
   15594   exec 6>/dev/null
   15595   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15596 fi
   15597 
   15598 _ACEOF
   15599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15600 if \$ac_cs_recheck; then
   15601   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15602   shift
   15603   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15604   CONFIG_SHELL='$SHELL'
   15605   export CONFIG_SHELL
   15606   exec "\$@"
   15607 fi
   15608 
   15609 _ACEOF
   15610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15611 exec 5>>config.log
   15612 {
   15613   echo
   15614   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15615 ## Running $as_me. ##
   15616 _ASBOX
   15617   $as_echo "$ac_log"
   15618 } >&5
   15619 
   15620 _ACEOF
   15621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15622 #
   15623 # INIT-COMMANDS
   15624 #
   15625 extrasub_build="$extrasub_build"
   15626    extrasub_host="$extrasub_host"
   15627    extrasub_target="$extrasub_target"
   15628 
   15629 _ACEOF
   15630 
   15631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15632 
   15633 # Handling of arguments.
   15634 for ac_config_target in $ac_config_targets
   15635 do
   15636   case $ac_config_target in
   15637     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15638 
   15639   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15640   esac
   15641 done
   15642 
   15643 
   15644 # If the user did not use the arguments to specify the items to instantiate,
   15645 # then the envvar interface is used.  Set only those that are not.
   15646 # We use the long form for the default assignment because of an extremely
   15647 # bizarre bug on SunOS 4.1.3.
   15648 if $ac_need_defaults; then
   15649   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15650 fi
   15651 
   15652 # Have a temporary directory for convenience.  Make it in the build tree
   15653 # simply because there is no reason against having it here, and in addition,
   15654 # creating and moving files from /tmp can sometimes cause problems.
   15655 # Hook for its removal unless debugging.
   15656 # Note that there is a small window in which the directory will not be cleaned:
   15657 # after its creation but before its name has been assigned to `$tmp'.
   15658 $debug ||
   15659 {
   15660   tmp=
   15661   trap 'exit_status=$?
   15662   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   15663 ' 0
   15664   trap 'as_fn_exit 1' 1 2 13 15
   15665 }
   15666 # Create a (secure) tmp directory for tmp files.
   15667 
   15668 {
   15669   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15670   test -n "$tmp" && test -d "$tmp"
   15671 }  ||
   15672 {
   15673   tmp=./conf$$-$RANDOM
   15674   (umask 077 && mkdir "$tmp")
   15675 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   15676 
   15677 # Set up the scripts for CONFIG_FILES section.
   15678 # No need to generate them if there are no CONFIG_FILES.
   15679 # This happens for instance with `./config.status config.h'.
   15680 if test -n "$CONFIG_FILES"; then
   15681 
   15682 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   15683   ac_cs_awk_getline=:
   15684   ac_cs_awk_pipe_init=
   15685   ac_cs_awk_read_file='
   15686       while ((getline aline < (F[key])) > 0)
   15687 	print(aline)
   15688       close(F[key])'
   15689   ac_cs_awk_pipe_fini=
   15690 else
   15691   ac_cs_awk_getline=false
   15692   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   15693   ac_cs_awk_read_file='
   15694       print "|#_!!_#|"
   15695       print "cat " F[key] " &&"
   15696       '$ac_cs_awk_pipe_init
   15697   # The final `:' finishes the AND list.
   15698   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   15699 fi
   15700 ac_cr=`echo X | tr X '\015'`
   15701 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15702 # But we know of no other shell where ac_cr would be empty at this
   15703 # point, so we can use a bashism as a fallback.
   15704 if test "x$ac_cr" = x; then
   15705   eval ac_cr=\$\'\\r\'
   15706 fi
   15707 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15708 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15709   ac_cs_awk_cr='\r'
   15710 else
   15711   ac_cs_awk_cr=$ac_cr
   15712 fi
   15713 
   15714 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   15715 _ACEOF
   15716 
   15717 # Create commands to substitute file output variables.
   15718 {
   15719   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   15720   echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
   15721   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   15722   echo "_ACAWK" &&
   15723   echo "_ACEOF"
   15724 } >conf$$files.sh &&
   15725 . ./conf$$files.sh ||
   15726   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15727 rm -f conf$$files.sh
   15728 
   15729 {
   15730   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15731   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15732   echo "_ACEOF"
   15733 } >conf$$subs.sh ||
   15734   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15735 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   15736 ac_delim='%!_!# '
   15737 for ac_last_try in false false false false false :; do
   15738   . ./conf$$subs.sh ||
   15739     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15740 
   15741   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15742   if test $ac_delim_n = $ac_delim_num; then
   15743     break
   15744   elif $ac_last_try; then
   15745     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15746   else
   15747     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15748   fi
   15749 done
   15750 rm -f conf$$subs.sh
   15751 
   15752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15753 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   15754 _ACEOF
   15755 sed -n '
   15756 h
   15757 s/^/S["/; s/!.*/"]=/
   15758 p
   15759 g
   15760 s/^[^!]*!//
   15761 :repl
   15762 t repl
   15763 s/'"$ac_delim"'$//
   15764 t delim
   15765 :nl
   15766 h
   15767 s/\(.\{148\}\).*/\1/
   15768 t more1
   15769 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15770 p
   15771 n
   15772 b repl
   15773 :more1
   15774 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15775 p
   15776 g
   15777 s/.\{148\}//
   15778 t nl
   15779 :delim
   15780 h
   15781 s/\(.\{148\}\).*/\1/
   15782 t more2
   15783 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15784 p
   15785 b
   15786 :more2
   15787 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15788 p
   15789 g
   15790 s/.\{148\}//
   15791 t delim
   15792 ' <conf$$subs.awk | sed '
   15793 /^[^""]/{
   15794   N
   15795   s/\n//
   15796 }
   15797 ' >>$CONFIG_STATUS || ac_write_fail=1
   15798 rm -f conf$$subs.awk
   15799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15800 _ACAWK
   15801 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   15802   for (key in S) S_is_set[key] = 1
   15803   FS = ""
   15804   \$ac_cs_awk_pipe_init
   15805 }
   15806 {
   15807   line = $ 0
   15808   nfields = split(line, field, "@")
   15809   substed = 0
   15810   len = length(field[1])
   15811   for (i = 2; i < nfields; i++) {
   15812     key = field[i]
   15813     keylen = length(key)
   15814     if (S_is_set[key]) {
   15815       value = S[key]
   15816       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15817       len += length(value) + length(field[++i])
   15818       substed = 1
   15819     } else
   15820       len += 1 + keylen
   15821   }
   15822   if (nfields == 3 && !substed) {
   15823     key = field[2]
   15824     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   15825       \$ac_cs_awk_read_file
   15826       next
   15827     }
   15828   }
   15829   print line
   15830 }
   15831 \$ac_cs_awk_pipe_fini
   15832 _ACAWK
   15833 _ACEOF
   15834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15835 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15836   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15837 else
   15838   cat
   15839 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   15840   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   15841 _ACEOF
   15842 
   15843 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   15844 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   15845 # trailing colons and then remove the whole line if VPATH becomes empty
   15846 # (actually we leave an empty line to preserve line numbers).
   15847 if test "x$srcdir" = x.; then
   15848   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   15849 s/:*\$(srcdir):*/:/
   15850 s/:*\${srcdir}:*/:/
   15851 s/:*@srcdir@:*/:/
   15852 s/^\([^=]*=[	 ]*\):*/\1/
   15853 s/:*$//
   15854 s/^[^=]*=[	 ]*$//
   15855 }'
   15856 fi
   15857 
   15858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15859 fi # test -n "$CONFIG_FILES"
   15860 
   15861 
   15862 eval set X "  :F $CONFIG_FILES      "
   15863 shift
   15864 for ac_tag
   15865 do
   15866   case $ac_tag in
   15867   :[FHLC]) ac_mode=$ac_tag; continue;;
   15868   esac
   15869   case $ac_mode$ac_tag in
   15870   :[FHL]*:*);;
   15871   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15872   :[FH]-) ac_tag=-:-;;
   15873   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15874   esac
   15875   ac_save_IFS=$IFS
   15876   IFS=:
   15877   set x $ac_tag
   15878   IFS=$ac_save_IFS
   15879   shift
   15880   ac_file=$1
   15881   shift
   15882 
   15883   case $ac_mode in
   15884   :L) ac_source=$1;;
   15885   :[FH])
   15886     ac_file_inputs=
   15887     for ac_f
   15888     do
   15889       case $ac_f in
   15890       -) ac_f="$tmp/stdin";;
   15891       *) # Look for the file first in the build tree, then in the source tree
   15892 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15893 	 # because $ac_f cannot contain `:'.
   15894 	 test -f "$ac_f" ||
   15895 	   case $ac_f in
   15896 	   [\\/$]*) false;;
   15897 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15898 	   esac ||
   15899 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15900       esac
   15901       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15902       as_fn_append ac_file_inputs " '$ac_f'"
   15903     done
   15904 
   15905     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15906     # use $as_me), people would be surprised to read:
   15907     #    /* config.h.  Generated by config.status.  */
   15908     configure_input='Generated from '`
   15909 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15910 	`' by configure.'
   15911     if test x"$ac_file" != x-; then
   15912       configure_input="$ac_file.  $configure_input"
   15913       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15914 $as_echo "$as_me: creating $ac_file" >&6;}
   15915     fi
   15916     # Neutralize special characters interpreted by sed in replacement strings.
   15917     case $configure_input in #(
   15918     *\&* | *\|* | *\\* )
   15919        ac_sed_conf_input=`$as_echo "$configure_input" |
   15920        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15921     *) ac_sed_conf_input=$configure_input;;
   15922     esac
   15923 
   15924     case $ac_tag in
   15925     *:-:* | *:-) cat >"$tmp/stdin" \
   15926       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   15927     esac
   15928     ;;
   15929   esac
   15930 
   15931   ac_dir=`$as_dirname -- "$ac_file" ||
   15932 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15933 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15934 	 X"$ac_file" : 'X\(//\)$' \| \
   15935 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15936 $as_echo X"$ac_file" |
   15937     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15938 	    s//\1/
   15939 	    q
   15940 	  }
   15941 	  /^X\(\/\/\)[^/].*/{
   15942 	    s//\1/
   15943 	    q
   15944 	  }
   15945 	  /^X\(\/\/\)$/{
   15946 	    s//\1/
   15947 	    q
   15948 	  }
   15949 	  /^X\(\/\).*/{
   15950 	    s//\1/
   15951 	    q
   15952 	  }
   15953 	  s/.*/./; q'`
   15954   as_dir="$ac_dir"; as_fn_mkdir_p
   15955   ac_builddir=.
   15956 
   15957 case "$ac_dir" in
   15958 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15959 *)
   15960   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15961   # A ".." for each directory in $ac_dir_suffix.
   15962   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15963   case $ac_top_builddir_sub in
   15964   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15965   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15966   esac ;;
   15967 esac
   15968 ac_abs_top_builddir=$ac_pwd
   15969 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15970 # for backward compatibility:
   15971 ac_top_builddir=$ac_top_build_prefix
   15972 
   15973 case $srcdir in
   15974   .)  # We are building in place.
   15975     ac_srcdir=.
   15976     ac_top_srcdir=$ac_top_builddir_sub
   15977     ac_abs_top_srcdir=$ac_pwd ;;
   15978   [\\/]* | ?:[\\/]* )  # Absolute name.
   15979     ac_srcdir=$srcdir$ac_dir_suffix;
   15980     ac_top_srcdir=$srcdir
   15981     ac_abs_top_srcdir=$srcdir ;;
   15982   *) # Relative name.
   15983     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15984     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15985     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15986 esac
   15987 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15988 
   15989 
   15990   case $ac_mode in
   15991   :F)
   15992   #
   15993   # CONFIG_FILE
   15994   #
   15995 
   15996   case $INSTALL in
   15997   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15998   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15999   esac
   16000 _ACEOF
   16001 
   16002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16003 # If the template does not know about datarootdir, expand it.
   16004 # FIXME: This hack should be removed a few years after 2.60.
   16005 ac_datarootdir_hack=; ac_datarootdir_seen=
   16006 ac_sed_dataroot='
   16007 /datarootdir/ {
   16008   p
   16009   q
   16010 }
   16011 /@datadir@/p
   16012 /@docdir@/p
   16013 /@infodir@/p
   16014 /@localedir@/p
   16015 /@mandir@/p'
   16016 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16017 *datarootdir*) ac_datarootdir_seen=yes;;
   16018 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16019   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16020 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16021 _ACEOF
   16022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16023   ac_datarootdir_hack='
   16024   s&@datadir@&$datadir&g
   16025   s&@docdir@&$docdir&g
   16026   s&@infodir@&$infodir&g
   16027   s&@localedir@&$localedir&g
   16028   s&@mandir@&$mandir&g
   16029   s&\\\${datarootdir}&$datarootdir&g' ;;
   16030 esac
   16031 _ACEOF
   16032 
   16033 # Neutralize VPATH when `$srcdir' = `.'.
   16034 # Shell code in configure.ac might set extrasub.
   16035 # FIXME: do we really want to maintain this feature?
   16036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16037 ac_sed_extra="$ac_vpsub
   16038 $extrasub
   16039 _ACEOF
   16040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16041 :t
   16042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16043 s|@configure_input@|$ac_sed_conf_input|;t t
   16044 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16045 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16046 s&@srcdir@&$ac_srcdir&;t t
   16047 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16048 s&@top_srcdir@&$ac_top_srcdir&;t t
   16049 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16050 s&@builddir@&$ac_builddir&;t t
   16051 s&@abs_builddir@&$ac_abs_builddir&;t t
   16052 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16053 s&@INSTALL@&$ac_INSTALL&;t t
   16054 $ac_datarootdir_hack
   16055 "
   16056 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   16057 if $ac_cs_awk_getline; then
   16058   $AWK -f "$tmp/subs.awk"
   16059 else
   16060   $AWK -f "$tmp/subs.awk" | $SHELL
   16061 fi >$tmp/out \
   16062   || as_fn_error "could not create $ac_file" "$LINENO" 5
   16063 
   16064 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16065   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   16066   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   16067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16068 which seems to be undefined.  Please make sure it is defined." >&5
   16069 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16070 which seems to be undefined.  Please make sure it is defined." >&2;}
   16071 
   16072   rm -f "$tmp/stdin"
   16073   case $ac_file in
   16074   -) cat "$tmp/out" && rm -f "$tmp/out";;
   16075   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   16076   esac \
   16077   || as_fn_error "could not create $ac_file" "$LINENO" 5
   16078  ;;
   16079 
   16080 
   16081 
   16082   esac
   16083 
   16084 
   16085   case $ac_file$ac_mode in
   16086     "Makefile":F) sed "$extrasub_build" Makefile |
   16087    sed "$extrasub_host" |
   16088    sed "$extrasub_target" > mf$$
   16089    mv -f mf$$ Makefile ;;
   16090 
   16091   esac
   16092 done # for ac_tag
   16093 
   16094 
   16095 as_fn_exit 0
   16096 _ACEOF
   16097 ac_clean_files=$ac_clean_files_save
   16098 
   16099 test $ac_write_fail = 0 ||
   16100   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16101 
   16102 
   16103 # configure is writing to config.log, and then calls config.status.
   16104 # config.status does its own redirection, appending to config.log.
   16105 # Unfortunately, on DOS this fails, as config.log is still kept open
   16106 # by configure, so config.status won't be able to write to it; its
   16107 # output is simply discarded.  So we exec the FD to /dev/null,
   16108 # effectively closing config.log, so it can be properly (re)opened and
   16109 # appended to by config.status.  When coming back to configure, we
   16110 # need to make the FD available again.
   16111 if test "$no_create" != yes; then
   16112   ac_cs_success=:
   16113   ac_config_status_args=
   16114   test "$silent" = yes &&
   16115     ac_config_status_args="$ac_config_status_args --quiet"
   16116   exec 5>/dev/null
   16117   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16118   exec 5>>config.log
   16119   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16120   # would make configure fail if this is the last instruction.
   16121   $ac_cs_success || as_fn_exit $?
   16122 fi
   16123 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16124   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16125 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16126 fi
   16127 
   16128