Home | History | Annotate | Line # | Download | only in dist
configure revision 1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      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 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1"
    200   if (eval "$as_required") 2>/dev/null; then :
    201   as_have_required=yes
    202 else
    203   as_have_required=no
    204 fi
    205   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    206 
    207 else
    208   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    209 as_found=false
    210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    211 do
    212   IFS=$as_save_IFS
    213   test -z "$as_dir" && as_dir=.
    214   as_found=:
    215   case $as_dir in #(
    216 	 /*)
    217 	   for as_base in sh bash ksh sh5; do
    218 	     # Try only shells that exist, to save several forks.
    219 	     as_shell=$as_dir/$as_base
    220 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    221 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    222   CONFIG_SHELL=$as_shell as_have_required=yes
    223 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   break 2
    225 fi
    226 fi
    227 	   done;;
    228        esac
    229   as_found=false
    230 done
    231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    233   CONFIG_SHELL=$SHELL as_have_required=yes
    234 fi; }
    235 IFS=$as_save_IFS
    236 
    237 
    238       if test "x$CONFIG_SHELL" != x; then :
    239   export CONFIG_SHELL
    240              # We cannot yet assume a decent shell, so we have to provide a
    241 # neutralization value for shells without unset; and this also
    242 # works around shells that cannot unset nonexistent variables.
    243 # Preserve -v and -x to the replacement shell.
    244 BASH_ENV=/dev/null
    245 ENV=/dev/null
    246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    247 case $- in # ((((
    248   *v*x* | *x*v* ) as_opts=-vx ;;
    249   *v* ) as_opts=-v ;;
    250   *x* ) as_opts=-x ;;
    251   * ) as_opts= ;;
    252 esac
    253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    254 # Admittedly, this is quite paranoid, since all the known shells bail
    255 # out after a failed `exec'.
    256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    257 exit 255
    258 fi
    259 
    260     if test x$as_have_required = xno; then :
    261   $as_echo "$0: This script requires a shell more modern than all"
    262   $as_echo "$0: the shells that I found on your system."
    263   if test x${ZSH_VERSION+set} = xset ; then
    264     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    265     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    266   else
    267     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    268 $0: including any error possibly output before this
    269 $0: message. Then install a modern shell, or manually run
    270 $0: the script under such a shell if you do have one."
    271   fi
    272   exit 1
    273 fi
    274 fi
    275 fi
    276 SHELL=${CONFIG_SHELL-/bin/sh}
    277 export SHELL
    278 # Unset more variables known to interfere with behavior of common tools.
    279 CLICOLOR_FORCE= GREP_OPTIONS=
    280 unset CLICOLOR_FORCE GREP_OPTIONS
    281 
    282 ## --------------------- ##
    283 ## M4sh Shell Functions. ##
    284 ## --------------------- ##
    285 # as_fn_unset VAR
    286 # ---------------
    287 # Portably unset VAR.
    288 as_fn_unset ()
    289 {
    290   { eval $1=; unset $1;}
    291 }
    292 as_unset=as_fn_unset
    293 
    294 # as_fn_set_status STATUS
    295 # -----------------------
    296 # Set $? to STATUS, without forking.
    297 as_fn_set_status ()
    298 {
    299   return $1
    300 } # as_fn_set_status
    301 
    302 # as_fn_exit STATUS
    303 # -----------------
    304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    305 as_fn_exit ()
    306 {
    307   set +e
    308   as_fn_set_status $1
    309   exit $1
    310 } # as_fn_exit
    311 
    312 # as_fn_mkdir_p
    313 # -------------
    314 # Create "$as_dir" as a directory, including parents if necessary.
    315 as_fn_mkdir_p ()
    316 {
    317 
    318   case $as_dir in #(
    319   -*) as_dir=./$as_dir;;
    320   esac
    321   test -d "$as_dir" || eval $as_mkdir_p || {
    322     as_dirs=
    323     while :; do
    324       case $as_dir in #(
    325       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    326       *) as_qdir=$as_dir;;
    327       esac
    328       as_dirs="'$as_qdir' $as_dirs"
    329       as_dir=`$as_dirname -- "$as_dir" ||
    330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    331 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    332 	 X"$as_dir" : 'X\(//\)$' \| \
    333 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    334 $as_echo X"$as_dir" |
    335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    336 	    s//\1/
    337 	    q
    338 	  }
    339 	  /^X\(\/\/\)[^/].*/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\).*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  s/.*/./; q'`
    352       test -d "$as_dir" && break
    353     done
    354     test -z "$as_dirs" || eval "mkdir $as_dirs"
    355   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    356 
    357 
    358 } # as_fn_mkdir_p
    359 
    360 # as_fn_executable_p FILE
    361 # -----------------------
    362 # Test if FILE is an executable regular file.
    363 as_fn_executable_p ()
    364 {
    365   test -f "$1" && test -x "$1"
    366 } # as_fn_executable_p
    367 # as_fn_append VAR VALUE
    368 # ----------------------
    369 # Append the text in VALUE to the end of the definition contained in VAR. Take
    370 # advantage of any shell optimizations that allow amortized linear growth over
    371 # repeated appends, instead of the typical quadratic growth present in naive
    372 # implementations.
    373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    374   eval 'as_fn_append ()
    375   {
    376     eval $1+=\$2
    377   }'
    378 else
    379   as_fn_append ()
    380   {
    381     eval $1=\$$1\$2
    382   }
    383 fi # as_fn_append
    384 
    385 # as_fn_arith ARG...
    386 # ------------------
    387 # Perform arithmetic evaluation on the ARGs, and store the result in the
    388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    389 # must be portable across $(()) and expr.
    390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    391   eval 'as_fn_arith ()
    392   {
    393     as_val=$(( $* ))
    394   }'
    395 else
    396   as_fn_arith ()
    397   {
    398     as_val=`expr "$@" || test $? -eq 1`
    399   }
    400 fi # as_fn_arith
    401 
    402 
    403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    404 # ----------------------------------------
    405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    407 # script with STATUS, using 1 if that was 0.
    408 as_fn_error ()
    409 {
    410   as_status=$1; test $as_status -eq 0 && as_status=1
    411   if test "$4"; then
    412     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    413     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    414   fi
    415   $as_echo "$as_me: error: $2" >&2
    416   as_fn_exit $as_status
    417 } # as_fn_error
    418 
    419 if expr a : '\(a\)' >/dev/null 2>&1 &&
    420    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    421   as_expr=expr
    422 else
    423   as_expr=false
    424 fi
    425 
    426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    427   as_basename=basename
    428 else
    429   as_basename=false
    430 fi
    431 
    432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    433   as_dirname=dirname
    434 else
    435   as_dirname=false
    436 fi
    437 
    438 as_me=`$as_basename -- "$0" ||
    439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    440 	 X"$0" : 'X\(//\)$' \| \
    441 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    442 $as_echo X/"$0" |
    443     sed '/^.*\/\([^/][^/]*\)\/*$/{
    444 	    s//\1/
    445 	    q
    446 	  }
    447 	  /^X\/\(\/\/\)$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\).*/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  s/.*/./; q'`
    456 
    457 # Avoid depending upon Character Ranges.
    458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    461 as_cr_digits='0123456789'
    462 as_cr_alnum=$as_cr_Letters$as_cr_digits
    463 
    464 
    465   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    466   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    467   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    468   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    469   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    470   sed -n '
    471     p
    472     /[$]LINENO/=
    473   ' <$as_myself |
    474     sed '
    475       s/[$]LINENO.*/&-/
    476       t lineno
    477       b
    478       :lineno
    479       N
    480       :loop
    481       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    482       t loop
    483       s/-\n.*//
    484     ' >$as_me.lineno &&
    485   chmod +x "$as_me.lineno" ||
    486     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    487 
    488   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    489   # already done that, so ensure we don't try to do so again and fall
    490   # in an infinite loop.  This has already happened in practice.
    491   _as_can_reexec=no; export _as_can_reexec
    492   # Don't try to exec as it changes $[0], causing all sort of problems
    493   # (the dirname of $[0] is not the place where we might find the
    494   # original and so on.  Autoconf is especially sensitive to this).
    495   . "./$as_me.lineno"
    496   # Exit status is that of the last command.
    497   exit
    498 }
    499 
    500 ECHO_C= ECHO_N= ECHO_T=
    501 case `echo -n x` in #(((((
    502 -n*)
    503   case `echo 'xy\c'` in
    504   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    505   xy)  ECHO_C='\c';;
    506   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    507        ECHO_T='	';;
    508   esac;;
    509 *)
    510   ECHO_N='-n';;
    511 esac
    512 
    513 rm -f conf$$ conf$$.exe conf$$.file
    514 if test -d conf$$.dir; then
    515   rm -f conf$$.dir/conf$$.file
    516 else
    517   rm -f conf$$.dir
    518   mkdir conf$$.dir 2>/dev/null
    519 fi
    520 if (echo >conf$$.file) 2>/dev/null; then
    521   if ln -s conf$$.file conf$$ 2>/dev/null; then
    522     as_ln_s='ln -s'
    523     # ... but there are two gotchas:
    524     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    525     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    526     # In both cases, we have to default to `cp -pR'.
    527     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    528       as_ln_s='cp -pR'
    529   elif ln conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s=ln
    531   else
    532     as_ln_s='cp -pR'
    533   fi
    534 else
    535   as_ln_s='cp -pR'
    536 fi
    537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    538 rmdir conf$$.dir 2>/dev/null
    539 
    540 if mkdir -p . 2>/dev/null; then
    541   as_mkdir_p='mkdir -p "$as_dir"'
    542 else
    543   test -d ./-p && rmdir ./-p
    544   as_mkdir_p=false
    545 fi
    546 
    547 as_test_x='test -x'
    548 as_executable_p=as_fn_executable_p
    549 
    550 # Sed expression to map a string onto a valid CPP name.
    551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    552 
    553 # Sed expression to map a string onto a valid variable name.
    554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    555 
    556 
    557 test -n "$DJDIR" || exec 7<&0 </dev/null
    558 exec 6>&1
    559 
    560 # Name of the host.
    561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    562 # so uname gets run too.
    563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    564 
    565 #
    566 # Initializations.
    567 #
    568 ac_default_prefix=/usr/local
    569 ac_clean_files=
    570 ac_config_libobj_dir=.
    571 LIBOBJS=
    572 cross_compiling=no
    573 subdirs=
    574 MFLAGS=
    575 MAKEFLAGS=
    576 
    577 # Identity of this package.
    578 PACKAGE_NAME=
    579 PACKAGE_TARNAME=
    580 PACKAGE_VERSION=
    581 PACKAGE_STRING=
    582 PACKAGE_BUGREPORT=
    583 PACKAGE_URL=
    584 
    585 ac_unique_file="move-if-change"
    586 enable_option_checking=no
    587 ac_subst_vars='LTLIBOBJS
    588 LIBOBJS
    589 compare_exclusions
    590 stage2_werror_flag
    591 stage1_checking
    592 stage1_cflags
    593 MAINT
    594 MAINTAINER_MODE_FALSE
    595 MAINTAINER_MODE_TRUE
    596 COMPILER_NM_FOR_TARGET
    597 COMPILER_LD_FOR_TARGET
    598 COMPILER_AS_FOR_TARGET
    599 FLAGS_FOR_TARGET
    600 RAW_CXX_FOR_TARGET
    601 WINDMC_FOR_TARGET
    602 WINDRES_FOR_TARGET
    603 STRIP_FOR_TARGET
    604 READELF_FOR_TARGET
    605 RANLIB_FOR_TARGET
    606 OBJDUMP_FOR_TARGET
    607 OBJCOPY_FOR_TARGET
    608 NM_FOR_TARGET
    609 LIPO_FOR_TARGET
    610 LD_FOR_TARGET
    611 DLLTOOL_FOR_TARGET
    612 AS_FOR_TARGET
    613 AR_FOR_TARGET
    614 GOC_FOR_TARGET
    615 GFORTRAN_FOR_TARGET
    616 GCC_FOR_TARGET
    617 CXX_FOR_TARGET
    618 CC_FOR_TARGET
    619 READELF
    620 OBJDUMP
    621 OBJCOPY
    622 WINDMC
    623 WINDRES
    624 STRIP
    625 RANLIB
    626 NM
    627 LIPO
    628 LD
    629 DLLTOOL
    630 AS
    631 AR
    632 RUNTEST
    633 EXPECT
    634 MAKEINFO
    635 FLEX
    636 LEX
    637 M4
    638 BISON
    639 YACC
    640 WINDRES_FOR_BUILD
    641 WINDMC_FOR_BUILD
    642 RANLIB_FOR_BUILD
    643 NM_FOR_BUILD
    644 LD_FOR_BUILD
    645 LDFLAGS_FOR_BUILD
    646 GOC_FOR_BUILD
    647 GFORTRAN_FOR_BUILD
    648 DLLTOOL_FOR_BUILD
    649 CXX_FOR_BUILD
    650 CXXFLAGS_FOR_BUILD
    651 CFLAGS_FOR_BUILD
    652 CC_FOR_BUILD
    653 AS_FOR_BUILD
    654 AR_FOR_BUILD
    655 target_configdirs
    656 configdirs
    657 build_configdirs
    658 INSTALL_GDB_TK
    659 GDB_TK
    660 CONFIGURE_GDB_TK
    661 build_tooldir
    662 tooldir
    663 GCC_SHLIB_SUBDIR
    664 RPATH_ENVVAR
    665 target_configargs
    666 host_configargs
    667 build_configargs
    668 BUILD_CONFIG
    669 LDFLAGS_FOR_TARGET
    670 CXXFLAGS_FOR_TARGET
    671 CFLAGS_FOR_TARGET
    672 DEBUG_PREFIX_CFLAGS_FOR_TARGET
    673 SYSROOT_CFLAGS_FOR_TARGET
    674 get_gcc_base_ver
    675 extra_host_zlib_configure_flags
    676 extra_host_libiberty_configure_flags
    677 stage1_languages
    678 host_shared
    679 extra_linker_plugin_flags
    680 extra_linker_plugin_configure_flags
    681 islinc
    682 isllibs
    683 poststage1_ldflags
    684 poststage1_libs
    685 stage1_ldflags
    686 stage1_libs
    687 extra_isl_gmp_configure_flags
    688 extra_mpc_mpfr_configure_flags
    689 extra_mpc_gmp_configure_flags
    690 extra_mpfr_configure_flags
    691 gmpinc
    692 gmplibs
    693 LIBDEBUGINFOD
    694 do_compare
    695 GNATMAKE
    696 GNATBIND
    697 ac_ct_CXX
    698 CXXFLAGS
    699 CXX
    700 OBJEXT
    701 EXEEXT
    702 ac_ct_CC
    703 CPPFLAGS
    704 LDFLAGS
    705 CFLAGS
    706 CC
    707 extra_liboffloadmic_configure_flags
    708 target_subdir
    709 host_subdir
    710 build_subdir
    711 build_libsubdir
    712 AWK
    713 SED
    714 LN_S
    715 LN
    716 INSTALL_DATA
    717 INSTALL_SCRIPT
    718 INSTALL_PROGRAM
    719 target_os
    720 target_vendor
    721 target_cpu
    722 target
    723 host_os
    724 host_vendor
    725 host_cpu
    726 host
    727 target_noncanonical
    728 host_noncanonical
    729 build_noncanonical
    730 build_os
    731 build_vendor
    732 build_cpu
    733 build
    734 TOPLEVEL_CONFIGURE_ARGUMENTS
    735 target_alias
    736 host_alias
    737 build_alias
    738 LIBS
    739 ECHO_T
    740 ECHO_N
    741 ECHO_C
    742 DEFS
    743 mandir
    744 localedir
    745 libdir
    746 psdir
    747 pdfdir
    748 dvidir
    749 htmldir
    750 infodir
    751 docdir
    752 oldincludedir
    753 includedir
    754 localstatedir
    755 sharedstatedir
    756 sysconfdir
    757 datadir
    758 datarootdir
    759 libexecdir
    760 sbindir
    761 bindir
    762 program_transform_name
    763 prefix
    764 exec_prefix
    765 PACKAGE_URL
    766 PACKAGE_BUGREPORT
    767 PACKAGE_STRING
    768 PACKAGE_VERSION
    769 PACKAGE_TARNAME
    770 PACKAGE_NAME
    771 PATH_SEPARATOR
    772 SHELL'
    773 ac_subst_files='serialization_dependencies
    774 host_makefile_frag
    775 target_makefile_frag
    776 alphaieee_frag
    777 ospace_frag'
    778 ac_user_opts='
    779 enable_option_checking
    780 with_build_libsubdir
    781 with_system_zlib
    782 enable_as_accelerator_for
    783 enable_offload_targets
    784 enable_gold
    785 enable_ld
    786 enable_compressed_debug_sections
    787 enable_libquadmath
    788 enable_libquadmath_support
    789 enable_libada
    790 enable_libssp
    791 enable_libstdcxx
    792 enable_liboffloadmic
    793 enable_bootstrap
    794 with_debuginfod
    795 with_mpc
    796 with_mpc_include
    797 with_mpc_lib
    798 with_mpfr_dir
    799 with_mpfr
    800 with_mpfr_include
    801 with_mpfr_lib
    802 with_gmp_dir
    803 with_gmp
    804 with_gmp_include
    805 with_gmp_lib
    806 with_stage1_libs
    807 with_static_standard_libraries
    808 with_stage1_ldflags
    809 with_boot_libs
    810 with_boot_ldflags
    811 with_isl
    812 with_isl_include
    813 with_isl_lib
    814 enable_isl_version_check
    815 enable_lto
    816 enable_linker_plugin_configure_flags
    817 enable_linker_plugin_flags
    818 enable_host_shared
    819 enable_stage1_languages
    820 enable_objc_gc
    821 with_target_bdw_gc
    822 with_target_bdw_gc_include
    823 with_target_bdw_gc_lib
    824 with_gcc_major_version_only
    825 with_build_sysroot
    826 with_debug_prefix_map
    827 with_build_config
    828 enable_vtable_verify
    829 enable_serial_configure
    830 with_build_time_tools
    831 enable_maintainer_mode
    832 enable_stage1_checking
    833 enable_werror
    834 '
    835       ac_precious_vars='build_alias
    836 host_alias
    837 target_alias
    838 CC
    839 CFLAGS
    840 LDFLAGS
    841 LIBS
    842 CPPFLAGS
    843 CXX
    844 CXXFLAGS
    845 CCC
    846 build_configargs
    847 host_configargs
    848 target_configargs
    849 AR
    850 AS
    851 DLLTOOL
    852 LD
    853 LIPO
    854 NM
    855 RANLIB
    856 STRIP
    857 WINDRES
    858 WINDMC
    859 OBJCOPY
    860 OBJDUMP
    861 READELF
    862 CC_FOR_TARGET
    863 CXX_FOR_TARGET
    864 GCC_FOR_TARGET
    865 GFORTRAN_FOR_TARGET
    866 GOC_FOR_TARGET
    867 AR_FOR_TARGET
    868 AS_FOR_TARGET
    869 DLLTOOL_FOR_TARGET
    870 LD_FOR_TARGET
    871 LIPO_FOR_TARGET
    872 NM_FOR_TARGET
    873 OBJCOPY_FOR_TARGET
    874 OBJDUMP_FOR_TARGET
    875 RANLIB_FOR_TARGET
    876 READELF_FOR_TARGET
    877 STRIP_FOR_TARGET
    878 WINDRES_FOR_TARGET
    879 WINDMC_FOR_TARGET'
    880 
    881 
    882 # Initialize some variables set by options.
    883 ac_init_help=
    884 ac_init_version=false
    885 ac_unrecognized_opts=
    886 ac_unrecognized_sep=
    887 # The variables have the same names as the options, with
    888 # dashes changed to underlines.
    889 cache_file=/dev/null
    890 exec_prefix=NONE
    891 no_create=
    892 no_recursion=
    893 prefix=NONE
    894 program_prefix=NONE
    895 program_suffix=NONE
    896 program_transform_name=s,x,x,
    897 silent=
    898 site=
    899 srcdir=
    900 verbose=
    901 x_includes=NONE
    902 x_libraries=NONE
    903 
    904 # Installation directory options.
    905 # These are left unexpanded so users can "make install exec_prefix=/foo"
    906 # and all the variables that are supposed to be based on exec_prefix
    907 # by default will actually change.
    908 # Use braces instead of parens because sh, perl, etc. also accept them.
    909 # (The list follows the same order as the GNU Coding Standards.)
    910 bindir='${exec_prefix}/bin'
    911 sbindir='${exec_prefix}/sbin'
    912 libexecdir='${exec_prefix}/libexec'
    913 datarootdir='${prefix}/share'
    914 datadir='${datarootdir}'
    915 sysconfdir='${prefix}/etc'
    916 sharedstatedir='${prefix}/com'
    917 localstatedir='${prefix}/var'
    918 includedir='${prefix}/include'
    919 oldincludedir='/usr/include'
    920 docdir='${datarootdir}/doc/${PACKAGE}'
    921 infodir='${datarootdir}/info'
    922 htmldir='${docdir}'
    923 dvidir='${docdir}'
    924 pdfdir='${docdir}'
    925 psdir='${docdir}'
    926 libdir='${exec_prefix}/lib'
    927 localedir='${datarootdir}/locale'
    928 mandir='${datarootdir}/man'
    929 
    930 ac_prev=
    931 ac_dashdash=
    932 for ac_option
    933 do
    934   # If the previous option needs an argument, assign it.
    935   if test -n "$ac_prev"; then
    936     eval $ac_prev=\$ac_option
    937     ac_prev=
    938     continue
    939   fi
    940 
    941   case $ac_option in
    942   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    943   *=)   ac_optarg= ;;
    944   *)    ac_optarg=yes ;;
    945   esac
    946 
    947   # Accept the important Cygnus configure options, so we can diagnose typos.
    948 
    949   case $ac_dashdash$ac_option in
    950   --)
    951     ac_dashdash=yes ;;
    952 
    953   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    954     ac_prev=bindir ;;
    955   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    956     bindir=$ac_optarg ;;
    957 
    958   -build | --build | --buil | --bui | --bu)
    959     ac_prev=build_alias ;;
    960   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    961     build_alias=$ac_optarg ;;
    962 
    963   -cache-file | --cache-file | --cache-fil | --cache-fi \
    964   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    965     ac_prev=cache_file ;;
    966   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    967   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    968     cache_file=$ac_optarg ;;
    969 
    970   --config-cache | -C)
    971     cache_file=config.cache ;;
    972 
    973   -datadir | --datadir | --datadi | --datad)
    974     ac_prev=datadir ;;
    975   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    976     datadir=$ac_optarg ;;
    977 
    978   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    979   | --dataroo | --dataro | --datar)
    980     ac_prev=datarootdir ;;
    981   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    982   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    983     datarootdir=$ac_optarg ;;
    984 
    985   -disable-* | --disable-*)
    986     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    987     # Reject names that are not valid shell variable names.
    988     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    989       as_fn_error $? "invalid feature name: $ac_useropt"
    990     ac_useropt_orig=$ac_useropt
    991     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    992     case $ac_user_opts in
    993       *"
    994 "enable_$ac_useropt"
    995 "*) ;;
    996       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    997 	 ac_unrecognized_sep=', ';;
    998     esac
    999     eval enable_$ac_useropt=no ;;
   1000 
   1001   -docdir | --docdir | --docdi | --doc | --do)
   1002     ac_prev=docdir ;;
   1003   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1004     docdir=$ac_optarg ;;
   1005 
   1006   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1007     ac_prev=dvidir ;;
   1008   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1009     dvidir=$ac_optarg ;;
   1010 
   1011   -enable-* | --enable-*)
   1012     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1013     # Reject names that are not valid shell variable names.
   1014     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1015       as_fn_error $? "invalid feature name: $ac_useropt"
   1016     ac_useropt_orig=$ac_useropt
   1017     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1018     case $ac_user_opts in
   1019       *"
   1020 "enable_$ac_useropt"
   1021 "*) ;;
   1022       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1023 	 ac_unrecognized_sep=', ';;
   1024     esac
   1025     eval enable_$ac_useropt=\$ac_optarg ;;
   1026 
   1027   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1028   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1029   | --exec | --exe | --ex)
   1030     ac_prev=exec_prefix ;;
   1031   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1032   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1033   | --exec=* | --exe=* | --ex=*)
   1034     exec_prefix=$ac_optarg ;;
   1035 
   1036   -gas | --gas | --ga | --g)
   1037     # Obsolete; use --with-gas.
   1038     with_gas=yes ;;
   1039 
   1040   -help | --help | --hel | --he | -h)
   1041     ac_init_help=long ;;
   1042   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1043     ac_init_help=recursive ;;
   1044   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1045     ac_init_help=short ;;
   1046 
   1047   -host | --host | --hos | --ho)
   1048     ac_prev=host_alias ;;
   1049   -host=* | --host=* | --hos=* | --ho=*)
   1050     host_alias=$ac_optarg ;;
   1051 
   1052   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1053     ac_prev=htmldir ;;
   1054   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1055   | --ht=*)
   1056     htmldir=$ac_optarg ;;
   1057 
   1058   -includedir | --includedir | --includedi | --included | --include \
   1059   | --includ | --inclu | --incl | --inc)
   1060     ac_prev=includedir ;;
   1061   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1062   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1063     includedir=$ac_optarg ;;
   1064 
   1065   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1066     ac_prev=infodir ;;
   1067   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1068     infodir=$ac_optarg ;;
   1069 
   1070   -libdir | --libdir | --libdi | --libd)
   1071     ac_prev=libdir ;;
   1072   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1073     libdir=$ac_optarg ;;
   1074 
   1075   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1076   | --libexe | --libex | --libe)
   1077     ac_prev=libexecdir ;;
   1078   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1079   | --libexe=* | --libex=* | --libe=*)
   1080     libexecdir=$ac_optarg ;;
   1081 
   1082   -localedir | --localedir | --localedi | --localed | --locale)
   1083     ac_prev=localedir ;;
   1084   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1085     localedir=$ac_optarg ;;
   1086 
   1087   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1088   | --localstate | --localstat | --localsta | --localst | --locals)
   1089     ac_prev=localstatedir ;;
   1090   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1091   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1092     localstatedir=$ac_optarg ;;
   1093 
   1094   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1095     ac_prev=mandir ;;
   1096   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1097     mandir=$ac_optarg ;;
   1098 
   1099   -nfp | --nfp | --nf)
   1100     # Obsolete; use --without-fp.
   1101     with_fp=no ;;
   1102 
   1103   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1104   | --no-cr | --no-c | -n)
   1105     no_create=yes ;;
   1106 
   1107   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1108   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1109     no_recursion=yes ;;
   1110 
   1111   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1112   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1113   | --oldin | --oldi | --old | --ol | --o)
   1114     ac_prev=oldincludedir ;;
   1115   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1116   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1117   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1118     oldincludedir=$ac_optarg ;;
   1119 
   1120   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1121     ac_prev=prefix ;;
   1122   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1123     prefix=$ac_optarg ;;
   1124 
   1125   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1126   | --program-pre | --program-pr | --program-p)
   1127     ac_prev=program_prefix ;;
   1128   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1129   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1130     program_prefix=$ac_optarg ;;
   1131 
   1132   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1133   | --program-suf | --program-su | --program-s)
   1134     ac_prev=program_suffix ;;
   1135   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1136   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1137     program_suffix=$ac_optarg ;;
   1138 
   1139   -program-transform-name | --program-transform-name \
   1140   | --program-transform-nam | --program-transform-na \
   1141   | --program-transform-n | --program-transform- \
   1142   | --program-transform | --program-transfor \
   1143   | --program-transfo | --program-transf \
   1144   | --program-trans | --program-tran \
   1145   | --progr-tra | --program-tr | --program-t)
   1146     ac_prev=program_transform_name ;;
   1147   -program-transform-name=* | --program-transform-name=* \
   1148   | --program-transform-nam=* | --program-transform-na=* \
   1149   | --program-transform-n=* | --program-transform-=* \
   1150   | --program-transform=* | --program-transfor=* \
   1151   | --program-transfo=* | --program-transf=* \
   1152   | --program-trans=* | --program-tran=* \
   1153   | --progr-tra=* | --program-tr=* | --program-t=*)
   1154     program_transform_name=$ac_optarg ;;
   1155 
   1156   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1157     ac_prev=pdfdir ;;
   1158   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1159     pdfdir=$ac_optarg ;;
   1160 
   1161   -psdir | --psdir | --psdi | --psd | --ps)
   1162     ac_prev=psdir ;;
   1163   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1164     psdir=$ac_optarg ;;
   1165 
   1166   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1167   | -silent | --silent | --silen | --sile | --sil)
   1168     silent=yes ;;
   1169 
   1170   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1171     ac_prev=sbindir ;;
   1172   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1173   | --sbi=* | --sb=*)
   1174     sbindir=$ac_optarg ;;
   1175 
   1176   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1177   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1178   | --sharedst | --shareds | --shared | --share | --shar \
   1179   | --sha | --sh)
   1180     ac_prev=sharedstatedir ;;
   1181   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1182   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1183   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1184   | --sha=* | --sh=*)
   1185     sharedstatedir=$ac_optarg ;;
   1186 
   1187   -site | --site | --sit)
   1188     ac_prev=site ;;
   1189   -site=* | --site=* | --sit=*)
   1190     site=$ac_optarg ;;
   1191 
   1192   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1193     ac_prev=srcdir ;;
   1194   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1195     srcdir=$ac_optarg ;;
   1196 
   1197   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1198   | --syscon | --sysco | --sysc | --sys | --sy)
   1199     ac_prev=sysconfdir ;;
   1200   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1201   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1202     sysconfdir=$ac_optarg ;;
   1203 
   1204   -target | --target | --targe | --targ | --tar | --ta | --t)
   1205     ac_prev=target_alias ;;
   1206   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1207     target_alias=$ac_optarg ;;
   1208 
   1209   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1210     verbose=yes ;;
   1211 
   1212   -version | --version | --versio | --versi | --vers | -V)
   1213     ac_init_version=: ;;
   1214 
   1215   -with-* | --with-*)
   1216     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1217     # Reject names that are not valid shell variable names.
   1218     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1219       as_fn_error $? "invalid package name: $ac_useropt"
   1220     ac_useropt_orig=$ac_useropt
   1221     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1222     case $ac_user_opts in
   1223       *"
   1224 "with_$ac_useropt"
   1225 "*) ;;
   1226       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1227 	 ac_unrecognized_sep=', ';;
   1228     esac
   1229     eval with_$ac_useropt=\$ac_optarg ;;
   1230 
   1231   -without-* | --without-*)
   1232     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1233     # Reject names that are not valid shell variable names.
   1234     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1235       as_fn_error $? "invalid package name: $ac_useropt"
   1236     ac_useropt_orig=$ac_useropt
   1237     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1238     case $ac_user_opts in
   1239       *"
   1240 "with_$ac_useropt"
   1241 "*) ;;
   1242       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1243 	 ac_unrecognized_sep=', ';;
   1244     esac
   1245     eval with_$ac_useropt=no ;;
   1246 
   1247   --x)
   1248     # Obsolete; use --with-x.
   1249     with_x=yes ;;
   1250 
   1251   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1252   | --x-incl | --x-inc | --x-in | --x-i)
   1253     ac_prev=x_includes ;;
   1254   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1255   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1256     x_includes=$ac_optarg ;;
   1257 
   1258   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1259   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1260     ac_prev=x_libraries ;;
   1261   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1262   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1263     x_libraries=$ac_optarg ;;
   1264 
   1265   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1266 Try \`$0 --help' for more information"
   1267     ;;
   1268 
   1269   *=*)
   1270     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1271     # Reject names that are not valid shell variable names.
   1272     case $ac_envvar in #(
   1273       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1274       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1275     esac
   1276     eval $ac_envvar=\$ac_optarg
   1277     export $ac_envvar ;;
   1278 
   1279   *)
   1280     # FIXME: should be removed in autoconf 3.0.
   1281     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1282     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1283       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1284     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1285     ;;
   1286 
   1287   esac
   1288 done
   1289 
   1290 if test -n "$ac_prev"; then
   1291   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1292   as_fn_error $? "missing argument to $ac_option"
   1293 fi
   1294 
   1295 if test -n "$ac_unrecognized_opts"; then
   1296   case $enable_option_checking in
   1297     no) ;;
   1298     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1299     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1300   esac
   1301 fi
   1302 
   1303 # Check all directory arguments for consistency.
   1304 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1305 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1306 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1307 		libdir localedir mandir
   1308 do
   1309   eval ac_val=\$$ac_var
   1310   # Remove trailing slashes.
   1311   case $ac_val in
   1312     */ )
   1313       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1314       eval $ac_var=\$ac_val;;
   1315   esac
   1316   # Be sure to have absolute directory names.
   1317   case $ac_val in
   1318     [\\/$]* | ?:[\\/]* )  continue;;
   1319     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1320   esac
   1321   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1322 done
   1323 
   1324 # There might be people who depend on the old broken behavior: `$host'
   1325 # used to hold the argument of --host etc.
   1326 # FIXME: To remove some day.
   1327 build=$build_alias
   1328 host=$host_alias
   1329 target=$target_alias
   1330 
   1331 # FIXME: To remove some day.
   1332 if test "x$host_alias" != x; then
   1333   if test "x$build_alias" = x; then
   1334     cross_compiling=maybe
   1335   elif test "x$build_alias" != "x$host_alias"; then
   1336     cross_compiling=yes
   1337   fi
   1338 fi
   1339 
   1340 ac_tool_prefix=
   1341 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1342 
   1343 test "$silent" = yes && exec 6>/dev/null
   1344 
   1345 
   1346 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1347 ac_ls_di=`ls -di .` &&
   1348 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1349   as_fn_error $? "working directory cannot be determined"
   1350 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1351   as_fn_error $? "pwd does not report name of working directory"
   1352 
   1353 
   1354 # Find the source files, if location was not specified.
   1355 if test -z "$srcdir"; then
   1356   ac_srcdir_defaulted=yes
   1357   # Try the directory containing this script, then the parent directory.
   1358   ac_confdir=`$as_dirname -- "$as_myself" ||
   1359 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1360 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1361 	 X"$as_myself" : 'X\(//\)$' \| \
   1362 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1363 $as_echo X"$as_myself" |
   1364     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1365 	    s//\1/
   1366 	    q
   1367 	  }
   1368 	  /^X\(\/\/\)[^/].*/{
   1369 	    s//\1/
   1370 	    q
   1371 	  }
   1372 	  /^X\(\/\/\)$/{
   1373 	    s//\1/
   1374 	    q
   1375 	  }
   1376 	  /^X\(\/\).*/{
   1377 	    s//\1/
   1378 	    q
   1379 	  }
   1380 	  s/.*/./; q'`
   1381   srcdir=$ac_confdir
   1382   if test ! -r "$srcdir/$ac_unique_file"; then
   1383     srcdir=..
   1384   fi
   1385 else
   1386   ac_srcdir_defaulted=no
   1387 fi
   1388 if test ! -r "$srcdir/$ac_unique_file"; then
   1389   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1390   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1391 fi
   1392 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1393 ac_abs_confdir=`(
   1394 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1395 	pwd)`
   1396 # When building in place, set srcdir=.
   1397 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1398   srcdir=.
   1399 fi
   1400 # Remove unnecessary trailing slashes from srcdir.
   1401 # Double slashes in file names in object file debugging info
   1402 # mess up M-x gdb in Emacs.
   1403 case $srcdir in
   1404 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1405 esac
   1406 case $srcdir in
   1407   *" "*)
   1408     as_fn_error $? "path to source, $srcdir, contains spaces"
   1409     ;;
   1410 esac
   1411 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
   1412 
   1413 for ac_var in $ac_precious_vars; do
   1414   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1415   eval ac_env_${ac_var}_value=\$${ac_var}
   1416   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1417   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1418 done
   1419 
   1420 #
   1421 # Report the --help message.
   1422 #
   1423 if test "$ac_init_help" = "long"; then
   1424   # Omit some internal or obsolete options to make the list less imposing.
   1425   # This message is too long to be a string in the A/UX 3.1 sh.
   1426   cat <<_ACEOF
   1427 \`configure' configures this package to adapt to many kinds of systems.
   1428 
   1429 Usage: $0 [OPTION]... [VAR=VALUE]...
   1430 
   1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1432 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1433 
   1434 Defaults for the options are specified in brackets.
   1435 
   1436 Configuration:
   1437   -h, --help              display this help and exit
   1438       --help=short        display options specific to this package
   1439       --help=recursive    display the short help of all the included packages
   1440   -V, --version           display version information and exit
   1441   -q, --quiet, --silent   do not print \`checking ...' messages
   1442       --cache-file=FILE   cache test results in FILE [disabled]
   1443   -C, --config-cache      alias for \`--cache-file=config.cache'
   1444   -n, --no-create         do not create output files
   1445       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1446 
   1447 Installation directories:
   1448   --prefix=PREFIX         install architecture-independent files in PREFIX
   1449                           [$ac_default_prefix]
   1450   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1451                           [PREFIX]
   1452 
   1453 By default, \`make install' will install all the files in
   1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1456 for instance \`--prefix=\$HOME'.
   1457 
   1458 For better control, use the options below.
   1459 
   1460 Fine tuning of the installation directories:
   1461   --bindir=DIR            user executables [EPREFIX/bin]
   1462   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1463   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1464   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1465   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1466   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1467   --libdir=DIR            object code libraries [EPREFIX/lib]
   1468   --includedir=DIR        C header files [PREFIX/include]
   1469   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1470   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1471   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1472   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1473   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1474   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1475   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1476   --htmldir=DIR           html documentation [DOCDIR]
   1477   --dvidir=DIR            dvi documentation [DOCDIR]
   1478   --pdfdir=DIR            pdf documentation [DOCDIR]
   1479   --psdir=DIR             ps documentation [DOCDIR]
   1480 _ACEOF
   1481 
   1482   cat <<\_ACEOF
   1483 
   1484 Program names:
   1485   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1486   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1487   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1488 
   1489 System types:
   1490   --build=BUILD     configure for building on BUILD [guessed]
   1491   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1492   --target=TARGET   configure for building compilers for TARGET [HOST]
   1493 _ACEOF
   1494 fi
   1495 
   1496 if test -n "$ac_init_help"; then
   1497 
   1498   cat <<\_ACEOF
   1499 
   1500 Optional Features:
   1501   --disable-option-checking  ignore unrecognized --enable/--with options
   1502   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1503   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1504   --enable-as-accelerator-for=ARG
   1505                           build as offload target compiler. Specify offload
   1506                           host triple by ARG
   1507   --enable-offload-targets=LIST
   1508                           enable offloading to devices from comma-separated
   1509                           LIST of TARGET[=DIR]. Use optional path to find
   1510                           offload target compiler during the build
   1511   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
   1512   --enable-ld[=ARG]       build ld [ARG={default,yes,no}]
   1513   --enable-compressed-debug-sections={all,gas,gold,ld,none}
   1514                           Enable compressed debug sections for gas, gold or ld
   1515                           by default
   1516   --disable-libquadmath   do not build libquadmath directory
   1517   --disable-libquadmath-support
   1518                           disable libquadmath support for Fortran
   1519   --enable-libada         build libada directory
   1520   --enable-libssp         build libssp directory
   1521   --disable-libstdcxx     do not build libstdc++-v3 directory
   1522   --enable-liboffloadmic=ARG
   1523                           build liboffloadmic [ARG={no,host,target}]
   1524   --enable-bootstrap      enable bootstrapping [yes if native build]
   1525   --disable-isl-version-check
   1526                           disable check for isl version
   1527   --enable-lto            enable link time optimization support
   1528   --enable-linker-plugin-configure-flags=FLAGS
   1529                           additional flags for configuring linker plugins
   1530                           [none]
   1531   --enable-linker-plugin-flags=FLAGS
   1532                           additional flags for configuring and building linker
   1533                           plugins [none]
   1534   --enable-host-shared    build host code as shared libraries
   1535   --enable-stage1-languages[=all]
   1536                           choose additional languages to build during stage1.
   1537                           Mostly useful for compiler development
   1538   --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
   1539                           Objective-C runtime
   1540   --enable-vtable-verify  Enable vtable verification feature
   1541   --enable-serial-[{host,target,build}-]configure
   1542                           force sequential configuration of sub-packages for
   1543                           the host, target or build machine, or all
   1544                           sub-packages
   1545   --enable-maintainer-mode
   1546                           enable make rules and dependencies not useful (and
   1547                           sometimes confusing) to the casual installer
   1548   --enable-stage1-checking[=all]
   1549                           choose additional checking for stage1 of the
   1550                           compiler
   1551   --enable-werror         enable -Werror in bootstrap stage2 and later
   1552 
   1553 Optional Packages:
   1554   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1555   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1556   --with-build-libsubdir=DIR  Directory where to find libraries for build system
   1557   --with-system-zlib      use installed libz
   1558   --with-debuginfod       Enable debuginfo lookups with debuginfod
   1559                           (auto/yes/no)
   1560   --with-mpc=PATH         specify prefix directory for installed MPC package.
   1561                           Equivalent to --with-mpc-include=PATH/include plus
   1562                           --with-mpc-lib=PATH/lib
   1563   --with-mpc-include=PATH specify directory for installed MPC include files
   1564   --with-mpc-lib=PATH     specify directory for the installed MPC library
   1565   --with-mpfr-dir=PATH    this option has been REMOVED
   1566   --with-mpfr=PATH        specify prefix directory for installed MPFR package.
   1567                           Equivalent to --with-mpfr-include=PATH/include plus
   1568                           --with-mpfr-lib=PATH/lib
   1569   --with-mpfr-include=PATH
   1570                           specify directory for installed MPFR include files
   1571   --with-mpfr-lib=PATH    specify directory for the installed MPFR library
   1572   --with-gmp-dir=PATH     this option has been REMOVED
   1573   --with-gmp=PATH         specify prefix directory for the installed GMP
   1574                           package. Equivalent to
   1575                           --with-gmp-include=PATH/include plus
   1576                           --with-gmp-lib=PATH/lib
   1577   --with-gmp-include=PATH specify directory for installed GMP include files
   1578   --with-gmp-lib=PATH     specify directory for the installed GMP library
   1579   --with-stage1-libs=LIBS libraries for stage1
   1580   --with-static-standard-libraries
   1581                           use -static-libstdc++ and -static-libgcc
   1582                           (default=auto)
   1583   --with-stage1-ldflags=FLAGS
   1584                           linker flags for stage1
   1585   --with-boot-libs=LIBS   libraries for stage2 and later
   1586   --with-boot-ldflags=FLAGS
   1587                           linker flags for stage2 and later
   1588   --with-isl=PATH         Specify prefix directory for the installed isl
   1589                           package. Equivalent to
   1590                           --with-isl-include=PATH/include plus
   1591                           --with-isl-lib=PATH/lib
   1592   --with-isl-include=PATH Specify directory for installed isl include files
   1593   --with-isl-lib=PATH     Specify the directory for the installed isl library
   1594   --with-target-bdw-gc=PATHLIST
   1595                           specify prefix directory for installed bdw-gc
   1596                           package. Equivalent to
   1597                           --with-target-bdw-gc-include=PATH/include plus
   1598                           --with-target-bdw-gc-lib=PATH/lib
   1599   --with-target-bdw-gc-include=PATHLIST
   1600                           specify directories for installed bdw-gc include
   1601                           files
   1602   --with-target-bdw-gc-lib=PATHLIST
   1603                           specify directories for installed bdw-gc library
   1604   --with-gcc-major-version-only
   1605                           use only GCC major number in filesystem paths
   1606   --with-build-sysroot=SYSROOT
   1607                           use sysroot as the system root during the build
   1608   --with-debug-prefix-map='A=B C=D ...'
   1609                           map A to B, C to D ... in debug information
   1610   --with-build-config='NAME NAME2...'
   1611                           use config/NAME.mk build configuration
   1612   --with-build-time-tools=PATH
   1613                           use given path to find target tools during the build
   1614 
   1615 Some influential environment variables:
   1616   CC          C compiler command
   1617   CFLAGS      C compiler flags
   1618   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1619               nonstandard directory <lib dir>
   1620   LIBS        libraries to pass to the linker, e.g. -l<library>
   1621   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1622               you have headers in a nonstandard directory <include dir>
   1623   CXX         C++ compiler command
   1624   CXXFLAGS    C++ compiler flags
   1625   build_configargs
   1626               additional configure arguments for build directories
   1627   host_configargs
   1628               additional configure arguments for host directories
   1629   target_configargs
   1630               additional configure arguments for target directories
   1631   AR          AR for the host
   1632   AS          AS for the host
   1633   DLLTOOL     DLLTOOL for the host
   1634   LD          LD for the host
   1635   LIPO        LIPO for the host
   1636   NM          NM for the host
   1637   RANLIB      RANLIB for the host
   1638   STRIP       STRIP for the host
   1639   WINDRES     WINDRES for the host
   1640   WINDMC      WINDMC for the host
   1641   OBJCOPY     OBJCOPY for the host
   1642   OBJDUMP     OBJDUMP for the host
   1643   READELF     READELF for the host
   1644   CC_FOR_TARGET
   1645               CC for the target
   1646   CXX_FOR_TARGET
   1647               CXX for the target
   1648   GCC_FOR_TARGET
   1649               GCC for the target
   1650   GFORTRAN_FOR_TARGET
   1651               GFORTRAN for the target
   1652   GOC_FOR_TARGET
   1653               GOC for the target
   1654   AR_FOR_TARGET
   1655               AR for the target
   1656   AS_FOR_TARGET
   1657               AS for the target
   1658   DLLTOOL_FOR_TARGET
   1659               DLLTOOL for the target
   1660   LD_FOR_TARGET
   1661               LD for the target
   1662   LIPO_FOR_TARGET
   1663               LIPO for the target
   1664   NM_FOR_TARGET
   1665               NM for the target
   1666   OBJCOPY_FOR_TARGET
   1667               OBJCOPY for the target
   1668   OBJDUMP_FOR_TARGET
   1669               OBJDUMP for the target
   1670   RANLIB_FOR_TARGET
   1671               RANLIB for the target
   1672   READELF_FOR_TARGET
   1673               READELF for the target
   1674   STRIP_FOR_TARGET
   1675               STRIP for the target
   1676   WINDRES_FOR_TARGET
   1677               WINDRES for the target
   1678   WINDMC_FOR_TARGET
   1679               WINDMC for the target
   1680 
   1681 Use these variables to override the choices made by `configure' or to help
   1682 it to find libraries and programs with nonstandard names/locations.
   1683 
   1684 Report bugs to the package provider.
   1685 _ACEOF
   1686 ac_status=$?
   1687 fi
   1688 
   1689 if test "$ac_init_help" = "recursive"; then
   1690   # If there are subdirs, report their specific --help.
   1691   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1692     test -d "$ac_dir" ||
   1693       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1694       continue
   1695     ac_builddir=.
   1696 
   1697 case "$ac_dir" in
   1698 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1699 *)
   1700   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1701   # A ".." for each directory in $ac_dir_suffix.
   1702   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1703   case $ac_top_builddir_sub in
   1704   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1705   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1706   esac ;;
   1707 esac
   1708 ac_abs_top_builddir=$ac_pwd
   1709 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1710 # for backward compatibility:
   1711 ac_top_builddir=$ac_top_build_prefix
   1712 
   1713 case $srcdir in
   1714   .)  # We are building in place.
   1715     ac_srcdir=.
   1716     ac_top_srcdir=$ac_top_builddir_sub
   1717     ac_abs_top_srcdir=$ac_pwd ;;
   1718   [\\/]* | ?:[\\/]* )  # Absolute name.
   1719     ac_srcdir=$srcdir$ac_dir_suffix;
   1720     ac_top_srcdir=$srcdir
   1721     ac_abs_top_srcdir=$srcdir ;;
   1722   *) # Relative name.
   1723     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1724     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1725     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1726 esac
   1727 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1728 
   1729     cd "$ac_dir" || { ac_status=$?; continue; }
   1730     # Check for guested configure.
   1731     if test -f "$ac_srcdir/configure.gnu"; then
   1732       echo &&
   1733       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1734     elif test -f "$ac_srcdir/configure"; then
   1735       echo &&
   1736       $SHELL "$ac_srcdir/configure" --help=recursive
   1737     else
   1738       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1739     fi || ac_status=$?
   1740     cd "$ac_pwd" || { ac_status=$?; break; }
   1741   done
   1742 fi
   1743 
   1744 test -n "$ac_init_help" && exit $ac_status
   1745 if $ac_init_version; then
   1746   cat <<\_ACEOF
   1747 configure
   1748 generated by GNU Autoconf 2.69
   1749 
   1750 Copyright (C) 2012 Free Software Foundation, Inc.
   1751 This configure script is free software; the Free Software Foundation
   1752 gives unlimited permission to copy, distribute and modify it.
   1753 _ACEOF
   1754   exit
   1755 fi
   1756 
   1757 ## ------------------------ ##
   1758 ## Autoconf initialization. ##
   1759 ## ------------------------ ##
   1760 
   1761 # ac_fn_c_try_compile LINENO
   1762 # --------------------------
   1763 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1764 ac_fn_c_try_compile ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   rm -f conftest.$ac_objext
   1768   if { { ac_try="$ac_compile"
   1769 case "(($ac_try" in
   1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1771   *) ac_try_echo=$ac_try;;
   1772 esac
   1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1774 $as_echo "$ac_try_echo"; } >&5
   1775   (eval "$ac_compile") 2>conftest.err
   1776   ac_status=$?
   1777   if test -s conftest.err; then
   1778     grep -v '^ *+' conftest.err >conftest.er1
   1779     cat conftest.er1 >&5
   1780     mv -f conftest.er1 conftest.err
   1781   fi
   1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1783   test $ac_status = 0; } && {
   1784 	 test -z "$ac_c_werror_flag" ||
   1785 	 test ! -s conftest.err
   1786        } && test -s conftest.$ac_objext; then :
   1787   ac_retval=0
   1788 else
   1789   $as_echo "$as_me: failed program was:" >&5
   1790 sed 's/^/| /' conftest.$ac_ext >&5
   1791 
   1792 	ac_retval=1
   1793 fi
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795   as_fn_set_status $ac_retval
   1796 
   1797 } # ac_fn_c_try_compile
   1798 
   1799 # ac_fn_cxx_try_compile LINENO
   1800 # ----------------------------
   1801 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1802 ac_fn_cxx_try_compile ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   rm -f conftest.$ac_objext
   1806   if { { ac_try="$ac_compile"
   1807 case "(($ac_try" in
   1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809   *) ac_try_echo=$ac_try;;
   1810 esac
   1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812 $as_echo "$ac_try_echo"; } >&5
   1813   (eval "$ac_compile") 2>conftest.err
   1814   ac_status=$?
   1815   if test -s conftest.err; then
   1816     grep -v '^ *+' conftest.err >conftest.er1
   1817     cat conftest.er1 >&5
   1818     mv -f conftest.er1 conftest.err
   1819   fi
   1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821   test $ac_status = 0; } && {
   1822 	 test -z "$ac_cxx_werror_flag" ||
   1823 	 test ! -s conftest.err
   1824        } && test -s conftest.$ac_objext; then :
   1825   ac_retval=0
   1826 else
   1827   $as_echo "$as_me: failed program was:" >&5
   1828 sed 's/^/| /' conftest.$ac_ext >&5
   1829 
   1830 	ac_retval=1
   1831 fi
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833   as_fn_set_status $ac_retval
   1834 
   1835 } # ac_fn_cxx_try_compile
   1836 
   1837 # ac_fn_cxx_try_link LINENO
   1838 # -------------------------
   1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1840 ac_fn_cxx_try_link ()
   1841 {
   1842   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1843   rm -f conftest.$ac_objext conftest$ac_exeext
   1844   if { { ac_try="$ac_link"
   1845 case "(($ac_try" in
   1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1847   *) ac_try_echo=$ac_try;;
   1848 esac
   1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1850 $as_echo "$ac_try_echo"; } >&5
   1851   (eval "$ac_link") 2>conftest.err
   1852   ac_status=$?
   1853   if test -s conftest.err; then
   1854     grep -v '^ *+' conftest.err >conftest.er1
   1855     cat conftest.er1 >&5
   1856     mv -f conftest.er1 conftest.err
   1857   fi
   1858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1859   test $ac_status = 0; } && {
   1860 	 test -z "$ac_cxx_werror_flag" ||
   1861 	 test ! -s conftest.err
   1862        } && test -s conftest$ac_exeext && {
   1863 	 test "$cross_compiling" = yes ||
   1864 	 test -x conftest$ac_exeext
   1865        }; then :
   1866   ac_retval=0
   1867 else
   1868   $as_echo "$as_me: failed program was:" >&5
   1869 sed 's/^/| /' conftest.$ac_ext >&5
   1870 
   1871 	ac_retval=1
   1872 fi
   1873   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1874   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1875   # interfere with the next link command; also delete a directory that is
   1876   # left behind by Apple's compiler.  We do this before executing the actions.
   1877   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1878   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1879   as_fn_set_status $ac_retval
   1880 
   1881 } # ac_fn_cxx_try_link
   1882 
   1883 # ac_fn_c_try_link LINENO
   1884 # -----------------------
   1885 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1886 ac_fn_c_try_link ()
   1887 {
   1888   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1889   rm -f conftest.$ac_objext conftest$ac_exeext
   1890   if { { ac_try="$ac_link"
   1891 case "(($ac_try" in
   1892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1893   *) ac_try_echo=$ac_try;;
   1894 esac
   1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1896 $as_echo "$ac_try_echo"; } >&5
   1897   (eval "$ac_link") 2>conftest.err
   1898   ac_status=$?
   1899   if test -s conftest.err; then
   1900     grep -v '^ *+' conftest.err >conftest.er1
   1901     cat conftest.er1 >&5
   1902     mv -f conftest.er1 conftest.err
   1903   fi
   1904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1905   test $ac_status = 0; } && {
   1906 	 test -z "$ac_c_werror_flag" ||
   1907 	 test ! -s conftest.err
   1908        } && test -s conftest$ac_exeext && {
   1909 	 test "$cross_compiling" = yes ||
   1910 	 test -x conftest$ac_exeext
   1911        }; then :
   1912   ac_retval=0
   1913 else
   1914   $as_echo "$as_me: failed program was:" >&5
   1915 sed 's/^/| /' conftest.$ac_ext >&5
   1916 
   1917 	ac_retval=1
   1918 fi
   1919   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1920   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1921   # interfere with the next link command; also delete a directory that is
   1922   # left behind by Apple's compiler.  We do this before executing the actions.
   1923   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1924   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1925   as_fn_set_status $ac_retval
   1926 
   1927 } # ac_fn_c_try_link
   1928 
   1929 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1930 # ---------------------------------------------
   1931 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1932 # accordingly.
   1933 ac_fn_c_check_decl ()
   1934 {
   1935   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1936   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1937   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1939 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1940 if eval \${$3+:} false; then :
   1941   $as_echo_n "(cached) " >&6
   1942 else
   1943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1944 /* end confdefs.h.  */
   1945 $4
   1946 int
   1947 main ()
   1948 {
   1949 #ifndef $as_decl_name
   1950 #ifdef __cplusplus
   1951   (void) $as_decl_use;
   1952 #else
   1953   (void) $as_decl_name;
   1954 #endif
   1955 #endif
   1956 
   1957   ;
   1958   return 0;
   1959 }
   1960 _ACEOF
   1961 if ac_fn_c_try_compile "$LINENO"; then :
   1962   eval "$3=yes"
   1963 else
   1964   eval "$3=no"
   1965 fi
   1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1967 fi
   1968 eval ac_res=\$$3
   1969 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1970 $as_echo "$ac_res" >&6; }
   1971   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1972 
   1973 } # ac_fn_c_check_decl
   1974 cat >config.log <<_ACEOF
   1975 This file contains any messages produced by compilers while
   1976 running configure, to aid debugging if configure makes a mistake.
   1977 
   1978 It was created by $as_me, which was
   1979 generated by GNU Autoconf 2.69.  Invocation command line was
   1980 
   1981   $ $0 $@
   1982 
   1983 _ACEOF
   1984 exec 5>>config.log
   1985 {
   1986 cat <<_ASUNAME
   1987 ## --------- ##
   1988 ## Platform. ##
   1989 ## --------- ##
   1990 
   1991 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1992 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1993 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1994 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1995 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1996 
   1997 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1998 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1999 
   2000 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2001 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2002 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2003 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2004 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2005 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2006 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2007 
   2008 _ASUNAME
   2009 
   2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2011 for as_dir in $PATH
   2012 do
   2013   IFS=$as_save_IFS
   2014   test -z "$as_dir" && as_dir=.
   2015     $as_echo "PATH: $as_dir"
   2016   done
   2017 IFS=$as_save_IFS
   2018 
   2019 } >&5
   2020 
   2021 cat >&5 <<_ACEOF
   2022 
   2023 
   2024 ## ----------- ##
   2025 ## Core tests. ##
   2026 ## ----------- ##
   2027 
   2028 _ACEOF
   2029 
   2030 
   2031 # Keep a trace of the command line.
   2032 # Strip out --no-create and --no-recursion so they do not pile up.
   2033 # Strip out --silent because we don't want to record it for future runs.
   2034 # Also quote any args containing shell meta-characters.
   2035 # Make two passes to allow for proper duplicate-argument suppression.
   2036 ac_configure_args=
   2037 ac_configure_args0=
   2038 ac_configure_args1=
   2039 ac_must_keep_next=false
   2040 for ac_pass in 1 2
   2041 do
   2042   for ac_arg
   2043   do
   2044     case $ac_arg in
   2045     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2046     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2047     | -silent | --silent | --silen | --sile | --sil)
   2048       continue ;;
   2049     *\'*)
   2050       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2051     esac
   2052     case $ac_pass in
   2053     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2054     2)
   2055       as_fn_append ac_configure_args1 " '$ac_arg'"
   2056       if test $ac_must_keep_next = true; then
   2057 	ac_must_keep_next=false # Got value, back to normal.
   2058       else
   2059 	case $ac_arg in
   2060 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2061 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2062 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2063 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2064 	    case "$ac_configure_args0 " in
   2065 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2066 	    esac
   2067 	    ;;
   2068 	  -* ) ac_must_keep_next=true ;;
   2069 	esac
   2070       fi
   2071       as_fn_append ac_configure_args " '$ac_arg'"
   2072       ;;
   2073     esac
   2074   done
   2075 done
   2076 { ac_configure_args0=; unset ac_configure_args0;}
   2077 { ac_configure_args1=; unset ac_configure_args1;}
   2078 
   2079 # When interrupted or exit'd, cleanup temporary files, and complete
   2080 # config.log.  We remove comments because anyway the quotes in there
   2081 # would cause problems or look ugly.
   2082 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2083 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2084 trap 'exit_status=$?
   2085   # Save into config.log some information that might help in debugging.
   2086   {
   2087     echo
   2088 
   2089     $as_echo "## ---------------- ##
   2090 ## Cache variables. ##
   2091 ## ---------------- ##"
   2092     echo
   2093     # The following way of writing the cache mishandles newlines in values,
   2094 (
   2095   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2096     eval ac_val=\$$ac_var
   2097     case $ac_val in #(
   2098     *${as_nl}*)
   2099       case $ac_var in #(
   2100       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2102       esac
   2103       case $ac_var in #(
   2104       _ | IFS | as_nl) ;; #(
   2105       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2106       *) { eval $ac_var=; unset $ac_var;} ;;
   2107       esac ;;
   2108     esac
   2109   done
   2110   (set) 2>&1 |
   2111     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2112     *${as_nl}ac_space=\ *)
   2113       sed -n \
   2114 	"s/'\''/'\''\\\\'\'''\''/g;
   2115 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2116       ;; #(
   2117     *)
   2118       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2119       ;;
   2120     esac |
   2121     sort
   2122 )
   2123     echo
   2124 
   2125     $as_echo "## ----------------- ##
   2126 ## Output variables. ##
   2127 ## ----------------- ##"
   2128     echo
   2129     for ac_var in $ac_subst_vars
   2130     do
   2131       eval ac_val=\$$ac_var
   2132       case $ac_val in
   2133       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2134       esac
   2135       $as_echo "$ac_var='\''$ac_val'\''"
   2136     done | sort
   2137     echo
   2138 
   2139     if test -n "$ac_subst_files"; then
   2140       $as_echo "## ------------------- ##
   2141 ## File substitutions. ##
   2142 ## ------------------- ##"
   2143       echo
   2144       for ac_var in $ac_subst_files
   2145       do
   2146 	eval ac_val=\$$ac_var
   2147 	case $ac_val in
   2148 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2149 	esac
   2150 	$as_echo "$ac_var='\''$ac_val'\''"
   2151       done | sort
   2152       echo
   2153     fi
   2154 
   2155     if test -s confdefs.h; then
   2156       $as_echo "## ----------- ##
   2157 ## confdefs.h. ##
   2158 ## ----------- ##"
   2159       echo
   2160       cat confdefs.h
   2161       echo
   2162     fi
   2163     test "$ac_signal" != 0 &&
   2164       $as_echo "$as_me: caught signal $ac_signal"
   2165     $as_echo "$as_me: exit $exit_status"
   2166   } >&5
   2167   rm -f core *.core core.conftest.* &&
   2168     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2169     exit $exit_status
   2170 ' 0
   2171 for ac_signal in 1 2 13 15; do
   2172   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2173 done
   2174 ac_signal=0
   2175 
   2176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2177 rm -f -r conftest* confdefs.h
   2178 
   2179 $as_echo "/* confdefs.h */" > confdefs.h
   2180 
   2181 # Predefined preprocessor variables.
   2182 
   2183 cat >>confdefs.h <<_ACEOF
   2184 #define PACKAGE_NAME "$PACKAGE_NAME"
   2185 _ACEOF
   2186 
   2187 cat >>confdefs.h <<_ACEOF
   2188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2189 _ACEOF
   2190 
   2191 cat >>confdefs.h <<_ACEOF
   2192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2193 _ACEOF
   2194 
   2195 cat >>confdefs.h <<_ACEOF
   2196 #define PACKAGE_STRING "$PACKAGE_STRING"
   2197 _ACEOF
   2198 
   2199 cat >>confdefs.h <<_ACEOF
   2200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2201 _ACEOF
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_URL "$PACKAGE_URL"
   2205 _ACEOF
   2206 
   2207 
   2208 # Let the site file select an alternate cache file if it wants to.
   2209 # Prefer an explicitly selected file to automatically selected ones.
   2210 ac_site_file1=NONE
   2211 ac_site_file2=NONE
   2212 if test -n "$CONFIG_SITE"; then
   2213   # We do not want a PATH search for config.site.
   2214   case $CONFIG_SITE in #((
   2215     -*)  ac_site_file1=./$CONFIG_SITE;;
   2216     */*) ac_site_file1=$CONFIG_SITE;;
   2217     *)   ac_site_file1=./$CONFIG_SITE;;
   2218   esac
   2219 elif test "x$prefix" != xNONE; then
   2220   ac_site_file1=$prefix/share/config.site
   2221   ac_site_file2=$prefix/etc/config.site
   2222 else
   2223   ac_site_file1=$ac_default_prefix/share/config.site
   2224   ac_site_file2=$ac_default_prefix/etc/config.site
   2225 fi
   2226 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2227 do
   2228   test "x$ac_site_file" = xNONE && continue
   2229   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2230     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2231 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2232     sed 's/^/| /' "$ac_site_file" >&5
   2233     . "$ac_site_file" \
   2234       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2236 as_fn_error $? "failed to load site script $ac_site_file
   2237 See \`config.log' for more details" "$LINENO" 5; }
   2238   fi
   2239 done
   2240 
   2241 if test -r "$cache_file"; then
   2242   # Some versions of bash will fail to source /dev/null (special files
   2243   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2244   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2245     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2246 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2247     case $cache_file in
   2248       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2249       *)                      . "./$cache_file";;
   2250     esac
   2251   fi
   2252 else
   2253   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2254 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2255   >$cache_file
   2256 fi
   2257 
   2258 # Check that the precious variables saved in the cache have kept the same
   2259 # value.
   2260 ac_cache_corrupted=false
   2261 for ac_var in $ac_precious_vars; do
   2262   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2263   eval ac_new_set=\$ac_env_${ac_var}_set
   2264   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2265   eval ac_new_val=\$ac_env_${ac_var}_value
   2266   case $ac_old_set,$ac_new_set in
   2267     set,)
   2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2269 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2270       ac_cache_corrupted=: ;;
   2271     ,set)
   2272       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2273 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2274       ac_cache_corrupted=: ;;
   2275     ,);;
   2276     *)
   2277       if test "x$ac_old_val" != "x$ac_new_val"; then
   2278 	# differences in whitespace do not lead to failure.
   2279 	ac_old_val_w=`echo x $ac_old_val`
   2280 	ac_new_val_w=`echo x $ac_new_val`
   2281 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2282 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2283 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2284 	  ac_cache_corrupted=:
   2285 	else
   2286 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2287 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2288 	  eval $ac_var=\$ac_old_val
   2289 	fi
   2290 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2291 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2292 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2293 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2294       fi;;
   2295   esac
   2296   # Pass precious variables to config.status.
   2297   if test "$ac_new_set" = set; then
   2298     case $ac_new_val in
   2299     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2300     *) ac_arg=$ac_var=$ac_new_val ;;
   2301     esac
   2302     case " $ac_configure_args " in
   2303       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2304       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2305     esac
   2306   fi
   2307 done
   2308 if $ac_cache_corrupted; then
   2309   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2311   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2312 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2313   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2314 fi
   2315 ## -------------------- ##
   2316 ## Main body of script. ##
   2317 ## -------------------- ##
   2318 
   2319 ac_ext=c
   2320 ac_cpp='$CPP $CPPFLAGS'
   2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2324 
   2325 
   2326 
   2327 
   2328 
   2329 
   2330 
   2331 
   2332 progname=$0
   2333 # if PWD already has a value, it is probably wrong.
   2334 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
   2335 
   2336 # Export original configure arguments for use by sub-configures.
   2337 # Quote arguments with shell meta charatcers.
   2338 TOPLEVEL_CONFIGURE_ARGUMENTS=
   2339 set -- "$progname" "$@"
   2340 for ac_arg
   2341 do
   2342   case "$ac_arg" in
   2343   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
   2344     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
   2345     # if the argument is of the form -foo=baz, quote the baz part only
   2346     ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
   2347   *) ;;
   2348   esac
   2349   # Add the quoted argument to the list.
   2350   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
   2351 done
   2352 if test "$silent" = yes; then
   2353   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
   2354 fi
   2355 # Remove the initial space we just introduced and, as these will be
   2356 # expanded by make, quote '$'.
   2357 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   2358 
   2359 
   2360 # Find the build, host, and target systems.
   2361 ac_aux_dir=
   2362 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2363   if test -f "$ac_dir/install-sh"; then
   2364     ac_aux_dir=$ac_dir
   2365     ac_install_sh="$ac_aux_dir/install-sh -c"
   2366     break
   2367   elif test -f "$ac_dir/install.sh"; then
   2368     ac_aux_dir=$ac_dir
   2369     ac_install_sh="$ac_aux_dir/install.sh -c"
   2370     break
   2371   elif test -f "$ac_dir/shtool"; then
   2372     ac_aux_dir=$ac_dir
   2373     ac_install_sh="$ac_aux_dir/shtool install -c"
   2374     break
   2375   fi
   2376 done
   2377 if test -z "$ac_aux_dir"; then
   2378   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2379 fi
   2380 
   2381 # These three variables are undocumented and unsupported,
   2382 # and are intended to be withdrawn in a future Autoconf release.
   2383 # They can cause serious problems if a builder's source tree is in a directory
   2384 # whose full name contains unusual characters.
   2385 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2386 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2387 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2388 
   2389 
   2390 # Make sure we can run config.sub.
   2391 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2392   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2393 
   2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2395 $as_echo_n "checking build system type... " >&6; }
   2396 if ${ac_cv_build+:} false; then :
   2397   $as_echo_n "(cached) " >&6
   2398 else
   2399   ac_build_alias=$build_alias
   2400 test "x$ac_build_alias" = x &&
   2401   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2402 test "x$ac_build_alias" = x &&
   2403   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2404 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2405   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2406 
   2407 fi
   2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2409 $as_echo "$ac_cv_build" >&6; }
   2410 case $ac_cv_build in
   2411 *-*-*) ;;
   2412 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2413 esac
   2414 build=$ac_cv_build
   2415 ac_save_IFS=$IFS; IFS='-'
   2416 set x $ac_cv_build
   2417 shift
   2418 build_cpu=$1
   2419 build_vendor=$2
   2420 shift; shift
   2421 # Remember, the first character of IFS is used to create $*,
   2422 # except with old shells:
   2423 build_os=$*
   2424 IFS=$ac_save_IFS
   2425 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2426 
   2427 
   2428  case ${build_alias} in
   2429   "") build_noncanonical=${build} ;;
   2430   *) build_noncanonical=${build_alias} ;;
   2431 esac
   2432 
   2433 
   2434 
   2435  case ${host_alias} in
   2436   "") host_noncanonical=${build_noncanonical} ;;
   2437   *) host_noncanonical=${host_alias} ;;
   2438 esac
   2439 
   2440 
   2441 
   2442  case ${target_alias} in
   2443   "") target_noncanonical=${host_noncanonical} ;;
   2444   *) target_noncanonical=${target_alias} ;;
   2445 esac
   2446 
   2447 
   2448 
   2449 
   2450 test "$host_noncanonical" = "$target_noncanonical" &&
   2451   test "$program_prefix$program_suffix$program_transform_name" = \
   2452     NONENONEs,x,x, &&
   2453   program_transform_name=s,y,y,
   2454 
   2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2456 $as_echo_n "checking host system type... " >&6; }
   2457 if ${ac_cv_host+:} false; then :
   2458   $as_echo_n "(cached) " >&6
   2459 else
   2460   if test "x$host_alias" = x; then
   2461   ac_cv_host=$ac_cv_build
   2462 else
   2463   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2464     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2465 fi
   2466 
   2467 fi
   2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2469 $as_echo "$ac_cv_host" >&6; }
   2470 case $ac_cv_host in
   2471 *-*-*) ;;
   2472 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2473 esac
   2474 host=$ac_cv_host
   2475 ac_save_IFS=$IFS; IFS='-'
   2476 set x $ac_cv_host
   2477 shift
   2478 host_cpu=$1
   2479 host_vendor=$2
   2480 shift; shift
   2481 # Remember, the first character of IFS is used to create $*,
   2482 # except with old shells:
   2483 host_os=$*
   2484 IFS=$ac_save_IFS
   2485 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2486 
   2487 
   2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2489 $as_echo_n "checking target system type... " >&6; }
   2490 if ${ac_cv_target+:} false; then :
   2491   $as_echo_n "(cached) " >&6
   2492 else
   2493   if test "x$target_alias" = x; then
   2494   ac_cv_target=$ac_cv_host
   2495 else
   2496   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2497     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2498 fi
   2499 
   2500 fi
   2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2502 $as_echo "$ac_cv_target" >&6; }
   2503 case $ac_cv_target in
   2504 *-*-*) ;;
   2505 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2506 esac
   2507 target=$ac_cv_target
   2508 ac_save_IFS=$IFS; IFS='-'
   2509 set x $ac_cv_target
   2510 shift
   2511 target_cpu=$1
   2512 target_vendor=$2
   2513 shift; shift
   2514 # Remember, the first character of IFS is used to create $*,
   2515 # except with old shells:
   2516 target_os=$*
   2517 IFS=$ac_save_IFS
   2518 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2519 
   2520 
   2521 # The aliases save the names the user supplied, while $host etc.
   2522 # will get canonicalized.
   2523 test -n "$target_alias" &&
   2524   test "$program_prefix$program_suffix$program_transform_name" = \
   2525     NONENONEs,x,x, &&
   2526   program_prefix=${target_alias}-
   2527 
   2528 test "$program_prefix" != NONE &&
   2529   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2530 # Use a double $ so make ignores it.
   2531 test "$program_suffix" != NONE &&
   2532   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2533 # Double any \ or $.
   2534 # By default was `s,x,x', remove it if useless.
   2535 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2536 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2537 
   2538 
   2539 
   2540 # Get 'install' or 'install-sh' and its variants.
   2541 # Find a good install program.  We prefer a C program (faster),
   2542 # so one script is as good as another.  But avoid the broken or
   2543 # incompatible versions:
   2544 # SysV /etc/install, /usr/sbin/install
   2545 # SunOS /usr/etc/install
   2546 # IRIX /sbin/install
   2547 # AIX /bin/install
   2548 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2549 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2550 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2551 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2552 # OS/2's system install, which has a completely different semantic
   2553 # ./install, which can be erroneously created by make from ./install.sh.
   2554 # Reject install programs that cannot install multiple files.
   2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2556 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2557 if test -z "$INSTALL"; then
   2558 if ${ac_cv_path_install+:} false; then :
   2559   $as_echo_n "(cached) " >&6
   2560 else
   2561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2562 for as_dir in $PATH
   2563 do
   2564   IFS=$as_save_IFS
   2565   test -z "$as_dir" && as_dir=.
   2566     # Account for people who put trailing slashes in PATH elements.
   2567 case $as_dir/ in #((
   2568   ./ | .// | /[cC]/* | \
   2569   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2570   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2571   /usr/ucb/* ) ;;
   2572   *)
   2573     # OSF1 and SCO ODT 3.0 have their own names for install.
   2574     # Don't use installbsd from OSF since it installs stuff as root
   2575     # by default.
   2576     for ac_prog in ginstall scoinst install; do
   2577       for ac_exec_ext in '' $ac_executable_extensions; do
   2578 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2579 	  if test $ac_prog = install &&
   2580 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2581 	    # AIX install.  It has an incompatible calling convention.
   2582 	    :
   2583 	  elif test $ac_prog = install &&
   2584 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2585 	    # program-specific install script used by HP pwplus--don't use.
   2586 	    :
   2587 	  else
   2588 	    rm -rf conftest.one conftest.two conftest.dir
   2589 	    echo one > conftest.one
   2590 	    echo two > conftest.two
   2591 	    mkdir conftest.dir
   2592 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2593 	      test -s conftest.one && test -s conftest.two &&
   2594 	      test -s conftest.dir/conftest.one &&
   2595 	      test -s conftest.dir/conftest.two
   2596 	    then
   2597 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2598 	      break 3
   2599 	    fi
   2600 	  fi
   2601 	fi
   2602       done
   2603     done
   2604     ;;
   2605 esac
   2606 
   2607   done
   2608 IFS=$as_save_IFS
   2609 
   2610 rm -rf conftest.one conftest.two conftest.dir
   2611 
   2612 fi
   2613   if test "${ac_cv_path_install+set}" = set; then
   2614     INSTALL=$ac_cv_path_install
   2615   else
   2616     # As a last resort, use the slow shell script.  Don't cache a
   2617     # value for INSTALL within a source directory, because that will
   2618     # break other packages using the cache if that directory is
   2619     # removed, or if the value is a relative name.
   2620     INSTALL=$ac_install_sh
   2621   fi
   2622 fi
   2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2624 $as_echo "$INSTALL" >&6; }
   2625 
   2626 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2627 # It thinks the first close brace ends the variable substitution.
   2628 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2629 
   2630 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2631 
   2632 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2633 
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
   2635 $as_echo_n "checking whether ln works... " >&6; }
   2636 if ${acx_cv_prog_LN+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   rm -f conftestdata_t
   2640 echo >conftestdata_f
   2641 if ln conftestdata_f conftestdata_t 2>/dev/null
   2642 then
   2643   acx_cv_prog_LN=ln
   2644 else
   2645   acx_cv_prog_LN=no
   2646 fi
   2647 rm -f conftestdata_f conftestdata_t
   2648 
   2649 fi
   2650 if test $acx_cv_prog_LN = no; then
   2651   LN="cp"
   2652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
   2653 $as_echo "no, using $LN" >&6; }
   2654 else
   2655   LN="$acx_cv_prog_LN"
   2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2657 $as_echo "yes" >&6; }
   2658 fi
   2659 
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   2661 $as_echo_n "checking whether ln -s works... " >&6; }
   2662 LN_S=$as_ln_s
   2663 if test "$LN_S" = "ln -s"; then
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2665 $as_echo "yes" >&6; }
   2666 else
   2667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   2668 $as_echo "no, using $LN_S" >&6; }
   2669 fi
   2670 
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   2672 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   2673 if ${ac_cv_path_SED+:} false; then :
   2674   $as_echo_n "(cached) " >&6
   2675 else
   2676             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   2677      for ac_i in 1 2 3 4 5 6 7; do
   2678        ac_script="$ac_script$as_nl$ac_script"
   2679      done
   2680      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   2681      { ac_script=; unset ac_script;}
   2682      if test -z "$SED"; then
   2683   ac_path_SED_found=false
   2684   # Loop through the user's path and test for each of PROGNAME-LIST
   2685   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2686 for as_dir in $PATH
   2687 do
   2688   IFS=$as_save_IFS
   2689   test -z "$as_dir" && as_dir=.
   2690     for ac_prog in sed gsed; do
   2691     for ac_exec_ext in '' $ac_executable_extensions; do
   2692       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   2693       as_fn_executable_p "$ac_path_SED" || continue
   2694 # Check for GNU ac_path_SED and select it if it is found.
   2695   # Check for GNU $ac_path_SED
   2696 case `"$ac_path_SED" --version 2>&1` in
   2697 *GNU*)
   2698   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   2699 *)
   2700   ac_count=0
   2701   $as_echo_n 0123456789 >"conftest.in"
   2702   while :
   2703   do
   2704     cat "conftest.in" "conftest.in" >"conftest.tmp"
   2705     mv "conftest.tmp" "conftest.in"
   2706     cp "conftest.in" "conftest.nl"
   2707     $as_echo '' >> "conftest.nl"
   2708     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   2709     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   2710     as_fn_arith $ac_count + 1 && ac_count=$as_val
   2711     if test $ac_count -gt ${ac_path_SED_max-0}; then
   2712       # Best one so far, save it but keep looking for a better one
   2713       ac_cv_path_SED="$ac_path_SED"
   2714       ac_path_SED_max=$ac_count
   2715     fi
   2716     # 10*(2^10) chars as input seems more than enough
   2717     test $ac_count -gt 10 && break
   2718   done
   2719   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   2720 esac
   2721 
   2722       $ac_path_SED_found && break 3
   2723     done
   2724   done
   2725   done
   2726 IFS=$as_save_IFS
   2727   if test -z "$ac_cv_path_SED"; then
   2728     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   2729   fi
   2730 else
   2731   ac_cv_path_SED=$SED
   2732 fi
   2733 
   2734 fi
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   2736 $as_echo "$ac_cv_path_SED" >&6; }
   2737  SED="$ac_cv_path_SED"
   2738   rm -f conftest.sed
   2739 
   2740 for ac_prog in gawk mawk nawk awk
   2741 do
   2742   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2743 set dummy $ac_prog; ac_word=$2
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2745 $as_echo_n "checking for $ac_word... " >&6; }
   2746 if ${ac_cv_prog_AWK+:} false; then :
   2747   $as_echo_n "(cached) " >&6
   2748 else
   2749   if test -n "$AWK"; then
   2750   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2751 else
   2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2753 for as_dir in $PATH
   2754 do
   2755   IFS=$as_save_IFS
   2756   test -z "$as_dir" && as_dir=.
   2757     for ac_exec_ext in '' $ac_executable_extensions; do
   2758   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2759     ac_cv_prog_AWK="$ac_prog"
   2760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2761     break 2
   2762   fi
   2763 done
   2764   done
   2765 IFS=$as_save_IFS
   2766 
   2767 fi
   2768 fi
   2769 AWK=$ac_cv_prog_AWK
   2770 if test -n "$AWK"; then
   2771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2772 $as_echo "$AWK" >&6; }
   2773 else
   2774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2775 $as_echo "no" >&6; }
   2776 fi
   2777 
   2778 
   2779   test -n "$AWK" && break
   2780 done
   2781 
   2782 
   2783 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
   2784 
   2785 # We pass INSTALL explicitly to sub-makes.  Make sure that it is not
   2786 # a relative path.
   2787 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
   2788   INSTALL="${srcpwd}/install-sh -c"
   2789 fi
   2790 
   2791 # Set srcdir to "." if that's what it is.
   2792 # This is important for multilib support.
   2793 pwd=`${PWDCMD-pwd}`
   2794 if test "${pwd}" = "${srcpwd}" ; then
   2795   srcdir=.
   2796 fi
   2797 
   2798 topsrcdir=$srcpwd
   2799 
   2800 extra_host_args=
   2801 
   2802 ### To add a new directory to the tree, first choose whether it is a target
   2803 ### or a host dependent tool.  Then put it into the appropriate list
   2804 ### (library or tools, host or target), doing a dependency sort.
   2805 
   2806 # Subdirs will be configured in the order listed in build_configdirs,
   2807 # configdirs, or target_configdirs; see the serialization section below.
   2808 
   2809 # Dependency sorting is only needed when *configuration* must be done in
   2810 # a particular order.  In all cases a dependency should be specified in
   2811 # the Makefile, whether or not it's implicitly specified here.
   2812 
   2813 # Double entries in build_configdirs, configdirs, or target_configdirs may
   2814 # cause circular dependencies and break everything horribly.
   2815 
   2816 # these library is used by various programs built for the build
   2817 # environment
   2818 #
   2819 build_libs="build-libiberty build-libcpp"
   2820 
   2821 # these tools are built for the build environment
   2822 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
   2823 
   2824 # these libraries are used by various programs built for the host environment
   2825 #f
   2826 host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
   2827 
   2828 # these tools are built for the host environment
   2829 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
   2830 # know that we are building the simulator.
   2831 # binutils, gas and ld appear in that order because it makes sense to run
   2832 # "make check" in that particular order.
   2833 # If --enable-gold is used, "gold" may replace "ld".
   2834 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"
   2835 
   2836 # these libraries are built for the target environment, and are built after
   2837 # the host libraries and the host tools (which may be a cross compiler)
   2838 # Note that libiberty is not a target library.
   2839 target_libraries="target-libgcc \
   2840 		target-libbacktrace \
   2841 		target-libgloss \
   2842 		target-newlib \
   2843 		target-libgomp \
   2844 		target-liboffloadmic \
   2845 		target-libhsail-rt \
   2846 		target-libatomic \
   2847 		target-libitm \
   2848 		target-libstdc++-v3 \
   2849 		target-libsanitizer \
   2850 		target-libvtv \
   2851 		target-libssp \
   2852 		target-libquadmath \
   2853 		target-libgfortran \
   2854 		target-libffi \
   2855 		target-libobjc \
   2856 		target-libada \
   2857 		target-libgo"
   2858 
   2859 # these tools are built using the target libraries, and are intended to
   2860 # run only in the target environment
   2861 #
   2862 # note: any program that *uses* libraries that are in the "target_libraries"
   2863 # list belongs in this list.
   2864 #
   2865 target_tools="target-rda"
   2866 
   2867 ################################################################################
   2868 
   2869 ## All tools belong in one of the four categories, and are assigned above
   2870 ## We assign ${configdirs} this way to remove all embedded newlines.  This
   2871 ## is important because configure will choke if they ever get through.
   2872 ## ${configdirs} is directories we build using the host tools.
   2873 ## ${target_configdirs} is directories we build using the target tools.
   2874 configdirs=`echo ${host_libs} ${host_tools}`
   2875 target_configdirs=`echo ${target_libraries} ${target_tools}`
   2876 build_configdirs=`echo ${build_libs} ${build_tools}`
   2877 
   2878 
   2879 
   2880 ################################################################################
   2881 
   2882 srcname="gnu development package"
   2883 
   2884 # This gets set non-empty for some net releases of packages.
   2885 appdirs=""
   2886 
   2887 # Define is_cross_compiler to save on calls to 'test'.
   2888 is_cross_compiler=
   2889 if test x"${host}" = x"${target}" ; then
   2890   is_cross_compiler=no
   2891 else
   2892   is_cross_compiler=yes
   2893 fi
   2894 
   2895 # Find the build and target subdir names.
   2896 
   2897 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
   2898 # have matching libraries, they should use host libraries: Makefile.tpl
   2899 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
   2900 # However, they still use the build modules, because the corresponding
   2901 # host modules (e.g. bison) are only built for the host when bootstrap
   2902 # finishes. So:
   2903 # - build_subdir is where we find build modules, and never changes.
   2904 # - build_libsubdir is where we find build libraries, and can be overridden.
   2905 
   2906 # Prefix 'build-' so this never conflicts with target_subdir.
   2907 build_subdir="build-${build_noncanonical}"
   2908 
   2909 # Check whether --with-build-libsubdir was given.
   2910 if test "${with_build_libsubdir+set}" = set; then :
   2911   withval=$with_build_libsubdir; build_libsubdir="$withval"
   2912 else
   2913   build_libsubdir="$build_subdir"
   2914 fi
   2915 
   2916 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
   2917 if ( test $srcdir = . && test -d gcc ) \
   2918    || test -d $srcdir/../host-${host_noncanonical}; then
   2919   host_subdir="host-${host_noncanonical}"
   2920 else
   2921   host_subdir=.
   2922 fi
   2923 # No prefix.
   2924 target_subdir=${target_noncanonical}
   2925 
   2926 # Be sure to cover against remnants of an in-tree build.
   2927 if test $srcdir != .  && test -d $srcdir/host-${host_noncanonical}; then
   2928   as_fn_error $? "building out of tree but $srcdir contains host-${host_noncanonical}.
   2929 Use a pristine source tree when building in a separate tree" "$LINENO" 5
   2930 fi
   2931 
   2932 # Skipdirs are removed silently.
   2933 skipdirs=
   2934 # Noconfigdirs are removed loudly.
   2935 noconfigdirs=""
   2936 
   2937 use_gnu_ld=
   2938 # Make sure we don't let GNU ld be added if we didn't want it.
   2939 if test x$with_gnu_ld = xno ; then
   2940   use_gnu_ld=no
   2941   noconfigdirs="$noconfigdirs ld gold"
   2942 fi
   2943 
   2944 use_gnu_as=
   2945 # Make sure we don't let GNU as be added if we didn't want it.
   2946 if test x$with_gnu_as = xno ; then
   2947   use_gnu_as=no
   2948   noconfigdirs="$noconfigdirs gas"
   2949 fi
   2950 
   2951 use_included_zlib=
   2952 
   2953 # Check whether --with-system-zlib was given.
   2954 if test "${with_system_zlib+set}" = set; then :
   2955   withval=$with_system_zlib;
   2956 fi
   2957 
   2958 # Make sure we don't let ZLIB be added if we didn't want it.
   2959 if test x$with_system_zlib = xyes ; then
   2960   use_included_zlib=no
   2961   noconfigdirs="$noconfigdirs zlib"
   2962 fi
   2963 
   2964 # Don't compile the bundled readline/libreadline.a if --with-system-readline
   2965 # is provided.
   2966 if test x$with_system_readline = xyes ; then
   2967   noconfigdirs="$noconfigdirs readline"
   2968 fi
   2969 
   2970 # some tools are so dependent upon X11 that if we're not building with X,
   2971 # it's not even worth trying to configure, much less build, that tool.
   2972 
   2973 case ${with_x} in
   2974   yes | "") ;; # the default value for this tree is that X11 is available
   2975   no)
   2976     skipdirs="${skipdirs} tk itcl libgui"
   2977     # We won't be able to build gdbtk without X.
   2978     enable_gdbtk=no
   2979     ;;
   2980   *)  echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
   2981 esac
   2982 
   2983 # Some are only suitable for cross toolchains.
   2984 # Remove these if host=target.
   2985 cross_only="target-libgloss target-newlib target-opcodes"
   2986 
   2987 case $is_cross_compiler in
   2988   no) skipdirs="${skipdirs} ${cross_only}" ;;
   2989 esac
   2990 
   2991 # If both --with-headers and --with-libs are specified, default to
   2992 # --without-newlib.
   2993 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
   2994    && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   2995   if test x"${with_newlib}" = x ; then
   2996     with_newlib=no
   2997   fi
   2998 fi
   2999 
   3000 # Recognize --with-newlib/--without-newlib.
   3001 case ${with_newlib} in
   3002   no) skipdirs="${skipdirs} target-newlib" ;;
   3003   yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
   3004 esac
   3005 
   3006 # Check whether --enable-as-accelerator-for was given.
   3007 if test "${enable_as_accelerator_for+set}" = set; then :
   3008   enableval=$enable_as_accelerator_for;
   3009 fi
   3010 
   3011 
   3012 # Check whether --enable-offload-targets was given.
   3013 if test "${enable_offload_targets+set}" = set; then :
   3014   enableval=$enable_offload_targets;
   3015   if test x"$enable_offload_targets" = x; then
   3016     as_fn_error $? "no offload targets specified" "$LINENO" 5
   3017   fi
   3018 
   3019 else
   3020   enable_offload_targets=
   3021 fi
   3022 
   3023 
   3024 # Handle --enable-gold, --enable-ld.
   3025 # --disable-gold [--enable-ld]
   3026 #     Build only ld.  Default option.
   3027 # --enable-gold [--enable-ld]
   3028 #     Build both gold and ld.  Install gold as "ld.gold", install ld
   3029 #     as "ld.bfd" and "ld".
   3030 # --enable-gold=default [--enable-ld]
   3031 #     Build both gold and ld.  Install gold as "ld.gold" and "ld",
   3032 #     install ld as "ld.bfd".
   3033 # --enable-gold[=default] --disable-ld
   3034 #     Build only gold, which is then installed as both "ld.gold" and "ld".
   3035 # --enable-gold --enable-ld=default
   3036 #     Build both gold (installed as "ld.gold") and ld (installed as "ld"
   3037 #     and ld.bfd).
   3038 #     In other words, ld is default
   3039 # --enable-gold=default --enable-ld=default
   3040 #     Error.
   3041 
   3042 default_ld=
   3043 # Check whether --enable-gold was given.
   3044 if test "${enable_gold+set}" = set; then :
   3045   enableval=$enable_gold; ENABLE_GOLD=$enableval
   3046 else
   3047   ENABLE_GOLD=no
   3048 fi
   3049 
   3050 case "${ENABLE_GOLD}" in
   3051   yes|default)
   3052     # Check for ELF target.
   3053     is_elf=no
   3054     case "${target}" in
   3055       *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
   3056       | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
   3057       | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
   3058       | *-*-solaris2* | *-*-nto* | *-*-nacl*)
   3059         case "${target}" in
   3060           *-*-linux*aout* | *-*-linux*oldld*)
   3061             ;;
   3062           *)
   3063             is_elf=yes
   3064             ;;
   3065         esac
   3066     esac
   3067 
   3068     if test "$is_elf" = "yes"; then
   3069       # Check for target supported by gold.
   3070       case "${target}" in
   3071         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
   3072         | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*)
   3073 	  configdirs="$configdirs gold"
   3074 	  if test x${ENABLE_GOLD} = xdefault; then
   3075 	    default_ld=gold
   3076 	  fi
   3077 	  ENABLE_GOLD=yes
   3078           ;;
   3079       esac
   3080     fi
   3081     ;;
   3082   no)
   3083     ;;
   3084   *)
   3085     as_fn_error $? "invalid --enable-gold argument" "$LINENO" 5
   3086     ;;
   3087 esac
   3088 
   3089 # Check whether --enable-ld was given.
   3090 if test "${enable_ld+set}" = set; then :
   3091   enableval=$enable_ld; ENABLE_LD=$enableval
   3092 else
   3093   ENABLE_LD=yes
   3094 fi
   3095 
   3096 
   3097 case "${ENABLE_LD}" in
   3098   default)
   3099     if test x${default_ld} != x; then
   3100       as_fn_error $? "either gold or ld can be the default ld" "$LINENO" 5
   3101     fi
   3102     ;;
   3103   yes)
   3104     ;;
   3105   no)
   3106     if test x${ENABLE_GOLD} != xyes; then
   3107       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
   3108 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
   3109     fi
   3110     configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
   3111     ;;
   3112   *)
   3113     as_fn_error $? "invalid --enable-ld argument" "$LINENO" 5
   3114     ;;
   3115 esac
   3116 
   3117 # PR gas/19109
   3118 # Decide the default method for compressing debug sections.
   3119 # Provide a configure time option to override our default.
   3120 # Check whether --enable-compressed_debug_sections was given.
   3121 if test "${enable_compressed_debug_sections+set}" = set; then :
   3122   enableval=$enable_compressed_debug_sections;
   3123   if test x"$enable_compressed_debug_sections" = xyes; then
   3124     as_fn_error $? "no program with compressed debug sections specified" "$LINENO" 5
   3125   fi
   3126 
   3127 else
   3128   enable_compressed_debug_sections=
   3129 fi
   3130 
   3131 
   3132 # Configure extra directories which are host specific
   3133 
   3134 case "${host}" in
   3135   *-cygwin*)
   3136     configdirs="$configdirs libtermcap" ;;
   3137 esac
   3138 
   3139 # A target can indicate whether a language isn't supported for some reason.
   3140 # Only spaces may be used in this macro; not newlines or tabs.
   3141 unsupported_languages=
   3142 
   3143 # Remove more programs from consideration, based on the host or
   3144 # target this usually means that a port of the program doesn't
   3145 # exist yet.
   3146 
   3147 case "${host}" in
   3148   i[3456789]86-*-msdosdjgpp*)
   3149     noconfigdirs="$noconfigdirs tcl tk itcl"
   3150     ;;
   3151 esac
   3152 
   3153 
   3154 # Check whether --enable-libquadmath was given.
   3155 if test "${enable_libquadmath+set}" = set; then :
   3156   enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
   3157 else
   3158   ENABLE_LIBQUADMATH=yes
   3159 fi
   3160 
   3161 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
   3162   noconfigdirs="$noconfigdirs target-libquadmath"
   3163 fi
   3164 
   3165 
   3166 # Check whether --enable-libquadmath-support was given.
   3167 if test "${enable_libquadmath_support+set}" = set; then :
   3168   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
   3169 else
   3170   ENABLE_LIBQUADMATH_SUPPORT=yes
   3171 fi
   3172 
   3173 enable_libquadmath_support=
   3174 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
   3175   enable_libquadmath_support=no
   3176 fi
   3177 
   3178 
   3179 # Check whether --enable-libada was given.
   3180 if test "${enable_libada+set}" = set; then :
   3181   enableval=$enable_libada; ENABLE_LIBADA=$enableval
   3182 else
   3183   ENABLE_LIBADA=yes
   3184 fi
   3185 
   3186 if test "${ENABLE_LIBADA}" != "yes" ; then
   3187   noconfigdirs="$noconfigdirs gnattools"
   3188 fi
   3189 
   3190 # Check whether --enable-libssp was given.
   3191 if test "${enable_libssp+set}" = set; then :
   3192   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
   3193 else
   3194   ENABLE_LIBSSP=yes
   3195 fi
   3196 
   3197 
   3198 # Check whether --enable-libstdcxx was given.
   3199 if test "${enable_libstdcxx+set}" = set; then :
   3200   enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
   3201 else
   3202   ENABLE_LIBSTDCXX=default
   3203 fi
   3204 
   3205 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
   3206   noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3207 fi
   3208 
   3209 # If this is accelerator compiler and its target is intelmic we enable
   3210 # target liboffloadmic by default.  If this is compiler with offloading
   3211 # for intelmic we enable host liboffloadmic by default.  Otherwise
   3212 # liboffloadmic is disabled by default.
   3213 # Check whether --enable-liboffloadmic was given.
   3214 if test "${enable_liboffloadmic+set}" = set; then :
   3215   enableval=$enable_liboffloadmic; case "$enableval" in
   3216   no | host | target)
   3217     enable_liboffloadmic=$enableval ;;
   3218   *)
   3219     as_fn_error $? "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
   3220 esac
   3221 else
   3222   if test x"$enable_as_accelerator_for" != x; then
   3223   case "${target}" in
   3224     *-intelmic-* | *-intelmicemul-*)
   3225       enable_liboffloadmic=target
   3226       extra_liboffloadmic_configure_flags="--enable-liboffloadmic=target"
   3227       ;;
   3228     *)
   3229       enable_liboffloadmic=no
   3230       ;;
   3231   esac
   3232 else
   3233   case "${enable_offload_targets}" in
   3234     *-intelmic-* | *-intelmicemul-*)
   3235       enable_liboffloadmic=host
   3236       extra_liboffloadmic_configure_flags="--enable-liboffloadmic=host"
   3237       ;;
   3238     *)
   3239       enable_liboffloadmic=no
   3240       ;;
   3241     esac
   3242 fi
   3243 fi
   3244 
   3245 
   3246 
   3247 # Enable libgomp by default on hosted POSIX systems, and a few others.
   3248 if test x$enable_libgomp = x ; then
   3249     case "${target}" in
   3250     *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3251 	;;
   3252     *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
   3253 	;;
   3254     *-*-solaris2* | *-*-hpux11*)
   3255 	;;
   3256     *-*-darwin* | *-*-aix*)
   3257 	;;
   3258     nvptx*-*-*)
   3259 	;;
   3260     *)
   3261 	noconfigdirs="$noconfigdirs target-libgomp"
   3262 	;;
   3263     esac
   3264 fi
   3265 
   3266 # Disable libatomic on unsupported systems.
   3267 if test -d ${srcdir}/libatomic; then
   3268     if test x$enable_libatomic = x; then
   3269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
   3270 $as_echo_n "checking for libatomic support... " >&6; }
   3271 	if (srcdir=${srcdir}/libatomic; \
   3272 		. ${srcdir}/configure.tgt; \
   3273 		test -n "$UNSUPPORTED")
   3274 	then
   3275 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3276 $as_echo "no" >&6; }
   3277 	    noconfigdirs="$noconfigdirs target-libatomic"
   3278 	else
   3279 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3280 $as_echo "yes" >&6; }
   3281 	fi
   3282     fi
   3283 fi
   3284 
   3285 # Disable liboffloadmic on unsupported systems.
   3286 if test -d ${srcdir}/liboffloadmic; then
   3287     if test x$enable_liboffloadmic != xno; then
   3288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
   3289 $as_echo_n "checking for liboffloadmic support... " >&6; }
   3290 	if (srcdir=${srcdir}/liboffloadmic; \
   3291 		. ${srcdir}/configure.tgt; \
   3292 		test -n "$UNSUPPORTED")
   3293 	then
   3294 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3295 $as_echo "no" >&6; }
   3296 	    noconfigdirs="$noconfigdirs target-liboffloadmic"
   3297 	else
   3298 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3299 $as_echo "yes" >&6; }
   3300 	fi
   3301     fi
   3302 fi
   3303 
   3304 # Disable libitm on unsupported systems.
   3305 if test -d ${srcdir}/libitm; then
   3306     if test x$enable_libitm = x; then
   3307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
   3308 $as_echo_n "checking for libitm support... " >&6; }
   3309 	if (srcdir=${srcdir}/libitm; \
   3310 		. ${srcdir}/configure.tgt; \
   3311 		test -n "$UNSUPPORTED")
   3312 	then
   3313 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3314 $as_echo "no" >&6; }
   3315 	    noconfigdirs="$noconfigdirs target-libitm"
   3316 	else
   3317 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3318 $as_echo "yes" >&6; }
   3319 	fi
   3320     fi
   3321 fi
   3322 
   3323 # Disable libsanitizer on unsupported systems.
   3324 if test -d ${srcdir}/libsanitizer; then
   3325     if test x$enable_libsanitizer = x; then
   3326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
   3327 $as_echo_n "checking for libsanitizer support... " >&6; }
   3328 	if (srcdir=${srcdir}/libsanitizer; \
   3329 		. ${srcdir}/configure.tgt; \
   3330 		test -n "$UNSUPPORTED")
   3331 	then
   3332 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3333 $as_echo "no" >&6; }
   3334 	    noconfigdirs="$noconfigdirs target-libsanitizer"
   3335 	else
   3336 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3337 $as_echo "yes" >&6; }
   3338 	fi
   3339     fi
   3340 fi
   3341 
   3342 # Disable libvtv on unsupported systems.
   3343 if test -d ${srcdir}/libvtv; then
   3344     if test x$enable_libvtv = x; then
   3345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
   3346 $as_echo_n "checking for libvtv support... " >&6; }
   3347 	if (srcdir=${srcdir}/libvtv; \
   3348 		. ${srcdir}/configure.tgt; \
   3349 		test "$VTV_SUPPORTED" != "yes")
   3350 	then
   3351 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3352 $as_echo "no" >&6; }
   3353 	    noconfigdirs="$noconfigdirs target-libvtv"
   3354 	else
   3355 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3356 $as_echo "yes" >&6; }
   3357 	fi
   3358     fi
   3359 fi
   3360 
   3361 
   3362 # Disable libhsail-rt on unsupported systems.
   3363 if test -d ${srcdir}/libhsail-rt; then
   3364     if test x$enable_libhsail_rt = x; then
   3365         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
   3366 $as_echo_n "checking for libhsail-rt support... " >&6; }
   3367         if (srcdir=${srcdir}/libhsail-rt; \
   3368                 . ${srcdir}/configure.tgt; \
   3369                 test -n "$UNSUPPORTED")
   3370         then
   3371             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3372 $as_echo "no" >&6; }
   3373             unsupported_languages="$unsupported_languages brig"
   3374             # This implicitly disables also target-libhsail-rt as it won't
   3375             # get added to the build without BRIG FE.
   3376         else
   3377             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3378 $as_echo "yes" >&6; }
   3379         fi
   3380     fi
   3381 fi
   3382 
   3383 
   3384 # Disable libquadmath for some systems.
   3385 case "${target}" in
   3386   avr-*-*)
   3387     noconfigdirs="$noconfigdirs target-libquadmath"
   3388     ;;
   3389   # libquadmath is unused on AIX and libquadmath build process use of
   3390   # LD_LIBRARY_PATH can break AIX bootstrap.
   3391   powerpc-*-aix* | rs6000-*-aix*)
   3392     noconfigdirs="$noconfigdirs target-libquadmath"
   3393     ;;
   3394 esac
   3395 
   3396 # Disable libssp for some systems.
   3397 case "${target}" in
   3398   avr-*-*)
   3399     # No hosted I/O support.
   3400     noconfigdirs="$noconfigdirs target-libssp"
   3401     ;;
   3402   powerpc-*-aix* | rs6000-*-aix*)
   3403     noconfigdirs="$noconfigdirs target-libssp"
   3404     ;;
   3405   rl78-*-*)
   3406     # libssp uses a misaligned load to trigger a fault, but the RL78
   3407     # doesn't fault for those - instead, it gives a build-time error
   3408     # for explicit misaligned loads.
   3409     noconfigdirs="$noconfigdirs target-libssp"
   3410     ;;
   3411   visium-*-*)
   3412     # No hosted I/O support.
   3413     noconfigdirs="$noconfigdirs target-libssp"
   3414     ;;
   3415 esac
   3416 
   3417 # Disable libstdc++-v3 for some systems.
   3418 # Allow user to override this if they pass --enable-libstdc++-v3
   3419 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
   3420   case "${target}" in
   3421     *-*-vxworks*)
   3422       # VxWorks uses the Dinkumware C++ library.
   3423       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3424       ;;
   3425     arm*-wince-pe*)
   3426       # the C++ libraries don't build on top of CE's C libraries
   3427       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3428       ;;
   3429     avr-*-*)
   3430       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3431       ;;
   3432     ft32-*-*)
   3433       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3434       ;;
   3435   esac
   3436 fi
   3437 
   3438 # Disable Fortran for some systems.
   3439 case "${target}" in
   3440   mmix-*-*)
   3441     # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
   3442     unsupported_languages="$unsupported_languages fortran"
   3443     ;;
   3444 esac
   3445 
   3446 # Disable libffi for some systems.
   3447 case "${target}" in
   3448   powerpc-*-darwin*)
   3449     ;;
   3450   i[3456789]86-*-darwin*)
   3451     ;;
   3452   x86_64-*-darwin[912]*)
   3453     ;;
   3454   *-*-darwin*)
   3455     noconfigdirs="$noconfigdirs target-libffi"
   3456     ;;
   3457   *-*-netware*)
   3458     noconfigdirs="$noconfigdirs target-libffi"
   3459     ;;
   3460   *-*-phoenix*)
   3461     noconfigdirs="$noconfigdirs target-libffi"
   3462     ;;
   3463   *-*-rtems*)
   3464     noconfigdirs="$noconfigdirs target-libffi"
   3465     ;;
   3466   *-*-tpf*)
   3467     noconfigdirs="$noconfigdirs target-libffi"
   3468     ;;
   3469   *-*-uclinux*)
   3470     noconfigdirs="$noconfigdirs target-libffi"
   3471     ;;
   3472   *-*-vxworks*)
   3473     noconfigdirs="$noconfigdirs target-libffi"
   3474     ;;
   3475   aarch64*-*-freebsd*)
   3476     noconfigdirs="$noconfigdirs target-libffi"
   3477     ;;
   3478   alpha*-*-*vms*)
   3479     noconfigdirs="$noconfigdirs target-libffi"
   3480     ;;
   3481   arm*-*-freebsd*)
   3482     noconfigdirs="$noconfigdirs target-libffi"
   3483     ;;
   3484   arm-wince-pe)
   3485     noconfigdirs="$noconfigdirs target-libffi"
   3486     ;;
   3487   arm*-*-symbianelf*)
   3488     noconfigdirs="$noconfigdirs target-libffi"
   3489     ;;
   3490   cris-*-* | crisv32-*-*)
   3491     case "${target}" in
   3492       *-*-linux*)
   3493 	;;
   3494       *) # See PR46792 regarding target-libffi.
   3495 	noconfigdirs="$noconfigdirs target-libffi";;
   3496     esac
   3497     ;;
   3498   hppa*64*-*-hpux*)
   3499     noconfigdirs="$noconfigdirs target-libffi"
   3500     ;;
   3501   hppa*-hp-hpux11*)
   3502     ;;
   3503   hppa*-*-hpux*)
   3504     noconfigdirs="$noconfigdirs target-libffi"
   3505     ;;
   3506   ia64*-*-*vms*)
   3507     noconfigdirs="$noconfigdirs target-libffi"
   3508     ;;
   3509   i[3456789]86-w64-mingw*)
   3510     noconfigdirs="$noconfigdirs target-libffi"
   3511     ;;
   3512   i[3456789]86-*-mingw*)
   3513     noconfigdirs="$noconfigdirs target-libffi"
   3514     ;;
   3515   x86_64-*-mingw*)
   3516     noconfigdirs="$noconfigdirs target-libffi"
   3517     ;;
   3518   mmix-*-*)
   3519     noconfigdirs="$noconfigdirs target-libffi"
   3520     ;;
   3521   powerpc-*-aix*)
   3522     ;;
   3523   rs6000-*-aix*)
   3524     ;;
   3525   ft32-*-*)
   3526     noconfigdirs="$noconfigdirs target-libffi"
   3527     ;;
   3528   *-*-lynxos*)
   3529     noconfigdirs="$noconfigdirs target-libffi"
   3530     ;;
   3531 esac
   3532 
   3533 # Disable the go frontend on systems where it is known to not work. Please keep
   3534 # this in sync with contrib/config-list.mk.
   3535 case "${target}" in
   3536 *-*-darwin* | *-*-cygwin* | *-*-mingw*)
   3537     unsupported_languages="$unsupported_languages go"
   3538     ;;
   3539 esac
   3540 
   3541 # Disable libgo for some systems where it is known to not work.
   3542 # For testing, you can easily override this with --enable-libgo.
   3543 if test x$enable_libgo = x; then
   3544     case "${target}" in
   3545     *-*-darwin*)
   3546 	# PR 46986
   3547 	noconfigdirs="$noconfigdirs target-libgo"
   3548 	;;
   3549     *-*-cygwin* | *-*-mingw*)
   3550 	noconfigdirs="$noconfigdirs target-libgo"
   3551 	;;
   3552     esac
   3553 fi
   3554 
   3555 # Default libgloss CPU subdirectory.
   3556 libgloss_dir="$target_cpu"
   3557 
   3558 case "${target}" in
   3559   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3560     libgloss_dir=wince
   3561     ;;
   3562   aarch64*-*-* )
   3563     libgloss_dir=aarch64
   3564     ;;
   3565   arm*-*-*)
   3566     libgloss_dir=arm
   3567     ;;
   3568   cris-*-* | crisv32-*-*)
   3569     libgloss_dir=cris
   3570     ;;
   3571   hppa*-*-*)
   3572     libgloss_dir=pa
   3573     ;;
   3574   i[3456789]86-*-*)
   3575     libgloss_dir=i386
   3576     ;;
   3577   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
   3578     libgloss_dir=m68hc11
   3579     ;;
   3580   m68*-*-* | fido-*-*)
   3581     libgloss_dir=m68k
   3582     ;;
   3583   mips*-*-*)
   3584     libgloss_dir=mips
   3585     ;;
   3586   powerpc*-*-*)
   3587     libgloss_dir=rs6000
   3588     ;;
   3589   sparc*-*-*)
   3590     libgloss_dir=sparc
   3591     ;;
   3592 esac
   3593 
   3594 # Disable newlib and libgloss for various target OSes.
   3595 case "${target}" in
   3596   alpha*-dec-osf*)
   3597     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3598     ;;
   3599   i[3456789]86-*-linux*)
   3600     # This section makes it possible to build newlib natively on linux.
   3601     # If we are using a cross compiler then don't configure newlib.
   3602     if test x${is_cross_compiler} != xno ; then
   3603       noconfigdirs="$noconfigdirs target-newlib"
   3604     fi
   3605     noconfigdirs="$noconfigdirs target-libgloss"
   3606     # If we are not using a cross compiler, do configure newlib.
   3607     # Note however, that newlib will only be configured in this situation
   3608     # if the --with-newlib option has been given, because otherwise
   3609     # 'target-newlib' will appear in skipdirs.
   3610     ;;
   3611   i[3456789]86-*-rdos*)
   3612     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3613     ;;
   3614   sh*-*-pe|mips*-*-pe|arm-wince-pe)
   3615     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3616     ;;
   3617   sparc-*-sunos4*)
   3618     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3619     ;;
   3620   *-*-aix*)
   3621     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3622     ;;
   3623   *-*-beos*)
   3624     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3625     ;;
   3626   *-*-chorusos)
   3627     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3628     ;;
   3629   *-*-dragonfly*)
   3630     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3631     ;;
   3632   *-*-freebsd*)
   3633     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3634     ;;
   3635   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3636     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3637     ;;
   3638   *-*-lynxos*)
   3639     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3640     ;;
   3641   *-*-mingw*)
   3642     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3643     ;;
   3644   *-*-netbsd*)
   3645     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3646     ;;
   3647   *-*-netware*)
   3648     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3649     ;;
   3650   *-*-tpf*)
   3651     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3652     ;;
   3653   *-*-uclinux*)
   3654     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3655     ;;
   3656   *-*-vxworks*)
   3657     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3658     ;;
   3659 esac
   3660 
   3661 case "${target}" in
   3662   *-*-chorusos)
   3663     ;;
   3664   aarch64-*-darwin*)
   3665     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3666     noconfigdirs="$noconfigdirs sim target-rda"
   3667     ;;
   3668   arm-*-darwin*)
   3669     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3670     noconfigdirs="$noconfigdirs sim target-rda"
   3671     ;;
   3672   powerpc-*-darwin*)
   3673     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3674     noconfigdirs="$noconfigdirs sim target-rda"
   3675     ;;
   3676   i[3456789]86-*-darwin*)
   3677     noconfigdirs="$noconfigdirs ld gprof"
   3678     noconfigdirs="$noconfigdirs sim target-rda"
   3679     ;;
   3680   x86_64-*-darwin[912]*)
   3681     noconfigdirs="$noconfigdirs ld gas gprof"
   3682     noconfigdirs="$noconfigdirs sim target-rda"
   3683     ;;
   3684   *-*-darwin*)
   3685     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3686     noconfigdirs="$noconfigdirs sim target-rda"
   3687     ;;
   3688   *-*-dragonfly*)
   3689     ;;
   3690   *-*-freebsd*)
   3691     if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
   3692 	&& test -f /usr/local/include/gmp.h; then
   3693       with_gmp=/usr/local
   3694     fi
   3695     ;;
   3696   *-*-kaos*)
   3697     # Remove unsupported stuff on all kaOS configurations.
   3698     noconfigdirs="$noconfigdirs target-libgloss"
   3699     ;;
   3700   *-*-netbsd*)
   3701     ;;
   3702   *-*-netware*)
   3703     ;;
   3704   *-*-phoenix*)
   3705     noconfigdirs="$noconfigdirs target-libgloss"
   3706     ;;
   3707   *-*-rtems*)
   3708     noconfigdirs="$noconfigdirs target-libgloss"
   3709     ;;
   3710     # The tpf target doesn't support gdb yet.
   3711   *-*-tpf*)
   3712     noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
   3713     ;;
   3714   *-*-uclinux*)
   3715     noconfigdirs="$noconfigdirs target-rda"
   3716     ;;
   3717   *-*-vxworks*)
   3718     ;;
   3719   alpha*-dec-osf*)
   3720     # ld works, but does not support shared libraries.
   3721     # gas doesn't generate exception information.
   3722     noconfigdirs="$noconfigdirs gas ld"
   3723     ;;
   3724   alpha*-*-*vms*)
   3725     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
   3726     ;;
   3727   alpha*-*-*)
   3728     # newlib is not 64 bit ready
   3729     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3730     ;;
   3731   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3732     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
   3733     ;;
   3734   arc*-*-*)
   3735     noconfigdirs="$noconfigdirs sim"
   3736     ;;
   3737   arm-*-pe*)
   3738     noconfigdirs="$noconfigdirs target-libgloss"
   3739     ;;
   3740   arm-*-riscix*)
   3741     noconfigdirs="$noconfigdirs ld target-libgloss"
   3742     ;;
   3743   avr-*-*)
   3744     if test x${with_avrlibc} != xno; then
   3745       noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3746     fi
   3747     ;;
   3748   c4x-*-* | tic4x-*-*)
   3749     noconfigdirs="$noconfigdirs target-libgloss"
   3750     ;;
   3751   tic54x-*-*)
   3752     noconfigdirs="$noconfigdirs target-libgloss gdb"
   3753     ;;
   3754   d10v-*-*)
   3755     noconfigdirs="$noconfigdirs target-libgloss"
   3756     ;;
   3757   d30v-*-*)
   3758     noconfigdirs="$noconfigdirs gdb"
   3759     ;;
   3760   fr30-*-elf*)
   3761     noconfigdirs="$noconfigdirs gdb"
   3762     ;;
   3763   ft32-*-*)
   3764     noconfigdirs="$noconfigdirs target-rda gprof"
   3765     ;;
   3766   moxie-*-*)
   3767     noconfigdirs="$noconfigdirs"
   3768     ;;
   3769   h8300*-*-*)
   3770     noconfigdirs="$noconfigdirs target-libgloss"
   3771     ;;
   3772   h8500-*-*)
   3773     noconfigdirs="$noconfigdirs target-libgloss"
   3774     ;;
   3775   hppa1.1-*-osf* | hppa1.1-*-bsd* )
   3776     ;;
   3777   hppa*64*-*-hpux*)
   3778     noconfigdirs="$noconfigdirs gdb"
   3779     ;;
   3780   hppa*-*-hpux11*)
   3781     noconfigdirs="$noconfigdirs gdb ld"
   3782     ;;
   3783   hppa*64*-*-linux*)
   3784     ;;
   3785   hppa*-*-linux*)
   3786     ;;
   3787   hppa*-*-*elf* | \
   3788   hppa*-*-lites* | \
   3789   hppa*-*-openbsd* | \
   3790   hppa*64*-*-*)
   3791     ;;
   3792   hppa*-*-pro*)
   3793     ;;
   3794   hppa*-*-*)
   3795     noconfigdirs="$noconfigdirs ld"
   3796     ;;
   3797   i960-*-*)
   3798     noconfigdirs="$noconfigdirs gdb"
   3799     ;;
   3800   ia64*-*-elf*)
   3801     # No gdb support yet.
   3802     noconfigdirs="$noconfigdirs readline libgui itcl gdb"
   3803     ;;
   3804   ia64*-**-hpux*)
   3805     # No ld support yet.
   3806     noconfigdirs="$noconfigdirs gdb libgui itcl ld"
   3807     ;;
   3808   ia64*-*-*vms*)
   3809     # No ld support yet.
   3810     noconfigdirs="$noconfigdirs libgui itcl ld"
   3811     ;;
   3812   i[3456789]86-w64-mingw*)
   3813     ;;
   3814   i[3456789]86-*-mingw*)
   3815     target_configdirs="$target_configdirs target-winsup"
   3816     ;;
   3817   *-*-cygwin*)
   3818     target_configdirs="$target_configdirs target-libtermcap target-winsup"
   3819     noconfigdirs="$noconfigdirs target-libgloss"
   3820     # always build newlib if winsup directory is present.
   3821     if test -d "$srcdir/winsup/cygwin"; then
   3822       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3823     elif test -d "$srcdir/newlib"; then
   3824       echo "Warning: winsup/cygwin is missing so newlib can't be built."
   3825     fi
   3826     ;;
   3827   i[3456789]86-*-pe)
   3828     noconfigdirs="$noconfigdirs target-libgloss"
   3829     ;;
   3830   i[3456789]86-*-sco3.2v5*)
   3831     # The linker does not yet know about weak symbols in COFF,
   3832     # and is not configured to handle mixed ELF and COFF.
   3833     noconfigdirs="$noconfigdirs ld target-libgloss"
   3834     ;;
   3835   i[3456789]86-*-sco*)
   3836     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3837     ;;
   3838   i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
   3839     noconfigdirs="$noconfigdirs target-libgloss"
   3840     ;;
   3841   i[3456789]86-*-sysv4*)
   3842     noconfigdirs="$noconfigdirs target-libgloss"
   3843     ;;
   3844   i[3456789]86-*-beos*)
   3845     noconfigdirs="$noconfigdirs gdb"
   3846     ;;
   3847   i[3456789]86-*-rdos*)
   3848     noconfigdirs="$noconfigdirs gdb"
   3849     ;;
   3850   mmix-*-*)
   3851     noconfigdirs="$noconfigdirs gdb"
   3852     ;;
   3853   mt-*-*)
   3854     noconfigdirs="$noconfigdirs sim"
   3855     ;;
   3856   nfp-*-*)
   3857     noconfigdirs="$noconfigdirs ld gas gdb gprof sim"
   3858     noconfigdirs="$noconfigdirs $target_libraries"
   3859     ;;
   3860   powerpc-*-aix*)
   3861     # copied from rs6000-*-* entry
   3862     noconfigdirs="$noconfigdirs gprof"
   3863     ;;
   3864   powerpc*-*-winnt* | powerpc*-*-pe*)
   3865     target_configdirs="$target_configdirs target-winsup"
   3866     noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
   3867     # always build newlib.
   3868     skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3869     ;;
   3870     # This is temporary until we can link against shared libraries
   3871   powerpcle-*-solaris*)
   3872     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
   3873     ;;
   3874   powerpc-*-beos*)
   3875     noconfigdirs="$noconfigdirs gdb"
   3876     ;;
   3877   rs6000-*-lynxos*)
   3878     noconfigdirs="$noconfigdirs gprof"
   3879     ;;
   3880   rs6000-*-aix*)
   3881     noconfigdirs="$noconfigdirs gprof"
   3882     ;;
   3883   rs6000-*-*)
   3884     noconfigdirs="$noconfigdirs gprof"
   3885     ;;
   3886   m68k-apollo-*)
   3887     noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
   3888     ;;
   3889   microblaze*)
   3890     noconfigdirs="$noconfigdirs gprof"
   3891     ;;
   3892   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   3893     if test x$with_newlib = xyes; then
   3894       noconfigdirs="$noconfigdirs gprof"
   3895     fi
   3896     ;;
   3897   mips*-*-irix5*)
   3898     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3899     ;;
   3900   mips*-*-irix6*)
   3901     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3902     ;;
   3903   mips*-*-bsd*)
   3904     noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
   3905     ;;
   3906   mips*-*-linux*)
   3907     ;;
   3908   mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
   3909   | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
   3910     noconfigdirs="$noconfigdirs ld gas gprof"
   3911     ;;
   3912   mips*-*-*)
   3913     noconfigdirs="$noconfigdirs gprof"
   3914     ;;
   3915   nvptx*-*-*)
   3916     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
   3917     ;;
   3918   sh-*-*)
   3919     case "${target}" in
   3920       sh*-*-elf)
   3921          ;;
   3922       *)
   3923          noconfigdirs="$noconfigdirs target-libgloss" ;;
   3924     esac
   3925     ;;
   3926   sparc-*-sunos4*)
   3927     if test x${is_cross_compiler} = xno ; then
   3928            use_gnu_ld=no
   3929     fi
   3930     ;;
   3931   tic6x-*-*)
   3932     noconfigdirs="$noconfigdirs sim"
   3933     ;;
   3934   tilepro*-*-* | tilegx*-*-*)
   3935     noconfigdirs="$noconfigdirs sim"
   3936     ;;
   3937   v810-*-*)
   3938     noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
   3939     ;;
   3940   vax-*-*)
   3941     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3942     ;;
   3943   wasm32-*-*)
   3944     noconfigdirs="$noconfigdirs ld"
   3945     ;;
   3946 esac
   3947 
   3948 # If we aren't building newlib, then don't build libgloss, since libgloss
   3949 # depends upon some newlib header files.
   3950 case "${noconfigdirs}" in
   3951   *target-libgloss*) ;;
   3952   *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
   3953 esac
   3954 
   3955 # Work in distributions that contain no compiler tools, like Autoconf.
   3956 host_makefile_frag=/dev/null
   3957 if test -d ${srcdir}/config ; then
   3958 case "${host}" in
   3959   i[3456789]86-*-msdosdjgpp*)
   3960     host_makefile_frag="config/mh-djgpp"
   3961     ;;
   3962   *-cygwin*)
   3963 
   3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
   3965 $as_echo_n "checking to see if cat works as expected... " >&6; }
   3966 echo a >cygwin-cat-check
   3967 if test `cat cygwin-cat-check` = a ; then
   3968   rm cygwin-cat-check
   3969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3970 $as_echo "yes" >&6; }
   3971 else
   3972   rm cygwin-cat-check
   3973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3974 $as_echo "no" >&6; }
   3975   as_fn_error $? "The cat command does not ignore carriage return characters.
   3976   Please either mount the build directory in binary mode or run the following
   3977   commands before running any configure script:
   3978 set -o igncr
   3979 export SHELLOPTS
   3980   " "$LINENO" 5
   3981 fi
   3982 
   3983     host_makefile_frag="config/mh-cygwin"
   3984     ;;
   3985   *-mingw*)
   3986     host_makefile_frag="config/mh-mingw"
   3987     ;;
   3988   alpha*-linux*)
   3989     host_makefile_frag="config/mh-alpha-linux"
   3990     ;;
   3991   hppa*-hp-hpux10*)
   3992     host_makefile_frag="config/mh-pa-hpux10"
   3993     ;;
   3994   hppa*-hp-hpux*)
   3995     host_makefile_frag="config/mh-pa"
   3996     ;;
   3997   hppa*-*)
   3998     host_makefile_frag="config/mh-pa"
   3999     ;;
   4000   *-*-darwin*)
   4001     host_makefile_frag="config/mh-darwin"
   4002     ;;
   4003   powerpc-*-aix*)
   4004     host_makefile_frag="config/mh-ppc-aix"
   4005     ;;
   4006   rs6000-*-aix*)
   4007     host_makefile_frag="config/mh-ppc-aix"
   4008     ;;
   4009 esac
   4010 fi
   4011 
   4012 if test "${build}" != "${host}" ; then
   4013   AR_FOR_BUILD=${AR_FOR_BUILD-ar}
   4014   AS_FOR_BUILD=${AS_FOR_BUILD-as}
   4015   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   4016   CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
   4017   GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
   4018   GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
   4019   DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
   4020   LD_FOR_BUILD=${LD_FOR_BUILD-ld}
   4021   NM_FOR_BUILD=${NM_FOR_BUILD-nm}
   4022   RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
   4023   WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
   4024   WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
   4025 else
   4026   AR_FOR_BUILD="\$(AR)"
   4027   AS_FOR_BUILD="\$(AS)"
   4028   CC_FOR_BUILD="\$(CC)"
   4029   CXX_FOR_BUILD="\$(CXX)"
   4030   GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
   4031   GOC_FOR_BUILD="\$(GOC)"
   4032   DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
   4033   LD_FOR_BUILD="\$(LD)"
   4034   NM_FOR_BUILD="\$(NM)"
   4035   RANLIB_FOR_BUILD="\$(RANLIB)"
   4036   WINDRES_FOR_BUILD="\$(WINDRES)"
   4037   WINDMC_FOR_BUILD="\$(WINDMC)"
   4038 fi
   4039 
   4040 ac_ext=c
   4041 ac_cpp='$CPP $CPPFLAGS'
   4042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4045 if test -n "$ac_tool_prefix"; then
   4046   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4047 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4049 $as_echo_n "checking for $ac_word... " >&6; }
   4050 if ${ac_cv_prog_CC+:} false; then :
   4051   $as_echo_n "(cached) " >&6
   4052 else
   4053   if test -n "$CC"; then
   4054   ac_cv_prog_CC="$CC" # Let the user override the test.
   4055 else
   4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4057 for as_dir in $PATH
   4058 do
   4059   IFS=$as_save_IFS
   4060   test -z "$as_dir" && as_dir=.
   4061     for ac_exec_ext in '' $ac_executable_extensions; do
   4062   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4063     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4065     break 2
   4066   fi
   4067 done
   4068   done
   4069 IFS=$as_save_IFS
   4070 
   4071 fi
   4072 fi
   4073 CC=$ac_cv_prog_CC
   4074 if test -n "$CC"; then
   4075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4076 $as_echo "$CC" >&6; }
   4077 else
   4078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4079 $as_echo "no" >&6; }
   4080 fi
   4081 
   4082 
   4083 fi
   4084 if test -z "$ac_cv_prog_CC"; then
   4085   ac_ct_CC=$CC
   4086   # Extract the first word of "gcc", so it can be a program name with args.
   4087 set dummy gcc; ac_word=$2
   4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4089 $as_echo_n "checking for $ac_word... " >&6; }
   4090 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4091   $as_echo_n "(cached) " >&6
   4092 else
   4093   if test -n "$ac_ct_CC"; then
   4094   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4095 else
   4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4097 for as_dir in $PATH
   4098 do
   4099   IFS=$as_save_IFS
   4100   test -z "$as_dir" && as_dir=.
   4101     for ac_exec_ext in '' $ac_executable_extensions; do
   4102   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4103     ac_cv_prog_ac_ct_CC="gcc"
   4104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4105     break 2
   4106   fi
   4107 done
   4108   done
   4109 IFS=$as_save_IFS
   4110 
   4111 fi
   4112 fi
   4113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4114 if test -n "$ac_ct_CC"; then
   4115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4116 $as_echo "$ac_ct_CC" >&6; }
   4117 else
   4118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4119 $as_echo "no" >&6; }
   4120 fi
   4121 
   4122   if test "x$ac_ct_CC" = x; then
   4123     CC=""
   4124   else
   4125     case $cross_compiling:$ac_tool_warned in
   4126 yes:)
   4127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4129 ac_tool_warned=yes ;;
   4130 esac
   4131     CC=$ac_ct_CC
   4132   fi
   4133 else
   4134   CC="$ac_cv_prog_CC"
   4135 fi
   4136 
   4137 if test -z "$CC"; then
   4138           if test -n "$ac_tool_prefix"; then
   4139     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4140 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4142 $as_echo_n "checking for $ac_word... " >&6; }
   4143 if ${ac_cv_prog_CC+:} false; then :
   4144   $as_echo_n "(cached) " >&6
   4145 else
   4146   if test -n "$CC"; then
   4147   ac_cv_prog_CC="$CC" # Let the user override the test.
   4148 else
   4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4150 for as_dir in $PATH
   4151 do
   4152   IFS=$as_save_IFS
   4153   test -z "$as_dir" && as_dir=.
   4154     for ac_exec_ext in '' $ac_executable_extensions; do
   4155   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4156     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4158     break 2
   4159   fi
   4160 done
   4161   done
   4162 IFS=$as_save_IFS
   4163 
   4164 fi
   4165 fi
   4166 CC=$ac_cv_prog_CC
   4167 if test -n "$CC"; then
   4168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4169 $as_echo "$CC" >&6; }
   4170 else
   4171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4172 $as_echo "no" >&6; }
   4173 fi
   4174 
   4175 
   4176   fi
   4177 fi
   4178 if test -z "$CC"; then
   4179   # Extract the first word of "cc", so it can be a program name with args.
   4180 set dummy cc; ac_word=$2
   4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4182 $as_echo_n "checking for $ac_word... " >&6; }
   4183 if ${ac_cv_prog_CC+:} false; then :
   4184   $as_echo_n "(cached) " >&6
   4185 else
   4186   if test -n "$CC"; then
   4187   ac_cv_prog_CC="$CC" # Let the user override the test.
   4188 else
   4189   ac_prog_rejected=no
   4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4191 for as_dir in $PATH
   4192 do
   4193   IFS=$as_save_IFS
   4194   test -z "$as_dir" && as_dir=.
   4195     for ac_exec_ext in '' $ac_executable_extensions; do
   4196   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4197     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4198        ac_prog_rejected=yes
   4199        continue
   4200      fi
   4201     ac_cv_prog_CC="cc"
   4202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4203     break 2
   4204   fi
   4205 done
   4206   done
   4207 IFS=$as_save_IFS
   4208 
   4209 if test $ac_prog_rejected = yes; then
   4210   # We found a bogon in the path, so make sure we never use it.
   4211   set dummy $ac_cv_prog_CC
   4212   shift
   4213   if test $# != 0; then
   4214     # We chose a different compiler from the bogus one.
   4215     # However, it has the same basename, so the bogon will be chosen
   4216     # first if we set CC to just the basename; use the full file name.
   4217     shift
   4218     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4219   fi
   4220 fi
   4221 fi
   4222 fi
   4223 CC=$ac_cv_prog_CC
   4224 if test -n "$CC"; then
   4225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4226 $as_echo "$CC" >&6; }
   4227 else
   4228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4229 $as_echo "no" >&6; }
   4230 fi
   4231 
   4232 
   4233 fi
   4234 if test -z "$CC"; then
   4235   if test -n "$ac_tool_prefix"; then
   4236   for ac_prog in cl.exe
   4237   do
   4238     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4241 $as_echo_n "checking for $ac_word... " >&6; }
   4242 if ${ac_cv_prog_CC+:} false; then :
   4243   $as_echo_n "(cached) " >&6
   4244 else
   4245   if test -n "$CC"; then
   4246   ac_cv_prog_CC="$CC" # Let the user override the test.
   4247 else
   4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4249 for as_dir in $PATH
   4250 do
   4251   IFS=$as_save_IFS
   4252   test -z "$as_dir" && as_dir=.
   4253     for ac_exec_ext in '' $ac_executable_extensions; do
   4254   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4255     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4257     break 2
   4258   fi
   4259 done
   4260   done
   4261 IFS=$as_save_IFS
   4262 
   4263 fi
   4264 fi
   4265 CC=$ac_cv_prog_CC
   4266 if test -n "$CC"; then
   4267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4268 $as_echo "$CC" >&6; }
   4269 else
   4270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4271 $as_echo "no" >&6; }
   4272 fi
   4273 
   4274 
   4275     test -n "$CC" && break
   4276   done
   4277 fi
   4278 if test -z "$CC"; then
   4279   ac_ct_CC=$CC
   4280   for ac_prog in cl.exe
   4281 do
   4282   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4283 set dummy $ac_prog; ac_word=$2
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4285 $as_echo_n "checking for $ac_word... " >&6; }
   4286 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4287   $as_echo_n "(cached) " >&6
   4288 else
   4289   if test -n "$ac_ct_CC"; then
   4290   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4291 else
   4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4293 for as_dir in $PATH
   4294 do
   4295   IFS=$as_save_IFS
   4296   test -z "$as_dir" && as_dir=.
   4297     for ac_exec_ext in '' $ac_executable_extensions; do
   4298   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4299     ac_cv_prog_ac_ct_CC="$ac_prog"
   4300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4301     break 2
   4302   fi
   4303 done
   4304   done
   4305 IFS=$as_save_IFS
   4306 
   4307 fi
   4308 fi
   4309 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4310 if test -n "$ac_ct_CC"; then
   4311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4312 $as_echo "$ac_ct_CC" >&6; }
   4313 else
   4314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4315 $as_echo "no" >&6; }
   4316 fi
   4317 
   4318 
   4319   test -n "$ac_ct_CC" && break
   4320 done
   4321 
   4322   if test "x$ac_ct_CC" = x; then
   4323     CC=""
   4324   else
   4325     case $cross_compiling:$ac_tool_warned in
   4326 yes:)
   4327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4329 ac_tool_warned=yes ;;
   4330 esac
   4331     CC=$ac_ct_CC
   4332   fi
   4333 fi
   4334 
   4335 fi
   4336 
   4337 
   4338 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4340 as_fn_error $? "no acceptable C compiler found in \$PATH
   4341 See \`config.log' for more details" "$LINENO" 5; }
   4342 
   4343 # Provide some information about the compiler.
   4344 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4345 set X $ac_compile
   4346 ac_compiler=$2
   4347 for ac_option in --version -v -V -qversion; do
   4348   { { ac_try="$ac_compiler $ac_option >&5"
   4349 case "(($ac_try" in
   4350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4351   *) ac_try_echo=$ac_try;;
   4352 esac
   4353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4354 $as_echo "$ac_try_echo"; } >&5
   4355   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4356   ac_status=$?
   4357   if test -s conftest.err; then
   4358     sed '10a\
   4359 ... rest of stderr output deleted ...
   4360          10q' conftest.err >conftest.er1
   4361     cat conftest.er1 >&5
   4362   fi
   4363   rm -f conftest.er1 conftest.err
   4364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4365   test $ac_status = 0; }
   4366 done
   4367 
   4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4369 /* end confdefs.h.  */
   4370 
   4371 int
   4372 main ()
   4373 {
   4374 
   4375   ;
   4376   return 0;
   4377 }
   4378 _ACEOF
   4379 ac_clean_files_save=$ac_clean_files
   4380 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4381 # Try to create an executable without -o first, disregard a.out.
   4382 # It will help us diagnose broken compilers, and finding out an intuition
   4383 # of exeext.
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4385 $as_echo_n "checking whether the C compiler works... " >&6; }
   4386 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4387 
   4388 # The possible output files:
   4389 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4390 
   4391 ac_rmfiles=
   4392 for ac_file in $ac_files
   4393 do
   4394   case $ac_file in
   4395     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4396     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4397   esac
   4398 done
   4399 rm -f $ac_rmfiles
   4400 
   4401 if { { ac_try="$ac_link_default"
   4402 case "(($ac_try" in
   4403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4404   *) ac_try_echo=$ac_try;;
   4405 esac
   4406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4407 $as_echo "$ac_try_echo"; } >&5
   4408   (eval "$ac_link_default") 2>&5
   4409   ac_status=$?
   4410   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4411   test $ac_status = 0; }; then :
   4412   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4413 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4414 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4415 # so that the user can short-circuit this test for compilers unknown to
   4416 # Autoconf.
   4417 for ac_file in $ac_files ''
   4418 do
   4419   test -f "$ac_file" || continue
   4420   case $ac_file in
   4421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4422 	;;
   4423     [ab].out )
   4424 	# We found the default executable, but exeext='' is most
   4425 	# certainly right.
   4426 	break;;
   4427     *.* )
   4428 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   4429 	then :; else
   4430 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4431 	fi
   4432 	# We set ac_cv_exeext here because the later test for it is not
   4433 	# safe: cross compilers may not add the suffix if given an `-o'
   4434 	# argument, so we may need to know it at that point already.
   4435 	# Even if this section looks crufty: it has the advantage of
   4436 	# actually working.
   4437 	break;;
   4438     * )
   4439 	break;;
   4440   esac
   4441 done
   4442 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4443 
   4444 else
   4445   ac_file=''
   4446 fi
   4447 if test -z "$ac_file"; then :
   4448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4449 $as_echo "no" >&6; }
   4450 $as_echo "$as_me: failed program was:" >&5
   4451 sed 's/^/| /' conftest.$ac_ext >&5
   4452 
   4453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4455 as_fn_error 77 "C compiler cannot create executables
   4456 See \`config.log' for more details" "$LINENO" 5; }
   4457 else
   4458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4459 $as_echo "yes" >&6; }
   4460 fi
   4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4462 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4464 $as_echo "$ac_file" >&6; }
   4465 ac_exeext=$ac_cv_exeext
   4466 
   4467 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4468 ac_clean_files=$ac_clean_files_save
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4470 $as_echo_n "checking for suffix of executables... " >&6; }
   4471 if { { ac_try="$ac_link"
   4472 case "(($ac_try" in
   4473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4474   *) ac_try_echo=$ac_try;;
   4475 esac
   4476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4477 $as_echo "$ac_try_echo"; } >&5
   4478   (eval "$ac_link") 2>&5
   4479   ac_status=$?
   4480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4481   test $ac_status = 0; }; then :
   4482   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4483 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4484 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4485 # `rm'.
   4486 for ac_file in conftest.exe conftest conftest.*; do
   4487   test -f "$ac_file" || continue
   4488   case $ac_file in
   4489     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4490     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4491 	  break;;
   4492     * ) break;;
   4493   esac
   4494 done
   4495 else
   4496   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4498 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4499 See \`config.log' for more details" "$LINENO" 5; }
   4500 fi
   4501 rm -f conftest conftest$ac_cv_exeext
   4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4503 $as_echo "$ac_cv_exeext" >&6; }
   4504 
   4505 rm -f conftest.$ac_ext
   4506 EXEEXT=$ac_cv_exeext
   4507 ac_exeext=$EXEEXT
   4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4509 /* end confdefs.h.  */
   4510 #include <stdio.h>
   4511 int
   4512 main ()
   4513 {
   4514 FILE *f = fopen ("conftest.out", "w");
   4515  return ferror (f) || fclose (f) != 0;
   4516 
   4517   ;
   4518   return 0;
   4519 }
   4520 _ACEOF
   4521 ac_clean_files="$ac_clean_files conftest.out"
   4522 # Check that the compiler produces executables we can run.  If not, either
   4523 # the compiler is broken, or we cross compile.
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4525 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4526 if test "$cross_compiling" != yes; then
   4527   { { ac_try="$ac_link"
   4528 case "(($ac_try" in
   4529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4530   *) ac_try_echo=$ac_try;;
   4531 esac
   4532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4533 $as_echo "$ac_try_echo"; } >&5
   4534   (eval "$ac_link") 2>&5
   4535   ac_status=$?
   4536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4537   test $ac_status = 0; }
   4538   if { ac_try='./conftest$ac_cv_exeext'
   4539   { { case "(($ac_try" in
   4540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4541   *) ac_try_echo=$ac_try;;
   4542 esac
   4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4544 $as_echo "$ac_try_echo"; } >&5
   4545   (eval "$ac_try") 2>&5
   4546   ac_status=$?
   4547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4548   test $ac_status = 0; }; }; then
   4549     cross_compiling=no
   4550   else
   4551     if test "$cross_compiling" = maybe; then
   4552 	cross_compiling=yes
   4553     else
   4554 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4556 as_fn_error $? "cannot run C compiled programs.
   4557 If you meant to cross compile, use \`--host'.
   4558 See \`config.log' for more details" "$LINENO" 5; }
   4559     fi
   4560   fi
   4561 fi
   4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4563 $as_echo "$cross_compiling" >&6; }
   4564 
   4565 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4566 ac_clean_files=$ac_clean_files_save
   4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4568 $as_echo_n "checking for suffix of object files... " >&6; }
   4569 if ${ac_cv_objext+:} false; then :
   4570   $as_echo_n "(cached) " >&6
   4571 else
   4572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4573 /* end confdefs.h.  */
   4574 
   4575 int
   4576 main ()
   4577 {
   4578 
   4579   ;
   4580   return 0;
   4581 }
   4582 _ACEOF
   4583 rm -f conftest.o conftest.obj
   4584 if { { ac_try="$ac_compile"
   4585 case "(($ac_try" in
   4586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4587   *) ac_try_echo=$ac_try;;
   4588 esac
   4589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4590 $as_echo "$ac_try_echo"; } >&5
   4591   (eval "$ac_compile") 2>&5
   4592   ac_status=$?
   4593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4594   test $ac_status = 0; }; then :
   4595   for ac_file in conftest.o conftest.obj conftest.*; do
   4596   test -f "$ac_file" || continue;
   4597   case $ac_file in
   4598     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4599     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4600        break;;
   4601   esac
   4602 done
   4603 else
   4604   $as_echo "$as_me: failed program was:" >&5
   4605 sed 's/^/| /' conftest.$ac_ext >&5
   4606 
   4607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4609 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4610 See \`config.log' for more details" "$LINENO" 5; }
   4611 fi
   4612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4613 fi
   4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4615 $as_echo "$ac_cv_objext" >&6; }
   4616 OBJEXT=$ac_cv_objext
   4617 ac_objext=$OBJEXT
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4619 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4620 if ${ac_cv_c_compiler_gnu+:} false; then :
   4621   $as_echo_n "(cached) " >&6
   4622 else
   4623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4624 /* end confdefs.h.  */
   4625 
   4626 int
   4627 main ()
   4628 {
   4629 #ifndef __GNUC__
   4630        choke me
   4631 #endif
   4632 
   4633   ;
   4634   return 0;
   4635 }
   4636 _ACEOF
   4637 if ac_fn_c_try_compile "$LINENO"; then :
   4638   ac_compiler_gnu=yes
   4639 else
   4640   ac_compiler_gnu=no
   4641 fi
   4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4643 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4644 
   4645 fi
   4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4647 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4648 if test $ac_compiler_gnu = yes; then
   4649   GCC=yes
   4650 else
   4651   GCC=
   4652 fi
   4653 ac_test_CFLAGS=${CFLAGS+set}
   4654 ac_save_CFLAGS=$CFLAGS
   4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4656 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4657 if ${ac_cv_prog_cc_g+:} false; then :
   4658   $as_echo_n "(cached) " >&6
   4659 else
   4660   ac_save_c_werror_flag=$ac_c_werror_flag
   4661    ac_c_werror_flag=yes
   4662    ac_cv_prog_cc_g=no
   4663    CFLAGS="-g"
   4664    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4665 /* end confdefs.h.  */
   4666 
   4667 int
   4668 main ()
   4669 {
   4670 
   4671   ;
   4672   return 0;
   4673 }
   4674 _ACEOF
   4675 if ac_fn_c_try_compile "$LINENO"; then :
   4676   ac_cv_prog_cc_g=yes
   4677 else
   4678   CFLAGS=""
   4679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4680 /* end confdefs.h.  */
   4681 
   4682 int
   4683 main ()
   4684 {
   4685 
   4686   ;
   4687   return 0;
   4688 }
   4689 _ACEOF
   4690 if ac_fn_c_try_compile "$LINENO"; then :
   4691 
   4692 else
   4693   ac_c_werror_flag=$ac_save_c_werror_flag
   4694 	 CFLAGS="-g"
   4695 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4696 /* end confdefs.h.  */
   4697 
   4698 int
   4699 main ()
   4700 {
   4701 
   4702   ;
   4703   return 0;
   4704 }
   4705 _ACEOF
   4706 if ac_fn_c_try_compile "$LINENO"; then :
   4707   ac_cv_prog_cc_g=yes
   4708 fi
   4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4710 fi
   4711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4712 fi
   4713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4714    ac_c_werror_flag=$ac_save_c_werror_flag
   4715 fi
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4717 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4718 if test "$ac_test_CFLAGS" = set; then
   4719   CFLAGS=$ac_save_CFLAGS
   4720 elif test $ac_cv_prog_cc_g = yes; then
   4721   if test "$GCC" = yes; then
   4722     CFLAGS="-g -O2"
   4723   else
   4724     CFLAGS="-g"
   4725   fi
   4726 else
   4727   if test "$GCC" = yes; then
   4728     CFLAGS="-O2"
   4729   else
   4730     CFLAGS=
   4731   fi
   4732 fi
   4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4734 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4735 if ${ac_cv_prog_cc_c89+:} false; then :
   4736   $as_echo_n "(cached) " >&6
   4737 else
   4738   ac_cv_prog_cc_c89=no
   4739 ac_save_CC=$CC
   4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4741 /* end confdefs.h.  */
   4742 #include <stdarg.h>
   4743 #include <stdio.h>
   4744 struct stat;
   4745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4746 struct buf { int x; };
   4747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4748 static char *e (p, i)
   4749      char **p;
   4750      int i;
   4751 {
   4752   return p[i];
   4753 }
   4754 static char *f (char * (*g) (char **, int), char **p, ...)
   4755 {
   4756   char *s;
   4757   va_list v;
   4758   va_start (v,p);
   4759   s = g (p, va_arg (v,int));
   4760   va_end (v);
   4761   return s;
   4762 }
   4763 
   4764 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4765    function prototypes and stuff, but not '\xHH' hex character constants.
   4766    These don't provoke an error unfortunately, instead are silently treated
   4767    as 'x'.  The following induces an error, until -std is added to get
   4768    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4769    array size at least.  It's necessary to write '\x00'==0 to get something
   4770    that's true only with -std.  */
   4771 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4772 
   4773 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4774    inside strings and character constants.  */
   4775 #define FOO(x) 'x'
   4776 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4777 
   4778 int test (int i, double x);
   4779 struct s1 {int (*f) (int a);};
   4780 struct s2 {int (*f) (double a);};
   4781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4782 int argc;
   4783 char **argv;
   4784 int
   4785 main ()
   4786 {
   4787 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4788   ;
   4789   return 0;
   4790 }
   4791 _ACEOF
   4792 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4793 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4794 do
   4795   CC="$ac_save_CC $ac_arg"
   4796   if ac_fn_c_try_compile "$LINENO"; then :
   4797   ac_cv_prog_cc_c89=$ac_arg
   4798 fi
   4799 rm -f core conftest.err conftest.$ac_objext
   4800   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4801 done
   4802 rm -f conftest.$ac_ext
   4803 CC=$ac_save_CC
   4804 
   4805 fi
   4806 # AC_CACHE_VAL
   4807 case "x$ac_cv_prog_cc_c89" in
   4808   x)
   4809     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4810 $as_echo "none needed" >&6; } ;;
   4811   xno)
   4812     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4813 $as_echo "unsupported" >&6; } ;;
   4814   *)
   4815     CC="$CC $ac_cv_prog_cc_c89"
   4816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4817 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4818 esac
   4819 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4820 
   4821 fi
   4822 
   4823 ac_ext=c
   4824 ac_cpp='$CPP $CPPFLAGS'
   4825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4828 
   4829 ac_ext=cpp
   4830 ac_cpp='$CXXCPP $CPPFLAGS'
   4831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4834 if test -z "$CXX"; then
   4835   if test -n "$CCC"; then
   4836     CXX=$CCC
   4837   else
   4838     if test -n "$ac_tool_prefix"; then
   4839   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4840   do
   4841     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4844 $as_echo_n "checking for $ac_word... " >&6; }
   4845 if ${ac_cv_prog_CXX+:} false; then :
   4846   $as_echo_n "(cached) " >&6
   4847 else
   4848   if test -n "$CXX"; then
   4849   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4850 else
   4851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4852 for as_dir in $PATH
   4853 do
   4854   IFS=$as_save_IFS
   4855   test -z "$as_dir" && as_dir=.
   4856     for ac_exec_ext in '' $ac_executable_extensions; do
   4857   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4858     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4860     break 2
   4861   fi
   4862 done
   4863   done
   4864 IFS=$as_save_IFS
   4865 
   4866 fi
   4867 fi
   4868 CXX=$ac_cv_prog_CXX
   4869 if test -n "$CXX"; then
   4870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   4871 $as_echo "$CXX" >&6; }
   4872 else
   4873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4874 $as_echo "no" >&6; }
   4875 fi
   4876 
   4877 
   4878     test -n "$CXX" && break
   4879   done
   4880 fi
   4881 if test -z "$CXX"; then
   4882   ac_ct_CXX=$CXX
   4883   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4884 do
   4885   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4886 set dummy $ac_prog; ac_word=$2
   4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4888 $as_echo_n "checking for $ac_word... " >&6; }
   4889 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892   if test -n "$ac_ct_CXX"; then
   4893   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4894 else
   4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4896 for as_dir in $PATH
   4897 do
   4898   IFS=$as_save_IFS
   4899   test -z "$as_dir" && as_dir=.
   4900     for ac_exec_ext in '' $ac_executable_extensions; do
   4901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4902     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4904     break 2
   4905   fi
   4906 done
   4907   done
   4908 IFS=$as_save_IFS
   4909 
   4910 fi
   4911 fi
   4912 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4913 if test -n "$ac_ct_CXX"; then
   4914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   4915 $as_echo "$ac_ct_CXX" >&6; }
   4916 else
   4917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4918 $as_echo "no" >&6; }
   4919 fi
   4920 
   4921 
   4922   test -n "$ac_ct_CXX" && break
   4923 done
   4924 
   4925   if test "x$ac_ct_CXX" = x; then
   4926     CXX="g++"
   4927   else
   4928     case $cross_compiling:$ac_tool_warned in
   4929 yes:)
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4932 ac_tool_warned=yes ;;
   4933 esac
   4934     CXX=$ac_ct_CXX
   4935   fi
   4936 fi
   4937 
   4938   fi
   4939 fi
   4940 # Provide some information about the compiler.
   4941 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   4942 set X $ac_compile
   4943 ac_compiler=$2
   4944 for ac_option in --version -v -V -qversion; do
   4945   { { ac_try="$ac_compiler $ac_option >&5"
   4946 case "(($ac_try" in
   4947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4948   *) ac_try_echo=$ac_try;;
   4949 esac
   4950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4951 $as_echo "$ac_try_echo"; } >&5
   4952   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4953   ac_status=$?
   4954   if test -s conftest.err; then
   4955     sed '10a\
   4956 ... rest of stderr output deleted ...
   4957          10q' conftest.err >conftest.er1
   4958     cat conftest.er1 >&5
   4959   fi
   4960   rm -f conftest.er1 conftest.err
   4961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4962   test $ac_status = 0; }
   4963 done
   4964 
   4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   4966 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   4967 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   4968   $as_echo_n "(cached) " >&6
   4969 else
   4970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4971 /* end confdefs.h.  */
   4972 
   4973 int
   4974 main ()
   4975 {
   4976 #ifndef __GNUC__
   4977        choke me
   4978 #endif
   4979 
   4980   ;
   4981   return 0;
   4982 }
   4983 _ACEOF
   4984 if ac_fn_cxx_try_compile "$LINENO"; then :
   4985   ac_compiler_gnu=yes
   4986 else
   4987   ac_compiler_gnu=no
   4988 fi
   4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4990 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4991 
   4992 fi
   4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   4994 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   4995 if test $ac_compiler_gnu = yes; then
   4996   GXX=yes
   4997 else
   4998   GXX=
   4999 fi
   5000 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5001 ac_save_CXXFLAGS=$CXXFLAGS
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5003 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5004 if ${ac_cv_prog_cxx_g+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5008    ac_cxx_werror_flag=yes
   5009    ac_cv_prog_cxx_g=no
   5010    CXXFLAGS="-g"
   5011    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5012 /* end confdefs.h.  */
   5013 
   5014 int
   5015 main ()
   5016 {
   5017 
   5018   ;
   5019   return 0;
   5020 }
   5021 _ACEOF
   5022 if ac_fn_cxx_try_compile "$LINENO"; then :
   5023   ac_cv_prog_cxx_g=yes
   5024 else
   5025   CXXFLAGS=""
   5026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5027 /* end confdefs.h.  */
   5028 
   5029 int
   5030 main ()
   5031 {
   5032 
   5033   ;
   5034   return 0;
   5035 }
   5036 _ACEOF
   5037 if ac_fn_cxx_try_compile "$LINENO"; then :
   5038 
   5039 else
   5040   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5041 	 CXXFLAGS="-g"
   5042 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 
   5045 int
   5046 main ()
   5047 {
   5048 
   5049   ;
   5050   return 0;
   5051 }
   5052 _ACEOF
   5053 if ac_fn_cxx_try_compile "$LINENO"; then :
   5054   ac_cv_prog_cxx_g=yes
   5055 fi
   5056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5057 fi
   5058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5059 fi
   5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5061    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5062 fi
   5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5064 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5065 if test "$ac_test_CXXFLAGS" = set; then
   5066   CXXFLAGS=$ac_save_CXXFLAGS
   5067 elif test $ac_cv_prog_cxx_g = yes; then
   5068   if test "$GXX" = yes; then
   5069     CXXFLAGS="-g -O2"
   5070   else
   5071     CXXFLAGS="-g"
   5072   fi
   5073 else
   5074   if test "$GXX" = yes; then
   5075     CXXFLAGS="-O2"
   5076   else
   5077     CXXFLAGS=
   5078   fi
   5079 fi
   5080 ac_ext=c
   5081 ac_cpp='$CPP $CPPFLAGS'
   5082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5085 
   5086 
   5087 # We must set the default linker to the linker used by gcc for the correct
   5088 # operation of libtool.  If LD is not defined and we are using gcc, try to
   5089 # set the LD default to the ld used by gcc.
   5090 if test -z "$LD"; then
   5091   if test "$GCC" = yes; then
   5092     case $build in
   5093     *-*-mingw*)
   5094       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
   5095     *)
   5096       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
   5097     esac
   5098     case $gcc_prog_ld in
   5099     # Accept absolute paths.
   5100     [\\/]* | [A-Za-z]:[\\/]*)
   5101       LD="$gcc_prog_ld" ;;
   5102     esac
   5103   fi
   5104 fi
   5105 
   5106 # Check whether -static-libstdc++ -static-libgcc is supported.
   5107 have_static_libs=no
   5108 if test "$GCC" = yes; then
   5109   saved_LDFLAGS="$LDFLAGS"
   5110 
   5111   LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
   5113 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
   5114   ac_ext=cpp
   5115 ac_cpp='$CXXCPP $CPPFLAGS'
   5116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5119 
   5120 
   5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5122 /* end confdefs.h.  */
   5123 
   5124 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
   5125 #error -static-libstdc++ not implemented
   5126 #endif
   5127 int main() {}
   5128 _ACEOF
   5129 if ac_fn_cxx_try_link "$LINENO"; then :
   5130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5131 $as_echo "yes" >&6; }; have_static_libs=yes
   5132 else
   5133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5134 $as_echo "no" >&6; }
   5135 fi
   5136 rm -f core conftest.err conftest.$ac_objext \
   5137     conftest$ac_exeext conftest.$ac_ext
   5138   ac_ext=c
   5139 ac_cpp='$CPP $CPPFLAGS'
   5140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5143 
   5144 
   5145   LDFLAGS="$saved_LDFLAGS"
   5146 fi
   5147 
   5148 
   5149 
   5150 
   5151 if test -n "$ac_tool_prefix"; then
   5152   # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
   5153 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
   5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5155 $as_echo_n "checking for $ac_word... " >&6; }
   5156 if ${ac_cv_prog_GNATBIND+:} false; then :
   5157   $as_echo_n "(cached) " >&6
   5158 else
   5159   if test -n "$GNATBIND"; then
   5160   ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
   5161 else
   5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5163 for as_dir in $PATH
   5164 do
   5165   IFS=$as_save_IFS
   5166   test -z "$as_dir" && as_dir=.
   5167     for ac_exec_ext in '' $ac_executable_extensions; do
   5168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5169     ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
   5170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5171     break 2
   5172   fi
   5173 done
   5174   done
   5175 IFS=$as_save_IFS
   5176 
   5177 fi
   5178 fi
   5179 GNATBIND=$ac_cv_prog_GNATBIND
   5180 if test -n "$GNATBIND"; then
   5181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
   5182 $as_echo "$GNATBIND" >&6; }
   5183 else
   5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5185 $as_echo "no" >&6; }
   5186 fi
   5187 
   5188 
   5189 fi
   5190 if test -z "$ac_cv_prog_GNATBIND"; then
   5191   ac_ct_GNATBIND=$GNATBIND
   5192   # Extract the first word of "gnatbind", so it can be a program name with args.
   5193 set dummy gnatbind; ac_word=$2
   5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5195 $as_echo_n "checking for $ac_word... " >&6; }
   5196 if ${ac_cv_prog_ac_ct_GNATBIND+:} false; then :
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   if test -n "$ac_ct_GNATBIND"; then
   5200   ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
   5201 else
   5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5203 for as_dir in $PATH
   5204 do
   5205   IFS=$as_save_IFS
   5206   test -z "$as_dir" && as_dir=.
   5207     for ac_exec_ext in '' $ac_executable_extensions; do
   5208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5209     ac_cv_prog_ac_ct_GNATBIND="gnatbind"
   5210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5211     break 2
   5212   fi
   5213 done
   5214   done
   5215 IFS=$as_save_IFS
   5216 
   5217 fi
   5218 fi
   5219 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
   5220 if test -n "$ac_ct_GNATBIND"; then
   5221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
   5222 $as_echo "$ac_ct_GNATBIND" >&6; }
   5223 else
   5224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5225 $as_echo "no" >&6; }
   5226 fi
   5227 
   5228   if test "x$ac_ct_GNATBIND" = x; then
   5229     GNATBIND="no"
   5230   else
   5231     case $cross_compiling:$ac_tool_warned in
   5232 yes:)
   5233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5235 ac_tool_warned=yes ;;
   5236 esac
   5237     GNATBIND=$ac_ct_GNATBIND
   5238   fi
   5239 else
   5240   GNATBIND="$ac_cv_prog_GNATBIND"
   5241 fi
   5242 
   5243 if test -n "$ac_tool_prefix"; then
   5244   # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
   5245 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
   5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5247 $as_echo_n "checking for $ac_word... " >&6; }
   5248 if ${ac_cv_prog_GNATMAKE+:} false; then :
   5249   $as_echo_n "(cached) " >&6
   5250 else
   5251   if test -n "$GNATMAKE"; then
   5252   ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
   5253 else
   5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5255 for as_dir in $PATH
   5256 do
   5257   IFS=$as_save_IFS
   5258   test -z "$as_dir" && as_dir=.
   5259     for ac_exec_ext in '' $ac_executable_extensions; do
   5260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5261     ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
   5262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5263     break 2
   5264   fi
   5265 done
   5266   done
   5267 IFS=$as_save_IFS
   5268 
   5269 fi
   5270 fi
   5271 GNATMAKE=$ac_cv_prog_GNATMAKE
   5272 if test -n "$GNATMAKE"; then
   5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
   5274 $as_echo "$GNATMAKE" >&6; }
   5275 else
   5276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5277 $as_echo "no" >&6; }
   5278 fi
   5279 
   5280 
   5281 fi
   5282 if test -z "$ac_cv_prog_GNATMAKE"; then
   5283   ac_ct_GNATMAKE=$GNATMAKE
   5284   # Extract the first word of "gnatmake", so it can be a program name with args.
   5285 set dummy gnatmake; ac_word=$2
   5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5287 $as_echo_n "checking for $ac_word... " >&6; }
   5288 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false; then :
   5289   $as_echo_n "(cached) " >&6
   5290 else
   5291   if test -n "$ac_ct_GNATMAKE"; then
   5292   ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
   5293 else
   5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5295 for as_dir in $PATH
   5296 do
   5297   IFS=$as_save_IFS
   5298   test -z "$as_dir" && as_dir=.
   5299     for ac_exec_ext in '' $ac_executable_extensions; do
   5300   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5301     ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
   5302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5303     break 2
   5304   fi
   5305 done
   5306   done
   5307 IFS=$as_save_IFS
   5308 
   5309 fi
   5310 fi
   5311 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
   5312 if test -n "$ac_ct_GNATMAKE"; then
   5313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
   5314 $as_echo "$ac_ct_GNATMAKE" >&6; }
   5315 else
   5316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5317 $as_echo "no" >&6; }
   5318 fi
   5319 
   5320   if test "x$ac_ct_GNATMAKE" = x; then
   5321     GNATMAKE="no"
   5322   else
   5323     case $cross_compiling:$ac_tool_warned in
   5324 yes:)
   5325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5327 ac_tool_warned=yes ;;
   5328 esac
   5329     GNATMAKE=$ac_ct_GNATMAKE
   5330   fi
   5331 else
   5332   GNATMAKE="$ac_cv_prog_GNATMAKE"
   5333 fi
   5334 
   5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
   5336 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
   5337 if ${acx_cv_cc_gcc_supports_ada+:} false; then :
   5338   $as_echo_n "(cached) " >&6
   5339 else
   5340   cat >conftest.adb <<EOF
   5341 procedure conftest is begin null; end conftest;
   5342 EOF
   5343 acx_cv_cc_gcc_supports_ada=no
   5344 # There is a bug in old released versions of GCC which causes the
   5345 # driver to exit successfully when the appropriate language module
   5346 # has not been installed.  This is fixed in 2.95.4, 3.0.2, and 3.1.
   5347 # Therefore we must check for the error message as well as an
   5348 # unsuccessful exit.
   5349 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
   5350 # given a .adb file, but produce no object file.  So we must check
   5351 # if an object file was really produced to guard against this.
   5352 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
   5353 if test x"$errors" = x && test -f conftest.$ac_objext; then
   5354   acx_cv_cc_gcc_supports_ada=yes
   5355 fi
   5356 rm -f conftest.*
   5357 fi
   5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
   5359 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
   5360 
   5361 if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
   5362   have_gnat=yes
   5363 else
   5364   have_gnat=no
   5365 fi
   5366 
   5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   5368 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   5369 if ${gcc_cv_prog_cmp_skip+:} false; then :
   5370   $as_echo_n "(cached) " >&6
   5371 else
   5372    echo abfoo >t1
   5373   echo cdfoo >t2
   5374   gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   5375   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   5376     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   5377       :
   5378     else
   5379       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   5380     fi
   5381   fi
   5382   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   5383     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   5384       :
   5385     else
   5386       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   5387     fi
   5388   fi
   5389   rm t1 t2
   5390 
   5391 fi
   5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   5393 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   5394 do_compare="$gcc_cv_prog_cmp_skip"
   5395 
   5396 
   5397 
   5398 # Check whether --enable-bootstrap was given.
   5399 if test "${enable_bootstrap+set}" = set; then :
   5400   enableval=$enable_bootstrap;
   5401 else
   5402   enable_bootstrap=default
   5403 fi
   5404 
   5405 
   5406 # Issue errors and warnings for invalid/strange bootstrap combinations.
   5407 if test -r $srcdir/gcc/configure; then
   5408   have_compiler=yes
   5409 else
   5410   have_compiler=no
   5411 fi
   5412 
   5413 case "$have_compiler:$host:$target:$enable_bootstrap" in
   5414   *:*:*:no) ;;
   5415 
   5416   # Default behavior.  Enable bootstrap if we have a compiler
   5417   # and we are in a native configuration.
   5418   yes:$build:$build:default)
   5419     enable_bootstrap=yes ;;
   5420 
   5421   *:*:*:default)
   5422     enable_bootstrap=no ;;
   5423 
   5424   # We have a compiler and we are in a native configuration, bootstrap is ok
   5425   yes:$build:$build:yes)
   5426     ;;
   5427 
   5428   # Other configurations, but we have a compiler.  Assume the user knows
   5429   # what he's doing.
   5430   yes:*:*:yes)
   5431     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
   5432 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
   5433     ;;
   5434 
   5435   # No compiler: if they passed --enable-bootstrap explicitly, fail
   5436   no:*:*:yes)
   5437     as_fn_error $? "cannot bootstrap without a compiler" "$LINENO" 5 ;;
   5438 
   5439   # Fail if wrong command line
   5440   *)
   5441     as_fn_error $? "invalid option for --enable-bootstrap" "$LINENO" 5
   5442     ;;
   5443 esac
   5444 
   5445 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
   5446 # C++98 compiler can still start the bootstrap.
   5447 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
   5448   CXX="$CXX -std=gnu++98"
   5449 fi
   5450 
   5451 # Used for setting $lt_cv_objdir
   5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   5453 $as_echo_n "checking for objdir... " >&6; }
   5454 if ${lt_cv_objdir+:} false; then :
   5455   $as_echo_n "(cached) " >&6
   5456 else
   5457   rm -f .libs 2>/dev/null
   5458 mkdir .libs 2>/dev/null
   5459 if test -d .libs; then
   5460   lt_cv_objdir=.libs
   5461 else
   5462   # MS-DOS does not allow filenames that begin with a dot.
   5463   lt_cv_objdir=_libs
   5464 fi
   5465 rmdir .libs 2>/dev/null
   5466 fi
   5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   5468 $as_echo "$lt_cv_objdir" >&6; }
   5469 objdir=$lt_cv_objdir
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 cat >>confdefs.h <<_ACEOF
   5476 #define LT_OBJDIR "$lt_cv_objdir/"
   5477 _ACEOF
   5478 
   5479 
   5480 
   5481 # Check for GMP, MPFR and MPC
   5482 gmplibs="-lmpc -lmpfr -lgmp"
   5483 gmpinc=
   5484 have_gmp=no
   5485 
   5486 # Check for debuginfod
   5487 
   5488 
   5489 # Enable debuginfod
   5490 
   5491 # Check whether --with-debuginfod was given.
   5492 if test "${with_debuginfod+set}" = set; then :
   5493   withval=$with_debuginfod;
   5494 else
   5495   with_debuginfod=auto
   5496 fi
   5497 
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use debuginfod" >&5
   5499 $as_echo_n "checking whether to use debuginfod... " >&6; }
   5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_debuginfod" >&5
   5501 $as_echo "$with_debuginfod" >&6; }
   5502 
   5503 if test "${with_debuginfod}" = no; then
   5504   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: debuginfod support disabled; some features may be unavailable." >&5
   5505 $as_echo "$as_me: WARNING: debuginfod support disabled; some features may be unavailable." >&2;}
   5506 else
   5507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debuginfod_begin in -ldebuginfod" >&5
   5508 $as_echo_n "checking for debuginfod_begin in -ldebuginfod... " >&6; }
   5509 if ${ac_cv_lib_debuginfod_debuginfod_begin+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   ac_check_lib_save_LIBS=$LIBS
   5513 LIBS="-ldebuginfod  $LIBS"
   5514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5515 /* end confdefs.h.  */
   5516 
   5517 /* Override any GCC internal prototype to avoid an error.
   5518    Use char because int might match the return type of a GCC
   5519    builtin and then its argument prototype would still apply.  */
   5520 #ifdef __cplusplus
   5521 extern "C"
   5522 #endif
   5523 char debuginfod_begin ();
   5524 int
   5525 main ()
   5526 {
   5527 return debuginfod_begin ();
   5528   ;
   5529   return 0;
   5530 }
   5531 _ACEOF
   5532 if ac_fn_c_try_link "$LINENO"; then :
   5533   ac_cv_lib_debuginfod_debuginfod_begin=yes
   5534 else
   5535   ac_cv_lib_debuginfod_debuginfod_begin=no
   5536 fi
   5537 rm -f core conftest.err conftest.$ac_objext \
   5538     conftest$ac_exeext conftest.$ac_ext
   5539 LIBS=$ac_check_lib_save_LIBS
   5540 fi
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_debuginfod_debuginfod_begin" >&5
   5542 $as_echo "$ac_cv_lib_debuginfod_debuginfod_begin" >&6; }
   5543 if test "x$ac_cv_lib_debuginfod_debuginfod_begin" = xyes; then :
   5544   have_debuginfod_lib=yes
   5545 fi
   5546 
   5547   ac_fn_c_check_decl "$LINENO" "debuginfod_begin" "ac_cv_have_decl_debuginfod_begin" "#include <elfutils/debuginfod.h>
   5548 "
   5549 if test "x$ac_cv_have_decl_debuginfod_begin" = xyes; then :
   5550   have_debuginfod_h=yes
   5551 fi
   5552 
   5553   if test "x$have_debuginfod_lib" = "xyes" -a \
   5554           "x$have_debuginfod_h" = "xyes"; then
   5555 
   5556 $as_echo "#define HAVE_LIBDEBUGINFOD 1" >>confdefs.h
   5557 
   5558     LIBDEBUGINFOD="-ldebuginfod"
   5559 
   5560   else
   5561 
   5562     if test "$with_debuginfod" = yes; then
   5563       as_fn_error $? "debuginfod is missing or unusable" "$LINENO" 5
   5564     else
   5565       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: debuginfod is missing or unusable; some features may be unavailable." >&5
   5566 $as_echo "$as_me: WARNING: debuginfod is missing or unusable; some features may be unavailable." >&2;}
   5567     fi
   5568   fi
   5569 fi
   5570 
   5571 
   5572 # Specify a location for mpc
   5573 # check for this first so it ends up on the link line before mpfr.
   5574 
   5575 # Check whether --with-mpc was given.
   5576 if test "${with_mpc+set}" = set; then :
   5577   withval=$with_mpc;
   5578 fi
   5579 
   5580 
   5581 # Check whether --with-mpc-include was given.
   5582 if test "${with_mpc_include+set}" = set; then :
   5583   withval=$with_mpc_include;
   5584 fi
   5585 
   5586 
   5587 # Check whether --with-mpc-lib was given.
   5588 if test "${with_mpc_lib+set}" = set; then :
   5589   withval=$with_mpc_lib;
   5590 fi
   5591 
   5592 
   5593 if test "x$with_mpc" != x; then
   5594   gmplibs="-L$with_mpc/lib $gmplibs"
   5595   gmpinc="-I$with_mpc/include $gmpinc"
   5596 fi
   5597 if test "x$with_mpc_include" != x; then
   5598   gmpinc="-I$with_mpc_include $gmpinc"
   5599 fi
   5600 if test "x$with_mpc_lib" != x; then
   5601   gmplibs="-L$with_mpc_lib $gmplibs"
   5602 fi
   5603 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
   5604   gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
   5605   gmpinc='-I$$s/mpc/src '"$gmpinc"
   5606   # Do not test the mpc version.  Assume that it is sufficient, since
   5607   # it is in the source tree, and the library has not been built yet
   5608   # but it would be included on the link line in the version check below
   5609   # hence making the test fail.
   5610   have_gmp=yes
   5611 fi
   5612 
   5613 # Specify a location for mpfr
   5614 # check for this first so it ends up on the link line before gmp.
   5615 
   5616 # Check whether --with-mpfr-dir was given.
   5617 if test "${with_mpfr_dir+set}" = set; then :
   5618   withval=$with_mpfr_dir; as_fn_error $? "The --with-mpfr-dir=PATH option has been removed.
   5619 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
   5620 fi
   5621 
   5622 
   5623 
   5624 # Check whether --with-mpfr was given.
   5625 if test "${with_mpfr+set}" = set; then :
   5626   withval=$with_mpfr;
   5627 fi
   5628 
   5629 
   5630 # Check whether --with-mpfr-include was given.
   5631 if test "${with_mpfr_include+set}" = set; then :
   5632   withval=$with_mpfr_include;
   5633 fi
   5634 
   5635 
   5636 # Check whether --with-mpfr-lib was given.
   5637 if test "${with_mpfr_lib+set}" = set; then :
   5638   withval=$with_mpfr_lib;
   5639 fi
   5640 
   5641 
   5642 if test "x$with_mpfr" != x; then
   5643   gmplibs="-L$with_mpfr/lib $gmplibs"
   5644   gmpinc="-I$with_mpfr/include $gmpinc"
   5645 fi
   5646 if test "x$with_mpfr_include" != x; then
   5647   gmpinc="-I$with_mpfr_include $gmpinc"
   5648 fi
   5649 if test "x$with_mpfr_lib" != x; then
   5650   gmplibs="-L$with_mpfr_lib $gmplibs"
   5651 fi
   5652 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
   5653   # MPFR v3.1.0 moved the sources into a src sub-directory.
   5654   if ! test -d ${srcdir}/mpfr/src; then
   5655     as_fn_error $? "Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
   5656   fi
   5657   gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
   5658   gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
   5659   extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
   5660   # Do not test the mpfr version.  Assume that it is sufficient, since
   5661   # it is in the source tree, and the library has not been built yet
   5662   # but it would be included on the link line in the version check below
   5663   # hence making the test fail.
   5664   have_gmp=yes
   5665 fi
   5666 
   5667 # Specify a location for gmp
   5668 
   5669 # Check whether --with-gmp-dir was given.
   5670 if test "${with_gmp_dir+set}" = set; then :
   5671   withval=$with_gmp_dir; as_fn_error $? "The --with-gmp-dir=PATH option has been removed.
   5672 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
   5673 fi
   5674 
   5675 
   5676 
   5677 # Check whether --with-gmp was given.
   5678 if test "${with_gmp+set}" = set; then :
   5679   withval=$with_gmp;
   5680 fi
   5681 
   5682 
   5683 # Check whether --with-gmp-include was given.
   5684 if test "${with_gmp_include+set}" = set; then :
   5685   withval=$with_gmp_include;
   5686 fi
   5687 
   5688 
   5689 # Check whether --with-gmp-lib was given.
   5690 if test "${with_gmp_lib+set}" = set; then :
   5691   withval=$with_gmp_lib;
   5692 fi
   5693 
   5694 
   5695 
   5696 if test "x$with_gmp" != x; then
   5697   gmplibs="-L$with_gmp/lib $gmplibs"
   5698   gmpinc="-I$with_gmp/include $gmpinc"
   5699 fi
   5700 if test "x$with_gmp_include" != x; then
   5701   gmpinc="-I$with_gmp_include $gmpinc"
   5702 fi
   5703 if test "x$with_gmp_lib" != x; then
   5704   gmplibs="-L$with_gmp_lib $gmplibs"
   5705 fi
   5706 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
   5707   gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
   5708   gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
   5709   extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5710   extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5711   extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
   5712   # Do not test the gmp version.  Assume that it is sufficient, since
   5713   # it is in the source tree, and the library has not been built yet
   5714   # but it would be included on the link line in the version check below
   5715   # hence making the test fail.
   5716   have_gmp=yes
   5717 fi
   5718 
   5719 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   5720   have_gmp=yes
   5721   saved_CFLAGS="$CFLAGS"
   5722   CFLAGS="$CFLAGS $gmpinc"
   5723   # Check for the recommended and required versions of GMP.
   5724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
   5725 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
   5726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5727 /* end confdefs.h.  */
   5728 #include "gmp.h"
   5729 int
   5730 main ()
   5731 {
   5732 
   5733   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5734   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5735   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
   5736   choke me
   5737   #endif
   5738 
   5739   ;
   5740   return 0;
   5741 }
   5742 _ACEOF
   5743 if ac_fn_c_try_compile "$LINENO"; then :
   5744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5745 /* end confdefs.h.  */
   5746 #include <gmp.h>
   5747 int
   5748 main ()
   5749 {
   5750 
   5751   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5752   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5753   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
   5754   choke me
   5755   #endif
   5756 
   5757   ;
   5758   return 0;
   5759 }
   5760 _ACEOF
   5761 if ac_fn_c_try_compile "$LINENO"; then :
   5762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5763 $as_echo "yes" >&6; }
   5764 else
   5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5766 $as_echo "buggy but acceptable" >&6; }
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5769 else
   5770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5771 $as_echo "no" >&6; }; have_gmp=no
   5772 fi
   5773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5774 
   5775   # If we have GMP, check the MPFR version.
   5776   if test x"$have_gmp" = xyes; then
   5777     # Check for the recommended and required versions of MPFR.
   5778     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
   5779 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
   5780     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5781 /* end confdefs.h.  */
   5782 #include <gmp.h>
   5783     #include <mpfr.h>
   5784 int
   5785 main ()
   5786 {
   5787 
   5788     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
   5789     choke me
   5790     #endif
   5791 
   5792   ;
   5793   return 0;
   5794 }
   5795 _ACEOF
   5796 if ac_fn_c_try_compile "$LINENO"; then :
   5797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5798 /* end confdefs.h.  */
   5799 #include <gmp.h>
   5800     #include <mpfr.h>
   5801 int
   5802 main ()
   5803 {
   5804 
   5805     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
   5806     choke me
   5807     #endif
   5808 
   5809   ;
   5810   return 0;
   5811 }
   5812 _ACEOF
   5813 if ac_fn_c_try_compile "$LINENO"; then :
   5814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5815 $as_echo "yes" >&6; }
   5816 else
   5817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5818 $as_echo "buggy but acceptable" >&6; }
   5819 fi
   5820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5821 else
   5822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5823 $as_echo "no" >&6; }; have_gmp=no
   5824 fi
   5825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5826   fi
   5827 
   5828   # Check for the MPC header version.
   5829   if test x"$have_gmp" = xyes ; then
   5830     # Check for the recommended and required versions of MPC.
   5831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
   5832 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
   5833     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5834 /* end confdefs.h.  */
   5835 #include <mpc.h>
   5836 int
   5837 main ()
   5838 {
   5839 
   5840     #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
   5841     choke me
   5842     #endif
   5843 
   5844   ;
   5845   return 0;
   5846 }
   5847 _ACEOF
   5848 if ac_fn_c_try_compile "$LINENO"; then :
   5849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5850 /* end confdefs.h.  */
   5851 #include <mpc.h>
   5852 int
   5853 main ()
   5854 {
   5855 
   5856     #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
   5857     choke me
   5858     #endif
   5859 
   5860   ;
   5861   return 0;
   5862 }
   5863 _ACEOF
   5864 if ac_fn_c_try_compile "$LINENO"; then :
   5865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5866 $as_echo "yes" >&6; }
   5867 else
   5868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5869 $as_echo "buggy but acceptable" >&6; }
   5870 fi
   5871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5872 else
   5873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5874 $as_echo "no" >&6; }; have_gmp=no
   5875 fi
   5876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5877   fi
   5878 
   5879   # Now check the MPFR library.
   5880   if test x"$have_gmp" = xyes; then
   5881     saved_LIBS="$LIBS"
   5882     LIBS="$LIBS $gmplibs"
   5883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
   5884 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
   5885     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5886 /* end confdefs.h.  */
   5887 #include <mpc.h>
   5888 int
   5889 main ()
   5890 {
   5891 
   5892     mpfr_t n;
   5893     mpfr_t x;
   5894     mpc_t c;
   5895     int t;
   5896     mpfr_init (n);
   5897     mpfr_init (x);
   5898     mpfr_atan2 (n, n, x, GMP_RNDN);
   5899     mpfr_erfc (n, x, GMP_RNDN);
   5900     mpfr_subnormalize (x, t, GMP_RNDN);
   5901     mpfr_clear(n);
   5902     mpfr_clear(x);
   5903     mpc_init2 (c, 53);
   5904     mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
   5905     mpc_cosh (c, c, MPC_RNDNN);
   5906     mpc_pow (c, c, c, MPC_RNDNN);
   5907     mpc_acosh (c, c, MPC_RNDNN);
   5908     mpc_clear (c);
   5909 
   5910   ;
   5911   return 0;
   5912 }
   5913 _ACEOF
   5914 if ac_fn_c_try_link "$LINENO"; then :
   5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5916 $as_echo "yes" >&6; }
   5917 else
   5918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5919 $as_echo "no" >&6; }; have_gmp=no
   5920 fi
   5921 rm -f core conftest.err conftest.$ac_objext \
   5922     conftest$ac_exeext conftest.$ac_ext
   5923     LIBS="$saved_LIBS"
   5924   fi
   5925 
   5926   CFLAGS="$saved_CFLAGS"
   5927 
   5928 # The library versions listed in the error message below should match
   5929 # the HARD-minimums enforced above.
   5930   if test x$have_gmp != xyes; then
   5931     as_fn_error $? "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
   5932 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
   5933 their locations.  Source code for these libraries can be found at
   5934 their respective hosting sites as well as at
   5935 ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
   5936 http://gcc.gnu.org/install/prerequisites.html for additional info.  If
   5937 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
   5938 make sure that you have installed both the libraries and the header
   5939 files.  They may be located in separate packages." "$LINENO" 5
   5940   fi
   5941 fi
   5942 
   5943 # Flags needed for both GMP, MPFR and/or MPC.
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 # Libraries to use for stage1 or when not bootstrapping.
   5952 
   5953 # Check whether --with-stage1-libs was given.
   5954 if test "${with_stage1_libs+set}" = set; then :
   5955   withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   5956    stage1_libs=
   5957  else
   5958    stage1_libs=$withval
   5959  fi
   5960 else
   5961   stage1_libs=
   5962 fi
   5963 
   5964 
   5965 
   5966 # Whether or not to use -static-libstdc++ and -static-libgcc.  The
   5967 # default is yes if gcc is being built; no otherwise.  The reason for
   5968 # this default is that gdb is sometimes linked against GNU Source
   5969 # Highlight, which is a shared library that uses C++ exceptions.  In
   5970 # this case, -static-libstdc++ will cause crashes.
   5971 
   5972 # Check whether --with-static-standard-libraries was given.
   5973 if test "${with_static_standard_libraries+set}" = set; then :
   5974   withval=$with_static_standard_libraries;
   5975 else
   5976   with_static_standard_libraries=auto
   5977 fi
   5978 
   5979 if test "$with_static_standard_libraries" = auto; then
   5980   with_static_standard_libraries=$have_compiler
   5981 fi
   5982 
   5983 # Linker flags to use for stage1 or when not bootstrapping.
   5984 
   5985 # Check whether --with-stage1-ldflags was given.
   5986 if test "${with_stage1_ldflags+set}" = set; then :
   5987   withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   5988    stage1_ldflags=
   5989  else
   5990    stage1_ldflags=$withval
   5991  fi
   5992 else
   5993   stage1_ldflags=
   5994  # In stage 1, default to linking libstdc++ and libgcc statically with GCC
   5995  # if supported.  But if the user explicitly specified the libraries to use,
   5996  # trust that they are doing what they want.
   5997  if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
   5998      -a "$have_static_libs" = yes; then
   5999    stage1_ldflags="-static-libstdc++ -static-libgcc"
   6000  fi
   6001 fi
   6002 
   6003 
   6004 
   6005 # Libraries to use for stage2 and later builds.
   6006 
   6007 # Check whether --with-boot-libs was given.
   6008 if test "${with_boot_libs+set}" = set; then :
   6009   withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   6010    poststage1_libs=
   6011  else
   6012    poststage1_libs=$withval
   6013  fi
   6014 else
   6015   poststage1_libs=
   6016 fi
   6017 
   6018 
   6019 
   6020 # Linker flags to use for stage2 and later builds.
   6021 
   6022 # Check whether --with-boot-ldflags was given.
   6023 if test "${with_boot_ldflags+set}" = set; then :
   6024   withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   6025    poststage1_ldflags=
   6026  else
   6027    poststage1_ldflags=$withval
   6028  fi
   6029 else
   6030   poststage1_ldflags=
   6031  # In stages 2 and 3, default to linking libstdc++ and libgcc
   6032  # statically.  But if the user explicitly specified the libraries to
   6033  # use, trust that they are doing what they want.
   6034  if test "$poststage1_libs" = ""; then
   6035    poststage1_ldflags="-static-libstdc++ -static-libgcc"
   6036  fi
   6037 fi
   6038 
   6039 
   6040 
   6041 # GCC GRAPHITE dependency isl.
   6042 # Basic setup is inlined here, actual checks are in config/isl.m4
   6043 
   6044 
   6045 # Check whether --with-isl was given.
   6046 if test "${with_isl+set}" = set; then :
   6047   withval=$with_isl;
   6048 fi
   6049 
   6050 
   6051 # Treat --without-isl as a request to disable
   6052 # GRAPHITE support and skip all following checks.
   6053 if test "x$with_isl" != "xno"; then
   6054   # Check for isl
   6055 
   6056 
   6057 # Check whether --with-isl-include was given.
   6058 if test "${with_isl_include+set}" = set; then :
   6059   withval=$with_isl_include;
   6060 fi
   6061 
   6062 
   6063 # Check whether --with-isl-lib was given.
   6064 if test "${with_isl_lib+set}" = set; then :
   6065   withval=$with_isl_lib;
   6066 fi
   6067 
   6068 
   6069   # Check whether --enable-isl-version-check was given.
   6070 if test "${enable_isl_version_check+set}" = set; then :
   6071   enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
   6072 else
   6073   ENABLE_ISL_CHECK=yes
   6074 fi
   6075 
   6076 
   6077   # Initialize isllibs and islinc.
   6078   case $with_isl in
   6079     no)
   6080       isllibs=
   6081       islinc=
   6082       ;;
   6083     "" | yes)
   6084       ;;
   6085     *)
   6086       isllibs="-L$with_isl/lib"
   6087       islinc="-I$with_isl/include"
   6088       ;;
   6089   esac
   6090   if test "x${with_isl_include}" != x ; then
   6091     islinc="-I$with_isl_include"
   6092   fi
   6093   if test "x${with_isl_lib}" != x; then
   6094     isllibs="-L$with_isl_lib"
   6095   fi
   6096         if test "x${islinc}" = x && test "x${isllibs}" = x \
   6097      && test -d ${srcdir}/isl; then
   6098     isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
   6099     islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
   6100     ENABLE_ISL_CHECK=no
   6101     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
   6102 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
   6103   fi
   6104 
   6105   isllibs="${isllibs} -lisl"
   6106 
   6107 
   6108 
   6109   if test "${ENABLE_ISL_CHECK}" = yes ; then
   6110     _isl_saved_CFLAGS=$CFLAGS
   6111     _isl_saved_LDFLAGS=$LDFLAGS
   6112     _isl_saved_LIBS=$LIBS
   6113 
   6114     CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
   6115     LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
   6116     LIBS="${_isl_saved_LIBS} -lisl -lgmp"
   6117 
   6118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
   6119 $as_echo_n "checking for isl 0.15 or later... " >&6; }
   6120     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6121 /* end confdefs.h.  */
   6122 #include <isl/schedule.h>
   6123 int
   6124 main ()
   6125 {
   6126 isl_options_set_schedule_serialize_sccs (NULL, 0);
   6127   ;
   6128   return 0;
   6129 }
   6130 _ACEOF
   6131 if ac_fn_c_try_link "$LINENO"; then :
   6132   gcc_cv_isl=yes
   6133 else
   6134   gcc_cv_isl=no
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext \
   6137     conftest$ac_exeext conftest.$ac_ext
   6138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
   6139 $as_echo "$gcc_cv_isl" >&6; }
   6140 
   6141     if test "${gcc_cv_isl}" = no ; then
   6142       { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
   6143 $as_echo "required isl version is 0.15 or later" >&6; }
   6144     fi
   6145 
   6146     CFLAGS=$_isl_saved_CFLAGS
   6147     LDFLAGS=$_isl_saved_LDFLAGS
   6148     LIBS=$_isl_saved_LIBS
   6149   fi
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156   if test "x${with_isl}" = xno; then
   6157     graphite_requested=no
   6158   elif test "x${with_isl}" != x \
   6159     || test "x${with_isl_include}" != x \
   6160     || test "x${with_isl_lib}" != x ; then
   6161     graphite_requested=yes
   6162   else
   6163     graphite_requested=no
   6164   fi
   6165 
   6166 
   6167 
   6168   if test "${gcc_cv_isl}" = no ; then
   6169     isllibs=
   6170     islinc=
   6171   fi
   6172 
   6173   if test "${graphite_requested}" = yes \
   6174     && test "x${isllibs}" = x \
   6175     && test "x${islinc}" = x ; then
   6176 
   6177     as_fn_error $? "Unable to find a usable isl.  See config.log for details." "$LINENO" 5
   6178   fi
   6179 
   6180 
   6181 fi
   6182 
   6183 # If the isl check failed, disable builds of in-tree variant of isl
   6184 if test "x$with_isl" = xno ||
   6185    test "x$gcc_cv_isl" = xno; then
   6186   noconfigdirs="$noconfigdirs isl"
   6187   islinc=
   6188 fi
   6189 
   6190 
   6191 
   6192 
   6193 # Check for LTO support.
   6194 # Check whether --enable-lto was given.
   6195 if test "${enable_lto+set}" = set; then :
   6196   enableval=$enable_lto; enable_lto=$enableval
   6197 else
   6198   enable_lto=yes; default_enable_lto=yes
   6199 fi
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 target_elf=no
   6206 case $target in
   6207   *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
   6208   *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
   6209   alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \
   6210   nvptx-*-none)
   6211     target_elf=no
   6212     ;;
   6213   *)
   6214     target_elf=yes
   6215     ;;
   6216 esac
   6217 
   6218 if test $target_elf = yes; then :
   6219   # ELF platforms build the lto-plugin always.
   6220   build_lto_plugin=yes
   6221 
   6222 else
   6223   if test x"$default_enable_lto" = x"yes" ; then
   6224     case $target in
   6225       *-apple-darwin[912]* | *-cygwin* | *-mingw* | *djgpp*) ;;
   6226       # On other non-ELF platforms, LTO has yet to be validated.
   6227       *) enable_lto=no ;;
   6228     esac
   6229   else
   6230   # Apart from ELF platforms, only Windows and Darwin support LTO so far.
   6231   # It would also be nice to check the binutils support, but we don't
   6232   # have gcc_GAS_CHECK_FEATURE available here.  For now, we'll just
   6233   # warn during gcc/ subconfigure; unless you're bootstrapping with
   6234   # -flto it won't be needed until after installation anyway.
   6235     case $target in
   6236       *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
   6237       *) if test x"$enable_lto" = x"yes"; then
   6238 	as_fn_error $? "LTO support is not enabled for this target." "$LINENO" 5
   6239         fi
   6240       ;;
   6241     esac
   6242   fi
   6243   # Among non-ELF, only Windows platforms support the lto-plugin so far.
   6244   # Build it unless LTO was explicitly disabled.
   6245   case $target in
   6246     *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
   6247     *) ;;
   6248   esac
   6249 
   6250 fi
   6251 
   6252 
   6253 # Check whether --enable-linker-plugin-configure-flags was given.
   6254 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
   6255   enableval=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags=$enableval
   6256 else
   6257   extra_linker_plugin_configure_flags=
   6258 fi
   6259 
   6260 
   6261 # Check whether --enable-linker-plugin-flags was given.
   6262 if test "${enable_linker_plugin_flags+set}" = set; then :
   6263   enableval=$enable_linker_plugin_flags; extra_linker_plugin_flags=$enableval
   6264 else
   6265   extra_linker_plugin_flags=
   6266 fi
   6267 
   6268 
   6269 
   6270 # Enable --enable-host-shared.
   6271 # Checked early to determine whether jit is an 'all' language
   6272 # Check whether --enable-host-shared was given.
   6273 if test "${enable_host_shared+set}" = set; then :
   6274   enableval=$enable_host_shared; host_shared=$enableval
   6275 else
   6276   host_shared=no
   6277 fi
   6278 
   6279 
   6280 
   6281 # By default, C and C++ are the only stage 1 languages.
   6282 stage1_languages=,c,
   6283 
   6284 # Target libraries that we bootstrap.
   6285 bootstrap_target_libs=,target-libgcc,
   6286 
   6287 # Figure out what language subdirectories are present.
   6288 # Look if the user specified --enable-languages="..."; if not, use
   6289 # the environment variable $LANGUAGES if defined. $LANGUAGES might
   6290 # go away some day.
   6291 # NB:  embedded tabs in this IF block -- do not untabify
   6292 if test -d ${srcdir}/gcc; then
   6293   if test x"${enable_languages+set}" != xset; then
   6294     if test x"${LANGUAGES+set}" = xset; then
   6295       enable_languages="${LANGUAGES}"
   6296         echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
   6297     else
   6298       enable_languages=default
   6299     fi
   6300   else
   6301     if test x"${enable_languages}" = x ||
   6302        test x"${enable_languages}" = xyes;
   6303        then
   6304       echo configure.ac: --enable-languages needs at least one language argument 1>&2
   6305       exit 1
   6306     fi
   6307   fi
   6308   enable_languages=`echo "${enable_languages}" | sed -e 's/[ 	,][ 	,]*/,/g' -e 's/,$//'`
   6309 
   6310   # 'f95' is the old name for the 'fortran' language. We issue a warning
   6311   # and make the substitution.
   6312   case ,${enable_languages}, in
   6313     *,f95,*)
   6314       echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
   6315       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
   6316       ;;
   6317   esac
   6318 
   6319   # If bootstrapping, C++ must be enabled.
   6320   case ",$enable_languages,:$enable_bootstrap" in
   6321     *,c++,*:*) ;;
   6322     *:yes)
   6323       if test -f ${srcdir}/gcc/cp/config-lang.in; then
   6324         enable_languages="${enable_languages},c++"
   6325       else
   6326         as_fn_error $? "bootstrapping requires c++ sources" "$LINENO" 5
   6327       fi
   6328       ;;
   6329   esac
   6330 
   6331   # First scan to see if an enabled language requires some other language.
   6332   # We assume that a given config-lang.in will list all the language
   6333   # front ends it requires, even if some are required indirectly.
   6334   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6335     case ${lang_frag} in
   6336       ..) ;;
   6337       # The odd quoting in the next line works around
   6338       # an apparent bug in bash 1.12 on linux.
   6339       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6340       *)
   6341         # From the config-lang.in, get $language, $lang_requires, and
   6342         # $lang_requires_boot_languages.
   6343         language=
   6344         lang_requires=
   6345         lang_requires_boot_languages=
   6346         # set srcdir during sourcing lang_frag to the gcc dir.
   6347         # Sadly overriding srcdir on the . line doesn't work in plain sh as it
   6348         # polutes this shell
   6349         saved_srcdir=${srcdir}
   6350         srcdir=${srcdir}/gcc . ${lang_frag}
   6351         srcdir=${saved_srcdir}
   6352         for other in ${lang_requires} ${lang_requires_boot_languages}; do
   6353           case ,${enable_languages}, in
   6354 	    *,$other,*) ;;
   6355 	    *,default,*) ;;
   6356 	    *,all,*) ;;
   6357 	    *,$language,*)
   6358 	      echo " \`$other' language required by \`$language'; enabling" 1>&2
   6359 	      enable_languages="${enable_languages},${other}"
   6360 	      ;;
   6361 	  esac
   6362         done
   6363 	for other in ${lang_requires_boot_languages} ; do
   6364 	  if test "$other" != "c"; then
   6365 	    case ,${enable_stage1_languages}, in
   6366 	      *,$other,*) ;;
   6367 	      *,default,*) ;;
   6368 	      *,all,*) ;;
   6369 	      *)
   6370 		case ,${enable_languages}, in
   6371 		  *,$language,*)
   6372 		    echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
   6373 		    enable_stage1_languages="$enable_stage1_languages,${other}"
   6374 		    ;;
   6375 		esac
   6376 		;;
   6377 	    esac
   6378           fi
   6379         done
   6380         ;;
   6381     esac
   6382   done
   6383 
   6384   new_enable_languages=,c,
   6385 
   6386   # If LTO is enabled, add the LTO front end.
   6387   if test "$enable_lto" = "yes" ; then
   6388     case ,${enable_languages}, in
   6389       *,lto,*) ;;
   6390       *) enable_languages="${enable_languages},lto" ;;
   6391     esac
   6392     if test "${build_lto_plugin}" = "yes" ; then
   6393       configdirs="$configdirs lto-plugin"
   6394     fi
   6395   fi
   6396 
   6397   # If we're building an offloading compiler, add the LTO front end.
   6398   if test x"$enable_as_accelerator_for" != x ; then
   6399     case ,${enable_languages}, in
   6400       *,lto,*) ;;
   6401       *) enable_languages="${enable_languages},lto" ;;
   6402     esac
   6403   fi
   6404 
   6405   missing_languages=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
   6406   potential_languages=,c,
   6407 
   6408   enabled_target_libs=
   6409   disabled_target_libs=
   6410 
   6411   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6412     case ${lang_frag} in
   6413       ..) ;;
   6414       # The odd quoting in the next line works around
   6415       # an apparent bug in bash 1.12 on linux.
   6416       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6417       *)
   6418         # From the config-lang.in, get $language, $target_libs,
   6419         # $lang_dirs, $boot_language, and $build_by_default
   6420         language=
   6421         target_libs=
   6422         lang_dirs=
   6423         subdir_requires=
   6424         boot_language=no
   6425         build_by_default=yes
   6426         # set srcdir during sourcing.  See above about save & restore
   6427         saved_srcdir=${srcdir}
   6428         srcdir=${srcdir}/gcc . ${lang_frag}
   6429         srcdir=${saved_srcdir}
   6430         if test x${language} = x; then
   6431           echo "${lang_frag} doesn't set \$language." 1>&2
   6432           exit 1
   6433         fi
   6434 
   6435 	if test "$language" = "c++"; then
   6436 	  boot_language=yes
   6437 	fi
   6438 
   6439         add_this_lang=no
   6440         # C is always enabled, so no need to add it again
   6441         if test "$language" != "c"; then
   6442           case ,${enable_languages}, in
   6443             *,${language},*)
   6444               # Language was explicitly selected; include it
   6445 	      add_this_lang=yes
   6446               ;;
   6447 	    *,all,*)
   6448 	      # All languages are enabled
   6449 	      add_this_lang=all
   6450               ;;
   6451             *,default,*)
   6452               # 'default' was selected, select it if it is a default language
   6453 	      add_this_lang=${build_by_default}
   6454               ;;
   6455           esac
   6456         fi
   6457 
   6458         # Disable languages that need other directories if these aren't available.
   6459 	for i in $subdir_requires; do
   6460 	  test -f "$srcdir/gcc/$i/config-lang.in" && continue
   6461 	  case ${add_this_lang} in
   6462 	    yes)
   6463               # Specifically requested language; tell them.
   6464               as_fn_error $? "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
   6465               ;;
   6466             all)
   6467               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
   6468 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
   6469               add_this_lang=unsupported
   6470               ;;
   6471             *)
   6472               # Silently disable.
   6473               add_this_lang=unsupported
   6474               ;;
   6475           esac
   6476 	done
   6477 
   6478         # Disable Ada if no preexisting GNAT is available.
   6479         case ${add_this_lang}:${language}:${have_gnat} in
   6480           yes:ada:no)
   6481             # Specifically requested language; tell them.
   6482             as_fn_error $? "GNAT is required to build $language" "$LINENO" 5
   6483             ;;
   6484           all:ada:no)
   6485             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
   6486 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
   6487             add_this_lang=unsupported
   6488             ;;
   6489           *:ada:no)
   6490             # Silently disable.
   6491             add_this_lang=unsupported
   6492             ;;
   6493         esac
   6494 
   6495         # Disable jit if -enable-host-shared not specified
   6496         case ${add_this_lang}:${language}:${host_shared} in
   6497           yes:jit:no)
   6498 	    # PR jit/64780: explicitly specify --enable-host-shared
   6499 	    as_fn_error $? "
   6500 Enabling language \"jit\" requires --enable-host-shared.
   6501 
   6502 --enable-host-shared typically slows the rest of the compiler down by
   6503 a few %, so you must explicitly enable it.
   6504 
   6505 If you want to build both the jit and the regular compiler, it is often
   6506 best to do this via two separate configure/builds, in separate
   6507 directories, to avoid imposing the performance cost of
   6508 --enable-host-shared on the regular compiler." "$LINENO" 5
   6509 	    ;;
   6510           all:jit:no)
   6511 	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
   6512 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
   6513             add_this_lang=unsupported
   6514             ;;
   6515           *:jit:no)
   6516             # Silently disable.
   6517             add_this_lang=unsupported
   6518             ;;
   6519 	esac
   6520 
   6521         # Disable a language that is unsupported by the target.
   6522 	case "${add_this_lang}: $unsupported_languages " in
   6523 	  no:*) ;;
   6524 	  unsupported:*) ;;
   6525 	  *:*" $language "*)
   6526 	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
   6527 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
   6528 	    add_this_lang=unsupported
   6529 	    ;;
   6530 	esac
   6531 
   6532 	case $add_this_lang in
   6533 	  unsupported)
   6534             # Remove language-dependent dirs.
   6535 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6536 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6537 	    ;;
   6538 	  no)
   6539             # Remove language-dependent dirs; still show language as supported.
   6540 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6541 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6542             potential_languages="${potential_languages}${language},"
   6543 	    ;;
   6544           all|yes)
   6545 	    new_enable_languages="${new_enable_languages}${language},"
   6546             potential_languages="${potential_languages}${language},"
   6547 	    missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
   6548 	    enabled_target_libs="$enabled_target_libs $target_libs"
   6549 	    case "${boot_language}:,$enable_stage1_languages," in
   6550 	      yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
   6551 		# Add to (comma-separated) list of stage 1 languages.
   6552 		case ",$stage1_languages," in
   6553 		  *,$language,* | ,yes, | ,all,) ;;
   6554 		  *) stage1_languages="${stage1_languages}${language}," ;;
   6555 		esac
   6556 		# We need to bootstrap any supporting libraries.
   6557 		bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
   6558 		;;
   6559 	    esac
   6560 	    ;;
   6561         esac
   6562         ;;
   6563     esac
   6564   done
   6565 
   6566   # Add target libraries which are only needed for disabled languages
   6567   # to noconfigdirs.
   6568   if test -n "$disabled_target_libs"; then
   6569     for dir in $disabled_target_libs; do
   6570       case " $enabled_target_libs " in
   6571       *" ${dir} "*) ;;
   6572       *) noconfigdirs="$noconfigdirs $dir" ;;
   6573       esac
   6574     done
   6575   fi
   6576 
   6577   # Check whether --enable-stage1-languages was given.
   6578 if test "${enable_stage1_languages+set}" = set; then :
   6579   enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
   6580     ,no,|,,)
   6581       # Set it to something that will have no effect in the loop below
   6582       enable_stage1_languages=c ;;
   6583     ,yes,)
   6584       enable_stage1_languages=`echo $new_enable_languages | \
   6585 	sed -e "s/^,//" -e "s/,$//" ` ;;
   6586     *,all,*)
   6587       enable_stage1_languages=`echo ,$enable_stage1_languages, | \
   6588 	sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
   6589   esac
   6590 
   6591   # Add "good" languages from enable_stage1_languages to stage1_languages,
   6592   # while "bad" languages go in missing_languages.  Leave no duplicates.
   6593   for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
   6594     case $potential_languages in
   6595       *,$i,*)
   6596         case $stage1_languages in
   6597           *,$i,*) ;;
   6598           *) stage1_languages="$stage1_languages$i," ;;
   6599         esac ;;
   6600       *)
   6601         case $missing_languages in
   6602           *,$i,*) ;;
   6603           *) missing_languages="$missing_languages$i," ;;
   6604         esac ;;
   6605      esac
   6606   done
   6607 fi
   6608 
   6609 
   6610   # Remove leading/trailing commas that were added for simplicity
   6611   potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
   6612   missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
   6613   stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
   6614   new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
   6615 
   6616   if test "x$missing_languages" != x; then
   6617     as_fn_error $? "
   6618 The following requested languages could not be built: ${missing_languages}
   6619 Supported languages are: ${potential_languages}" "$LINENO" 5
   6620   fi
   6621   if test "x$new_enable_languages" != "x$enable_languages"; then
   6622     echo The following languages will be built: ${new_enable_languages}
   6623     enable_languages="$new_enable_languages"
   6624   fi
   6625 
   6626 
   6627   ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
   6628 fi
   6629 
   6630 # Handle --disable-<component> generically.
   6631 for dir in $configdirs $build_configdirs $target_configdirs ; do
   6632   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
   6633   varname=`echo $dirname | sed -e s/+/_/g`
   6634   if eval test x\${enable_${varname}} "=" xno ; then
   6635     noconfigdirs="$noconfigdirs $dir"
   6636   fi
   6637 done
   6638 
   6639 # Check for Boehm's garbage collector
   6640 # Check whether --enable-objc-gc was given.
   6641 if test "${enable_objc_gc+set}" = set; then :
   6642   enableval=$enable_objc_gc;
   6643 fi
   6644 
   6645 
   6646 # Check whether --with-target-bdw-gc was given.
   6647 if test "${with_target_bdw_gc+set}" = set; then :
   6648   withval=$with_target_bdw_gc;
   6649 fi
   6650 
   6651 
   6652 # Check whether --with-target-bdw-gc-include was given.
   6653 if test "${with_target_bdw_gc_include+set}" = set; then :
   6654   withval=$with_target_bdw_gc_include;
   6655 fi
   6656 
   6657 
   6658 # Check whether --with-target-bdw-gc-lib was given.
   6659 if test "${with_target_bdw_gc_lib+set}" = set; then :
   6660   withval=$with_target_bdw_gc_lib;
   6661 fi
   6662 
   6663 
   6664 case ,${enable_languages},:${enable_objc_gc} in *,objc,*:yes|*,objc,*:auto)
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
   6666 $as_echo_n "checking for bdw garbage collector... " >&6; }
   6667   if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x; then
   6668         { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
   6669 $as_echo "using bdw-gc in default locations" >&6; }
   6670   else
   6671         if test "x$with_target_bdw_gc_include" = x && test "x$with_target_bdw_gc_lib" != x; then
   6672       as_fn_error $? "found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
   6673     elif test "x$with_target_bdw_gc_include" != x && test "x$with_target_bdw_gc_lib" = x; then
   6674       as_fn_error $? "found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
   6675     else
   6676       { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
   6677 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
   6678     fi
   6679   fi
   6680 esac
   6681 
   6682 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
   6683 case ,${enable_languages}, in
   6684   *,c++,*)
   6685     # Disable libitm, libsanitizer if we're not building libstdc++
   6686     case "${noconfigdirs}" in
   6687       *target-libstdc++-v3*)
   6688         noconfigdirs="$noconfigdirs target-libitm target-libsanitizer"
   6689         ;;
   6690       *) ;;
   6691     esac
   6692     ;;
   6693   *)
   6694     noconfigdirs="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
   6695     ;;
   6696 esac
   6697 
   6698 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
   6699 # $build_configdirs and $target_configdirs.
   6700 # If we have the source for $noconfigdirs entries, add them to $notsupp.
   6701 
   6702 notsupp=""
   6703 for dir in . $skipdirs $noconfigdirs ; do
   6704   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
   6705   if test $dir != .  && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6706     configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
   6707     if test -r $srcdir/$dirname/configure ; then
   6708       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6709 	true
   6710       else
   6711 	notsupp="$notsupp $dir"
   6712       fi
   6713     fi
   6714   fi
   6715   if test $dir != .  && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6716     build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
   6717     if test -r $srcdir/$dirname/configure ; then
   6718       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6719 	true
   6720       else
   6721 	notsupp="$notsupp $dir"
   6722       fi
   6723     fi
   6724   fi
   6725   if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6726     target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
   6727     if test -r $srcdir/$dirname/configure ; then
   6728       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6729 	true
   6730       else
   6731 	notsupp="$notsupp $dir"
   6732       fi
   6733     fi
   6734   fi
   6735 done
   6736 
   6737 # Quietly strip out all directories which aren't configurable in this tree.
   6738 # This relies on all configurable subdirectories being autoconfiscated, which
   6739 # is now the case.
   6740 build_configdirs_all="$build_configdirs"
   6741 build_configdirs=
   6742 for i in ${build_configdirs_all} ; do
   6743   j=`echo $i | sed -e s/build-//g`
   6744   if test -f ${srcdir}/$j/configure ; then
   6745     build_configdirs="${build_configdirs} $i"
   6746   fi
   6747 done
   6748 
   6749 configdirs_all="$configdirs"
   6750 configdirs=
   6751 for i in ${configdirs_all} ; do
   6752   if test -f ${srcdir}/$i/configure ; then
   6753     configdirs="${configdirs} $i"
   6754   fi
   6755 done
   6756 
   6757 target_configdirs_all="$target_configdirs"
   6758 target_configdirs=
   6759 for i in ${target_configdirs_all} ; do
   6760   j=`echo $i | sed -e s/target-//g`
   6761   if test -f ${srcdir}/$j/configure ; then
   6762     target_configdirs="${target_configdirs} $i"
   6763   fi
   6764 done
   6765 
   6766 # libiberty-linker-plugin is special: it doesn't have its own source directory,
   6767 # so we have to add it after the preceding checks.
   6768 if test x"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
   6769 then
   6770   case " $configdirs " in
   6771     *" libiberty "*)
   6772       # If we can build libiberty, we can also build libiberty-linker-plugin.
   6773       configdirs="$configdirs libiberty-linker-plugin"
   6774       extra_linker_plugin_configure_flags="$extra_linker_plugin_configure_flags \
   6775         --with-libiberty=../libiberty-linker-plugin";;
   6776     *)
   6777       as_fn_error $? "libiberty missing" "$LINENO" 5;;
   6778   esac
   6779 fi
   6780 
   6781 # Sometimes we have special requirements for the host libiberty.
   6782 extra_host_libiberty_configure_flags=
   6783 extra_host_zlib_configure_flags=
   6784 case " $configdirs " in
   6785   *" lto-plugin "* | *" libcc1 "*)
   6786     # When these are to be built as shared libraries, the same applies to
   6787     # libiberty.
   6788     extra_host_libiberty_configure_flags=--enable-shared
   6789     ;;
   6790   *" bfd "*)
   6791     # When bfd is to be built as a shared library, the same applies to
   6792     # zlib.
   6793     if test "$enable_shared" = "yes"; then
   6794       extra_host_zlib_configure_flags=--enable-host-shared
   6795     fi
   6796     ;;
   6797 esac
   6798 
   6799 
   6800 
   6801 # Produce a warning message for the subdirs we can't configure.
   6802 # This isn't especially interesting in the Cygnus tree, but in the individual
   6803 # FSF releases, it's important to let people know when their machine isn't
   6804 # supported by the one or two programs in a package.
   6805 
   6806 if test -n "${notsupp}" && test -z "${norecursion}" ; then
   6807   # If $appdirs is non-empty, at least one of those directories must still
   6808   # be configured, or we error out.  (E.g., if the gas release supports a
   6809   # specified target in some subdirs but not the gas subdir, we shouldn't
   6810   # pretend that all is well.)
   6811   if test -n "$appdirs" ; then
   6812     for dir in $appdirs ; do
   6813       if test -r $dir/Makefile.in ; then
   6814 	if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6815 	  appdirs=""
   6816 	  break
   6817 	fi
   6818 	if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
   6819 	  appdirs=""
   6820 	  break
   6821 	fi
   6822       fi
   6823     done
   6824     if test -n "$appdirs" ; then
   6825       echo "*** This configuration is not supported by this package." 1>&2
   6826       exit 1
   6827     fi
   6828   fi
   6829   # Okay, some application will build, or we don't care to check.  Still
   6830   # notify of subdirs not getting built.
   6831   echo "*** This configuration is not supported in the following subdirectories:" 1>&2
   6832   echo "    ${notsupp}" 1>&2
   6833   echo "    (Any other directories should still work fine.)" 1>&2
   6834 fi
   6835 
   6836 case "$host" in
   6837   *msdosdjgpp*)
   6838     enable_gdbtk=no ;;
   6839 esac
   6840 
   6841 # To find our prefix, in gcc_cv_tool_prefix.
   6842 
   6843 # The user is always right.
   6844 if test "${PATH_SEPARATOR+set}" != set; then
   6845   echo "#! /bin/sh" >conf$$.sh
   6846   echo  "exit 0"   >>conf$$.sh
   6847   chmod +x conf$$.sh
   6848   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   6849     PATH_SEPARATOR=';'
   6850   else
   6851     PATH_SEPARATOR=:
   6852   fi
   6853   rm -f conf$$.sh
   6854 fi
   6855 
   6856 
   6857   get_gcc_base_ver="cat"
   6858 
   6859 # Check whether --with-gcc-major-version-only was given.
   6860 if test "${with_gcc_major_version_only+set}" = set; then :
   6861   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
   6862         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
   6863       fi
   6864 
   6865 fi
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 if test "x$exec_prefix" = xNONE; then
   6873         if test "x$prefix" = xNONE; then
   6874                 gcc_cv_tool_prefix=$ac_default_prefix
   6875         else
   6876                 gcc_cv_tool_prefix=$prefix
   6877         fi
   6878 else
   6879         gcc_cv_tool_prefix=$exec_prefix
   6880 fi
   6881 
   6882 # If there is no compiler in the tree, use the PATH only.  In any
   6883 # case, if there is no compiler in the tree nobody should use
   6884 # AS_FOR_TARGET and LD_FOR_TARGET.
   6885 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
   6886     if test x$with_gcc_major_version_only = xyes ; then
   6887                 gcc_version=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
   6888             else
   6889         gcc_version=`cat $srcdir/gcc/BASE-VER`
   6890     fi
   6891     gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6892     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
   6893     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6894     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
   6895     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6896     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
   6897 else
   6898     gcc_cv_tool_dirs=
   6899 fi
   6900 
   6901 if test x$build = x$target && test -n "$md_exec_prefix"; then
   6902         gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
   6903 fi
   6904 
   6905 
   6906 
   6907 copy_dirs=
   6908 
   6909 
   6910 # Check whether --with-build-sysroot was given.
   6911 if test "${with_build_sysroot+set}" = set; then :
   6912   withval=$with_build_sysroot; if test x"$withval" != x ; then
   6913      SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
   6914    fi
   6915 else
   6916   SYSROOT_CFLAGS_FOR_TARGET=
   6917 fi
   6918 
   6919 
   6920 
   6921 
   6922 # Check whether --with-debug-prefix-map was given.
   6923 if test "${with_debug_prefix_map+set}" = set; then :
   6924   withval=$with_debug_prefix_map; if test x"$withval" != x; then
   6925      DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6926      for debug_map in $withval; do
   6927        DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
   6928      done
   6929    fi
   6930 else
   6931   DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6932 fi
   6933 
   6934 
   6935 
   6936 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
   6937 # might be empty or "-g".  We don't require a C++ compiler, so CXXFLAGS
   6938 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
   6939 # We want to ensure that TARGET libraries (which we know are built with
   6940 # gcc) are built with "-O2 -g", so include those options when setting
   6941 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
   6942 if test "x$CFLAGS_FOR_TARGET" = x; then
   6943   if test "x${is_cross_compiler}" = xyes; then
   6944     CFLAGS_FOR_TARGET="-g -O2"
   6945   else
   6946     CFLAGS_FOR_TARGET=$CFLAGS
   6947     case " $CFLAGS " in
   6948       *" -O2 "*) ;;
   6949       *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
   6950     esac
   6951     case " $CFLAGS " in
   6952       *" -g "* | *" -g3 "*) ;;
   6953       *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
   6954     esac
   6955   fi
   6956 fi
   6957 
   6958 
   6959 if test "x$CXXFLAGS_FOR_TARGET" = x; then
   6960   if test "x${is_cross_compiler}" = xyes; then
   6961     CXXFLAGS_FOR_TARGET="-g -O2"
   6962   else
   6963     CXXFLAGS_FOR_TARGET=$CXXFLAGS
   6964     case " $CXXFLAGS " in
   6965       *" -O2 "*) ;;
   6966       *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
   6967     esac
   6968     case " $CXXFLAGS " in
   6969       *" -g "* | *" -g3 "*) ;;
   6970       *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
   6971     esac
   6972   fi
   6973 fi
   6974 
   6975 
   6976 
   6977 
   6978 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
   6979 # the named directory are copied to $(tooldir)/sys-include.
   6980 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
   6981   if test x${is_cross_compiler} = xno ; then
   6982     echo 1>&2 '***' --with-headers is only supported when cross compiling
   6983     exit 1
   6984   fi
   6985   if test x"${with_headers}" != xyes ; then
   6986     x=${gcc_cv_tool_prefix}
   6987     copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
   6988   fi
   6989 fi
   6990 
   6991 # Handle --with-libs=XXX.  If the value is not "yes", the contents of
   6992 # the name directories are copied to $(tooldir)/lib.  Multiple directories
   6993 # are permitted.
   6994 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   6995   if test x${is_cross_compiler} = xno ; then
   6996     echo 1>&2 '***' --with-libs is only supported when cross compiling
   6997     exit 1
   6998   fi
   6999   if test x"${with_libs}" != xyes ; then
   7000     # Copy the libraries in reverse order, so that files in the first named
   7001     # library override files in subsequent libraries.
   7002     x=${gcc_cv_tool_prefix}
   7003     for l in ${with_libs}; do
   7004       copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
   7005     done
   7006   fi
   7007 fi
   7008 
   7009 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
   7010 #
   7011 # This is done by determining whether or not the appropriate directory
   7012 # is available, and by checking whether or not specific configurations
   7013 # have requested that this magic not happen.
   7014 #
   7015 # The command line options always override the explicit settings in
   7016 # configure.ac, and the settings in configure.ac override this magic.
   7017 #
   7018 # If the default for a toolchain is to use GNU as and ld, and you don't
   7019 # want to do that, then you should use the --without-gnu-as and
   7020 # --without-gnu-ld options for the configure script.  Similarly, if
   7021 # the default is to use the included zlib and you don't want to do that,
   7022 # you should use the --with-system-zlib option for the configure script.
   7023 
   7024 if test x${use_gnu_as} = x &&
   7025    echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
   7026   with_gnu_as=yes
   7027   extra_host_args="$extra_host_args --with-gnu-as"
   7028 fi
   7029 
   7030 if test x${use_gnu_ld} = x &&
   7031    echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
   7032   with_gnu_ld=yes
   7033   extra_host_args="$extra_host_args --with-gnu-ld"
   7034 fi
   7035 
   7036 if test x${use_included_zlib} = x &&
   7037    echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
   7038   :
   7039 else
   7040   with_system_zlib=yes
   7041   extra_host_args="$extra_host_args --with-system-zlib"
   7042 fi
   7043 
   7044 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
   7045 # can detect this case.
   7046 
   7047 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
   7048   with_newlib=yes
   7049   extra_host_args="$extra_host_args --with-newlib"
   7050 fi
   7051 
   7052 # Handle ${copy_dirs}
   7053 set fnord ${copy_dirs}
   7054 shift
   7055 while test $# != 0 ; do
   7056   if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
   7057     :
   7058   else
   7059     echo Copying $1 to $2
   7060 
   7061     # Use the install script to create the directory and all required
   7062     # parent directories.
   7063     if test -d $2 ; then
   7064       :
   7065     else
   7066       echo >config.temp
   7067       ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
   7068     fi
   7069 
   7070     # Copy the directory, assuming we have tar.
   7071     # FIXME: Should we use B in the second tar?  Not all systems support it.
   7072     (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
   7073 
   7074     # It is the responsibility of the user to correctly adjust all
   7075     # symlinks.  If somebody can figure out how to handle them correctly
   7076     # here, feel free to add the code.
   7077 
   7078     echo $1 > $2/COPIED
   7079   fi
   7080   shift; shift
   7081 done
   7082 
   7083 # Determine a target-dependent exec_prefix that the installed
   7084 # gcc will search in.  Keep this list sorted by triplet, with
   7085 # the *-*-osname triplets last.
   7086 md_exec_prefix=
   7087 case "${target}" in
   7088   i[34567]86-pc-msdosdjgpp*)
   7089     md_exec_prefix=/dev/env/DJDIR/bin
   7090     ;;
   7091   *-*-hpux* | \
   7092   *-*-nto-qnx* | \
   7093   *-*-solaris2*)
   7094     md_exec_prefix=/usr/ccs/bin
   7095     ;;
   7096 esac
   7097 
   7098 extra_arflags_for_target=
   7099 extra_nmflags_for_target=
   7100 extra_ranlibflags_for_target=
   7101 target_makefile_frag=/dev/null
   7102 case "${target}" in
   7103   spu-*-*)
   7104     target_makefile_frag="config/mt-spu"
   7105     ;;
   7106   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   7107     target_makefile_frag="config/mt-sde"
   7108     ;;
   7109   mipsisa*-*-elfoabi*)
   7110     target_makefile_frag="config/mt-mips-elfoabi"
   7111     ;;
   7112   mips*-*-*linux* | mips*-*-gnu*)
   7113     target_makefile_frag="config/mt-mips-gnu"
   7114     ;;
   7115   nios2-*-elf*)
   7116     target_makefile_frag="config/mt-nios2-elf"
   7117     ;;
   7118   *-*-linux-android*)
   7119     target_makefile_frag="config/mt-android"
   7120     ;;
   7121   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   7122     target_makefile_frag="config/mt-gnu"
   7123     ;;
   7124   *-*-aix4.[3456789]* | *-*-aix[56789].*)
   7125     # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
   7126     # commands to handle both 32-bit and 64-bit objects.  These flags are
   7127     # harmless if we're using GNU nm or ar.
   7128     extra_arflags_for_target=" -X32_64"
   7129     extra_nmflags_for_target=" -B -X32_64"
   7130     ;;
   7131 esac
   7132 
   7133 alphaieee_frag=/dev/null
   7134 case $target in
   7135   alpha*-*-*)
   7136     # This just makes sure to use the -mieee option to build target libs.
   7137     # This should probably be set individually by each library.
   7138     alphaieee_frag="config/mt-alphaieee"
   7139     ;;
   7140 esac
   7141 
   7142 # If --enable-target-optspace always use -Os instead of -O2 to build
   7143 # the target libraries, similarly if it is not specified, use -Os
   7144 # on selected platforms.
   7145 ospace_frag=/dev/null
   7146 case "${enable_target_optspace}:${target}" in
   7147   yes:*)
   7148     ospace_frag="config/mt-ospace"
   7149     ;;
   7150   :d30v-*)
   7151     ospace_frag="config/mt-d30v"
   7152     ;;
   7153   :m32r-* | :d10v-* | :fr30-* | :i?86*-*-elfiamcu)
   7154     ospace_frag="config/mt-ospace"
   7155     ;;
   7156   no:* | :*)
   7157     ;;
   7158   *)
   7159     echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
   7160     ;;
   7161 esac
   7162 
   7163 # Some systems (e.g., one of the i386-aix systems the gas testers are
   7164 # using) don't handle "\$" correctly, so don't use it here.
   7165 tooldir='${exec_prefix}'/${target_noncanonical}
   7166 build_tooldir=${tooldir}
   7167 
   7168 # Create a .gdbinit file which runs the one in srcdir
   7169 # and tells GDB to look there for source files.
   7170 
   7171 if test -r ${srcdir}/.gdbinit ; then
   7172   case ${srcdir} in
   7173     .) ;;
   7174     *) cat > ./.gdbinit <<EOF
   7175 # ${NO_EDIT}
   7176 dir ${srcdir}
   7177 dir .
   7178 source ${srcdir}/.gdbinit
   7179 EOF
   7180     ;;
   7181   esac
   7182 fi
   7183 
   7184 # Make sure that the compiler is able to generate an executable.  If it
   7185 # can't, we are probably in trouble.  We don't care whether we can run the
   7186 # executable--we might be using a cross compiler--we only care whether it
   7187 # can be created.  At this point the main configure script has set CC.
   7188 we_are_ok=no
   7189 echo "int main () { return 0; }" > conftest.c
   7190 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7191 if test $? = 0 ; then
   7192   if test -s conftest || test -s conftest.exe ; then
   7193     we_are_ok=yes
   7194   fi
   7195 fi
   7196 case $we_are_ok in
   7197   no)
   7198     echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
   7199     echo 1>&2 "*** You must set the environment variable CC to a working compiler."
   7200     rm -f conftest*
   7201     exit 1
   7202     ;;
   7203 esac
   7204 rm -f conftest*
   7205 
   7206 # Decide which environment variable is used to find dynamic libraries.
   7207 case "${host}" in
   7208   *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
   7209   *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
   7210   *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
   7211   *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
   7212 esac
   7213 
   7214 # On systems where the dynamic library environment variable is PATH,
   7215 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
   7216 # built executables to PATH.
   7217 if test "$RPATH_ENVVAR" = PATH; then
   7218   GCC_SHLIB_SUBDIR=/shlib
   7219 else
   7220   GCC_SHLIB_SUBDIR=
   7221 fi
   7222 
   7223 # Adjust the toplevel makefile according to whether bootstrap was selected.
   7224 case $enable_bootstrap in
   7225   yes)
   7226     bootstrap_suffix=bootstrap
   7227     BUILD_CONFIG=bootstrap-debug
   7228     ;;
   7229   no)
   7230     bootstrap_suffix=no-bootstrap
   7231     BUILD_CONFIG=
   7232     ;;
   7233 esac
   7234 
   7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
   7236 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
   7237 
   7238 
   7239 # Check whether --with-build-config was given.
   7240 if test "${with_build_config+set}" = set; then :
   7241   withval=$with_build_config; case $with_build_config in
   7242    yes) with_build_config= ;;
   7243    no) with_build_config= BUILD_CONFIG= ;;
   7244    esac
   7245 fi
   7246 
   7247 
   7248 if test "x${with_build_config}" != x; then
   7249   BUILD_CONFIG=$with_build_config
   7250 else
   7251   case $BUILD_CONFIG in
   7252   bootstrap-debug)
   7253     if echo "int f (void) { return 0; }" > conftest.c &&
   7254        ${CC} -c conftest.c &&
   7255        mv conftest.o conftest.o.g0 &&
   7256        ${CC} -c -g conftest.c &&
   7257        mv conftest.o conftest.o.g &&
   7258        ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
   7259       :
   7260     else
   7261       BUILD_CONFIG=
   7262     fi
   7263     rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
   7264     ;;
   7265   esac
   7266 fi
   7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
   7268 $as_echo "$BUILD_CONFIG" >&6; }
   7269 
   7270 
   7271 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
   7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
   7273 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
   7274 # Check whether --enable-vtable-verify was given.
   7275 if test "${enable_vtable_verify+set}" = set; then :
   7276   enableval=$enable_vtable_verify; case "$enableval" in
   7277  yes) enable_vtable_verify=yes ;;
   7278  no)  enable_vtable_verify=no ;;
   7279  *)   enable_vtable_verify=no;;
   7280  esac
   7281 else
   7282   enable_vtable_verify=no
   7283 fi
   7284 
   7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
   7286 $as_echo "$enable_vtable_verify" >&6; }
   7287 
   7288 # Record target_configdirs and the configure arguments for target and
   7289 # build configuration in Makefile.
   7290 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
   7291 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
   7292 bootstrap_fixincludes=no
   7293 
   7294 # If we are building libgomp, bootstrap it.
   7295 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
   7296   bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
   7297 fi
   7298 
   7299 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
   7300 # or bootstrap-ubsan, bootstrap it.
   7301 if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then
   7302   case "$BUILD_CONFIG" in
   7303     *bootstrap-asan* | *bootstrap-ubsan* )
   7304       bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
   7305       bootstrap_fixincludes=yes
   7306       ;;
   7307   esac
   7308 fi
   7309 
   7310 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
   7311 if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
   7312    test "$enable_vtable_verify" != no; then
   7313   bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
   7314 fi
   7315 
   7316 # Determine whether gdb needs tk/tcl or not.
   7317 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
   7318 # and in that case we want gdb to be built without tk.  Ugh!
   7319 # In fact I believe gdb is the *only* package directly dependent on tk,
   7320 # so we should be able to put the 'maybe's in unconditionally and
   7321 # leave out the maybe dependencies when enable_gdbtk is false.  I'm not
   7322 # 100% sure that that's safe though.
   7323 
   7324 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
   7325 case "$enable_gdbtk" in
   7326   no)
   7327     GDB_TK="" ;;
   7328   yes)
   7329     GDB_TK="${gdb_tk}" ;;
   7330   *)
   7331     # Only add the dependency on gdbtk when GDBtk is part of the gdb
   7332     # distro.  Eventually someone will fix this and move Insight, nee
   7333     # gdbtk to a separate directory.
   7334     if test -d ${srcdir}/gdb/gdbtk ; then
   7335       GDB_TK="${gdb_tk}"
   7336     else
   7337       GDB_TK=""
   7338     fi
   7339     ;;
   7340 esac
   7341 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
   7342 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
   7343 
   7344 # gdb depends on gnulib and gdbsupport, but as nothing else does, only
   7345 # include them if gdb is built.
   7346 if echo " ${configdirs} " | grep " gdb " > /dev/null 2>&1 ; then
   7347   # The Makefile provides the ordering, so it's enough here to add to
   7348   # the list.
   7349   configdirs="${configdirs} gnulib gdbsupport"
   7350 fi
   7351 
   7352 # Strip out unwanted targets.
   7353 
   7354 # While at that, we remove Makefiles if we were started for recursive
   7355 # configuration, so that the top-level Makefile reconfigures them,
   7356 # like we used to do when configure itself was recursive.
   7357 
   7358 # Loop over modules.  We used to use the "$extrasub" feature from Autoconf
   7359 # but now we're fixing up the Makefile ourselves with the additional
   7360 # commands passed to AC_CONFIG_FILES.  Use separate variables
   7361 # extrasub-{build,host,target} not because there is any reason to split
   7362 # the substitutions up that way, but only to remain below the limit of
   7363 # 99 commands in a script, for HP-UX sed.
   7364 
   7365 # Do not nest @if/@endif or @unless/@endunless pairs, because
   7366 # configure will not warn you at all.
   7367 
   7368 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
   7369   yes:yes:*\ gold\ *:*,c++,*) ;;
   7370   yes:yes:*\ gold\ *:*)
   7371     as_fn_error $? "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
   7372     ;;
   7373 esac
   7374 
   7375 extrasub_build=
   7376 for module in ${build_configdirs} ; do
   7377   if test -z "${no_recursion}" \
   7378      && test -f ${build_subdir}/${module}/Makefile; then
   7379     echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
   7380     rm -f ${build_subdir}/${module}/Makefile
   7381   fi
   7382   extrasub_build="$extrasub_build
   7383 /^@if build-$module\$/d
   7384 /^@endif build-$module\$/d
   7385 /^@unless build-$module\$/,/^@endunless build-$module\$/d
   7386 /^@if build-$module-$bootstrap_suffix\$/d
   7387 /^@endif build-$module-$bootstrap_suffix\$/d
   7388 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
   7389 done
   7390 extrasub_host=
   7391 for module in ${configdirs} ; do
   7392   if test -z "${no_recursion}"; then
   7393     for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
   7394       if test -f ${file}; then
   7395 	echo 1>&2 "*** removing ${file} to force reconfigure"
   7396 	rm -f ${file}
   7397       fi
   7398     done
   7399   fi
   7400   case ${module},${bootstrap_fixincludes} in
   7401     fixincludes,no) host_bootstrap_suffix=no-bootstrap ;;
   7402     *) host_bootstrap_suffix=$bootstrap_suffix ;;
   7403   esac
   7404   extrasub_host="$extrasub_host
   7405 /^@if $module\$/d
   7406 /^@endif $module\$/d
   7407 /^@unless $module\$/,/^@endunless $module\$/d
   7408 /^@if $module-$host_bootstrap_suffix\$/d
   7409 /^@endif $module-$host_bootstrap_suffix\$/d
   7410 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
   7411 done
   7412 extrasub_target=
   7413 for module in ${target_configdirs} ; do
   7414   if test -z "${no_recursion}" \
   7415      && test -f ${target_subdir}/${module}/Makefile; then
   7416     echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
   7417     rm -f ${target_subdir}/${module}/Makefile
   7418   fi
   7419 
   7420   # We only bootstrap target libraries listed in bootstrap_target_libs.
   7421   case $bootstrap_target_libs in
   7422     *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
   7423     *) target_bootstrap_suffix=no-bootstrap ;;
   7424   esac
   7425 
   7426   extrasub_target="$extrasub_target
   7427 /^@if target-$module\$/d
   7428 /^@endif target-$module\$/d
   7429 /^@unless target-$module\$/,/^@endunless target-$module\$/d
   7430 /^@if target-$module-$target_bootstrap_suffix\$/d
   7431 /^@endif target-$module-$target_bootstrap_suffix\$/d
   7432 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
   7433 done
   7434 
   7435 # Do the final fixup along with target modules.
   7436 extrasub_target="$extrasub_target
   7437 /^@if /,/^@endif /d
   7438 /^@unless /d
   7439 /^@endunless /d"
   7440 
   7441 # Create the serialization dependencies.  This uses a temporary file.
   7442 
   7443 # Check whether --enable-serial-configure was given.
   7444 if test "${enable_serial_configure+set}" = set; then :
   7445   enableval=$enable_serial_configure;
   7446 fi
   7447 
   7448 
   7449 case ${enable_serial_configure} in
   7450   yes)
   7451     enable_serial_build_configure=yes
   7452     enable_serial_host_configure=yes
   7453     enable_serial_target_configure=yes
   7454     ;;
   7455 esac
   7456 
   7457 # These force 'configure's to be done one at a time, to avoid problems
   7458 # with contention over a shared config.cache.
   7459 rm -f serdep.tmp
   7460 echo '# serdep.tmp' > serdep.tmp
   7461 olditem=
   7462 test "x${enable_serial_build_configure}" = xyes &&
   7463 for item in ${build_configdirs} ; do
   7464   case ${olditem} in
   7465     "") ;;
   7466     *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
   7467   esac
   7468   olditem=${item}
   7469 done
   7470 olditem=
   7471 test "x${enable_serial_host_configure}" = xyes &&
   7472 for item in ${configdirs} ; do
   7473   case ${olditem} in
   7474     "") ;;
   7475     *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
   7476   esac
   7477   olditem=${item}
   7478 done
   7479 olditem=
   7480 test "x${enable_serial_target_configure}" = xyes &&
   7481 for item in ${target_configdirs} ; do
   7482   case ${olditem} in
   7483     "") ;;
   7484     *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
   7485   esac
   7486   olditem=${item}
   7487 done
   7488 serialization_dependencies=serdep.tmp
   7489 
   7490 
   7491 # Base args.  Strip norecursion, cache-file, srcdir, host, build,
   7492 # target, nonopt, and variable assignments.  These are the ones we
   7493 # might not want to pass down to subconfigures.  The exception being
   7494 # --cache-file=/dev/null, which is used to turn off the use of cache
   7495 # files altogether, and which should be passed on to subconfigures.
   7496 # Also strip program-prefix, program-suffix, and program-transform-name,
   7497 # so that we can pass down a consistent program-transform-name.
   7498 baseargs=
   7499 tbaseargs=
   7500 keep_next=no
   7501 skip_next=no
   7502 eval "set -- $ac_configure_args"
   7503 for ac_arg
   7504 do
   7505   if test X"$skip_next" = X"yes"; then
   7506     skip_next=no
   7507     continue
   7508   fi
   7509   if test X"$keep_next" = X"yes"; then
   7510     case $ac_arg in
   7511       *\'*)
   7512 	ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7513     esac
   7514     baseargs="$baseargs '$ac_arg'"
   7515     tbaseargs="$tbaseargs '$ac_arg'"
   7516     keep_next=no
   7517     continue
   7518   fi
   7519 
   7520   # Handle separated arguments.  Based on the logic generated by
   7521   # autoconf 2.59.
   7522   case $ac_arg in
   7523     *=* | --config-cache | -C | -disable-* | --disable-* \
   7524       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   7525       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   7526       | -with-* | --with-* | -without-* | --without-* | --x)
   7527       separate_arg=no
   7528       ;;
   7529     -*)
   7530       separate_arg=yes
   7531       ;;
   7532     *)
   7533       separate_arg=no
   7534       ;;
   7535   esac
   7536 
   7537   skip_targ=no
   7538   case $ac_arg in
   7539 
   7540   --with-* | --without-*)
   7541     libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
   7542 
   7543     case $libopt in
   7544     *[-_]include)
   7545       lib=`echo "$libopt" | sed 's,[-_]include$,,'`
   7546       ;;
   7547     *[-_]lib)
   7548       lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
   7549       ;;
   7550     *)
   7551       lib=$libopt
   7552       ;;
   7553     esac
   7554 
   7555 
   7556     case $lib in
   7557     mpc | mpfr | gmp | isl)
   7558       # If we're processing --with-$lib, --with-$lib-include or
   7559       # --with-$lib-lib, for one of the libs above, and target is
   7560       # different from host, don't pass the current argument to any
   7561       # target library's configure.
   7562       if test x$is_cross_compiler = xyes; then
   7563         skip_targ=yes
   7564       fi
   7565       ;;
   7566     esac
   7567     ;;
   7568   esac
   7569 
   7570   case "$ac_arg" in
   7571     --cache-file=/dev/null | \
   7572     -cache-file=/dev/null )
   7573       # Handled here to avoid the test to skip args below.
   7574       baseargs="$baseargs '$ac_arg'"
   7575       tbaseargs="$tbaseargs '$ac_arg'"
   7576       # Assert: $separate_arg should always be no.
   7577       keep_next=$separate_arg
   7578       ;;
   7579     --no*)
   7580       continue
   7581       ;;
   7582     --c* | \
   7583     --sr* | \
   7584     --ho* | \
   7585     --bu* | \
   7586     --t* | \
   7587     --program-* | \
   7588     -cache_file* | \
   7589     -srcdir* | \
   7590     -host* | \
   7591     -build* | \
   7592     -target* | \
   7593     -program-prefix* | \
   7594     -program-suffix* | \
   7595     -program-transform-name* )
   7596       skip_next=$separate_arg
   7597       continue
   7598       ;;
   7599     -*)
   7600       # An option.  Add it.
   7601       case $ac_arg in
   7602 	*\'*)
   7603 	  ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7604       esac
   7605       baseargs="$baseargs '$ac_arg'"
   7606       if test X"$skip_targ" = Xno; then
   7607         tbaseargs="$tbaseargs '$ac_arg'"
   7608       fi
   7609       keep_next=$separate_arg
   7610       ;;
   7611     *)
   7612       # Either a variable assignment, or a nonopt (triplet).  Don't
   7613       # pass it down; let the Makefile handle this.
   7614       continue
   7615       ;;
   7616   esac
   7617 done
   7618 # Remove the initial space we just introduced and, as these will be
   7619 # expanded by make, quote '$'.
   7620 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   7621 
   7622 # Add in --program-transform-name, after --program-prefix and
   7623 # --program-suffix have been applied to it.  Autoconf has already
   7624 # doubled dollar signs and backslashes in program_transform_name; we want
   7625 # the backslashes un-doubled, and then the entire thing wrapped in single
   7626 # quotes, because this will be expanded first by make and then by the shell.
   7627 # Also, because we want to override the logic in subdir configure scripts to
   7628 # choose program_transform_name, replace any s,x,x, with s,y,y,.
   7629 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
   7630 ${program_transform_name}
   7631 EOF_SED
   7632 gcc_transform_name=`cat conftestsed.out`
   7633 rm -f conftestsed.out
   7634 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
   7635 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
   7636 if test "$silent" = yes; then
   7637   baseargs="$baseargs --silent"
   7638   tbaseargs="$tbaseargs --silent"
   7639 fi
   7640 baseargs="$baseargs --disable-option-checking"
   7641 tbaseargs="$tbaseargs --disable-option-checking"
   7642 
   7643 # Record and document user additions to sub configure arguments.
   7644 
   7645 
   7646 
   7647 
   7648 # For the build-side libraries, we just need to pretend we're native,
   7649 # and not use the same cache file.  Multilibs are neither needed nor
   7650 # desired.  We can't even use the same cache file for all build-side
   7651 # libraries, as they're compiled differently; some with C, some with
   7652 # C++ or with different feature-enabling options.
   7653 build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}"
   7654 
   7655 # For host modules, accept cache file option, or specification as blank.
   7656 case "${cache_file}" in
   7657 "") # empty
   7658   cache_file_option="" ;;
   7659 /* | [A-Za-z]:[\\/]* ) # absolute path
   7660   cache_file_option="--cache-file=${cache_file}" ;;
   7661 *) # relative path
   7662   cache_file_option="--cache-file=../${cache_file}" ;;
   7663 esac
   7664 
   7665 # Host dirs don't like to share a cache file either, horribly enough.
   7666 # This seems to be due to autoconf 2.5x stupidity.
   7667 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
   7668 
   7669 target_configargs="$target_configargs ${tbaseargs}"
   7670 
   7671 # Passing a --with-cross-host argument lets the target libraries know
   7672 # whether they are being built with a cross-compiler or being built
   7673 # native.  However, it would be better to use other mechanisms to make the
   7674 # sorts of decisions they want to make on this basis.  Please consider
   7675 # this option to be deprecated.  FIXME.
   7676 if test x${is_cross_compiler} = xyes ; then
   7677   target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
   7678 fi
   7679 
   7680 # Special user-friendly check for native x86_64-linux build, if
   7681 # multilib is not explicitly enabled.
   7682 case "$target:$have_compiler:$host:$target:$enable_multilib" in
   7683   x86_64-*linux*:yes:$build:$build:)
   7684     # Make sure we have a development environment that handles 32-bit
   7685     dev64=no
   7686     echo "int main () { return 0; }" > conftest.c
   7687     ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7688     if test $? = 0 ; then
   7689       if test -s conftest || test -s conftest.exe ; then
   7690 	dev64=yes
   7691       fi
   7692     fi
   7693     rm -f conftest*
   7694     if test x${dev64} != xyes ; then
   7695       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
   7696     fi
   7697     ;;
   7698 esac
   7699 
   7700 # Default to --enable-multilib.
   7701 if test x${enable_multilib} = x ; then
   7702   target_configargs="--enable-multilib ${target_configargs}"
   7703 fi
   7704 
   7705 # Pass --with-newlib if appropriate.  Note that target_configdirs has
   7706 # changed from the earlier setting of with_newlib.
   7707 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
   7708   target_configargs="--with-newlib ${target_configargs}"
   7709 fi
   7710 
   7711 # Different target subdirs use different values of certain variables
   7712 # (notably CXX).  Worse, multilibs use *lots* of different values.
   7713 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
   7714 # it doesn't automatically accept command-line overrides of them.
   7715 # This means it's not safe for target subdirs to share a cache file,
   7716 # which is disgusting, but there you have it.  Hopefully this can be
   7717 # fixed in future.  It's still worthwhile to use a cache file for each
   7718 # directory.  I think.
   7719 
   7720 # Pass the appropriate --build, --host, --target and --cache-file arguments.
   7721 # We need to pass --target, as newer autoconf's requires consistency
   7722 # for target_alias and gcc doesn't manage it consistently.
   7723 target_configargs="--cache-file=./config.cache ${target_configargs}"
   7724 
   7725 FLAGS_FOR_TARGET=
   7726 case " $target_configdirs " in
   7727  *" newlib "*)
   7728   case " $target_configargs " in
   7729   *" --with-newlib "*)
   7730    case "$target" in
   7731     *-cygwin*)
   7732       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
   7733       ;;
   7734    esac
   7735 
   7736    # If we're not building GCC, don't discard standard headers.
   7737    if test -d ${srcdir}/gcc; then
   7738      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
   7739 
   7740      if test "${build}" != "${host}"; then
   7741        # On Canadian crosses, CC_FOR_TARGET will have already been set
   7742        # by `configure', so we won't have an opportunity to add -Bgcc/
   7743        # to it.  This is right: we don't want to search that directory
   7744        # for binaries, but we want the header files in there, so add
   7745        # them explicitly.
   7746        FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
   7747 
   7748        # Someone might think of using the pre-installed headers on
   7749        # Canadian crosses, in case the installed compiler is not fully
   7750        # compatible with the compiler being built.  In this case, it
   7751        # would be better to flag an error than risking having
   7752        # incompatible object files being constructed.  We can't
   7753        # guarantee that an error will be flagged, but let's hope the
   7754        # compiler will do it, when presented with incompatible header
   7755        # files.
   7756      fi
   7757    fi
   7758 
   7759    case "${target}-${is_cross_compiler}" in
   7760    i[3456789]86-*-linux*-no)
   7761       # Here host == target, so we don't need to build gcc,
   7762       # so we don't want to discard standard headers.
   7763       FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
   7764       ;;
   7765    *)
   7766       # If we're building newlib, use its generic headers last, but search
   7767       # for any libc-related directories first (so make it the last -B
   7768       # switch).
   7769       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
   7770 
   7771       # If we're building libgloss, find the startup file, simulator library
   7772       # and linker script.
   7773       case " $target_configdirs " in
   7774 	*" libgloss "*)
   7775 	# Look for startup file, simulator library and maybe linker script.
   7776 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
   7777 	# Look for libnosys.a in case the target needs it.
   7778 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
   7779 	# Most targets have the linker script in the source directory.
   7780 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
   7781 	;;
   7782       esac
   7783       ;;
   7784    esac
   7785    ;;
   7786   esac
   7787   ;;
   7788 esac
   7789 
   7790 case "$target" in
   7791   x86_64-*mingw* | *-w64-mingw*)
   7792   # MinGW-w64 does not use newlib, nor does it use winsup. It may,
   7793   # however, use a symlink named 'mingw' in ${prefix} .
   7794     FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
   7795     ;;
   7796   *-mingw*)
   7797   # MinGW can't be handled as Cygwin above since it does not use newlib.
   7798     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'
   7799     ;;
   7800 esac
   7801 
   7802 # Allow the user to override the flags for
   7803 # our build compiler if desired.
   7804 if test x"${build}" = x"${host}" ; then
   7805   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
   7806   CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
   7807   LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
   7808 fi
   7809 
   7810 # On Canadian crosses, we'll be searching the right directories for
   7811 # the previously-installed cross compiler, so don't bother to add
   7812 # flags for directories within the install tree of the compiler
   7813 # being built; programs in there won't even run.
   7814 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
   7815   # Search for pre-installed headers if nothing else fits.
   7816   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
   7817 fi
   7818 
   7819 if test "x${use_gnu_ld}" = x &&
   7820    echo " ${configdirs} " | grep " ld " > /dev/null ; then
   7821   # Arrange for us to find uninstalled linker scripts.
   7822   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
   7823 fi
   7824 
   7825 # Search for other target-specific linker scripts and such.
   7826 case "${target}" in
   7827   mep*)
   7828     FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
   7829     ;;
   7830 esac
   7831 
   7832 # Makefile fragments.
   7833 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
   7834 do
   7835   eval fragval=\$$frag
   7836   if test $fragval != /dev/null; then
   7837     eval $frag=${srcdir}/$fragval
   7838   fi
   7839 done
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 # Miscellanea: directories, flags, etc.
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 # Build module lists & subconfigure args.
   7855 
   7856 
   7857 
   7858 # Host module lists & subconfigure args.
   7859 
   7860 
   7861 
   7862 
   7863 # Target module lists & subconfigure args.
   7864 
   7865 
   7866 
   7867 # Build tools.
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 # Generate default definitions for YACC, M4, LEX and other programs that run
   7885 # on the build machine.  These are used if the Makefile can't locate these
   7886 # programs in objdir.
   7887 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
   7888 
   7889 for ac_prog in 'bison -y' byacc yacc
   7890 do
   7891   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7892 set dummy $ac_prog; ac_word=$2
   7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7894 $as_echo_n "checking for $ac_word... " >&6; }
   7895 if ${ac_cv_prog_YACC+:} false; then :
   7896   $as_echo_n "(cached) " >&6
   7897 else
   7898   if test -n "$YACC"; then
   7899   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   7900 else
   7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7902 for as_dir in $PATH
   7903 do
   7904   IFS=$as_save_IFS
   7905   test -z "$as_dir" && as_dir=.
   7906     for ac_exec_ext in '' $ac_executable_extensions; do
   7907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7908     ac_cv_prog_YACC="$ac_prog"
   7909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7910     break 2
   7911   fi
   7912 done
   7913   done
   7914 IFS=$as_save_IFS
   7915 
   7916 fi
   7917 fi
   7918 YACC=$ac_cv_prog_YACC
   7919 if test -n "$YACC"; then
   7920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   7921 $as_echo "$YACC" >&6; }
   7922 else
   7923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7924 $as_echo "no" >&6; }
   7925 fi
   7926 
   7927 
   7928   test -n "$YACC" && break
   7929 done
   7930 test -n "$YACC" || YACC="$MISSING bison -y"
   7931 
   7932 case " $build_configdirs " in
   7933   *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
   7934 esac
   7935 
   7936 for ac_prog in bison
   7937 do
   7938   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7939 set dummy $ac_prog; ac_word=$2
   7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7941 $as_echo_n "checking for $ac_word... " >&6; }
   7942 if ${ac_cv_prog_BISON+:} false; then :
   7943   $as_echo_n "(cached) " >&6
   7944 else
   7945   if test -n "$BISON"; then
   7946   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   7947 else
   7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7949 for as_dir in $PATH
   7950 do
   7951   IFS=$as_save_IFS
   7952   test -z "$as_dir" && as_dir=.
   7953     for ac_exec_ext in '' $ac_executable_extensions; do
   7954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7955     ac_cv_prog_BISON="$ac_prog"
   7956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7957     break 2
   7958   fi
   7959 done
   7960   done
   7961 IFS=$as_save_IFS
   7962 
   7963 fi
   7964 fi
   7965 BISON=$ac_cv_prog_BISON
   7966 if test -n "$BISON"; then
   7967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   7968 $as_echo "$BISON" >&6; }
   7969 else
   7970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7971 $as_echo "no" >&6; }
   7972 fi
   7973 
   7974 
   7975   test -n "$BISON" && break
   7976 done
   7977 test -n "$BISON" || BISON="$MISSING bison"
   7978 
   7979 case " $build_configdirs " in
   7980   *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
   7981 esac
   7982 
   7983 for ac_prog in gm4 gnum4 m4
   7984 do
   7985   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7986 set dummy $ac_prog; ac_word=$2
   7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7988 $as_echo_n "checking for $ac_word... " >&6; }
   7989 if ${ac_cv_prog_M4+:} false; then :
   7990   $as_echo_n "(cached) " >&6
   7991 else
   7992   if test -n "$M4"; then
   7993   ac_cv_prog_M4="$M4" # Let the user override the test.
   7994 else
   7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7996 for as_dir in $PATH
   7997 do
   7998   IFS=$as_save_IFS
   7999   test -z "$as_dir" && as_dir=.
   8000     for ac_exec_ext in '' $ac_executable_extensions; do
   8001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8002     ac_cv_prog_M4="$ac_prog"
   8003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8004     break 2
   8005   fi
   8006 done
   8007   done
   8008 IFS=$as_save_IFS
   8009 
   8010 fi
   8011 fi
   8012 M4=$ac_cv_prog_M4
   8013 if test -n "$M4"; then
   8014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
   8015 $as_echo "$M4" >&6; }
   8016 else
   8017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8018 $as_echo "no" >&6; }
   8019 fi
   8020 
   8021 
   8022   test -n "$M4" && break
   8023 done
   8024 test -n "$M4" || M4="$MISSING m4"
   8025 
   8026 case " $build_configdirs " in
   8027   *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
   8028 esac
   8029 
   8030 for ac_prog in flex lex
   8031 do
   8032   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8033 set dummy $ac_prog; ac_word=$2
   8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8035 $as_echo_n "checking for $ac_word... " >&6; }
   8036 if ${ac_cv_prog_LEX+:} false; then :
   8037   $as_echo_n "(cached) " >&6
   8038 else
   8039   if test -n "$LEX"; then
   8040   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   8041 else
   8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8043 for as_dir in $PATH
   8044 do
   8045   IFS=$as_save_IFS
   8046   test -z "$as_dir" && as_dir=.
   8047     for ac_exec_ext in '' $ac_executable_extensions; do
   8048   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8049     ac_cv_prog_LEX="$ac_prog"
   8050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8051     break 2
   8052   fi
   8053 done
   8054   done
   8055 IFS=$as_save_IFS
   8056 
   8057 fi
   8058 fi
   8059 LEX=$ac_cv_prog_LEX
   8060 if test -n "$LEX"; then
   8061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   8062 $as_echo "$LEX" >&6; }
   8063 else
   8064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8065 $as_echo "no" >&6; }
   8066 fi
   8067 
   8068 
   8069   test -n "$LEX" && break
   8070 done
   8071 test -n "$LEX" || LEX="$MISSING flex"
   8072 
   8073 case " $build_configdirs " in
   8074   *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   8075   *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
   8076 esac
   8077 
   8078 for ac_prog in flex
   8079 do
   8080   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8081 set dummy $ac_prog; ac_word=$2
   8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8083 $as_echo_n "checking for $ac_word... " >&6; }
   8084 if ${ac_cv_prog_FLEX+:} false; then :
   8085   $as_echo_n "(cached) " >&6
   8086 else
   8087   if test -n "$FLEX"; then
   8088   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
   8089 else
   8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8091 for as_dir in $PATH
   8092 do
   8093   IFS=$as_save_IFS
   8094   test -z "$as_dir" && as_dir=.
   8095     for ac_exec_ext in '' $ac_executable_extensions; do
   8096   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8097     ac_cv_prog_FLEX="$ac_prog"
   8098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8099     break 2
   8100   fi
   8101 done
   8102   done
   8103 IFS=$as_save_IFS
   8104 
   8105 fi
   8106 fi
   8107 FLEX=$ac_cv_prog_FLEX
   8108 if test -n "$FLEX"; then
   8109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
   8110 $as_echo "$FLEX" >&6; }
   8111 else
   8112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8113 $as_echo "no" >&6; }
   8114 fi
   8115 
   8116 
   8117   test -n "$FLEX" && break
   8118 done
   8119 test -n "$FLEX" || FLEX="$MISSING flex"
   8120 
   8121 case " $build_configdirs " in
   8122   *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   8123 esac
   8124 
   8125 for ac_prog in makeinfo
   8126 do
   8127   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8128 set dummy $ac_prog; ac_word=$2
   8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8130 $as_echo_n "checking for $ac_word... " >&6; }
   8131 if ${ac_cv_prog_MAKEINFO+:} false; then :
   8132   $as_echo_n "(cached) " >&6
   8133 else
   8134   if test -n "$MAKEINFO"; then
   8135   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   8136 else
   8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8138 for as_dir in $PATH
   8139 do
   8140   IFS=$as_save_IFS
   8141   test -z "$as_dir" && as_dir=.
   8142     for ac_exec_ext in '' $ac_executable_extensions; do
   8143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8144     ac_cv_prog_MAKEINFO="$ac_prog"
   8145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8146     break 2
   8147   fi
   8148 done
   8149   done
   8150 IFS=$as_save_IFS
   8151 
   8152 fi
   8153 fi
   8154 MAKEINFO=$ac_cv_prog_MAKEINFO
   8155 if test -n "$MAKEINFO"; then
   8156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   8157 $as_echo "$MAKEINFO" >&6; }
   8158 else
   8159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8160 $as_echo "no" >&6; }
   8161 fi
   8162 
   8163 
   8164   test -n "$MAKEINFO" && break
   8165 done
   8166 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   8167 
   8168 case " $build_configdirs " in
   8169   *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
   8170   *)
   8171 
   8172     # For an installed makeinfo, we require it to be from texinfo 4.7 or
   8173     # higher, else we use the "missing" dummy.
   8174     if ${MAKEINFO} --version \
   8175        | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
   8176       :
   8177     else
   8178       MAKEINFO="$MISSING makeinfo"
   8179     fi
   8180     ;;
   8181 
   8182 esac
   8183 
   8184 # FIXME: expect and dejagnu may become build tools?
   8185 
   8186 for ac_prog in expect
   8187 do
   8188   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8189 set dummy $ac_prog; ac_word=$2
   8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8191 $as_echo_n "checking for $ac_word... " >&6; }
   8192 if ${ac_cv_prog_EXPECT+:} false; then :
   8193   $as_echo_n "(cached) " >&6
   8194 else
   8195   if test -n "$EXPECT"; then
   8196   ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
   8197 else
   8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8199 for as_dir in $PATH
   8200 do
   8201   IFS=$as_save_IFS
   8202   test -z "$as_dir" && as_dir=.
   8203     for ac_exec_ext in '' $ac_executable_extensions; do
   8204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8205     ac_cv_prog_EXPECT="$ac_prog"
   8206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8207     break 2
   8208   fi
   8209 done
   8210   done
   8211 IFS=$as_save_IFS
   8212 
   8213 fi
   8214 fi
   8215 EXPECT=$ac_cv_prog_EXPECT
   8216 if test -n "$EXPECT"; then
   8217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   8218 $as_echo "$EXPECT" >&6; }
   8219 else
   8220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8221 $as_echo "no" >&6; }
   8222 fi
   8223 
   8224 
   8225   test -n "$EXPECT" && break
   8226 done
   8227 test -n "$EXPECT" || EXPECT="expect"
   8228 
   8229 case " $configdirs " in
   8230   *" expect "*)
   8231     test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
   8232     ;;
   8233 esac
   8234 
   8235 for ac_prog in runtest
   8236 do
   8237   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8238 set dummy $ac_prog; ac_word=$2
   8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8240 $as_echo_n "checking for $ac_word... " >&6; }
   8241 if ${ac_cv_prog_RUNTEST+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   if test -n "$RUNTEST"; then
   8245   ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
   8246 else
   8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8248 for as_dir in $PATH
   8249 do
   8250   IFS=$as_save_IFS
   8251   test -z "$as_dir" && as_dir=.
   8252     for ac_exec_ext in '' $ac_executable_extensions; do
   8253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8254     ac_cv_prog_RUNTEST="$ac_prog"
   8255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8256     break 2
   8257   fi
   8258 done
   8259   done
   8260 IFS=$as_save_IFS
   8261 
   8262 fi
   8263 fi
   8264 RUNTEST=$ac_cv_prog_RUNTEST
   8265 if test -n "$RUNTEST"; then
   8266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
   8267 $as_echo "$RUNTEST" >&6; }
   8268 else
   8269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8270 $as_echo "no" >&6; }
   8271 fi
   8272 
   8273 
   8274   test -n "$RUNTEST" && break
   8275 done
   8276 test -n "$RUNTEST" || RUNTEST="runtest"
   8277 
   8278 case " $configdirs " in
   8279   *" dejagnu "*)
   8280     test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
   8281     ;;
   8282 esac
   8283 
   8284 
   8285 # Host tools.
   8286 ncn_tool_prefix=
   8287 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
   8288 ncn_target_tool_prefix=
   8289 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
   8290 
   8291 
   8292 
   8293 if test -n "$AR"; then
   8294   ac_cv_prog_AR=$AR
   8295 elif test -n "$ac_cv_prog_AR"; then
   8296   AR=$ac_cv_prog_AR
   8297 fi
   8298 
   8299 if test -n "$ac_cv_prog_AR"; then
   8300   for ncn_progname in ar; do
   8301     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8302 set dummy ${ncn_progname}; ac_word=$2
   8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8304 $as_echo_n "checking for $ac_word... " >&6; }
   8305 if ${ac_cv_prog_AR+:} false; then :
   8306   $as_echo_n "(cached) " >&6
   8307 else
   8308   if test -n "$AR"; then
   8309   ac_cv_prog_AR="$AR" # Let the user override the test.
   8310 else
   8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8312 for as_dir in $PATH
   8313 do
   8314   IFS=$as_save_IFS
   8315   test -z "$as_dir" && as_dir=.
   8316     for ac_exec_ext in '' $ac_executable_extensions; do
   8317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8318     ac_cv_prog_AR="${ncn_progname}"
   8319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8320     break 2
   8321   fi
   8322 done
   8323   done
   8324 IFS=$as_save_IFS
   8325 
   8326 fi
   8327 fi
   8328 AR=$ac_cv_prog_AR
   8329 if test -n "$AR"; then
   8330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8331 $as_echo "$AR" >&6; }
   8332 else
   8333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8334 $as_echo "no" >&6; }
   8335 fi
   8336 
   8337 
   8338   done
   8339 fi
   8340 
   8341 for ncn_progname in ar; do
   8342   if test -n "$ncn_tool_prefix"; then
   8343     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8344 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8346 $as_echo_n "checking for $ac_word... " >&6; }
   8347 if ${ac_cv_prog_AR+:} false; then :
   8348   $as_echo_n "(cached) " >&6
   8349 else
   8350   if test -n "$AR"; then
   8351   ac_cv_prog_AR="$AR" # Let the user override the test.
   8352 else
   8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8354 for as_dir in $PATH
   8355 do
   8356   IFS=$as_save_IFS
   8357   test -z "$as_dir" && as_dir=.
   8358     for ac_exec_ext in '' $ac_executable_extensions; do
   8359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8360     ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
   8361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8362     break 2
   8363   fi
   8364 done
   8365   done
   8366 IFS=$as_save_IFS
   8367 
   8368 fi
   8369 fi
   8370 AR=$ac_cv_prog_AR
   8371 if test -n "$AR"; then
   8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8373 $as_echo "$AR" >&6; }
   8374 else
   8375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8376 $as_echo "no" >&6; }
   8377 fi
   8378 
   8379 
   8380   fi
   8381   if test -z "$ac_cv_prog_AR" && test $build = $host ; then
   8382     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8383 set dummy ${ncn_progname}; ac_word=$2
   8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8385 $as_echo_n "checking for $ac_word... " >&6; }
   8386 if ${ac_cv_prog_AR+:} false; then :
   8387   $as_echo_n "(cached) " >&6
   8388 else
   8389   if test -n "$AR"; then
   8390   ac_cv_prog_AR="$AR" # Let the user override the test.
   8391 else
   8392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8393 for as_dir in $PATH
   8394 do
   8395   IFS=$as_save_IFS
   8396   test -z "$as_dir" && as_dir=.
   8397     for ac_exec_ext in '' $ac_executable_extensions; do
   8398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8399     ac_cv_prog_AR="${ncn_progname}"
   8400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8401     break 2
   8402   fi
   8403 done
   8404   done
   8405 IFS=$as_save_IFS
   8406 
   8407 fi
   8408 fi
   8409 AR=$ac_cv_prog_AR
   8410 if test -n "$AR"; then
   8411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8412 $as_echo "$AR" >&6; }
   8413 else
   8414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8415 $as_echo "no" >&6; }
   8416 fi
   8417 
   8418 
   8419   fi
   8420   test -n "$ac_cv_prog_AR" && break
   8421 done
   8422 
   8423 if test -z "$ac_cv_prog_AR" ; then
   8424   set dummy ar
   8425   if test $build = $host ; then
   8426     AR="$2"
   8427   else
   8428     AR="${ncn_tool_prefix}$2"
   8429   fi
   8430 fi
   8431 
   8432 
   8433 
   8434 if test -n "$AS"; then
   8435   ac_cv_prog_AS=$AS
   8436 elif test -n "$ac_cv_prog_AS"; then
   8437   AS=$ac_cv_prog_AS
   8438 fi
   8439 
   8440 if test -n "$ac_cv_prog_AS"; then
   8441   for ncn_progname in as; do
   8442     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8443 set dummy ${ncn_progname}; ac_word=$2
   8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8445 $as_echo_n "checking for $ac_word... " >&6; }
   8446 if ${ac_cv_prog_AS+:} false; then :
   8447   $as_echo_n "(cached) " >&6
   8448 else
   8449   if test -n "$AS"; then
   8450   ac_cv_prog_AS="$AS" # Let the user override the test.
   8451 else
   8452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8453 for as_dir in $PATH
   8454 do
   8455   IFS=$as_save_IFS
   8456   test -z "$as_dir" && as_dir=.
   8457     for ac_exec_ext in '' $ac_executable_extensions; do
   8458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8459     ac_cv_prog_AS="${ncn_progname}"
   8460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8461     break 2
   8462   fi
   8463 done
   8464   done
   8465 IFS=$as_save_IFS
   8466 
   8467 fi
   8468 fi
   8469 AS=$ac_cv_prog_AS
   8470 if test -n "$AS"; then
   8471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8472 $as_echo "$AS" >&6; }
   8473 else
   8474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8475 $as_echo "no" >&6; }
   8476 fi
   8477 
   8478 
   8479   done
   8480 fi
   8481 
   8482 for ncn_progname in as; do
   8483   if test -n "$ncn_tool_prefix"; then
   8484     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8485 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8487 $as_echo_n "checking for $ac_word... " >&6; }
   8488 if ${ac_cv_prog_AS+:} false; then :
   8489   $as_echo_n "(cached) " >&6
   8490 else
   8491   if test -n "$AS"; then
   8492   ac_cv_prog_AS="$AS" # Let the user override the test.
   8493 else
   8494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8495 for as_dir in $PATH
   8496 do
   8497   IFS=$as_save_IFS
   8498   test -z "$as_dir" && as_dir=.
   8499     for ac_exec_ext in '' $ac_executable_extensions; do
   8500   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8501     ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
   8502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8503     break 2
   8504   fi
   8505 done
   8506   done
   8507 IFS=$as_save_IFS
   8508 
   8509 fi
   8510 fi
   8511 AS=$ac_cv_prog_AS
   8512 if test -n "$AS"; then
   8513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8514 $as_echo "$AS" >&6; }
   8515 else
   8516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8517 $as_echo "no" >&6; }
   8518 fi
   8519 
   8520 
   8521   fi
   8522   if test -z "$ac_cv_prog_AS" && test $build = $host ; then
   8523     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8524 set dummy ${ncn_progname}; ac_word=$2
   8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8526 $as_echo_n "checking for $ac_word... " >&6; }
   8527 if ${ac_cv_prog_AS+:} false; then :
   8528   $as_echo_n "(cached) " >&6
   8529 else
   8530   if test -n "$AS"; then
   8531   ac_cv_prog_AS="$AS" # Let the user override the test.
   8532 else
   8533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8534 for as_dir in $PATH
   8535 do
   8536   IFS=$as_save_IFS
   8537   test -z "$as_dir" && as_dir=.
   8538     for ac_exec_ext in '' $ac_executable_extensions; do
   8539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8540     ac_cv_prog_AS="${ncn_progname}"
   8541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8542     break 2
   8543   fi
   8544 done
   8545   done
   8546 IFS=$as_save_IFS
   8547 
   8548 fi
   8549 fi
   8550 AS=$ac_cv_prog_AS
   8551 if test -n "$AS"; then
   8552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8553 $as_echo "$AS" >&6; }
   8554 else
   8555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8556 $as_echo "no" >&6; }
   8557 fi
   8558 
   8559 
   8560   fi
   8561   test -n "$ac_cv_prog_AS" && break
   8562 done
   8563 
   8564 if test -z "$ac_cv_prog_AS" ; then
   8565   set dummy as
   8566   if test $build = $host ; then
   8567     AS="$2"
   8568   else
   8569     AS="${ncn_tool_prefix}$2"
   8570   fi
   8571 fi
   8572 
   8573 
   8574 
   8575 if test -n "$DLLTOOL"; then
   8576   ac_cv_prog_DLLTOOL=$DLLTOOL
   8577 elif test -n "$ac_cv_prog_DLLTOOL"; then
   8578   DLLTOOL=$ac_cv_prog_DLLTOOL
   8579 fi
   8580 
   8581 if test -n "$ac_cv_prog_DLLTOOL"; then
   8582   for ncn_progname in dlltool; do
   8583     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8584 set dummy ${ncn_progname}; ac_word=$2
   8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8586 $as_echo_n "checking for $ac_word... " >&6; }
   8587 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8588   $as_echo_n "(cached) " >&6
   8589 else
   8590   if test -n "$DLLTOOL"; then
   8591   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8592 else
   8593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8594 for as_dir in $PATH
   8595 do
   8596   IFS=$as_save_IFS
   8597   test -z "$as_dir" && as_dir=.
   8598     for ac_exec_ext in '' $ac_executable_extensions; do
   8599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8600     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8602     break 2
   8603   fi
   8604 done
   8605   done
   8606 IFS=$as_save_IFS
   8607 
   8608 fi
   8609 fi
   8610 DLLTOOL=$ac_cv_prog_DLLTOOL
   8611 if test -n "$DLLTOOL"; then
   8612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8613 $as_echo "$DLLTOOL" >&6; }
   8614 else
   8615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8616 $as_echo "no" >&6; }
   8617 fi
   8618 
   8619 
   8620   done
   8621 fi
   8622 
   8623 for ncn_progname in dlltool; do
   8624   if test -n "$ncn_tool_prefix"; then
   8625     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8626 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8628 $as_echo_n "checking for $ac_word... " >&6; }
   8629 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8630   $as_echo_n "(cached) " >&6
   8631 else
   8632   if test -n "$DLLTOOL"; then
   8633   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8634 else
   8635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8636 for as_dir in $PATH
   8637 do
   8638   IFS=$as_save_IFS
   8639   test -z "$as_dir" && as_dir=.
   8640     for ac_exec_ext in '' $ac_executable_extensions; do
   8641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8642     ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
   8643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8644     break 2
   8645   fi
   8646 done
   8647   done
   8648 IFS=$as_save_IFS
   8649 
   8650 fi
   8651 fi
   8652 DLLTOOL=$ac_cv_prog_DLLTOOL
   8653 if test -n "$DLLTOOL"; then
   8654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8655 $as_echo "$DLLTOOL" >&6; }
   8656 else
   8657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8658 $as_echo "no" >&6; }
   8659 fi
   8660 
   8661 
   8662   fi
   8663   if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
   8664     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8665 set dummy ${ncn_progname}; ac_word=$2
   8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8667 $as_echo_n "checking for $ac_word... " >&6; }
   8668 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8669   $as_echo_n "(cached) " >&6
   8670 else
   8671   if test -n "$DLLTOOL"; then
   8672   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8673 else
   8674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8675 for as_dir in $PATH
   8676 do
   8677   IFS=$as_save_IFS
   8678   test -z "$as_dir" && as_dir=.
   8679     for ac_exec_ext in '' $ac_executable_extensions; do
   8680   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8681     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8683     break 2
   8684   fi
   8685 done
   8686   done
   8687 IFS=$as_save_IFS
   8688 
   8689 fi
   8690 fi
   8691 DLLTOOL=$ac_cv_prog_DLLTOOL
   8692 if test -n "$DLLTOOL"; then
   8693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8694 $as_echo "$DLLTOOL" >&6; }
   8695 else
   8696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8697 $as_echo "no" >&6; }
   8698 fi
   8699 
   8700 
   8701   fi
   8702   test -n "$ac_cv_prog_DLLTOOL" && break
   8703 done
   8704 
   8705 if test -z "$ac_cv_prog_DLLTOOL" ; then
   8706   set dummy dlltool
   8707   if test $build = $host ; then
   8708     DLLTOOL="$2"
   8709   else
   8710     DLLTOOL="${ncn_tool_prefix}$2"
   8711   fi
   8712 fi
   8713 
   8714 
   8715 
   8716 if test -n "$LD"; then
   8717   ac_cv_prog_LD=$LD
   8718 elif test -n "$ac_cv_prog_LD"; then
   8719   LD=$ac_cv_prog_LD
   8720 fi
   8721 
   8722 if test -n "$ac_cv_prog_LD"; then
   8723   for ncn_progname in ld; do
   8724     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8725 set dummy ${ncn_progname}; ac_word=$2
   8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8727 $as_echo_n "checking for $ac_word... " >&6; }
   8728 if ${ac_cv_prog_LD+:} false; then :
   8729   $as_echo_n "(cached) " >&6
   8730 else
   8731   if test -n "$LD"; then
   8732   ac_cv_prog_LD="$LD" # Let the user override the test.
   8733 else
   8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8735 for as_dir in $PATH
   8736 do
   8737   IFS=$as_save_IFS
   8738   test -z "$as_dir" && as_dir=.
   8739     for ac_exec_ext in '' $ac_executable_extensions; do
   8740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8741     ac_cv_prog_LD="${ncn_progname}"
   8742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8743     break 2
   8744   fi
   8745 done
   8746   done
   8747 IFS=$as_save_IFS
   8748 
   8749 fi
   8750 fi
   8751 LD=$ac_cv_prog_LD
   8752 if test -n "$LD"; then
   8753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8754 $as_echo "$LD" >&6; }
   8755 else
   8756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8757 $as_echo "no" >&6; }
   8758 fi
   8759 
   8760 
   8761   done
   8762 fi
   8763 
   8764 for ncn_progname in ld; do
   8765   if test -n "$ncn_tool_prefix"; then
   8766     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8767 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8769 $as_echo_n "checking for $ac_word... " >&6; }
   8770 if ${ac_cv_prog_LD+:} false; then :
   8771   $as_echo_n "(cached) " >&6
   8772 else
   8773   if test -n "$LD"; then
   8774   ac_cv_prog_LD="$LD" # Let the user override the test.
   8775 else
   8776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8777 for as_dir in $PATH
   8778 do
   8779   IFS=$as_save_IFS
   8780   test -z "$as_dir" && as_dir=.
   8781     for ac_exec_ext in '' $ac_executable_extensions; do
   8782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8783     ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
   8784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8785     break 2
   8786   fi
   8787 done
   8788   done
   8789 IFS=$as_save_IFS
   8790 
   8791 fi
   8792 fi
   8793 LD=$ac_cv_prog_LD
   8794 if test -n "$LD"; then
   8795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8796 $as_echo "$LD" >&6; }
   8797 else
   8798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8799 $as_echo "no" >&6; }
   8800 fi
   8801 
   8802 
   8803   fi
   8804   if test -z "$ac_cv_prog_LD" && test $build = $host ; then
   8805     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8806 set dummy ${ncn_progname}; ac_word=$2
   8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8808 $as_echo_n "checking for $ac_word... " >&6; }
   8809 if ${ac_cv_prog_LD+:} false; then :
   8810   $as_echo_n "(cached) " >&6
   8811 else
   8812   if test -n "$LD"; then
   8813   ac_cv_prog_LD="$LD" # Let the user override the test.
   8814 else
   8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8816 for as_dir in $PATH
   8817 do
   8818   IFS=$as_save_IFS
   8819   test -z "$as_dir" && as_dir=.
   8820     for ac_exec_ext in '' $ac_executable_extensions; do
   8821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8822     ac_cv_prog_LD="${ncn_progname}"
   8823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8824     break 2
   8825   fi
   8826 done
   8827   done
   8828 IFS=$as_save_IFS
   8829 
   8830 fi
   8831 fi
   8832 LD=$ac_cv_prog_LD
   8833 if test -n "$LD"; then
   8834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8835 $as_echo "$LD" >&6; }
   8836 else
   8837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8838 $as_echo "no" >&6; }
   8839 fi
   8840 
   8841 
   8842   fi
   8843   test -n "$ac_cv_prog_LD" && break
   8844 done
   8845 
   8846 if test -z "$ac_cv_prog_LD" ; then
   8847   set dummy ld
   8848   if test $build = $host ; then
   8849     LD="$2"
   8850   else
   8851     LD="${ncn_tool_prefix}$2"
   8852   fi
   8853 fi
   8854 
   8855 
   8856 
   8857 if test -n "$LIPO"; then
   8858   ac_cv_prog_LIPO=$LIPO
   8859 elif test -n "$ac_cv_prog_LIPO"; then
   8860   LIPO=$ac_cv_prog_LIPO
   8861 fi
   8862 
   8863 if test -n "$ac_cv_prog_LIPO"; then
   8864   for ncn_progname in lipo; do
   8865     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8866 set dummy ${ncn_progname}; ac_word=$2
   8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8868 $as_echo_n "checking for $ac_word... " >&6; }
   8869 if ${ac_cv_prog_LIPO+:} false; then :
   8870   $as_echo_n "(cached) " >&6
   8871 else
   8872   if test -n "$LIPO"; then
   8873   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8874 else
   8875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8876 for as_dir in $PATH
   8877 do
   8878   IFS=$as_save_IFS
   8879   test -z "$as_dir" && as_dir=.
   8880     for ac_exec_ext in '' $ac_executable_extensions; do
   8881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8882     ac_cv_prog_LIPO="${ncn_progname}"
   8883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8884     break 2
   8885   fi
   8886 done
   8887   done
   8888 IFS=$as_save_IFS
   8889 
   8890 fi
   8891 fi
   8892 LIPO=$ac_cv_prog_LIPO
   8893 if test -n "$LIPO"; then
   8894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8895 $as_echo "$LIPO" >&6; }
   8896 else
   8897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8898 $as_echo "no" >&6; }
   8899 fi
   8900 
   8901 
   8902   done
   8903 fi
   8904 
   8905 for ncn_progname in lipo; do
   8906   if test -n "$ncn_tool_prefix"; then
   8907     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8908 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8910 $as_echo_n "checking for $ac_word... " >&6; }
   8911 if ${ac_cv_prog_LIPO+:} false; then :
   8912   $as_echo_n "(cached) " >&6
   8913 else
   8914   if test -n "$LIPO"; then
   8915   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8916 else
   8917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8918 for as_dir in $PATH
   8919 do
   8920   IFS=$as_save_IFS
   8921   test -z "$as_dir" && as_dir=.
   8922     for ac_exec_ext in '' $ac_executable_extensions; do
   8923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8924     ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
   8925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8926     break 2
   8927   fi
   8928 done
   8929   done
   8930 IFS=$as_save_IFS
   8931 
   8932 fi
   8933 fi
   8934 LIPO=$ac_cv_prog_LIPO
   8935 if test -n "$LIPO"; then
   8936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8937 $as_echo "$LIPO" >&6; }
   8938 else
   8939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8940 $as_echo "no" >&6; }
   8941 fi
   8942 
   8943 
   8944   fi
   8945   if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
   8946     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8947 set dummy ${ncn_progname}; ac_word=$2
   8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8949 $as_echo_n "checking for $ac_word... " >&6; }
   8950 if ${ac_cv_prog_LIPO+:} false; then :
   8951   $as_echo_n "(cached) " >&6
   8952 else
   8953   if test -n "$LIPO"; then
   8954   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8955 else
   8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8957 for as_dir in $PATH
   8958 do
   8959   IFS=$as_save_IFS
   8960   test -z "$as_dir" && as_dir=.
   8961     for ac_exec_ext in '' $ac_executable_extensions; do
   8962   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8963     ac_cv_prog_LIPO="${ncn_progname}"
   8964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8965     break 2
   8966   fi
   8967 done
   8968   done
   8969 IFS=$as_save_IFS
   8970 
   8971 fi
   8972 fi
   8973 LIPO=$ac_cv_prog_LIPO
   8974 if test -n "$LIPO"; then
   8975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8976 $as_echo "$LIPO" >&6; }
   8977 else
   8978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8979 $as_echo "no" >&6; }
   8980 fi
   8981 
   8982 
   8983   fi
   8984   test -n "$ac_cv_prog_LIPO" && break
   8985 done
   8986 
   8987 if test -z "$ac_cv_prog_LIPO" ; then
   8988   set dummy lipo
   8989   if test $build = $host ; then
   8990     LIPO="$2"
   8991   else
   8992     LIPO="${ncn_tool_prefix}$2"
   8993   fi
   8994 fi
   8995 
   8996 
   8997 
   8998 if test -n "$NM"; then
   8999   ac_cv_prog_NM=$NM
   9000 elif test -n "$ac_cv_prog_NM"; then
   9001   NM=$ac_cv_prog_NM
   9002 fi
   9003 
   9004 if test -n "$ac_cv_prog_NM"; then
   9005   for ncn_progname in nm; do
   9006     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9007 set dummy ${ncn_progname}; ac_word=$2
   9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9009 $as_echo_n "checking for $ac_word... " >&6; }
   9010 if ${ac_cv_prog_NM+:} false; then :
   9011   $as_echo_n "(cached) " >&6
   9012 else
   9013   if test -n "$NM"; then
   9014   ac_cv_prog_NM="$NM" # Let the user override the test.
   9015 else
   9016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9017 for as_dir in $PATH
   9018 do
   9019   IFS=$as_save_IFS
   9020   test -z "$as_dir" && as_dir=.
   9021     for ac_exec_ext in '' $ac_executable_extensions; do
   9022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9023     ac_cv_prog_NM="${ncn_progname}"
   9024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9025     break 2
   9026   fi
   9027 done
   9028   done
   9029 IFS=$as_save_IFS
   9030 
   9031 fi
   9032 fi
   9033 NM=$ac_cv_prog_NM
   9034 if test -n "$NM"; then
   9035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   9036 $as_echo "$NM" >&6; }
   9037 else
   9038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9039 $as_echo "no" >&6; }
   9040 fi
   9041 
   9042 
   9043   done
   9044 fi
   9045 
   9046 for ncn_progname in nm; do
   9047   if test -n "$ncn_tool_prefix"; then
   9048     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9049 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9051 $as_echo_n "checking for $ac_word... " >&6; }
   9052 if ${ac_cv_prog_NM+:} false; then :
   9053   $as_echo_n "(cached) " >&6
   9054 else
   9055   if test -n "$NM"; then
   9056   ac_cv_prog_NM="$NM" # Let the user override the test.
   9057 else
   9058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9059 for as_dir in $PATH
   9060 do
   9061   IFS=$as_save_IFS
   9062   test -z "$as_dir" && as_dir=.
   9063     for ac_exec_ext in '' $ac_executable_extensions; do
   9064   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9065     ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
   9066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9067     break 2
   9068   fi
   9069 done
   9070   done
   9071 IFS=$as_save_IFS
   9072 
   9073 fi
   9074 fi
   9075 NM=$ac_cv_prog_NM
   9076 if test -n "$NM"; then
   9077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   9078 $as_echo "$NM" >&6; }
   9079 else
   9080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9081 $as_echo "no" >&6; }
   9082 fi
   9083 
   9084 
   9085   fi
   9086   if test -z "$ac_cv_prog_NM" && test $build = $host ; then
   9087     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9088 set dummy ${ncn_progname}; ac_word=$2
   9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9090 $as_echo_n "checking for $ac_word... " >&6; }
   9091 if ${ac_cv_prog_NM+:} false; then :
   9092   $as_echo_n "(cached) " >&6
   9093 else
   9094   if test -n "$NM"; then
   9095   ac_cv_prog_NM="$NM" # Let the user override the test.
   9096 else
   9097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9098 for as_dir in $PATH
   9099 do
   9100   IFS=$as_save_IFS
   9101   test -z "$as_dir" && as_dir=.
   9102     for ac_exec_ext in '' $ac_executable_extensions; do
   9103   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9104     ac_cv_prog_NM="${ncn_progname}"
   9105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9106     break 2
   9107   fi
   9108 done
   9109   done
   9110 IFS=$as_save_IFS
   9111 
   9112 fi
   9113 fi
   9114 NM=$ac_cv_prog_NM
   9115 if test -n "$NM"; then
   9116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   9117 $as_echo "$NM" >&6; }
   9118 else
   9119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9120 $as_echo "no" >&6; }
   9121 fi
   9122 
   9123 
   9124   fi
   9125   test -n "$ac_cv_prog_NM" && break
   9126 done
   9127 
   9128 if test -z "$ac_cv_prog_NM" ; then
   9129   set dummy nm
   9130   if test $build = $host ; then
   9131     NM="$2"
   9132   else
   9133     NM="${ncn_tool_prefix}$2"
   9134   fi
   9135 fi
   9136 
   9137 
   9138 
   9139 if test -n "$RANLIB"; then
   9140   ac_cv_prog_RANLIB=$RANLIB
   9141 elif test -n "$ac_cv_prog_RANLIB"; then
   9142   RANLIB=$ac_cv_prog_RANLIB
   9143 fi
   9144 
   9145 if test -n "$ac_cv_prog_RANLIB"; then
   9146   for ncn_progname in ranlib; do
   9147     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9148 set dummy ${ncn_progname}; ac_word=$2
   9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9150 $as_echo_n "checking for $ac_word... " >&6; }
   9151 if ${ac_cv_prog_RANLIB+:} false; then :
   9152   $as_echo_n "(cached) " >&6
   9153 else
   9154   if test -n "$RANLIB"; then
   9155   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9156 else
   9157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9158 for as_dir in $PATH
   9159 do
   9160   IFS=$as_save_IFS
   9161   test -z "$as_dir" && as_dir=.
   9162     for ac_exec_ext in '' $ac_executable_extensions; do
   9163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9164     ac_cv_prog_RANLIB="${ncn_progname}"
   9165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9166     break 2
   9167   fi
   9168 done
   9169   done
   9170 IFS=$as_save_IFS
   9171 
   9172 fi
   9173 fi
   9174 RANLIB=$ac_cv_prog_RANLIB
   9175 if test -n "$RANLIB"; then
   9176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9177 $as_echo "$RANLIB" >&6; }
   9178 else
   9179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9180 $as_echo "no" >&6; }
   9181 fi
   9182 
   9183 
   9184   done
   9185 fi
   9186 
   9187 for ncn_progname in ranlib; do
   9188   if test -n "$ncn_tool_prefix"; then
   9189     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9190 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9192 $as_echo_n "checking for $ac_word... " >&6; }
   9193 if ${ac_cv_prog_RANLIB+:} false; then :
   9194   $as_echo_n "(cached) " >&6
   9195 else
   9196   if test -n "$RANLIB"; then
   9197   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9198 else
   9199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9200 for as_dir in $PATH
   9201 do
   9202   IFS=$as_save_IFS
   9203   test -z "$as_dir" && as_dir=.
   9204     for ac_exec_ext in '' $ac_executable_extensions; do
   9205   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9206     ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
   9207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9208     break 2
   9209   fi
   9210 done
   9211   done
   9212 IFS=$as_save_IFS
   9213 
   9214 fi
   9215 fi
   9216 RANLIB=$ac_cv_prog_RANLIB
   9217 if test -n "$RANLIB"; then
   9218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9219 $as_echo "$RANLIB" >&6; }
   9220 else
   9221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9222 $as_echo "no" >&6; }
   9223 fi
   9224 
   9225 
   9226   fi
   9227   if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
   9228     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9229 set dummy ${ncn_progname}; ac_word=$2
   9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9231 $as_echo_n "checking for $ac_word... " >&6; }
   9232 if ${ac_cv_prog_RANLIB+:} false; then :
   9233   $as_echo_n "(cached) " >&6
   9234 else
   9235   if test -n "$RANLIB"; then
   9236   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9237 else
   9238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9239 for as_dir in $PATH
   9240 do
   9241   IFS=$as_save_IFS
   9242   test -z "$as_dir" && as_dir=.
   9243     for ac_exec_ext in '' $ac_executable_extensions; do
   9244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9245     ac_cv_prog_RANLIB="${ncn_progname}"
   9246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9247     break 2
   9248   fi
   9249 done
   9250   done
   9251 IFS=$as_save_IFS
   9252 
   9253 fi
   9254 fi
   9255 RANLIB=$ac_cv_prog_RANLIB
   9256 if test -n "$RANLIB"; then
   9257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9258 $as_echo "$RANLIB" >&6; }
   9259 else
   9260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9261 $as_echo "no" >&6; }
   9262 fi
   9263 
   9264 
   9265   fi
   9266   test -n "$ac_cv_prog_RANLIB" && break
   9267 done
   9268 
   9269 if test -z "$ac_cv_prog_RANLIB" ; then
   9270   RANLIB="true"
   9271 fi
   9272 
   9273 
   9274 
   9275 if test -n "$STRIP"; then
   9276   ac_cv_prog_STRIP=$STRIP
   9277 elif test -n "$ac_cv_prog_STRIP"; then
   9278   STRIP=$ac_cv_prog_STRIP
   9279 fi
   9280 
   9281 if test -n "$ac_cv_prog_STRIP"; then
   9282   for ncn_progname in strip; do
   9283     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9284 set dummy ${ncn_progname}; ac_word=$2
   9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9286 $as_echo_n "checking for $ac_word... " >&6; }
   9287 if ${ac_cv_prog_STRIP+:} false; then :
   9288   $as_echo_n "(cached) " >&6
   9289 else
   9290   if test -n "$STRIP"; then
   9291   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9292 else
   9293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9294 for as_dir in $PATH
   9295 do
   9296   IFS=$as_save_IFS
   9297   test -z "$as_dir" && as_dir=.
   9298     for ac_exec_ext in '' $ac_executable_extensions; do
   9299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9300     ac_cv_prog_STRIP="${ncn_progname}"
   9301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9302     break 2
   9303   fi
   9304 done
   9305   done
   9306 IFS=$as_save_IFS
   9307 
   9308 fi
   9309 fi
   9310 STRIP=$ac_cv_prog_STRIP
   9311 if test -n "$STRIP"; then
   9312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9313 $as_echo "$STRIP" >&6; }
   9314 else
   9315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9316 $as_echo "no" >&6; }
   9317 fi
   9318 
   9319 
   9320   done
   9321 fi
   9322 
   9323 for ncn_progname in strip; do
   9324   if test -n "$ncn_tool_prefix"; then
   9325     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9326 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9328 $as_echo_n "checking for $ac_word... " >&6; }
   9329 if ${ac_cv_prog_STRIP+:} false; then :
   9330   $as_echo_n "(cached) " >&6
   9331 else
   9332   if test -n "$STRIP"; then
   9333   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9334 else
   9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9336 for as_dir in $PATH
   9337 do
   9338   IFS=$as_save_IFS
   9339   test -z "$as_dir" && as_dir=.
   9340     for ac_exec_ext in '' $ac_executable_extensions; do
   9341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9342     ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
   9343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9344     break 2
   9345   fi
   9346 done
   9347   done
   9348 IFS=$as_save_IFS
   9349 
   9350 fi
   9351 fi
   9352 STRIP=$ac_cv_prog_STRIP
   9353 if test -n "$STRIP"; then
   9354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9355 $as_echo "$STRIP" >&6; }
   9356 else
   9357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9358 $as_echo "no" >&6; }
   9359 fi
   9360 
   9361 
   9362   fi
   9363   if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
   9364     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9365 set dummy ${ncn_progname}; ac_word=$2
   9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9367 $as_echo_n "checking for $ac_word... " >&6; }
   9368 if ${ac_cv_prog_STRIP+:} false; then :
   9369   $as_echo_n "(cached) " >&6
   9370 else
   9371   if test -n "$STRIP"; then
   9372   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9373 else
   9374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9375 for as_dir in $PATH
   9376 do
   9377   IFS=$as_save_IFS
   9378   test -z "$as_dir" && as_dir=.
   9379     for ac_exec_ext in '' $ac_executable_extensions; do
   9380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9381     ac_cv_prog_STRIP="${ncn_progname}"
   9382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9383     break 2
   9384   fi
   9385 done
   9386   done
   9387 IFS=$as_save_IFS
   9388 
   9389 fi
   9390 fi
   9391 STRIP=$ac_cv_prog_STRIP
   9392 if test -n "$STRIP"; then
   9393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9394 $as_echo "$STRIP" >&6; }
   9395 else
   9396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9397 $as_echo "no" >&6; }
   9398 fi
   9399 
   9400 
   9401   fi
   9402   test -n "$ac_cv_prog_STRIP" && break
   9403 done
   9404 
   9405 if test -z "$ac_cv_prog_STRIP" ; then
   9406   STRIP="true"
   9407 fi
   9408 
   9409 
   9410 
   9411 if test -n "$WINDRES"; then
   9412   ac_cv_prog_WINDRES=$WINDRES
   9413 elif test -n "$ac_cv_prog_WINDRES"; then
   9414   WINDRES=$ac_cv_prog_WINDRES
   9415 fi
   9416 
   9417 if test -n "$ac_cv_prog_WINDRES"; then
   9418   for ncn_progname in windres; do
   9419     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9420 set dummy ${ncn_progname}; ac_word=$2
   9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9422 $as_echo_n "checking for $ac_word... " >&6; }
   9423 if ${ac_cv_prog_WINDRES+:} false; then :
   9424   $as_echo_n "(cached) " >&6
   9425 else
   9426   if test -n "$WINDRES"; then
   9427   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9428 else
   9429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9430 for as_dir in $PATH
   9431 do
   9432   IFS=$as_save_IFS
   9433   test -z "$as_dir" && as_dir=.
   9434     for ac_exec_ext in '' $ac_executable_extensions; do
   9435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9436     ac_cv_prog_WINDRES="${ncn_progname}"
   9437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9438     break 2
   9439   fi
   9440 done
   9441   done
   9442 IFS=$as_save_IFS
   9443 
   9444 fi
   9445 fi
   9446 WINDRES=$ac_cv_prog_WINDRES
   9447 if test -n "$WINDRES"; then
   9448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9449 $as_echo "$WINDRES" >&6; }
   9450 else
   9451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9452 $as_echo "no" >&6; }
   9453 fi
   9454 
   9455 
   9456   done
   9457 fi
   9458 
   9459 for ncn_progname in windres; do
   9460   if test -n "$ncn_tool_prefix"; then
   9461     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9462 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9464 $as_echo_n "checking for $ac_word... " >&6; }
   9465 if ${ac_cv_prog_WINDRES+:} false; then :
   9466   $as_echo_n "(cached) " >&6
   9467 else
   9468   if test -n "$WINDRES"; then
   9469   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9470 else
   9471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9472 for as_dir in $PATH
   9473 do
   9474   IFS=$as_save_IFS
   9475   test -z "$as_dir" && as_dir=.
   9476     for ac_exec_ext in '' $ac_executable_extensions; do
   9477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9478     ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
   9479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9480     break 2
   9481   fi
   9482 done
   9483   done
   9484 IFS=$as_save_IFS
   9485 
   9486 fi
   9487 fi
   9488 WINDRES=$ac_cv_prog_WINDRES
   9489 if test -n "$WINDRES"; then
   9490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9491 $as_echo "$WINDRES" >&6; }
   9492 else
   9493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9494 $as_echo "no" >&6; }
   9495 fi
   9496 
   9497 
   9498   fi
   9499   if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
   9500     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9501 set dummy ${ncn_progname}; ac_word=$2
   9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9503 $as_echo_n "checking for $ac_word... " >&6; }
   9504 if ${ac_cv_prog_WINDRES+:} false; then :
   9505   $as_echo_n "(cached) " >&6
   9506 else
   9507   if test -n "$WINDRES"; then
   9508   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9509 else
   9510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9511 for as_dir in $PATH
   9512 do
   9513   IFS=$as_save_IFS
   9514   test -z "$as_dir" && as_dir=.
   9515     for ac_exec_ext in '' $ac_executable_extensions; do
   9516   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9517     ac_cv_prog_WINDRES="${ncn_progname}"
   9518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9519     break 2
   9520   fi
   9521 done
   9522   done
   9523 IFS=$as_save_IFS
   9524 
   9525 fi
   9526 fi
   9527 WINDRES=$ac_cv_prog_WINDRES
   9528 if test -n "$WINDRES"; then
   9529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9530 $as_echo "$WINDRES" >&6; }
   9531 else
   9532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9533 $as_echo "no" >&6; }
   9534 fi
   9535 
   9536 
   9537   fi
   9538   test -n "$ac_cv_prog_WINDRES" && break
   9539 done
   9540 
   9541 if test -z "$ac_cv_prog_WINDRES" ; then
   9542   set dummy windres
   9543   if test $build = $host ; then
   9544     WINDRES="$2"
   9545   else
   9546     WINDRES="${ncn_tool_prefix}$2"
   9547   fi
   9548 fi
   9549 
   9550 
   9551 
   9552 if test -n "$WINDMC"; then
   9553   ac_cv_prog_WINDMC=$WINDMC
   9554 elif test -n "$ac_cv_prog_WINDMC"; then
   9555   WINDMC=$ac_cv_prog_WINDMC
   9556 fi
   9557 
   9558 if test -n "$ac_cv_prog_WINDMC"; then
   9559   for ncn_progname in windmc; do
   9560     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9561 set dummy ${ncn_progname}; ac_word=$2
   9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9563 $as_echo_n "checking for $ac_word... " >&6; }
   9564 if ${ac_cv_prog_WINDMC+:} false; then :
   9565   $as_echo_n "(cached) " >&6
   9566 else
   9567   if test -n "$WINDMC"; then
   9568   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9569 else
   9570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9571 for as_dir in $PATH
   9572 do
   9573   IFS=$as_save_IFS
   9574   test -z "$as_dir" && as_dir=.
   9575     for ac_exec_ext in '' $ac_executable_extensions; do
   9576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9577     ac_cv_prog_WINDMC="${ncn_progname}"
   9578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9579     break 2
   9580   fi
   9581 done
   9582   done
   9583 IFS=$as_save_IFS
   9584 
   9585 fi
   9586 fi
   9587 WINDMC=$ac_cv_prog_WINDMC
   9588 if test -n "$WINDMC"; then
   9589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9590 $as_echo "$WINDMC" >&6; }
   9591 else
   9592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9593 $as_echo "no" >&6; }
   9594 fi
   9595 
   9596 
   9597   done
   9598 fi
   9599 
   9600 for ncn_progname in windmc; do
   9601   if test -n "$ncn_tool_prefix"; then
   9602     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9603 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9605 $as_echo_n "checking for $ac_word... " >&6; }
   9606 if ${ac_cv_prog_WINDMC+:} false; then :
   9607   $as_echo_n "(cached) " >&6
   9608 else
   9609   if test -n "$WINDMC"; then
   9610   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9611 else
   9612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9613 for as_dir in $PATH
   9614 do
   9615   IFS=$as_save_IFS
   9616   test -z "$as_dir" && as_dir=.
   9617     for ac_exec_ext in '' $ac_executable_extensions; do
   9618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9619     ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
   9620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9621     break 2
   9622   fi
   9623 done
   9624   done
   9625 IFS=$as_save_IFS
   9626 
   9627 fi
   9628 fi
   9629 WINDMC=$ac_cv_prog_WINDMC
   9630 if test -n "$WINDMC"; then
   9631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9632 $as_echo "$WINDMC" >&6; }
   9633 else
   9634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9635 $as_echo "no" >&6; }
   9636 fi
   9637 
   9638 
   9639   fi
   9640   if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
   9641     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9642 set dummy ${ncn_progname}; ac_word=$2
   9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9644 $as_echo_n "checking for $ac_word... " >&6; }
   9645 if ${ac_cv_prog_WINDMC+:} false; then :
   9646   $as_echo_n "(cached) " >&6
   9647 else
   9648   if test -n "$WINDMC"; then
   9649   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9650 else
   9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9652 for as_dir in $PATH
   9653 do
   9654   IFS=$as_save_IFS
   9655   test -z "$as_dir" && as_dir=.
   9656     for ac_exec_ext in '' $ac_executable_extensions; do
   9657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9658     ac_cv_prog_WINDMC="${ncn_progname}"
   9659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9660     break 2
   9661   fi
   9662 done
   9663   done
   9664 IFS=$as_save_IFS
   9665 
   9666 fi
   9667 fi
   9668 WINDMC=$ac_cv_prog_WINDMC
   9669 if test -n "$WINDMC"; then
   9670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9671 $as_echo "$WINDMC" >&6; }
   9672 else
   9673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9674 $as_echo "no" >&6; }
   9675 fi
   9676 
   9677 
   9678   fi
   9679   test -n "$ac_cv_prog_WINDMC" && break
   9680 done
   9681 
   9682 if test -z "$ac_cv_prog_WINDMC" ; then
   9683   set dummy windmc
   9684   if test $build = $host ; then
   9685     WINDMC="$2"
   9686   else
   9687     WINDMC="${ncn_tool_prefix}$2"
   9688   fi
   9689 fi
   9690 
   9691 
   9692 
   9693 if test -n "$OBJCOPY"; then
   9694   ac_cv_prog_OBJCOPY=$OBJCOPY
   9695 elif test -n "$ac_cv_prog_OBJCOPY"; then
   9696   OBJCOPY=$ac_cv_prog_OBJCOPY
   9697 fi
   9698 
   9699 if test -n "$ac_cv_prog_OBJCOPY"; then
   9700   for ncn_progname in objcopy; do
   9701     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9702 set dummy ${ncn_progname}; ac_word=$2
   9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9704 $as_echo_n "checking for $ac_word... " >&6; }
   9705 if ${ac_cv_prog_OBJCOPY+:} false; then :
   9706   $as_echo_n "(cached) " >&6
   9707 else
   9708   if test -n "$OBJCOPY"; then
   9709   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9710 else
   9711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9712 for as_dir in $PATH
   9713 do
   9714   IFS=$as_save_IFS
   9715   test -z "$as_dir" && as_dir=.
   9716     for ac_exec_ext in '' $ac_executable_extensions; do
   9717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9718     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9720     break 2
   9721   fi
   9722 done
   9723   done
   9724 IFS=$as_save_IFS
   9725 
   9726 fi
   9727 fi
   9728 OBJCOPY=$ac_cv_prog_OBJCOPY
   9729 if test -n "$OBJCOPY"; then
   9730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9731 $as_echo "$OBJCOPY" >&6; }
   9732 else
   9733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9734 $as_echo "no" >&6; }
   9735 fi
   9736 
   9737 
   9738   done
   9739 fi
   9740 
   9741 for ncn_progname in objcopy; do
   9742   if test -n "$ncn_tool_prefix"; then
   9743     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9744 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9746 $as_echo_n "checking for $ac_word... " >&6; }
   9747 if ${ac_cv_prog_OBJCOPY+:} false; then :
   9748   $as_echo_n "(cached) " >&6
   9749 else
   9750   if test -n "$OBJCOPY"; then
   9751   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9752 else
   9753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9754 for as_dir in $PATH
   9755 do
   9756   IFS=$as_save_IFS
   9757   test -z "$as_dir" && as_dir=.
   9758     for ac_exec_ext in '' $ac_executable_extensions; do
   9759   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9760     ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
   9761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9762     break 2
   9763   fi
   9764 done
   9765   done
   9766 IFS=$as_save_IFS
   9767 
   9768 fi
   9769 fi
   9770 OBJCOPY=$ac_cv_prog_OBJCOPY
   9771 if test -n "$OBJCOPY"; then
   9772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9773 $as_echo "$OBJCOPY" >&6; }
   9774 else
   9775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9776 $as_echo "no" >&6; }
   9777 fi
   9778 
   9779 
   9780   fi
   9781   if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
   9782     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9783 set dummy ${ncn_progname}; ac_word=$2
   9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9785 $as_echo_n "checking for $ac_word... " >&6; }
   9786 if ${ac_cv_prog_OBJCOPY+:} false; then :
   9787   $as_echo_n "(cached) " >&6
   9788 else
   9789   if test -n "$OBJCOPY"; then
   9790   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9791 else
   9792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9793 for as_dir in $PATH
   9794 do
   9795   IFS=$as_save_IFS
   9796   test -z "$as_dir" && as_dir=.
   9797     for ac_exec_ext in '' $ac_executable_extensions; do
   9798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9799     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9801     break 2
   9802   fi
   9803 done
   9804   done
   9805 IFS=$as_save_IFS
   9806 
   9807 fi
   9808 fi
   9809 OBJCOPY=$ac_cv_prog_OBJCOPY
   9810 if test -n "$OBJCOPY"; then
   9811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9812 $as_echo "$OBJCOPY" >&6; }
   9813 else
   9814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9815 $as_echo "no" >&6; }
   9816 fi
   9817 
   9818 
   9819   fi
   9820   test -n "$ac_cv_prog_OBJCOPY" && break
   9821 done
   9822 
   9823 if test -z "$ac_cv_prog_OBJCOPY" ; then
   9824   set dummy objcopy
   9825   if test $build = $host ; then
   9826     OBJCOPY="$2"
   9827   else
   9828     OBJCOPY="${ncn_tool_prefix}$2"
   9829   fi
   9830 fi
   9831 
   9832 
   9833 
   9834 if test -n "$OBJDUMP"; then
   9835   ac_cv_prog_OBJDUMP=$OBJDUMP
   9836 elif test -n "$ac_cv_prog_OBJDUMP"; then
   9837   OBJDUMP=$ac_cv_prog_OBJDUMP
   9838 fi
   9839 
   9840 if test -n "$ac_cv_prog_OBJDUMP"; then
   9841   for ncn_progname in objdump; do
   9842     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9843 set dummy ${ncn_progname}; ac_word=$2
   9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9845 $as_echo_n "checking for $ac_word... " >&6; }
   9846 if ${ac_cv_prog_OBJDUMP+:} false; then :
   9847   $as_echo_n "(cached) " >&6
   9848 else
   9849   if test -n "$OBJDUMP"; then
   9850   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9851 else
   9852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9853 for as_dir in $PATH
   9854 do
   9855   IFS=$as_save_IFS
   9856   test -z "$as_dir" && as_dir=.
   9857     for ac_exec_ext in '' $ac_executable_extensions; do
   9858   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9859     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9861     break 2
   9862   fi
   9863 done
   9864   done
   9865 IFS=$as_save_IFS
   9866 
   9867 fi
   9868 fi
   9869 OBJDUMP=$ac_cv_prog_OBJDUMP
   9870 if test -n "$OBJDUMP"; then
   9871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9872 $as_echo "$OBJDUMP" >&6; }
   9873 else
   9874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9875 $as_echo "no" >&6; }
   9876 fi
   9877 
   9878 
   9879   done
   9880 fi
   9881 
   9882 for ncn_progname in objdump; do
   9883   if test -n "$ncn_tool_prefix"; then
   9884     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9885 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9887 $as_echo_n "checking for $ac_word... " >&6; }
   9888 if ${ac_cv_prog_OBJDUMP+:} false; then :
   9889   $as_echo_n "(cached) " >&6
   9890 else
   9891   if test -n "$OBJDUMP"; then
   9892   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9893 else
   9894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9895 for as_dir in $PATH
   9896 do
   9897   IFS=$as_save_IFS
   9898   test -z "$as_dir" && as_dir=.
   9899     for ac_exec_ext in '' $ac_executable_extensions; do
   9900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9901     ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
   9902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9903     break 2
   9904   fi
   9905 done
   9906   done
   9907 IFS=$as_save_IFS
   9908 
   9909 fi
   9910 fi
   9911 OBJDUMP=$ac_cv_prog_OBJDUMP
   9912 if test -n "$OBJDUMP"; then
   9913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9914 $as_echo "$OBJDUMP" >&6; }
   9915 else
   9916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9917 $as_echo "no" >&6; }
   9918 fi
   9919 
   9920 
   9921   fi
   9922   if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
   9923     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9924 set dummy ${ncn_progname}; ac_word=$2
   9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9926 $as_echo_n "checking for $ac_word... " >&6; }
   9927 if ${ac_cv_prog_OBJDUMP+:} false; then :
   9928   $as_echo_n "(cached) " >&6
   9929 else
   9930   if test -n "$OBJDUMP"; then
   9931   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9932 else
   9933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9934 for as_dir in $PATH
   9935 do
   9936   IFS=$as_save_IFS
   9937   test -z "$as_dir" && as_dir=.
   9938     for ac_exec_ext in '' $ac_executable_extensions; do
   9939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9940     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9942     break 2
   9943   fi
   9944 done
   9945   done
   9946 IFS=$as_save_IFS
   9947 
   9948 fi
   9949 fi
   9950 OBJDUMP=$ac_cv_prog_OBJDUMP
   9951 if test -n "$OBJDUMP"; then
   9952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9953 $as_echo "$OBJDUMP" >&6; }
   9954 else
   9955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9956 $as_echo "no" >&6; }
   9957 fi
   9958 
   9959 
   9960   fi
   9961   test -n "$ac_cv_prog_OBJDUMP" && break
   9962 done
   9963 
   9964 if test -z "$ac_cv_prog_OBJDUMP" ; then
   9965   set dummy objdump
   9966   if test $build = $host ; then
   9967     OBJDUMP="$2"
   9968   else
   9969     OBJDUMP="${ncn_tool_prefix}$2"
   9970   fi
   9971 fi
   9972 
   9973 
   9974 
   9975 if test -n "$READELF"; then
   9976   ac_cv_prog_READELF=$READELF
   9977 elif test -n "$ac_cv_prog_READELF"; then
   9978   READELF=$ac_cv_prog_READELF
   9979 fi
   9980 
   9981 if test -n "$ac_cv_prog_READELF"; then
   9982   for ncn_progname in readelf; do
   9983     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9984 set dummy ${ncn_progname}; ac_word=$2
   9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9986 $as_echo_n "checking for $ac_word... " >&6; }
   9987 if ${ac_cv_prog_READELF+:} false; then :
   9988   $as_echo_n "(cached) " >&6
   9989 else
   9990   if test -n "$READELF"; then
   9991   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9992 else
   9993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9994 for as_dir in $PATH
   9995 do
   9996   IFS=$as_save_IFS
   9997   test -z "$as_dir" && as_dir=.
   9998     for ac_exec_ext in '' $ac_executable_extensions; do
   9999   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10000     ac_cv_prog_READELF="${ncn_progname}"
   10001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10002     break 2
   10003   fi
   10004 done
   10005   done
   10006 IFS=$as_save_IFS
   10007 
   10008 fi
   10009 fi
   10010 READELF=$ac_cv_prog_READELF
   10011 if test -n "$READELF"; then
   10012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   10013 $as_echo "$READELF" >&6; }
   10014 else
   10015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10016 $as_echo "no" >&6; }
   10017 fi
   10018 
   10019 
   10020   done
   10021 fi
   10022 
   10023 for ncn_progname in readelf; do
   10024   if test -n "$ncn_tool_prefix"; then
   10025     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10026 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10028 $as_echo_n "checking for $ac_word... " >&6; }
   10029 if ${ac_cv_prog_READELF+:} false; then :
   10030   $as_echo_n "(cached) " >&6
   10031 else
   10032   if test -n "$READELF"; then
   10033   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   10034 else
   10035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10036 for as_dir in $PATH
   10037 do
   10038   IFS=$as_save_IFS
   10039   test -z "$as_dir" && as_dir=.
   10040     for ac_exec_ext in '' $ac_executable_extensions; do
   10041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10042     ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
   10043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10044     break 2
   10045   fi
   10046 done
   10047   done
   10048 IFS=$as_save_IFS
   10049 
   10050 fi
   10051 fi
   10052 READELF=$ac_cv_prog_READELF
   10053 if test -n "$READELF"; then
   10054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   10055 $as_echo "$READELF" >&6; }
   10056 else
   10057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10058 $as_echo "no" >&6; }
   10059 fi
   10060 
   10061 
   10062   fi
   10063   if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
   10064     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10065 set dummy ${ncn_progname}; ac_word=$2
   10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10067 $as_echo_n "checking for $ac_word... " >&6; }
   10068 if ${ac_cv_prog_READELF+:} false; then :
   10069   $as_echo_n "(cached) " >&6
   10070 else
   10071   if test -n "$READELF"; then
   10072   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   10073 else
   10074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10075 for as_dir in $PATH
   10076 do
   10077   IFS=$as_save_IFS
   10078   test -z "$as_dir" && as_dir=.
   10079     for ac_exec_ext in '' $ac_executable_extensions; do
   10080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10081     ac_cv_prog_READELF="${ncn_progname}"
   10082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10083     break 2
   10084   fi
   10085 done
   10086   done
   10087 IFS=$as_save_IFS
   10088 
   10089 fi
   10090 fi
   10091 READELF=$ac_cv_prog_READELF
   10092 if test -n "$READELF"; then
   10093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   10094 $as_echo "$READELF" >&6; }
   10095 else
   10096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10097 $as_echo "no" >&6; }
   10098 fi
   10099 
   10100 
   10101   fi
   10102   test -n "$ac_cv_prog_READELF" && break
   10103 done
   10104 
   10105 if test -z "$ac_cv_prog_READELF" ; then
   10106   set dummy readelf
   10107   if test $build = $host ; then
   10108     READELF="$2"
   10109   else
   10110     READELF="${ncn_tool_prefix}$2"
   10111   fi
   10112 fi
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 # Target tools.
   10120 
   10121 # Check whether --with-build-time-tools was given.
   10122 if test "${with_build_time_tools+set}" = set; then :
   10123   withval=$with_build_time_tools; case x"$withval" in
   10124      x/*) ;;
   10125      *)
   10126        with_build_time_tools=
   10127        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
   10128 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
   10129        ;;
   10130    esac
   10131 else
   10132   with_build_time_tools=
   10133 fi
   10134 
   10135 
   10136 
   10137 
   10138 if test -n "$CC_FOR_TARGET"; then
   10139   ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
   10140 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   10141   CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10142 fi
   10143 
   10144 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   10145   for ncn_progname in cc gcc; do
   10146     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10147 set dummy ${ncn_progname}; ac_word=$2
   10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10149 $as_echo_n "checking for $ac_word... " >&6; }
   10150 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   10151   $as_echo_n "(cached) " >&6
   10152 else
   10153   if test -n "$CC_FOR_TARGET"; then
   10154   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10155 else
   10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10157 for as_dir in $PATH
   10158 do
   10159   IFS=$as_save_IFS
   10160   test -z "$as_dir" && as_dir=.
   10161     for ac_exec_ext in '' $ac_executable_extensions; do
   10162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10163     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   10164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10165     break 2
   10166   fi
   10167 done
   10168   done
   10169 IFS=$as_save_IFS
   10170 
   10171 fi
   10172 fi
   10173 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10174 if test -n "$CC_FOR_TARGET"; then
   10175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10176 $as_echo "$CC_FOR_TARGET" >&6; }
   10177 else
   10178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10179 $as_echo "no" >&6; }
   10180 fi
   10181 
   10182 
   10183   done
   10184 fi
   10185 
   10186 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10187   for ncn_progname in cc gcc; do
   10188     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10189 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10190     if test -x $with_build_time_tools/${ncn_progname}; then
   10191       ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10192       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10193 $as_echo "yes" >&6; }
   10194       break
   10195     else
   10196       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10197 $as_echo "no" >&6; }
   10198     fi
   10199   done
   10200 fi
   10201 
   10202 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
   10203   for ncn_progname in cc gcc; do
   10204     if test -n "$ncn_target_tool_prefix"; then
   10205       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10206 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10208 $as_echo_n "checking for $ac_word... " >&6; }
   10209 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   10210   $as_echo_n "(cached) " >&6
   10211 else
   10212   if test -n "$CC_FOR_TARGET"; then
   10213   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10214 else
   10215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10216 for as_dir in $PATH
   10217 do
   10218   IFS=$as_save_IFS
   10219   test -z "$as_dir" && as_dir=.
   10220     for ac_exec_ext in '' $ac_executable_extensions; do
   10221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10222     ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10224     break 2
   10225   fi
   10226 done
   10227   done
   10228 IFS=$as_save_IFS
   10229 
   10230 fi
   10231 fi
   10232 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10233 if test -n "$CC_FOR_TARGET"; then
   10234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10235 $as_echo "$CC_FOR_TARGET" >&6; }
   10236 else
   10237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10238 $as_echo "no" >&6; }
   10239 fi
   10240 
   10241 
   10242     fi
   10243     if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
   10244       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10245 set dummy ${ncn_progname}; ac_word=$2
   10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10247 $as_echo_n "checking for $ac_word... " >&6; }
   10248 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   10249   $as_echo_n "(cached) " >&6
   10250 else
   10251   if test -n "$CC_FOR_TARGET"; then
   10252   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10253 else
   10254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10255 for as_dir in $PATH
   10256 do
   10257   IFS=$as_save_IFS
   10258   test -z "$as_dir" && as_dir=.
   10259     for ac_exec_ext in '' $ac_executable_extensions; do
   10260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10261     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   10262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10263     break 2
   10264   fi
   10265 done
   10266   done
   10267 IFS=$as_save_IFS
   10268 
   10269 fi
   10270 fi
   10271 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10272 if test -n "$CC_FOR_TARGET"; then
   10273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10274 $as_echo "$CC_FOR_TARGET" >&6; }
   10275 else
   10276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10277 $as_echo "no" >&6; }
   10278 fi
   10279 
   10280 
   10281     fi
   10282     test -n "$ac_cv_prog_CC_FOR_TARGET" && break
   10283   done
   10284 fi
   10285 
   10286 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
   10287   set dummy cc gcc
   10288   if test $build = $target ; then
   10289     CC_FOR_TARGET="$2"
   10290   else
   10291     CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10292   fi
   10293 else
   10294   CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
   10295 fi
   10296 
   10297 
   10298 
   10299 if test -n "$CXX_FOR_TARGET"; then
   10300   ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
   10301 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10302   CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10303 fi
   10304 
   10305 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10306   for ncn_progname in c++ g++ cxx gxx; do
   10307     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10308 set dummy ${ncn_progname}; ac_word=$2
   10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10310 $as_echo_n "checking for $ac_word... " >&6; }
   10311 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   10312   $as_echo_n "(cached) " >&6
   10313 else
   10314   if test -n "$CXX_FOR_TARGET"; then
   10315   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10316 else
   10317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10318 for as_dir in $PATH
   10319 do
   10320   IFS=$as_save_IFS
   10321   test -z "$as_dir" && as_dir=.
   10322     for ac_exec_ext in '' $ac_executable_extensions; do
   10323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10324     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10326     break 2
   10327   fi
   10328 done
   10329   done
   10330 IFS=$as_save_IFS
   10331 
   10332 fi
   10333 fi
   10334 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10335 if test -n "$CXX_FOR_TARGET"; then
   10336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10337 $as_echo "$CXX_FOR_TARGET" >&6; }
   10338 else
   10339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10340 $as_echo "no" >&6; }
   10341 fi
   10342 
   10343 
   10344   done
   10345 fi
   10346 
   10347 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10348   for ncn_progname in c++ g++ cxx gxx; do
   10349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10350 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10351     if test -x $with_build_time_tools/${ncn_progname}; then
   10352       ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10353       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10354 $as_echo "yes" >&6; }
   10355       break
   10356     else
   10357       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10358 $as_echo "no" >&6; }
   10359     fi
   10360   done
   10361 fi
   10362 
   10363 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
   10364   for ncn_progname in c++ g++ cxx gxx; do
   10365     if test -n "$ncn_target_tool_prefix"; then
   10366       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10367 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10369 $as_echo_n "checking for $ac_word... " >&6; }
   10370 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   10371   $as_echo_n "(cached) " >&6
   10372 else
   10373   if test -n "$CXX_FOR_TARGET"; then
   10374   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10375 else
   10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10377 for as_dir in $PATH
   10378 do
   10379   IFS=$as_save_IFS
   10380   test -z "$as_dir" && as_dir=.
   10381     for ac_exec_ext in '' $ac_executable_extensions; do
   10382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10383     ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10385     break 2
   10386   fi
   10387 done
   10388   done
   10389 IFS=$as_save_IFS
   10390 
   10391 fi
   10392 fi
   10393 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10394 if test -n "$CXX_FOR_TARGET"; then
   10395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10396 $as_echo "$CXX_FOR_TARGET" >&6; }
   10397 else
   10398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10399 $as_echo "no" >&6; }
   10400 fi
   10401 
   10402 
   10403     fi
   10404     if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
   10405       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10406 set dummy ${ncn_progname}; ac_word=$2
   10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10408 $as_echo_n "checking for $ac_word... " >&6; }
   10409 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   10410   $as_echo_n "(cached) " >&6
   10411 else
   10412   if test -n "$CXX_FOR_TARGET"; then
   10413   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10414 else
   10415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10416 for as_dir in $PATH
   10417 do
   10418   IFS=$as_save_IFS
   10419   test -z "$as_dir" && as_dir=.
   10420     for ac_exec_ext in '' $ac_executable_extensions; do
   10421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10422     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10424     break 2
   10425   fi
   10426 done
   10427   done
   10428 IFS=$as_save_IFS
   10429 
   10430 fi
   10431 fi
   10432 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10433 if test -n "$CXX_FOR_TARGET"; then
   10434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10435 $as_echo "$CXX_FOR_TARGET" >&6; }
   10436 else
   10437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10438 $as_echo "no" >&6; }
   10439 fi
   10440 
   10441 
   10442     fi
   10443     test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
   10444   done
   10445 fi
   10446 
   10447 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
   10448   set dummy c++ g++ cxx gxx
   10449   if test $build = $target ; then
   10450     CXX_FOR_TARGET="$2"
   10451   else
   10452     CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10453   fi
   10454 else
   10455   CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
   10456 fi
   10457 
   10458 
   10459 
   10460 if test -n "$GCC_FOR_TARGET"; then
   10461   ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
   10462 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10463   GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10464 fi
   10465 
   10466 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10467   for ncn_progname in gcc; do
   10468     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10469 set dummy ${ncn_progname}; ac_word=$2
   10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10471 $as_echo_n "checking for $ac_word... " >&6; }
   10472 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   10473   $as_echo_n "(cached) " >&6
   10474 else
   10475   if test -n "$GCC_FOR_TARGET"; then
   10476   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10477 else
   10478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10479 for as_dir in $PATH
   10480 do
   10481   IFS=$as_save_IFS
   10482   test -z "$as_dir" && as_dir=.
   10483     for ac_exec_ext in '' $ac_executable_extensions; do
   10484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10485     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10487     break 2
   10488   fi
   10489 done
   10490   done
   10491 IFS=$as_save_IFS
   10492 
   10493 fi
   10494 fi
   10495 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10496 if test -n "$GCC_FOR_TARGET"; then
   10497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10498 $as_echo "$GCC_FOR_TARGET" >&6; }
   10499 else
   10500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10501 $as_echo "no" >&6; }
   10502 fi
   10503 
   10504 
   10505   done
   10506 fi
   10507 
   10508 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10509   for ncn_progname in gcc; do
   10510     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10511 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10512     if test -x $with_build_time_tools/${ncn_progname}; then
   10513       ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10514       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10515 $as_echo "yes" >&6; }
   10516       break
   10517     else
   10518       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10519 $as_echo "no" >&6; }
   10520     fi
   10521   done
   10522 fi
   10523 
   10524 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
   10525   for ncn_progname in gcc; do
   10526     if test -n "$ncn_target_tool_prefix"; then
   10527       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10528 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10530 $as_echo_n "checking for $ac_word... " >&6; }
   10531 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   10532   $as_echo_n "(cached) " >&6
   10533 else
   10534   if test -n "$GCC_FOR_TARGET"; then
   10535   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10536 else
   10537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10538 for as_dir in $PATH
   10539 do
   10540   IFS=$as_save_IFS
   10541   test -z "$as_dir" && as_dir=.
   10542     for ac_exec_ext in '' $ac_executable_extensions; do
   10543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10544     ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10546     break 2
   10547   fi
   10548 done
   10549   done
   10550 IFS=$as_save_IFS
   10551 
   10552 fi
   10553 fi
   10554 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10555 if test -n "$GCC_FOR_TARGET"; then
   10556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10557 $as_echo "$GCC_FOR_TARGET" >&6; }
   10558 else
   10559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10560 $as_echo "no" >&6; }
   10561 fi
   10562 
   10563 
   10564     fi
   10565     if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
   10566       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10567 set dummy ${ncn_progname}; ac_word=$2
   10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10569 $as_echo_n "checking for $ac_word... " >&6; }
   10570 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   10571   $as_echo_n "(cached) " >&6
   10572 else
   10573   if test -n "$GCC_FOR_TARGET"; then
   10574   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10575 else
   10576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10577 for as_dir in $PATH
   10578 do
   10579   IFS=$as_save_IFS
   10580   test -z "$as_dir" && as_dir=.
   10581     for ac_exec_ext in '' $ac_executable_extensions; do
   10582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10583     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10585     break 2
   10586   fi
   10587 done
   10588   done
   10589 IFS=$as_save_IFS
   10590 
   10591 fi
   10592 fi
   10593 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10594 if test -n "$GCC_FOR_TARGET"; then
   10595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10596 $as_echo "$GCC_FOR_TARGET" >&6; }
   10597 else
   10598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10599 $as_echo "no" >&6; }
   10600 fi
   10601 
   10602 
   10603     fi
   10604     test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
   10605   done
   10606 fi
   10607 
   10608 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
   10609   GCC_FOR_TARGET="${CC_FOR_TARGET}"
   10610 else
   10611   GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
   10612 fi
   10613 
   10614 
   10615 
   10616 if test -n "$GFORTRAN_FOR_TARGET"; then
   10617   ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
   10618 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10619   GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10620 fi
   10621 
   10622 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10623   for ncn_progname in gfortran; do
   10624     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10625 set dummy ${ncn_progname}; ac_word=$2
   10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10627 $as_echo_n "checking for $ac_word... " >&6; }
   10628 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   10629   $as_echo_n "(cached) " >&6
   10630 else
   10631   if test -n "$GFORTRAN_FOR_TARGET"; then
   10632   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10633 else
   10634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10635 for as_dir in $PATH
   10636 do
   10637   IFS=$as_save_IFS
   10638   test -z "$as_dir" && as_dir=.
   10639     for ac_exec_ext in '' $ac_executable_extensions; do
   10640   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10641     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10643     break 2
   10644   fi
   10645 done
   10646   done
   10647 IFS=$as_save_IFS
   10648 
   10649 fi
   10650 fi
   10651 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10652 if test -n "$GFORTRAN_FOR_TARGET"; then
   10653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10654 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10655 else
   10656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10657 $as_echo "no" >&6; }
   10658 fi
   10659 
   10660 
   10661   done
   10662 fi
   10663 
   10664 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10665   for ncn_progname in gfortran; do
   10666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10667 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10668     if test -x $with_build_time_tools/${ncn_progname}; then
   10669       ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10670       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10671 $as_echo "yes" >&6; }
   10672       break
   10673     else
   10674       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10675 $as_echo "no" >&6; }
   10676     fi
   10677   done
   10678 fi
   10679 
   10680 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10681   for ncn_progname in gfortran; do
   10682     if test -n "$ncn_target_tool_prefix"; then
   10683       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10684 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10686 $as_echo_n "checking for $ac_word... " >&6; }
   10687 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   10688   $as_echo_n "(cached) " >&6
   10689 else
   10690   if test -n "$GFORTRAN_FOR_TARGET"; then
   10691   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10692 else
   10693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10694 for as_dir in $PATH
   10695 do
   10696   IFS=$as_save_IFS
   10697   test -z "$as_dir" && as_dir=.
   10698     for ac_exec_ext in '' $ac_executable_extensions; do
   10699   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10700     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10702     break 2
   10703   fi
   10704 done
   10705   done
   10706 IFS=$as_save_IFS
   10707 
   10708 fi
   10709 fi
   10710 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10711 if test -n "$GFORTRAN_FOR_TARGET"; then
   10712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10713 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10714 else
   10715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10716 $as_echo "no" >&6; }
   10717 fi
   10718 
   10719 
   10720     fi
   10721     if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
   10722       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10723 set dummy ${ncn_progname}; ac_word=$2
   10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10725 $as_echo_n "checking for $ac_word... " >&6; }
   10726 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   10727   $as_echo_n "(cached) " >&6
   10728 else
   10729   if test -n "$GFORTRAN_FOR_TARGET"; then
   10730   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10731 else
   10732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10733 for as_dir in $PATH
   10734 do
   10735   IFS=$as_save_IFS
   10736   test -z "$as_dir" && as_dir=.
   10737     for ac_exec_ext in '' $ac_executable_extensions; do
   10738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10739     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10741     break 2
   10742   fi
   10743 done
   10744   done
   10745 IFS=$as_save_IFS
   10746 
   10747 fi
   10748 fi
   10749 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10750 if test -n "$GFORTRAN_FOR_TARGET"; then
   10751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10752 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10753 else
   10754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10755 $as_echo "no" >&6; }
   10756 fi
   10757 
   10758 
   10759     fi
   10760     test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
   10761   done
   10762 fi
   10763 
   10764 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
   10765   set dummy gfortran
   10766   if test $build = $target ; then
   10767     GFORTRAN_FOR_TARGET="$2"
   10768   else
   10769     GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10770   fi
   10771 else
   10772   GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
   10773 fi
   10774 
   10775 
   10776 
   10777 if test -n "$GOC_FOR_TARGET"; then
   10778   ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
   10779 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10780   GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10781 fi
   10782 
   10783 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10784   for ncn_progname in gccgo; do
   10785     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10786 set dummy ${ncn_progname}; ac_word=$2
   10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10788 $as_echo_n "checking for $ac_word... " >&6; }
   10789 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   10790   $as_echo_n "(cached) " >&6
   10791 else
   10792   if test -n "$GOC_FOR_TARGET"; then
   10793   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10794 else
   10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10796 for as_dir in $PATH
   10797 do
   10798   IFS=$as_save_IFS
   10799   test -z "$as_dir" && as_dir=.
   10800     for ac_exec_ext in '' $ac_executable_extensions; do
   10801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10802     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10804     break 2
   10805   fi
   10806 done
   10807   done
   10808 IFS=$as_save_IFS
   10809 
   10810 fi
   10811 fi
   10812 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10813 if test -n "$GOC_FOR_TARGET"; then
   10814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10815 $as_echo "$GOC_FOR_TARGET" >&6; }
   10816 else
   10817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10818 $as_echo "no" >&6; }
   10819 fi
   10820 
   10821 
   10822   done
   10823 fi
   10824 
   10825 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10826   for ncn_progname in gccgo; do
   10827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10828 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10829     if test -x $with_build_time_tools/${ncn_progname}; then
   10830       ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10831       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10832 $as_echo "yes" >&6; }
   10833       break
   10834     else
   10835       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10836 $as_echo "no" >&6; }
   10837     fi
   10838   done
   10839 fi
   10840 
   10841 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
   10842   for ncn_progname in gccgo; do
   10843     if test -n "$ncn_target_tool_prefix"; then
   10844       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10845 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10847 $as_echo_n "checking for $ac_word... " >&6; }
   10848 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   10849   $as_echo_n "(cached) " >&6
   10850 else
   10851   if test -n "$GOC_FOR_TARGET"; then
   10852   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10853 else
   10854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10855 for as_dir in $PATH
   10856 do
   10857   IFS=$as_save_IFS
   10858   test -z "$as_dir" && as_dir=.
   10859     for ac_exec_ext in '' $ac_executable_extensions; do
   10860   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10861     ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10863     break 2
   10864   fi
   10865 done
   10866   done
   10867 IFS=$as_save_IFS
   10868 
   10869 fi
   10870 fi
   10871 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10872 if test -n "$GOC_FOR_TARGET"; then
   10873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10874 $as_echo "$GOC_FOR_TARGET" >&6; }
   10875 else
   10876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10877 $as_echo "no" >&6; }
   10878 fi
   10879 
   10880 
   10881     fi
   10882     if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
   10883       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10884 set dummy ${ncn_progname}; ac_word=$2
   10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10886 $as_echo_n "checking for $ac_word... " >&6; }
   10887 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   10888   $as_echo_n "(cached) " >&6
   10889 else
   10890   if test -n "$GOC_FOR_TARGET"; then
   10891   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10892 else
   10893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10894 for as_dir in $PATH
   10895 do
   10896   IFS=$as_save_IFS
   10897   test -z "$as_dir" && as_dir=.
   10898     for ac_exec_ext in '' $ac_executable_extensions; do
   10899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10900     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10902     break 2
   10903   fi
   10904 done
   10905   done
   10906 IFS=$as_save_IFS
   10907 
   10908 fi
   10909 fi
   10910 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10911 if test -n "$GOC_FOR_TARGET"; then
   10912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10913 $as_echo "$GOC_FOR_TARGET" >&6; }
   10914 else
   10915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10916 $as_echo "no" >&6; }
   10917 fi
   10918 
   10919 
   10920     fi
   10921     test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
   10922   done
   10923 fi
   10924 
   10925 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
   10926   set dummy gccgo
   10927   if test $build = $target ; then
   10928     GOC_FOR_TARGET="$2"
   10929   else
   10930     GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10931   fi
   10932 else
   10933   GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
   10934 fi
   10935 
   10936 
   10937 
   10938 cat > conftest.c << \EOF
   10939 #ifdef __GNUC__
   10940   gcc_yay;
   10941 #endif
   10942 EOF
   10943 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
   10944   have_gcc_for_target=yes
   10945 else
   10946   GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
   10947   have_gcc_for_target=no
   10948 fi
   10949 rm conftest.c
   10950 
   10951 
   10952 
   10953 
   10954 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   10955   if test -n "$with_build_time_tools"; then
   10956     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
   10957 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
   10958     if test -x $with_build_time_tools/ar; then
   10959       AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
   10960       ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10961       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
   10962 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
   10963     else
   10964       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10965 $as_echo "no" >&6; }
   10966     fi
   10967   elif test $build != $host && test $have_gcc_for_target = yes; then
   10968     AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
   10969     test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
   10970     test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10971   fi
   10972 fi
   10973 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   10974   # Extract the first word of "ar", so it can be a program name with args.
   10975 set dummy ar; ac_word=$2
   10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10977 $as_echo_n "checking for $ac_word... " >&6; }
   10978 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
   10979   $as_echo_n "(cached) " >&6
   10980 else
   10981   case $AR_FOR_TARGET in
   10982   [\\/]* | ?:[\\/]*)
   10983   ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
   10984   ;;
   10985   *)
   10986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10987 for as_dir in $gcc_cv_tool_dirs
   10988 do
   10989   IFS=$as_save_IFS
   10990   test -z "$as_dir" && as_dir=.
   10991     for ac_exec_ext in '' $ac_executable_extensions; do
   10992   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10993     ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   10994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10995     break 2
   10996   fi
   10997 done
   10998   done
   10999 IFS=$as_save_IFS
   11000 
   11001   ;;
   11002 esac
   11003 fi
   11004 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   11005 if test -n "$AR_FOR_TARGET"; then
   11006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11007 $as_echo "$AR_FOR_TARGET" >&6; }
   11008 else
   11009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11010 $as_echo "no" >&6; }
   11011 fi
   11012 
   11013 
   11014 fi
   11015 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   11016 
   11017 
   11018 if test -n "$AR_FOR_TARGET"; then
   11019   ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
   11020 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   11021   AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11022 fi
   11023 
   11024 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   11025   for ncn_progname in ar; do
   11026     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11027 set dummy ${ncn_progname}; ac_word=$2
   11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11029 $as_echo_n "checking for $ac_word... " >&6; }
   11030 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   11031   $as_echo_n "(cached) " >&6
   11032 else
   11033   if test -n "$AR_FOR_TARGET"; then
   11034   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11035 else
   11036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11037 for as_dir in $PATH
   11038 do
   11039   IFS=$as_save_IFS
   11040   test -z "$as_dir" && as_dir=.
   11041     for ac_exec_ext in '' $ac_executable_extensions; do
   11042   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11043     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   11044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11045     break 2
   11046   fi
   11047 done
   11048   done
   11049 IFS=$as_save_IFS
   11050 
   11051 fi
   11052 fi
   11053 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11054 if test -n "$AR_FOR_TARGET"; then
   11055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11056 $as_echo "$AR_FOR_TARGET" >&6; }
   11057 else
   11058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11059 $as_echo "no" >&6; }
   11060 fi
   11061 
   11062 
   11063   done
   11064 fi
   11065 
   11066 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11067   for ncn_progname in ar; do
   11068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11069 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11070     if test -x $with_build_time_tools/${ncn_progname}; then
   11071       ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11072       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11073 $as_echo "yes" >&6; }
   11074       break
   11075     else
   11076       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11077 $as_echo "no" >&6; }
   11078     fi
   11079   done
   11080 fi
   11081 
   11082 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
   11083   for ncn_progname in ar; do
   11084     if test -n "$ncn_target_tool_prefix"; then
   11085       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11086 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11088 $as_echo_n "checking for $ac_word... " >&6; }
   11089 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   11090   $as_echo_n "(cached) " >&6
   11091 else
   11092   if test -n "$AR_FOR_TARGET"; then
   11093   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11094 else
   11095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11096 for as_dir in $PATH
   11097 do
   11098   IFS=$as_save_IFS
   11099   test -z "$as_dir" && as_dir=.
   11100     for ac_exec_ext in '' $ac_executable_extensions; do
   11101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11102     ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11104     break 2
   11105   fi
   11106 done
   11107   done
   11108 IFS=$as_save_IFS
   11109 
   11110 fi
   11111 fi
   11112 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11113 if test -n "$AR_FOR_TARGET"; then
   11114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11115 $as_echo "$AR_FOR_TARGET" >&6; }
   11116 else
   11117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11118 $as_echo "no" >&6; }
   11119 fi
   11120 
   11121 
   11122     fi
   11123     if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
   11124       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11125 set dummy ${ncn_progname}; ac_word=$2
   11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11127 $as_echo_n "checking for $ac_word... " >&6; }
   11128 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   11129   $as_echo_n "(cached) " >&6
   11130 else
   11131   if test -n "$AR_FOR_TARGET"; then
   11132   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11133 else
   11134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11135 for as_dir in $PATH
   11136 do
   11137   IFS=$as_save_IFS
   11138   test -z "$as_dir" && as_dir=.
   11139     for ac_exec_ext in '' $ac_executable_extensions; do
   11140   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11141     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   11142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11143     break 2
   11144   fi
   11145 done
   11146   done
   11147 IFS=$as_save_IFS
   11148 
   11149 fi
   11150 fi
   11151 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11152 if test -n "$AR_FOR_TARGET"; then
   11153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11154 $as_echo "$AR_FOR_TARGET" >&6; }
   11155 else
   11156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11157 $as_echo "no" >&6; }
   11158 fi
   11159 
   11160 
   11161     fi
   11162     test -n "$ac_cv_prog_AR_FOR_TARGET" && break
   11163   done
   11164 fi
   11165 
   11166 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
   11167   set dummy ar
   11168   if test $build = $target ; then
   11169     AR_FOR_TARGET="$2"
   11170   else
   11171     AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11172   fi
   11173 else
   11174   AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
   11175 fi
   11176 
   11177 else
   11178   AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   11179 fi
   11180 
   11181 
   11182 
   11183 
   11184 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11185   if test -n "$with_build_time_tools"; then
   11186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
   11187 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
   11188     if test -x $with_build_time_tools/as; then
   11189       AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
   11190       ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11191       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
   11192 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
   11193     else
   11194       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11195 $as_echo "no" >&6; }
   11196     fi
   11197   elif test $build != $host && test $have_gcc_for_target = yes; then
   11198     AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
   11199     test $AS_FOR_TARGET = as && AS_FOR_TARGET=
   11200     test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11201   fi
   11202 fi
   11203 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11204   # Extract the first word of "as", so it can be a program name with args.
   11205 set dummy as; ac_word=$2
   11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11207 $as_echo_n "checking for $ac_word... " >&6; }
   11208 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
   11209   $as_echo_n "(cached) " >&6
   11210 else
   11211   case $AS_FOR_TARGET in
   11212   [\\/]* | ?:[\\/]*)
   11213   ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
   11214   ;;
   11215   *)
   11216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11217 for as_dir in $gcc_cv_tool_dirs
   11218 do
   11219   IFS=$as_save_IFS
   11220   test -z "$as_dir" && as_dir=.
   11221     for ac_exec_ext in '' $ac_executable_extensions; do
   11222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11223     ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11225     break 2
   11226   fi
   11227 done
   11228   done
   11229 IFS=$as_save_IFS
   11230 
   11231   ;;
   11232 esac
   11233 fi
   11234 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11235 if test -n "$AS_FOR_TARGET"; then
   11236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11237 $as_echo "$AS_FOR_TARGET" >&6; }
   11238 else
   11239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11240 $as_echo "no" >&6; }
   11241 fi
   11242 
   11243 
   11244 fi
   11245 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11246 
   11247 
   11248 if test -n "$AS_FOR_TARGET"; then
   11249   ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
   11250 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11251   AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11252 fi
   11253 
   11254 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11255   for ncn_progname in as; do
   11256     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11257 set dummy ${ncn_progname}; ac_word=$2
   11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11259 $as_echo_n "checking for $ac_word... " >&6; }
   11260 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   11261   $as_echo_n "(cached) " >&6
   11262 else
   11263   if test -n "$AS_FOR_TARGET"; then
   11264   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11265 else
   11266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11267 for as_dir in $PATH
   11268 do
   11269   IFS=$as_save_IFS
   11270   test -z "$as_dir" && as_dir=.
   11271     for ac_exec_ext in '' $ac_executable_extensions; do
   11272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11273     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11275     break 2
   11276   fi
   11277 done
   11278   done
   11279 IFS=$as_save_IFS
   11280 
   11281 fi
   11282 fi
   11283 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11284 if test -n "$AS_FOR_TARGET"; then
   11285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11286 $as_echo "$AS_FOR_TARGET" >&6; }
   11287 else
   11288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11289 $as_echo "no" >&6; }
   11290 fi
   11291 
   11292 
   11293   done
   11294 fi
   11295 
   11296 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11297   for ncn_progname in as; do
   11298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11299 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11300     if test -x $with_build_time_tools/${ncn_progname}; then
   11301       ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11302       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11303 $as_echo "yes" >&6; }
   11304       break
   11305     else
   11306       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11307 $as_echo "no" >&6; }
   11308     fi
   11309   done
   11310 fi
   11311 
   11312 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
   11313   for ncn_progname in as; do
   11314     if test -n "$ncn_target_tool_prefix"; then
   11315       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11316 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11318 $as_echo_n "checking for $ac_word... " >&6; }
   11319 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   11320   $as_echo_n "(cached) " >&6
   11321 else
   11322   if test -n "$AS_FOR_TARGET"; then
   11323   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11324 else
   11325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11326 for as_dir in $PATH
   11327 do
   11328   IFS=$as_save_IFS
   11329   test -z "$as_dir" && as_dir=.
   11330     for ac_exec_ext in '' $ac_executable_extensions; do
   11331   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11332     ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11334     break 2
   11335   fi
   11336 done
   11337   done
   11338 IFS=$as_save_IFS
   11339 
   11340 fi
   11341 fi
   11342 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11343 if test -n "$AS_FOR_TARGET"; then
   11344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11345 $as_echo "$AS_FOR_TARGET" >&6; }
   11346 else
   11347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11348 $as_echo "no" >&6; }
   11349 fi
   11350 
   11351 
   11352     fi
   11353     if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
   11354       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11355 set dummy ${ncn_progname}; ac_word=$2
   11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11357 $as_echo_n "checking for $ac_word... " >&6; }
   11358 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   11359   $as_echo_n "(cached) " >&6
   11360 else
   11361   if test -n "$AS_FOR_TARGET"; then
   11362   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11363 else
   11364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11365 for as_dir in $PATH
   11366 do
   11367   IFS=$as_save_IFS
   11368   test -z "$as_dir" && as_dir=.
   11369     for ac_exec_ext in '' $ac_executable_extensions; do
   11370   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11371     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11373     break 2
   11374   fi
   11375 done
   11376   done
   11377 IFS=$as_save_IFS
   11378 
   11379 fi
   11380 fi
   11381 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11382 if test -n "$AS_FOR_TARGET"; then
   11383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11384 $as_echo "$AS_FOR_TARGET" >&6; }
   11385 else
   11386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11387 $as_echo "no" >&6; }
   11388 fi
   11389 
   11390 
   11391     fi
   11392     test -n "$ac_cv_prog_AS_FOR_TARGET" && break
   11393   done
   11394 fi
   11395 
   11396 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
   11397   set dummy as
   11398   if test $build = $target ; then
   11399     AS_FOR_TARGET="$2"
   11400   else
   11401     AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11402   fi
   11403 else
   11404   AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
   11405 fi
   11406 
   11407 else
   11408   AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11409 fi
   11410 
   11411 
   11412 
   11413 
   11414 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11415   if test -n "$with_build_time_tools"; then
   11416     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
   11417 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
   11418     if test -x $with_build_time_tools/dlltool; then
   11419       DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
   11420       ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11421       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
   11422 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
   11423     else
   11424       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11425 $as_echo "no" >&6; }
   11426     fi
   11427   elif test $build != $host && test $have_gcc_for_target = yes; then
   11428     DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
   11429     test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
   11430     test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11431   fi
   11432 fi
   11433 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11434   # Extract the first word of "dlltool", so it can be a program name with args.
   11435 set dummy dlltool; ac_word=$2
   11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11437 $as_echo_n "checking for $ac_word... " >&6; }
   11438 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
   11439   $as_echo_n "(cached) " >&6
   11440 else
   11441   case $DLLTOOL_FOR_TARGET in
   11442   [\\/]* | ?:[\\/]*)
   11443   ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
   11444   ;;
   11445   *)
   11446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11447 for as_dir in $gcc_cv_tool_dirs
   11448 do
   11449   IFS=$as_save_IFS
   11450   test -z "$as_dir" && as_dir=.
   11451     for ac_exec_ext in '' $ac_executable_extensions; do
   11452   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11453     ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11455     break 2
   11456   fi
   11457 done
   11458   done
   11459 IFS=$as_save_IFS
   11460 
   11461   ;;
   11462 esac
   11463 fi
   11464 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11465 if test -n "$DLLTOOL_FOR_TARGET"; then
   11466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11467 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11468 else
   11469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11470 $as_echo "no" >&6; }
   11471 fi
   11472 
   11473 
   11474 fi
   11475 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11476 
   11477 
   11478 if test -n "$DLLTOOL_FOR_TARGET"; then
   11479   ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11480 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11481   DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11482 fi
   11483 
   11484 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11485   for ncn_progname in dlltool; do
   11486     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11487 set dummy ${ncn_progname}; ac_word=$2
   11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11489 $as_echo_n "checking for $ac_word... " >&6; }
   11490 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   11491   $as_echo_n "(cached) " >&6
   11492 else
   11493   if test -n "$DLLTOOL_FOR_TARGET"; then
   11494   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11495 else
   11496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11497 for as_dir in $PATH
   11498 do
   11499   IFS=$as_save_IFS
   11500   test -z "$as_dir" && as_dir=.
   11501     for ac_exec_ext in '' $ac_executable_extensions; do
   11502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11503     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11505     break 2
   11506   fi
   11507 done
   11508   done
   11509 IFS=$as_save_IFS
   11510 
   11511 fi
   11512 fi
   11513 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11514 if test -n "$DLLTOOL_FOR_TARGET"; then
   11515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11516 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11517 else
   11518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11519 $as_echo "no" >&6; }
   11520 fi
   11521 
   11522 
   11523   done
   11524 fi
   11525 
   11526 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11527   for ncn_progname in dlltool; do
   11528     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11529 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11530     if test -x $with_build_time_tools/${ncn_progname}; then
   11531       ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11532       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11533 $as_echo "yes" >&6; }
   11534       break
   11535     else
   11536       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11537 $as_echo "no" >&6; }
   11538     fi
   11539   done
   11540 fi
   11541 
   11542 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11543   for ncn_progname in dlltool; do
   11544     if test -n "$ncn_target_tool_prefix"; then
   11545       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11546 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11548 $as_echo_n "checking for $ac_word... " >&6; }
   11549 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   11550   $as_echo_n "(cached) " >&6
   11551 else
   11552   if test -n "$DLLTOOL_FOR_TARGET"; then
   11553   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11554 else
   11555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11556 for as_dir in $PATH
   11557 do
   11558   IFS=$as_save_IFS
   11559   test -z "$as_dir" && as_dir=.
   11560     for ac_exec_ext in '' $ac_executable_extensions; do
   11561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11562     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11564     break 2
   11565   fi
   11566 done
   11567   done
   11568 IFS=$as_save_IFS
   11569 
   11570 fi
   11571 fi
   11572 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11573 if test -n "$DLLTOOL_FOR_TARGET"; then
   11574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11575 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11576 else
   11577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11578 $as_echo "no" >&6; }
   11579 fi
   11580 
   11581 
   11582     fi
   11583     if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
   11584       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11585 set dummy ${ncn_progname}; ac_word=$2
   11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11587 $as_echo_n "checking for $ac_word... " >&6; }
   11588 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   11589   $as_echo_n "(cached) " >&6
   11590 else
   11591   if test -n "$DLLTOOL_FOR_TARGET"; then
   11592   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11593 else
   11594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11595 for as_dir in $PATH
   11596 do
   11597   IFS=$as_save_IFS
   11598   test -z "$as_dir" && as_dir=.
   11599     for ac_exec_ext in '' $ac_executable_extensions; do
   11600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11601     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11603     break 2
   11604   fi
   11605 done
   11606   done
   11607 IFS=$as_save_IFS
   11608 
   11609 fi
   11610 fi
   11611 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11612 if test -n "$DLLTOOL_FOR_TARGET"; then
   11613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11614 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11615 else
   11616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11617 $as_echo "no" >&6; }
   11618 fi
   11619 
   11620 
   11621     fi
   11622     test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
   11623   done
   11624 fi
   11625 
   11626 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
   11627   set dummy dlltool
   11628   if test $build = $target ; then
   11629     DLLTOOL_FOR_TARGET="$2"
   11630   else
   11631     DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11632   fi
   11633 else
   11634   DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
   11635 fi
   11636 
   11637 else
   11638   DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11639 fi
   11640 
   11641 
   11642 
   11643 
   11644 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11645   if test -n "$with_build_time_tools"; then
   11646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
   11647 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
   11648     if test -x $with_build_time_tools/ld; then
   11649       LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
   11650       ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11651       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
   11652 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
   11653     else
   11654       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11655 $as_echo "no" >&6; }
   11656     fi
   11657   elif test $build != $host && test $have_gcc_for_target = yes; then
   11658     LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
   11659     test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
   11660     test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11661   fi
   11662 fi
   11663 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11664   # Extract the first word of "ld", so it can be a program name with args.
   11665 set dummy ld; ac_word=$2
   11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11667 $as_echo_n "checking for $ac_word... " >&6; }
   11668 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
   11669   $as_echo_n "(cached) " >&6
   11670 else
   11671   case $LD_FOR_TARGET in
   11672   [\\/]* | ?:[\\/]*)
   11673   ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
   11674   ;;
   11675   *)
   11676   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11677 for as_dir in $gcc_cv_tool_dirs
   11678 do
   11679   IFS=$as_save_IFS
   11680   test -z "$as_dir" && as_dir=.
   11681     for ac_exec_ext in '' $ac_executable_extensions; do
   11682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11683     ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11685     break 2
   11686   fi
   11687 done
   11688   done
   11689 IFS=$as_save_IFS
   11690 
   11691   ;;
   11692 esac
   11693 fi
   11694 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11695 if test -n "$LD_FOR_TARGET"; then
   11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11697 $as_echo "$LD_FOR_TARGET" >&6; }
   11698 else
   11699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11700 $as_echo "no" >&6; }
   11701 fi
   11702 
   11703 
   11704 fi
   11705 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11706 
   11707 
   11708 if test -n "$LD_FOR_TARGET"; then
   11709   ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
   11710 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11711   LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11712 fi
   11713 
   11714 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11715   for ncn_progname in ld; do
   11716     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11717 set dummy ${ncn_progname}; ac_word=$2
   11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11719 $as_echo_n "checking for $ac_word... " >&6; }
   11720 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   11721   $as_echo_n "(cached) " >&6
   11722 else
   11723   if test -n "$LD_FOR_TARGET"; then
   11724   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11725 else
   11726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11727 for as_dir in $PATH
   11728 do
   11729   IFS=$as_save_IFS
   11730   test -z "$as_dir" && as_dir=.
   11731     for ac_exec_ext in '' $ac_executable_extensions; do
   11732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11733     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11735     break 2
   11736   fi
   11737 done
   11738   done
   11739 IFS=$as_save_IFS
   11740 
   11741 fi
   11742 fi
   11743 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11744 if test -n "$LD_FOR_TARGET"; then
   11745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11746 $as_echo "$LD_FOR_TARGET" >&6; }
   11747 else
   11748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11749 $as_echo "no" >&6; }
   11750 fi
   11751 
   11752 
   11753   done
   11754 fi
   11755 
   11756 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11757   for ncn_progname in ld; do
   11758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11759 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11760     if test -x $with_build_time_tools/${ncn_progname}; then
   11761       ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11762       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11763 $as_echo "yes" >&6; }
   11764       break
   11765     else
   11766       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11767 $as_echo "no" >&6; }
   11768     fi
   11769   done
   11770 fi
   11771 
   11772 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
   11773   for ncn_progname in ld; do
   11774     if test -n "$ncn_target_tool_prefix"; then
   11775       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11776 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11778 $as_echo_n "checking for $ac_word... " >&6; }
   11779 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   11780   $as_echo_n "(cached) " >&6
   11781 else
   11782   if test -n "$LD_FOR_TARGET"; then
   11783   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11784 else
   11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11786 for as_dir in $PATH
   11787 do
   11788   IFS=$as_save_IFS
   11789   test -z "$as_dir" && as_dir=.
   11790     for ac_exec_ext in '' $ac_executable_extensions; do
   11791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11792     ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   11793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11794     break 2
   11795   fi
   11796 done
   11797   done
   11798 IFS=$as_save_IFS
   11799 
   11800 fi
   11801 fi
   11802 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11803 if test -n "$LD_FOR_TARGET"; then
   11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11805 $as_echo "$LD_FOR_TARGET" >&6; }
   11806 else
   11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11808 $as_echo "no" >&6; }
   11809 fi
   11810 
   11811 
   11812     fi
   11813     if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
   11814       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11815 set dummy ${ncn_progname}; ac_word=$2
   11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11817 $as_echo_n "checking for $ac_word... " >&6; }
   11818 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   11819   $as_echo_n "(cached) " >&6
   11820 else
   11821   if test -n "$LD_FOR_TARGET"; then
   11822   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11823 else
   11824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11825 for as_dir in $PATH
   11826 do
   11827   IFS=$as_save_IFS
   11828   test -z "$as_dir" && as_dir=.
   11829     for ac_exec_ext in '' $ac_executable_extensions; do
   11830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11831     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11833     break 2
   11834   fi
   11835 done
   11836   done
   11837 IFS=$as_save_IFS
   11838 
   11839 fi
   11840 fi
   11841 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11842 if test -n "$LD_FOR_TARGET"; then
   11843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11844 $as_echo "$LD_FOR_TARGET" >&6; }
   11845 else
   11846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11847 $as_echo "no" >&6; }
   11848 fi
   11849 
   11850 
   11851     fi
   11852     test -n "$ac_cv_prog_LD_FOR_TARGET" && break
   11853   done
   11854 fi
   11855 
   11856 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
   11857   set dummy ld
   11858   if test $build = $target ; then
   11859     LD_FOR_TARGET="$2"
   11860   else
   11861     LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11862   fi
   11863 else
   11864   LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
   11865 fi
   11866 
   11867 else
   11868   LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11869 fi
   11870 
   11871 
   11872 
   11873 
   11874 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11875   if test -n "$with_build_time_tools"; then
   11876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
   11877 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
   11878     if test -x $with_build_time_tools/lipo; then
   11879       LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
   11880       ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11881       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
   11882 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
   11883     else
   11884       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11885 $as_echo "no" >&6; }
   11886     fi
   11887   elif test $build != $host && test $have_gcc_for_target = yes; then
   11888     LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
   11889     test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
   11890     test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11891   fi
   11892 fi
   11893 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11894   # Extract the first word of "lipo", so it can be a program name with args.
   11895 set dummy lipo; ac_word=$2
   11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11897 $as_echo_n "checking for $ac_word... " >&6; }
   11898 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
   11899   $as_echo_n "(cached) " >&6
   11900 else
   11901   case $LIPO_FOR_TARGET in
   11902   [\\/]* | ?:[\\/]*)
   11903   ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
   11904   ;;
   11905   *)
   11906   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11907 for as_dir in $gcc_cv_tool_dirs
   11908 do
   11909   IFS=$as_save_IFS
   11910   test -z "$as_dir" && as_dir=.
   11911     for ac_exec_ext in '' $ac_executable_extensions; do
   11912   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11913     ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11915     break 2
   11916   fi
   11917 done
   11918   done
   11919 IFS=$as_save_IFS
   11920 
   11921   ;;
   11922 esac
   11923 fi
   11924 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   11925 if test -n "$LIPO_FOR_TARGET"; then
   11926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11927 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11928 else
   11929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11930 $as_echo "no" >&6; }
   11931 fi
   11932 
   11933 
   11934 fi
   11935 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11936 
   11937 
   11938 if test -n "$LIPO_FOR_TARGET"; then
   11939   ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11940 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11941   LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11942 fi
   11943 
   11944 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11945   for ncn_progname in lipo; do
   11946     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11947 set dummy ${ncn_progname}; ac_word=$2
   11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11949 $as_echo_n "checking for $ac_word... " >&6; }
   11950 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   11951   $as_echo_n "(cached) " >&6
   11952 else
   11953   if test -n "$LIPO_FOR_TARGET"; then
   11954   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   11955 else
   11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11957 for as_dir in $PATH
   11958 do
   11959   IFS=$as_save_IFS
   11960   test -z "$as_dir" && as_dir=.
   11961     for ac_exec_ext in '' $ac_executable_extensions; do
   11962   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11963     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   11964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11965     break 2
   11966   fi
   11967 done
   11968   done
   11969 IFS=$as_save_IFS
   11970 
   11971 fi
   11972 fi
   11973 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11974 if test -n "$LIPO_FOR_TARGET"; then
   11975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11976 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11977 else
   11978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11979 $as_echo "no" >&6; }
   11980 fi
   11981 
   11982 
   11983   done
   11984 fi
   11985 
   11986 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11987   for ncn_progname in lipo; do
   11988     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11989 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11990     if test -x $with_build_time_tools/${ncn_progname}; then
   11991       ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11992       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11993 $as_echo "yes" >&6; }
   11994       break
   11995     else
   11996       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11997 $as_echo "no" >&6; }
   11998     fi
   11999   done
   12000 fi
   12001 
   12002 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
   12003   for ncn_progname in lipo; do
   12004     if test -n "$ncn_target_tool_prefix"; then
   12005       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12006 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12008 $as_echo_n "checking for $ac_word... " >&6; }
   12009 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   12010   $as_echo_n "(cached) " >&6
   12011 else
   12012   if test -n "$LIPO_FOR_TARGET"; then
   12013   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   12014 else
   12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12016 for as_dir in $PATH
   12017 do
   12018   IFS=$as_save_IFS
   12019   test -z "$as_dir" && as_dir=.
   12020     for ac_exec_ext in '' $ac_executable_extensions; do
   12021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12022     ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12024     break 2
   12025   fi
   12026 done
   12027   done
   12028 IFS=$as_save_IFS
   12029 
   12030 fi
   12031 fi
   12032 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   12033 if test -n "$LIPO_FOR_TARGET"; then
   12034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   12035 $as_echo "$LIPO_FOR_TARGET" >&6; }
   12036 else
   12037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12038 $as_echo "no" >&6; }
   12039 fi
   12040 
   12041 
   12042     fi
   12043     if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
   12044       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12045 set dummy ${ncn_progname}; ac_word=$2
   12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12047 $as_echo_n "checking for $ac_word... " >&6; }
   12048 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   12049   $as_echo_n "(cached) " >&6
   12050 else
   12051   if test -n "$LIPO_FOR_TARGET"; then
   12052   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   12053 else
   12054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12055 for as_dir in $PATH
   12056 do
   12057   IFS=$as_save_IFS
   12058   test -z "$as_dir" && as_dir=.
   12059     for ac_exec_ext in '' $ac_executable_extensions; do
   12060   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12061     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   12062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12063     break 2
   12064   fi
   12065 done
   12066   done
   12067 IFS=$as_save_IFS
   12068 
   12069 fi
   12070 fi
   12071 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   12072 if test -n "$LIPO_FOR_TARGET"; then
   12073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   12074 $as_echo "$LIPO_FOR_TARGET" >&6; }
   12075 else
   12076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12077 $as_echo "no" >&6; }
   12078 fi
   12079 
   12080 
   12081     fi
   12082     test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
   12083   done
   12084 fi
   12085 
   12086 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
   12087   set dummy lipo
   12088   if test $build = $target ; then
   12089     LIPO_FOR_TARGET="$2"
   12090   else
   12091     LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12092   fi
   12093 else
   12094   LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
   12095 fi
   12096 
   12097 else
   12098   LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   12099 fi
   12100 
   12101 
   12102 
   12103 
   12104 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   12105   if test -n "$with_build_time_tools"; then
   12106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
   12107 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
   12108     if test -x $with_build_time_tools/nm; then
   12109       NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
   12110       ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12111       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
   12112 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
   12113     else
   12114       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12115 $as_echo "no" >&6; }
   12116     fi
   12117   elif test $build != $host && test $have_gcc_for_target = yes; then
   12118     NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
   12119     test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
   12120     test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12121   fi
   12122 fi
   12123 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12124   # Extract the first word of "nm", so it can be a program name with args.
   12125 set dummy nm; ac_word=$2
   12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12127 $as_echo_n "checking for $ac_word... " >&6; }
   12128 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
   12129   $as_echo_n "(cached) " >&6
   12130 else
   12131   case $NM_FOR_TARGET in
   12132   [\\/]* | ?:[\\/]*)
   12133   ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
   12134   ;;
   12135   *)
   12136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12137 for as_dir in $gcc_cv_tool_dirs
   12138 do
   12139   IFS=$as_save_IFS
   12140   test -z "$as_dir" && as_dir=.
   12141     for ac_exec_ext in '' $ac_executable_extensions; do
   12142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12143     ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12145     break 2
   12146   fi
   12147 done
   12148   done
   12149 IFS=$as_save_IFS
   12150 
   12151   ;;
   12152 esac
   12153 fi
   12154 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12155 if test -n "$NM_FOR_TARGET"; then
   12156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12157 $as_echo "$NM_FOR_TARGET" >&6; }
   12158 else
   12159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12160 $as_echo "no" >&6; }
   12161 fi
   12162 
   12163 
   12164 fi
   12165 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   12166 
   12167 
   12168 if test -n "$NM_FOR_TARGET"; then
   12169   ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
   12170 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12171   NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12172 fi
   12173 
   12174 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12175   for ncn_progname in nm; do
   12176     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12177 set dummy ${ncn_progname}; ac_word=$2
   12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12179 $as_echo_n "checking for $ac_word... " >&6; }
   12180 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   12181   $as_echo_n "(cached) " >&6
   12182 else
   12183   if test -n "$NM_FOR_TARGET"; then
   12184   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12185 else
   12186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12187 for as_dir in $PATH
   12188 do
   12189   IFS=$as_save_IFS
   12190   test -z "$as_dir" && as_dir=.
   12191     for ac_exec_ext in '' $ac_executable_extensions; do
   12192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12193     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12195     break 2
   12196   fi
   12197 done
   12198   done
   12199 IFS=$as_save_IFS
   12200 
   12201 fi
   12202 fi
   12203 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12204 if test -n "$NM_FOR_TARGET"; then
   12205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12206 $as_echo "$NM_FOR_TARGET" >&6; }
   12207 else
   12208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12209 $as_echo "no" >&6; }
   12210 fi
   12211 
   12212 
   12213   done
   12214 fi
   12215 
   12216 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12217   for ncn_progname in nm; do
   12218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12219 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12220     if test -x $with_build_time_tools/${ncn_progname}; then
   12221       ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12222       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12223 $as_echo "yes" >&6; }
   12224       break
   12225     else
   12226       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12227 $as_echo "no" >&6; }
   12228     fi
   12229   done
   12230 fi
   12231 
   12232 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
   12233   for ncn_progname in nm; do
   12234     if test -n "$ncn_target_tool_prefix"; then
   12235       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12236 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12238 $as_echo_n "checking for $ac_word... " >&6; }
   12239 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   12240   $as_echo_n "(cached) " >&6
   12241 else
   12242   if test -n "$NM_FOR_TARGET"; then
   12243   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12244 else
   12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12246 for as_dir in $PATH
   12247 do
   12248   IFS=$as_save_IFS
   12249   test -z "$as_dir" && as_dir=.
   12250     for ac_exec_ext in '' $ac_executable_extensions; do
   12251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12252     ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12254     break 2
   12255   fi
   12256 done
   12257   done
   12258 IFS=$as_save_IFS
   12259 
   12260 fi
   12261 fi
   12262 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12263 if test -n "$NM_FOR_TARGET"; then
   12264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12265 $as_echo "$NM_FOR_TARGET" >&6; }
   12266 else
   12267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12268 $as_echo "no" >&6; }
   12269 fi
   12270 
   12271 
   12272     fi
   12273     if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
   12274       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12275 set dummy ${ncn_progname}; ac_word=$2
   12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12277 $as_echo_n "checking for $ac_word... " >&6; }
   12278 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   12279   $as_echo_n "(cached) " >&6
   12280 else
   12281   if test -n "$NM_FOR_TARGET"; then
   12282   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12283 else
   12284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12285 for as_dir in $PATH
   12286 do
   12287   IFS=$as_save_IFS
   12288   test -z "$as_dir" && as_dir=.
   12289     for ac_exec_ext in '' $ac_executable_extensions; do
   12290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12291     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12293     break 2
   12294   fi
   12295 done
   12296   done
   12297 IFS=$as_save_IFS
   12298 
   12299 fi
   12300 fi
   12301 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12302 if test -n "$NM_FOR_TARGET"; then
   12303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12304 $as_echo "$NM_FOR_TARGET" >&6; }
   12305 else
   12306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12307 $as_echo "no" >&6; }
   12308 fi
   12309 
   12310 
   12311     fi
   12312     test -n "$ac_cv_prog_NM_FOR_TARGET" && break
   12313   done
   12314 fi
   12315 
   12316 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
   12317   set dummy nm
   12318   if test $build = $target ; then
   12319     NM_FOR_TARGET="$2"
   12320   else
   12321     NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12322   fi
   12323 else
   12324   NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
   12325 fi
   12326 
   12327 else
   12328   NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12329 fi
   12330 
   12331 
   12332 
   12333 
   12334 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12335   if test -n "$with_build_time_tools"; then
   12336     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objcopy in $with_build_time_tools" >&5
   12337 $as_echo_n "checking for objcopy in $with_build_time_tools... " >&6; }
   12338     if test -x $with_build_time_tools/objcopy; then
   12339       OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
   12340       ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12341       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
   12342 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
   12343     else
   12344       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12345 $as_echo "no" >&6; }
   12346     fi
   12347   elif test $build != $host && test $have_gcc_for_target = yes; then
   12348     OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
   12349     test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
   12350     test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12351   fi
   12352 fi
   12353 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12354   # Extract the first word of "objcopy", so it can be a program name with args.
   12355 set dummy objcopy; ac_word=$2
   12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12357 $as_echo_n "checking for $ac_word... " >&6; }
   12358 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
   12359   $as_echo_n "(cached) " >&6
   12360 else
   12361   case $OBJCOPY_FOR_TARGET in
   12362   [\\/]* | ?:[\\/]*)
   12363   ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
   12364   ;;
   12365   *)
   12366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12367 for as_dir in $gcc_cv_tool_dirs
   12368 do
   12369   IFS=$as_save_IFS
   12370   test -z "$as_dir" && as_dir=.
   12371     for ac_exec_ext in '' $ac_executable_extensions; do
   12372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12373     ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12375     break 2
   12376   fi
   12377 done
   12378   done
   12379 IFS=$as_save_IFS
   12380 
   12381   ;;
   12382 esac
   12383 fi
   12384 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12385 if test -n "$OBJCOPY_FOR_TARGET"; then
   12386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12387 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12388 else
   12389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12390 $as_echo "no" >&6; }
   12391 fi
   12392 
   12393 
   12394 fi
   12395 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12396 
   12397 
   12398 if test -n "$OBJCOPY_FOR_TARGET"; then
   12399   ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12400 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12401   OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12402 fi
   12403 
   12404 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12405   for ncn_progname in objcopy; do
   12406     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12407 set dummy ${ncn_progname}; ac_word=$2
   12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12409 $as_echo_n "checking for $ac_word... " >&6; }
   12410 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   12411   $as_echo_n "(cached) " >&6
   12412 else
   12413   if test -n "$OBJCOPY_FOR_TARGET"; then
   12414   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12415 else
   12416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12417 for as_dir in $PATH
   12418 do
   12419   IFS=$as_save_IFS
   12420   test -z "$as_dir" && as_dir=.
   12421     for ac_exec_ext in '' $ac_executable_extensions; do
   12422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12423     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12425     break 2
   12426   fi
   12427 done
   12428   done
   12429 IFS=$as_save_IFS
   12430 
   12431 fi
   12432 fi
   12433 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12434 if test -n "$OBJCOPY_FOR_TARGET"; then
   12435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12436 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12437 else
   12438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12439 $as_echo "no" >&6; }
   12440 fi
   12441 
   12442 
   12443   done
   12444 fi
   12445 
   12446 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12447   for ncn_progname in objcopy; do
   12448     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12449 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12450     if test -x $with_build_time_tools/${ncn_progname}; then
   12451       ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12452       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12453 $as_echo "yes" >&6; }
   12454       break
   12455     else
   12456       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12457 $as_echo "no" >&6; }
   12458     fi
   12459   done
   12460 fi
   12461 
   12462 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12463   for ncn_progname in objcopy; do
   12464     if test -n "$ncn_target_tool_prefix"; then
   12465       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12466 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12468 $as_echo_n "checking for $ac_word... " >&6; }
   12469 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   12470   $as_echo_n "(cached) " >&6
   12471 else
   12472   if test -n "$OBJCOPY_FOR_TARGET"; then
   12473   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12474 else
   12475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12476 for as_dir in $PATH
   12477 do
   12478   IFS=$as_save_IFS
   12479   test -z "$as_dir" && as_dir=.
   12480     for ac_exec_ext in '' $ac_executable_extensions; do
   12481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12482     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12484     break 2
   12485   fi
   12486 done
   12487   done
   12488 IFS=$as_save_IFS
   12489 
   12490 fi
   12491 fi
   12492 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12493 if test -n "$OBJCOPY_FOR_TARGET"; then
   12494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12495 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12496 else
   12497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12498 $as_echo "no" >&6; }
   12499 fi
   12500 
   12501 
   12502     fi
   12503     if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
   12504       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12505 set dummy ${ncn_progname}; ac_word=$2
   12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12507 $as_echo_n "checking for $ac_word... " >&6; }
   12508 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   12509   $as_echo_n "(cached) " >&6
   12510 else
   12511   if test -n "$OBJCOPY_FOR_TARGET"; then
   12512   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12513 else
   12514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12515 for as_dir in $PATH
   12516 do
   12517   IFS=$as_save_IFS
   12518   test -z "$as_dir" && as_dir=.
   12519     for ac_exec_ext in '' $ac_executable_extensions; do
   12520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12521     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12523     break 2
   12524   fi
   12525 done
   12526   done
   12527 IFS=$as_save_IFS
   12528 
   12529 fi
   12530 fi
   12531 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12532 if test -n "$OBJCOPY_FOR_TARGET"; then
   12533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12534 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12535 else
   12536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12537 $as_echo "no" >&6; }
   12538 fi
   12539 
   12540 
   12541     fi
   12542     test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
   12543   done
   12544 fi
   12545 
   12546 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
   12547   set dummy objcopy
   12548   if test $build = $target ; then
   12549     OBJCOPY_FOR_TARGET="$2"
   12550   else
   12551     OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12552   fi
   12553 else
   12554   OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
   12555 fi
   12556 
   12557 else
   12558   OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12559 fi
   12560 
   12561 
   12562 
   12563 
   12564 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12565   if test -n "$with_build_time_tools"; then
   12566     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
   12567 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
   12568     if test -x $with_build_time_tools/objdump; then
   12569       OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
   12570       ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12571       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
   12572 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
   12573     else
   12574       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12575 $as_echo "no" >&6; }
   12576     fi
   12577   elif test $build != $host && test $have_gcc_for_target = yes; then
   12578     OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
   12579     test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
   12580     test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12581   fi
   12582 fi
   12583 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12584   # Extract the first word of "objdump", so it can be a program name with args.
   12585 set dummy objdump; ac_word=$2
   12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12587 $as_echo_n "checking for $ac_word... " >&6; }
   12588 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
   12589   $as_echo_n "(cached) " >&6
   12590 else
   12591   case $OBJDUMP_FOR_TARGET in
   12592   [\\/]* | ?:[\\/]*)
   12593   ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
   12594   ;;
   12595   *)
   12596   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12597 for as_dir in $gcc_cv_tool_dirs
   12598 do
   12599   IFS=$as_save_IFS
   12600   test -z "$as_dir" && as_dir=.
   12601     for ac_exec_ext in '' $ac_executable_extensions; do
   12602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12603     ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12605     break 2
   12606   fi
   12607 done
   12608   done
   12609 IFS=$as_save_IFS
   12610 
   12611   ;;
   12612 esac
   12613 fi
   12614 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12615 if test -n "$OBJDUMP_FOR_TARGET"; then
   12616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12617 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12618 else
   12619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12620 $as_echo "no" >&6; }
   12621 fi
   12622 
   12623 
   12624 fi
   12625 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12626 
   12627 
   12628 if test -n "$OBJDUMP_FOR_TARGET"; then
   12629   ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12630 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12631   OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12632 fi
   12633 
   12634 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12635   for ncn_progname in objdump; do
   12636     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12637 set dummy ${ncn_progname}; ac_word=$2
   12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12639 $as_echo_n "checking for $ac_word... " >&6; }
   12640 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   12641   $as_echo_n "(cached) " >&6
   12642 else
   12643   if test -n "$OBJDUMP_FOR_TARGET"; then
   12644   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12645 else
   12646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12647 for as_dir in $PATH
   12648 do
   12649   IFS=$as_save_IFS
   12650   test -z "$as_dir" && as_dir=.
   12651     for ac_exec_ext in '' $ac_executable_extensions; do
   12652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12653     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12655     break 2
   12656   fi
   12657 done
   12658   done
   12659 IFS=$as_save_IFS
   12660 
   12661 fi
   12662 fi
   12663 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12664 if test -n "$OBJDUMP_FOR_TARGET"; then
   12665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12666 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12667 else
   12668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12669 $as_echo "no" >&6; }
   12670 fi
   12671 
   12672 
   12673   done
   12674 fi
   12675 
   12676 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12677   for ncn_progname in objdump; do
   12678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12679 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12680     if test -x $with_build_time_tools/${ncn_progname}; then
   12681       ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12682       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12683 $as_echo "yes" >&6; }
   12684       break
   12685     else
   12686       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12687 $as_echo "no" >&6; }
   12688     fi
   12689   done
   12690 fi
   12691 
   12692 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12693   for ncn_progname in objdump; do
   12694     if test -n "$ncn_target_tool_prefix"; then
   12695       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12696 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12698 $as_echo_n "checking for $ac_word... " >&6; }
   12699 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   12700   $as_echo_n "(cached) " >&6
   12701 else
   12702   if test -n "$OBJDUMP_FOR_TARGET"; then
   12703   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12704 else
   12705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12706 for as_dir in $PATH
   12707 do
   12708   IFS=$as_save_IFS
   12709   test -z "$as_dir" && as_dir=.
   12710     for ac_exec_ext in '' $ac_executable_extensions; do
   12711   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12712     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12714     break 2
   12715   fi
   12716 done
   12717   done
   12718 IFS=$as_save_IFS
   12719 
   12720 fi
   12721 fi
   12722 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12723 if test -n "$OBJDUMP_FOR_TARGET"; then
   12724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12725 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12726 else
   12727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12728 $as_echo "no" >&6; }
   12729 fi
   12730 
   12731 
   12732     fi
   12733     if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
   12734       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12735 set dummy ${ncn_progname}; ac_word=$2
   12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12737 $as_echo_n "checking for $ac_word... " >&6; }
   12738 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   12739   $as_echo_n "(cached) " >&6
   12740 else
   12741   if test -n "$OBJDUMP_FOR_TARGET"; then
   12742   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12743 else
   12744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12745 for as_dir in $PATH
   12746 do
   12747   IFS=$as_save_IFS
   12748   test -z "$as_dir" && as_dir=.
   12749     for ac_exec_ext in '' $ac_executable_extensions; do
   12750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12751     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12753     break 2
   12754   fi
   12755 done
   12756   done
   12757 IFS=$as_save_IFS
   12758 
   12759 fi
   12760 fi
   12761 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12762 if test -n "$OBJDUMP_FOR_TARGET"; then
   12763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12764 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12765 else
   12766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12767 $as_echo "no" >&6; }
   12768 fi
   12769 
   12770 
   12771     fi
   12772     test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
   12773   done
   12774 fi
   12775 
   12776 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
   12777   set dummy objdump
   12778   if test $build = $target ; then
   12779     OBJDUMP_FOR_TARGET="$2"
   12780   else
   12781     OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12782   fi
   12783 else
   12784   OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
   12785 fi
   12786 
   12787 else
   12788   OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12789 fi
   12790 
   12791 
   12792 
   12793 
   12794 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12795   if test -n "$with_build_time_tools"; then
   12796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
   12797 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
   12798     if test -x $with_build_time_tools/ranlib; then
   12799       RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
   12800       ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12801       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
   12802 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
   12803     else
   12804       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12805 $as_echo "no" >&6; }
   12806     fi
   12807   elif test $build != $host && test $have_gcc_for_target = yes; then
   12808     RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
   12809     test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
   12810     test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12811   fi
   12812 fi
   12813 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12814   # Extract the first word of "ranlib", so it can be a program name with args.
   12815 set dummy ranlib; ac_word=$2
   12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12817 $as_echo_n "checking for $ac_word... " >&6; }
   12818 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
   12819   $as_echo_n "(cached) " >&6
   12820 else
   12821   case $RANLIB_FOR_TARGET in
   12822   [\\/]* | ?:[\\/]*)
   12823   ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
   12824   ;;
   12825   *)
   12826   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12827 for as_dir in $gcc_cv_tool_dirs
   12828 do
   12829   IFS=$as_save_IFS
   12830   test -z "$as_dir" && as_dir=.
   12831     for ac_exec_ext in '' $ac_executable_extensions; do
   12832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12833     ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12835     break 2
   12836   fi
   12837 done
   12838   done
   12839 IFS=$as_save_IFS
   12840 
   12841   ;;
   12842 esac
   12843 fi
   12844 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   12845 if test -n "$RANLIB_FOR_TARGET"; then
   12846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12847 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12848 else
   12849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12850 $as_echo "no" >&6; }
   12851 fi
   12852 
   12853 
   12854 fi
   12855 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12856 
   12857 
   12858 if test -n "$RANLIB_FOR_TARGET"; then
   12859   ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12860 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12861   RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12862 fi
   12863 
   12864 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12865   for ncn_progname in ranlib; do
   12866     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12867 set dummy ${ncn_progname}; ac_word=$2
   12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12869 $as_echo_n "checking for $ac_word... " >&6; }
   12870 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   12871   $as_echo_n "(cached) " >&6
   12872 else
   12873   if test -n "$RANLIB_FOR_TARGET"; then
   12874   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12875 else
   12876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12877 for as_dir in $PATH
   12878 do
   12879   IFS=$as_save_IFS
   12880   test -z "$as_dir" && as_dir=.
   12881     for ac_exec_ext in '' $ac_executable_extensions; do
   12882   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12883     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12885     break 2
   12886   fi
   12887 done
   12888   done
   12889 IFS=$as_save_IFS
   12890 
   12891 fi
   12892 fi
   12893 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12894 if test -n "$RANLIB_FOR_TARGET"; then
   12895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12896 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12897 else
   12898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12899 $as_echo "no" >&6; }
   12900 fi
   12901 
   12902 
   12903   done
   12904 fi
   12905 
   12906 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12907   for ncn_progname in ranlib; do
   12908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12909 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12910     if test -x $with_build_time_tools/${ncn_progname}; then
   12911       ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12912       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12913 $as_echo "yes" >&6; }
   12914       break
   12915     else
   12916       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12917 $as_echo "no" >&6; }
   12918     fi
   12919   done
   12920 fi
   12921 
   12922 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12923   for ncn_progname in ranlib; do
   12924     if test -n "$ncn_target_tool_prefix"; then
   12925       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12926 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12928 $as_echo_n "checking for $ac_word... " >&6; }
   12929 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   12930   $as_echo_n "(cached) " >&6
   12931 else
   12932   if test -n "$RANLIB_FOR_TARGET"; then
   12933   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12934 else
   12935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12936 for as_dir in $PATH
   12937 do
   12938   IFS=$as_save_IFS
   12939   test -z "$as_dir" && as_dir=.
   12940     for ac_exec_ext in '' $ac_executable_extensions; do
   12941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12942     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   12943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12944     break 2
   12945   fi
   12946 done
   12947   done
   12948 IFS=$as_save_IFS
   12949 
   12950 fi
   12951 fi
   12952 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12953 if test -n "$RANLIB_FOR_TARGET"; then
   12954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12955 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12956 else
   12957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12958 $as_echo "no" >&6; }
   12959 fi
   12960 
   12961 
   12962     fi
   12963     if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
   12964       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12965 set dummy ${ncn_progname}; ac_word=$2
   12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12967 $as_echo_n "checking for $ac_word... " >&6; }
   12968 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   12969   $as_echo_n "(cached) " >&6
   12970 else
   12971   if test -n "$RANLIB_FOR_TARGET"; then
   12972   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12973 else
   12974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12975 for as_dir in $PATH
   12976 do
   12977   IFS=$as_save_IFS
   12978   test -z "$as_dir" && as_dir=.
   12979     for ac_exec_ext in '' $ac_executable_extensions; do
   12980   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12981     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12983     break 2
   12984   fi
   12985 done
   12986   done
   12987 IFS=$as_save_IFS
   12988 
   12989 fi
   12990 fi
   12991 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12992 if test -n "$RANLIB_FOR_TARGET"; then
   12993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12994 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12995 else
   12996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12997 $as_echo "no" >&6; }
   12998 fi
   12999 
   13000 
   13001     fi
   13002     test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
   13003   done
   13004 fi
   13005 
   13006 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
   13007   set dummy ranlib
   13008   if test $build = $target ; then
   13009     RANLIB_FOR_TARGET="$2"
   13010   else
   13011     RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13012   fi
   13013 else
   13014   RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
   13015 fi
   13016 
   13017 else
   13018   RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   13019 fi
   13020 
   13021 
   13022 
   13023 
   13024 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   13025   if test -n "$with_build_time_tools"; then
   13026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build_time_tools" >&5
   13027 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
   13028     if test -x $with_build_time_tools/readelf; then
   13029       READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
   13030       ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13031       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_TARGET" >&5
   13032 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
   13033     else
   13034       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13035 $as_echo "no" >&6; }
   13036     fi
   13037   elif test $build != $host && test $have_gcc_for_target = yes; then
   13038     READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
   13039     test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
   13040     test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13041   fi
   13042 fi
   13043 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13044   # Extract the first word of "readelf", so it can be a program name with args.
   13045 set dummy readelf; ac_word=$2
   13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13047 $as_echo_n "checking for $ac_word... " >&6; }
   13048 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
   13049   $as_echo_n "(cached) " >&6
   13050 else
   13051   case $READELF_FOR_TARGET in
   13052   [\\/]* | ?:[\\/]*)
   13053   ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
   13054   ;;
   13055   *)
   13056   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13057 for as_dir in $gcc_cv_tool_dirs
   13058 do
   13059   IFS=$as_save_IFS
   13060   test -z "$as_dir" && as_dir=.
   13061     for ac_exec_ext in '' $ac_executable_extensions; do
   13062   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13063     ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13065     break 2
   13066   fi
   13067 done
   13068   done
   13069 IFS=$as_save_IFS
   13070 
   13071   ;;
   13072 esac
   13073 fi
   13074 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   13075 if test -n "$READELF_FOR_TARGET"; then
   13076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13077 $as_echo "$READELF_FOR_TARGET" >&6; }
   13078 else
   13079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13080 $as_echo "no" >&6; }
   13081 fi
   13082 
   13083 
   13084 fi
   13085 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   13086 
   13087 
   13088 if test -n "$READELF_FOR_TARGET"; then
   13089   ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
   13090 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   13091   READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13092 fi
   13093 
   13094 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   13095   for ncn_progname in readelf; do
   13096     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13097 set dummy ${ncn_progname}; ac_word=$2
   13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13099 $as_echo_n "checking for $ac_word... " >&6; }
   13100 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   13101   $as_echo_n "(cached) " >&6
   13102 else
   13103   if test -n "$READELF_FOR_TARGET"; then
   13104   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13105 else
   13106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13107 for as_dir in $PATH
   13108 do
   13109   IFS=$as_save_IFS
   13110   test -z "$as_dir" && as_dir=.
   13111     for ac_exec_ext in '' $ac_executable_extensions; do
   13112   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13113     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13115     break 2
   13116   fi
   13117 done
   13118   done
   13119 IFS=$as_save_IFS
   13120 
   13121 fi
   13122 fi
   13123 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13124 if test -n "$READELF_FOR_TARGET"; then
   13125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13126 $as_echo "$READELF_FOR_TARGET" >&6; }
   13127 else
   13128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13129 $as_echo "no" >&6; }
   13130 fi
   13131 
   13132 
   13133   done
   13134 fi
   13135 
   13136 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13137   for ncn_progname in readelf; do
   13138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13139 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13140     if test -x $with_build_time_tools/${ncn_progname}; then
   13141       ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13142       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13143 $as_echo "yes" >&6; }
   13144       break
   13145     else
   13146       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13147 $as_echo "no" >&6; }
   13148     fi
   13149   done
   13150 fi
   13151 
   13152 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
   13153   for ncn_progname in readelf; do
   13154     if test -n "$ncn_target_tool_prefix"; then
   13155       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13156 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13158 $as_echo_n "checking for $ac_word... " >&6; }
   13159 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   13160   $as_echo_n "(cached) " >&6
   13161 else
   13162   if test -n "$READELF_FOR_TARGET"; then
   13163   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13164 else
   13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13166 for as_dir in $PATH
   13167 do
   13168   IFS=$as_save_IFS
   13169   test -z "$as_dir" && as_dir=.
   13170     for ac_exec_ext in '' $ac_executable_extensions; do
   13171   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13172     ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13174     break 2
   13175   fi
   13176 done
   13177   done
   13178 IFS=$as_save_IFS
   13179 
   13180 fi
   13181 fi
   13182 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13183 if test -n "$READELF_FOR_TARGET"; then
   13184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13185 $as_echo "$READELF_FOR_TARGET" >&6; }
   13186 else
   13187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13188 $as_echo "no" >&6; }
   13189 fi
   13190 
   13191 
   13192     fi
   13193     if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
   13194       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13195 set dummy ${ncn_progname}; ac_word=$2
   13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13197 $as_echo_n "checking for $ac_word... " >&6; }
   13198 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   13199   $as_echo_n "(cached) " >&6
   13200 else
   13201   if test -n "$READELF_FOR_TARGET"; then
   13202   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13203 else
   13204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13205 for as_dir in $PATH
   13206 do
   13207   IFS=$as_save_IFS
   13208   test -z "$as_dir" && as_dir=.
   13209     for ac_exec_ext in '' $ac_executable_extensions; do
   13210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13211     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13213     break 2
   13214   fi
   13215 done
   13216   done
   13217 IFS=$as_save_IFS
   13218 
   13219 fi
   13220 fi
   13221 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13222 if test -n "$READELF_FOR_TARGET"; then
   13223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13224 $as_echo "$READELF_FOR_TARGET" >&6; }
   13225 else
   13226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13227 $as_echo "no" >&6; }
   13228 fi
   13229 
   13230 
   13231     fi
   13232     test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
   13233   done
   13234 fi
   13235 
   13236 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
   13237   set dummy readelf
   13238   if test $build = $target ; then
   13239     READELF_FOR_TARGET="$2"
   13240   else
   13241     READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13242   fi
   13243 else
   13244   READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
   13245 fi
   13246 
   13247 else
   13248   READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   13249 fi
   13250 
   13251 
   13252 
   13253 
   13254 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13255   if test -n "$with_build_time_tools"; then
   13256     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
   13257 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
   13258     if test -x $with_build_time_tools/strip; then
   13259       STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
   13260       ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13261       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
   13262 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
   13263     else
   13264       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13265 $as_echo "no" >&6; }
   13266     fi
   13267   elif test $build != $host && test $have_gcc_for_target = yes; then
   13268     STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
   13269     test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
   13270     test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13271   fi
   13272 fi
   13273 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13274   # Extract the first word of "strip", so it can be a program name with args.
   13275 set dummy strip; ac_word=$2
   13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13277 $as_echo_n "checking for $ac_word... " >&6; }
   13278 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
   13279   $as_echo_n "(cached) " >&6
   13280 else
   13281   case $STRIP_FOR_TARGET in
   13282   [\\/]* | ?:[\\/]*)
   13283   ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
   13284   ;;
   13285   *)
   13286   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13287 for as_dir in $gcc_cv_tool_dirs
   13288 do
   13289   IFS=$as_save_IFS
   13290   test -z "$as_dir" && as_dir=.
   13291     for ac_exec_ext in '' $ac_executable_extensions; do
   13292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13293     ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13295     break 2
   13296   fi
   13297 done
   13298   done
   13299 IFS=$as_save_IFS
   13300 
   13301   ;;
   13302 esac
   13303 fi
   13304 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13305 if test -n "$STRIP_FOR_TARGET"; then
   13306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13307 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13308 else
   13309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13310 $as_echo "no" >&6; }
   13311 fi
   13312 
   13313 
   13314 fi
   13315 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13316 
   13317 
   13318 if test -n "$STRIP_FOR_TARGET"; then
   13319   ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13320 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13321   STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13322 fi
   13323 
   13324 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13325   for ncn_progname in strip; do
   13326     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13327 set dummy ${ncn_progname}; ac_word=$2
   13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13329 $as_echo_n "checking for $ac_word... " >&6; }
   13330 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   13331   $as_echo_n "(cached) " >&6
   13332 else
   13333   if test -n "$STRIP_FOR_TARGET"; then
   13334   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13335 else
   13336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13337 for as_dir in $PATH
   13338 do
   13339   IFS=$as_save_IFS
   13340   test -z "$as_dir" && as_dir=.
   13341     for ac_exec_ext in '' $ac_executable_extensions; do
   13342   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13343     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13345     break 2
   13346   fi
   13347 done
   13348   done
   13349 IFS=$as_save_IFS
   13350 
   13351 fi
   13352 fi
   13353 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13354 if test -n "$STRIP_FOR_TARGET"; then
   13355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13356 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13357 else
   13358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13359 $as_echo "no" >&6; }
   13360 fi
   13361 
   13362 
   13363   done
   13364 fi
   13365 
   13366 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13367   for ncn_progname in strip; do
   13368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13369 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13370     if test -x $with_build_time_tools/${ncn_progname}; then
   13371       ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13372       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13373 $as_echo "yes" >&6; }
   13374       break
   13375     else
   13376       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13377 $as_echo "no" >&6; }
   13378     fi
   13379   done
   13380 fi
   13381 
   13382 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13383   for ncn_progname in strip; do
   13384     if test -n "$ncn_target_tool_prefix"; then
   13385       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13386 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13388 $as_echo_n "checking for $ac_word... " >&6; }
   13389 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   13390   $as_echo_n "(cached) " >&6
   13391 else
   13392   if test -n "$STRIP_FOR_TARGET"; then
   13393   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13394 else
   13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13396 for as_dir in $PATH
   13397 do
   13398   IFS=$as_save_IFS
   13399   test -z "$as_dir" && as_dir=.
   13400     for ac_exec_ext in '' $ac_executable_extensions; do
   13401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13402     ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13404     break 2
   13405   fi
   13406 done
   13407   done
   13408 IFS=$as_save_IFS
   13409 
   13410 fi
   13411 fi
   13412 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13413 if test -n "$STRIP_FOR_TARGET"; then
   13414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13415 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13416 else
   13417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13418 $as_echo "no" >&6; }
   13419 fi
   13420 
   13421 
   13422     fi
   13423     if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
   13424       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13425 set dummy ${ncn_progname}; ac_word=$2
   13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13427 $as_echo_n "checking for $ac_word... " >&6; }
   13428 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   13429   $as_echo_n "(cached) " >&6
   13430 else
   13431   if test -n "$STRIP_FOR_TARGET"; then
   13432   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13433 else
   13434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13435 for as_dir in $PATH
   13436 do
   13437   IFS=$as_save_IFS
   13438   test -z "$as_dir" && as_dir=.
   13439     for ac_exec_ext in '' $ac_executable_extensions; do
   13440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13441     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13443     break 2
   13444   fi
   13445 done
   13446   done
   13447 IFS=$as_save_IFS
   13448 
   13449 fi
   13450 fi
   13451 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13452 if test -n "$STRIP_FOR_TARGET"; then
   13453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13454 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13455 else
   13456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13457 $as_echo "no" >&6; }
   13458 fi
   13459 
   13460 
   13461     fi
   13462     test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
   13463   done
   13464 fi
   13465 
   13466 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
   13467   set dummy strip
   13468   if test $build = $target ; then
   13469     STRIP_FOR_TARGET="$2"
   13470   else
   13471     STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13472   fi
   13473 else
   13474   STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
   13475 fi
   13476 
   13477 else
   13478   STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13479 fi
   13480 
   13481 
   13482 
   13483 
   13484 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13485   if test -n "$with_build_time_tools"; then
   13486     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
   13487 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
   13488     if test -x $with_build_time_tools/windres; then
   13489       WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
   13490       ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13491       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
   13492 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
   13493     else
   13494       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13495 $as_echo "no" >&6; }
   13496     fi
   13497   elif test $build != $host && test $have_gcc_for_target = yes; then
   13498     WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
   13499     test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
   13500     test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13501   fi
   13502 fi
   13503 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13504   # Extract the first word of "windres", so it can be a program name with args.
   13505 set dummy windres; ac_word=$2
   13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13507 $as_echo_n "checking for $ac_word... " >&6; }
   13508 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
   13509   $as_echo_n "(cached) " >&6
   13510 else
   13511   case $WINDRES_FOR_TARGET in
   13512   [\\/]* | ?:[\\/]*)
   13513   ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
   13514   ;;
   13515   *)
   13516   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13517 for as_dir in $gcc_cv_tool_dirs
   13518 do
   13519   IFS=$as_save_IFS
   13520   test -z "$as_dir" && as_dir=.
   13521     for ac_exec_ext in '' $ac_executable_extensions; do
   13522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13523     ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13525     break 2
   13526   fi
   13527 done
   13528   done
   13529 IFS=$as_save_IFS
   13530 
   13531   ;;
   13532 esac
   13533 fi
   13534 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13535 if test -n "$WINDRES_FOR_TARGET"; then
   13536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13537 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13538 else
   13539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13540 $as_echo "no" >&6; }
   13541 fi
   13542 
   13543 
   13544 fi
   13545 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13546 
   13547 
   13548 if test -n "$WINDRES_FOR_TARGET"; then
   13549   ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13550 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13551   WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13552 fi
   13553 
   13554 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13555   for ncn_progname in windres; do
   13556     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13557 set dummy ${ncn_progname}; ac_word=$2
   13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13559 $as_echo_n "checking for $ac_word... " >&6; }
   13560 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   13561   $as_echo_n "(cached) " >&6
   13562 else
   13563   if test -n "$WINDRES_FOR_TARGET"; then
   13564   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13565 else
   13566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13567 for as_dir in $PATH
   13568 do
   13569   IFS=$as_save_IFS
   13570   test -z "$as_dir" && as_dir=.
   13571     for ac_exec_ext in '' $ac_executable_extensions; do
   13572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13573     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13575     break 2
   13576   fi
   13577 done
   13578   done
   13579 IFS=$as_save_IFS
   13580 
   13581 fi
   13582 fi
   13583 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13584 if test -n "$WINDRES_FOR_TARGET"; then
   13585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13586 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13587 else
   13588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13589 $as_echo "no" >&6; }
   13590 fi
   13591 
   13592 
   13593   done
   13594 fi
   13595 
   13596 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13597   for ncn_progname in windres; do
   13598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13599 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13600     if test -x $with_build_time_tools/${ncn_progname}; then
   13601       ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13602       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13603 $as_echo "yes" >&6; }
   13604       break
   13605     else
   13606       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13607 $as_echo "no" >&6; }
   13608     fi
   13609   done
   13610 fi
   13611 
   13612 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13613   for ncn_progname in windres; do
   13614     if test -n "$ncn_target_tool_prefix"; then
   13615       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13616 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13618 $as_echo_n "checking for $ac_word... " >&6; }
   13619 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   13620   $as_echo_n "(cached) " >&6
   13621 else
   13622   if test -n "$WINDRES_FOR_TARGET"; then
   13623   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13624 else
   13625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13626 for as_dir in $PATH
   13627 do
   13628   IFS=$as_save_IFS
   13629   test -z "$as_dir" && as_dir=.
   13630     for ac_exec_ext in '' $ac_executable_extensions; do
   13631   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13632     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13634     break 2
   13635   fi
   13636 done
   13637   done
   13638 IFS=$as_save_IFS
   13639 
   13640 fi
   13641 fi
   13642 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13643 if test -n "$WINDRES_FOR_TARGET"; then
   13644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13645 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13646 else
   13647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13648 $as_echo "no" >&6; }
   13649 fi
   13650 
   13651 
   13652     fi
   13653     if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
   13654       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13655 set dummy ${ncn_progname}; ac_word=$2
   13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13657 $as_echo_n "checking for $ac_word... " >&6; }
   13658 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   13659   $as_echo_n "(cached) " >&6
   13660 else
   13661   if test -n "$WINDRES_FOR_TARGET"; then
   13662   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13663 else
   13664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13665 for as_dir in $PATH
   13666 do
   13667   IFS=$as_save_IFS
   13668   test -z "$as_dir" && as_dir=.
   13669     for ac_exec_ext in '' $ac_executable_extensions; do
   13670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13671     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13673     break 2
   13674   fi
   13675 done
   13676   done
   13677 IFS=$as_save_IFS
   13678 
   13679 fi
   13680 fi
   13681 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13682 if test -n "$WINDRES_FOR_TARGET"; then
   13683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13684 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13685 else
   13686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13687 $as_echo "no" >&6; }
   13688 fi
   13689 
   13690 
   13691     fi
   13692     test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
   13693   done
   13694 fi
   13695 
   13696 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
   13697   set dummy windres
   13698   if test $build = $target ; then
   13699     WINDRES_FOR_TARGET="$2"
   13700   else
   13701     WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13702   fi
   13703 else
   13704   WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
   13705 fi
   13706 
   13707 else
   13708   WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13709 fi
   13710 
   13711 
   13712 
   13713 
   13714 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13715   if test -n "$with_build_time_tools"; then
   13716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
   13717 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
   13718     if test -x $with_build_time_tools/windmc; then
   13719       WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
   13720       ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13721       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
   13722 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
   13723     else
   13724       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13725 $as_echo "no" >&6; }
   13726     fi
   13727   elif test $build != $host && test $have_gcc_for_target = yes; then
   13728     WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
   13729     test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
   13730     test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13731   fi
   13732 fi
   13733 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13734   # Extract the first word of "windmc", so it can be a program name with args.
   13735 set dummy windmc; ac_word=$2
   13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13737 $as_echo_n "checking for $ac_word... " >&6; }
   13738 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
   13739   $as_echo_n "(cached) " >&6
   13740 else
   13741   case $WINDMC_FOR_TARGET in
   13742   [\\/]* | ?:[\\/]*)
   13743   ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
   13744   ;;
   13745   *)
   13746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13747 for as_dir in $gcc_cv_tool_dirs
   13748 do
   13749   IFS=$as_save_IFS
   13750   test -z "$as_dir" && as_dir=.
   13751     for ac_exec_ext in '' $ac_executable_extensions; do
   13752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13753     ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13755     break 2
   13756   fi
   13757 done
   13758   done
   13759 IFS=$as_save_IFS
   13760 
   13761   ;;
   13762 esac
   13763 fi
   13764 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13765 if test -n "$WINDMC_FOR_TARGET"; then
   13766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13767 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13768 else
   13769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13770 $as_echo "no" >&6; }
   13771 fi
   13772 
   13773 
   13774 fi
   13775 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13776 
   13777 
   13778 if test -n "$WINDMC_FOR_TARGET"; then
   13779   ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13780 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13781   WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13782 fi
   13783 
   13784 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13785   for ncn_progname in windmc; do
   13786     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13787 set dummy ${ncn_progname}; ac_word=$2
   13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13789 $as_echo_n "checking for $ac_word... " >&6; }
   13790 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   13791   $as_echo_n "(cached) " >&6
   13792 else
   13793   if test -n "$WINDMC_FOR_TARGET"; then
   13794   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13795 else
   13796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13797 for as_dir in $PATH
   13798 do
   13799   IFS=$as_save_IFS
   13800   test -z "$as_dir" && as_dir=.
   13801     for ac_exec_ext in '' $ac_executable_extensions; do
   13802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13803     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13805     break 2
   13806   fi
   13807 done
   13808   done
   13809 IFS=$as_save_IFS
   13810 
   13811 fi
   13812 fi
   13813 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13814 if test -n "$WINDMC_FOR_TARGET"; then
   13815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13816 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13817 else
   13818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13819 $as_echo "no" >&6; }
   13820 fi
   13821 
   13822 
   13823   done
   13824 fi
   13825 
   13826 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13827   for ncn_progname in windmc; do
   13828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13829 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13830     if test -x $with_build_time_tools/${ncn_progname}; then
   13831       ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13832       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13833 $as_echo "yes" >&6; }
   13834       break
   13835     else
   13836       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13837 $as_echo "no" >&6; }
   13838     fi
   13839   done
   13840 fi
   13841 
   13842 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13843   for ncn_progname in windmc; do
   13844     if test -n "$ncn_target_tool_prefix"; then
   13845       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13846 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13848 $as_echo_n "checking for $ac_word... " >&6; }
   13849 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   13850   $as_echo_n "(cached) " >&6
   13851 else
   13852   if test -n "$WINDMC_FOR_TARGET"; then
   13853   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13854 else
   13855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13856 for as_dir in $PATH
   13857 do
   13858   IFS=$as_save_IFS
   13859   test -z "$as_dir" && as_dir=.
   13860     for ac_exec_ext in '' $ac_executable_extensions; do
   13861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13862     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13864     break 2
   13865   fi
   13866 done
   13867   done
   13868 IFS=$as_save_IFS
   13869 
   13870 fi
   13871 fi
   13872 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13873 if test -n "$WINDMC_FOR_TARGET"; then
   13874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13875 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13876 else
   13877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13878 $as_echo "no" >&6; }
   13879 fi
   13880 
   13881 
   13882     fi
   13883     if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
   13884       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13885 set dummy ${ncn_progname}; ac_word=$2
   13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13887 $as_echo_n "checking for $ac_word... " >&6; }
   13888 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   13889   $as_echo_n "(cached) " >&6
   13890 else
   13891   if test -n "$WINDMC_FOR_TARGET"; then
   13892   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13893 else
   13894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13895 for as_dir in $PATH
   13896 do
   13897   IFS=$as_save_IFS
   13898   test -z "$as_dir" && as_dir=.
   13899     for ac_exec_ext in '' $ac_executable_extensions; do
   13900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13901     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13903     break 2
   13904   fi
   13905 done
   13906   done
   13907 IFS=$as_save_IFS
   13908 
   13909 fi
   13910 fi
   13911 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13912 if test -n "$WINDMC_FOR_TARGET"; then
   13913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13914 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13915 else
   13916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13917 $as_echo "no" >&6; }
   13918 fi
   13919 
   13920 
   13921     fi
   13922     test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
   13923   done
   13924 fi
   13925 
   13926 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
   13927   set dummy windmc
   13928   if test $build = $target ; then
   13929     WINDMC_FOR_TARGET="$2"
   13930   else
   13931     WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13932   fi
   13933 else
   13934   WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
   13935 fi
   13936 
   13937 else
   13938   WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13939 fi
   13940 
   13941 
   13942 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
   13943 
   13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
   13945 $as_echo_n "checking where to find the target ar... " >&6; }
   13946 if test "x${build}" != "x${host}" ; then
   13947   if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13948     # We already found the complete path
   13949     ac_dir=`dirname $AR_FOR_TARGET`
   13950     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13951 $as_echo "pre-installed in $ac_dir" >&6; }
   13952   else
   13953     # Canadian cross, just use what we found
   13954     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13955 $as_echo "pre-installed" >&6; }
   13956   fi
   13957 else
   13958   ok=yes
   13959   case " ${configdirs} " in
   13960     *" binutils "*) ;;
   13961     *) ok=no ;;
   13962   esac
   13963 
   13964   if test $ok = yes; then
   13965     # An in-tree tool is available and we can use it
   13966     AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
   13967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   13968 $as_echo "just compiled" >&6; }
   13969   elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13970     # We already found the complete path
   13971     ac_dir=`dirname $AR_FOR_TARGET`
   13972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13973 $as_echo "pre-installed in $ac_dir" >&6; }
   13974   elif test "x$target" = "x$host"; then
   13975     # We can use an host tool
   13976     AR_FOR_TARGET='$(AR)'
   13977     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   13978 $as_echo "host tool" >&6; }
   13979   else
   13980     # We need a cross tool
   13981     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13982 $as_echo "pre-installed" >&6; }
   13983   fi
   13984 fi
   13985 
   13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
   13987 $as_echo_n "checking where to find the target as... " >&6; }
   13988 if test "x${build}" != "x${host}" ; then
   13989   if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   13990     # We already found the complete path
   13991     ac_dir=`dirname $AS_FOR_TARGET`
   13992     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13993 $as_echo "pre-installed in $ac_dir" >&6; }
   13994   else
   13995     # Canadian cross, just use what we found
   13996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13997 $as_echo "pre-installed" >&6; }
   13998   fi
   13999 else
   14000   ok=yes
   14001   case " ${configdirs} " in
   14002     *" gas "*) ;;
   14003     *) ok=no ;;
   14004   esac
   14005 
   14006   if test $ok = yes; then
   14007     # An in-tree tool is available and we can use it
   14008     AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
   14009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14010 $as_echo "just compiled" >&6; }
   14011   elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   14012     # We already found the complete path
   14013     ac_dir=`dirname $AS_FOR_TARGET`
   14014     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14015 $as_echo "pre-installed in $ac_dir" >&6; }
   14016   elif test "x$target" = "x$host"; then
   14017     # We can use an host tool
   14018     AS_FOR_TARGET='$(AS)'
   14019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14020 $as_echo "host tool" >&6; }
   14021   else
   14022     # We need a cross tool
   14023     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14024 $as_echo "pre-installed" >&6; }
   14025   fi
   14026 fi
   14027 
   14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
   14029 $as_echo_n "checking where to find the target cc... " >&6; }
   14030 if test "x${build}" != "x${host}" ; then
   14031   if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14032     # We already found the complete path
   14033     ac_dir=`dirname $CC_FOR_TARGET`
   14034     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14035 $as_echo "pre-installed in $ac_dir" >&6; }
   14036   else
   14037     # Canadian cross, just use what we found
   14038     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14039 $as_echo "pre-installed" >&6; }
   14040   fi
   14041 else
   14042   ok=yes
   14043   case " ${configdirs} " in
   14044     *" gcc "*) ;;
   14045     *) ok=no ;;
   14046   esac
   14047 
   14048   if test $ok = yes; then
   14049     # An in-tree tool is available and we can use it
   14050     CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   14051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14052 $as_echo "just compiled" >&6; }
   14053   elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   14054     # We already found the complete path
   14055     ac_dir=`dirname $CC_FOR_TARGET`
   14056     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14057 $as_echo "pre-installed in $ac_dir" >&6; }
   14058   elif test "x$target" = "x$host"; then
   14059     # We can use an host tool
   14060     CC_FOR_TARGET='$(CC)'
   14061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14062 $as_echo "host tool" >&6; }
   14063   else
   14064     # We need a cross tool
   14065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14066 $as_echo "pre-installed" >&6; }
   14067   fi
   14068 fi
   14069 
   14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
   14071 $as_echo_n "checking where to find the target c++... " >&6; }
   14072 if test "x${build}" != "x${host}" ; then
   14073   if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   14074     # We already found the complete path
   14075     ac_dir=`dirname $CXX_FOR_TARGET`
   14076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14077 $as_echo "pre-installed in $ac_dir" >&6; }
   14078   else
   14079     # Canadian cross, just use what we found
   14080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14081 $as_echo "pre-installed" >&6; }
   14082   fi
   14083 else
   14084   ok=yes
   14085   case " ${configdirs} " in
   14086     *" gcc "*) ;;
   14087     *) ok=no ;;
   14088   esac
   14089   case ,${enable_languages}, in
   14090     *,c++,*) ;;
   14091     *) ok=no ;;
   14092   esac
   14093   if test $ok = yes; then
   14094     # An in-tree tool is available and we can use it
   14095     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'
   14096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14097 $as_echo "just compiled" >&6; }
   14098   elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   14099     # We already found the complete path
   14100     ac_dir=`dirname $CXX_FOR_TARGET`
   14101     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14102 $as_echo "pre-installed in $ac_dir" >&6; }
   14103   elif test "x$target" = "x$host"; then
   14104     # We can use an host tool
   14105     CXX_FOR_TARGET='$(CXX)'
   14106     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14107 $as_echo "host tool" >&6; }
   14108   else
   14109     # We need a cross tool
   14110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14111 $as_echo "pre-installed" >&6; }
   14112   fi
   14113 fi
   14114 
   14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
   14116 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
   14117 if test "x${build}" != "x${host}" ; then
   14118   if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14119     # We already found the complete path
   14120     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14121     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14122 $as_echo "pre-installed in $ac_dir" >&6; }
   14123   else
   14124     # Canadian cross, just use what we found
   14125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14126 $as_echo "pre-installed" >&6; }
   14127   fi
   14128 else
   14129   ok=yes
   14130   case " ${configdirs} " in
   14131     *" gcc "*) ;;
   14132     *) ok=no ;;
   14133   esac
   14134   case ,${enable_languages}, in
   14135     *,c++,*) ;;
   14136     *) ok=no ;;
   14137   esac
   14138   if test $ok = yes; then
   14139     # An in-tree tool is available and we can use it
   14140     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'
   14141     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14142 $as_echo "just compiled" >&6; }
   14143   elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14144     # We already found the complete path
   14145     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14146     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14147 $as_echo "pre-installed in $ac_dir" >&6; }
   14148   elif test "x$target" = "x$host"; then
   14149     # We can use an host tool
   14150     RAW_CXX_FOR_TARGET='$(CXX)'
   14151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14152 $as_echo "host tool" >&6; }
   14153   else
   14154     # We need a cross tool
   14155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14156 $as_echo "pre-installed" >&6; }
   14157   fi
   14158 fi
   14159 
   14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
   14161 $as_echo_n "checking where to find the target dlltool... " >&6; }
   14162 if test "x${build}" != "x${host}" ; then
   14163   if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14164     # We already found the complete path
   14165     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14166     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14167 $as_echo "pre-installed in $ac_dir" >&6; }
   14168   else
   14169     # Canadian cross, just use what we found
   14170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14171 $as_echo "pre-installed" >&6; }
   14172   fi
   14173 else
   14174   ok=yes
   14175   case " ${configdirs} " in
   14176     *" binutils "*) ;;
   14177     *) ok=no ;;
   14178   esac
   14179 
   14180   if test $ok = yes; then
   14181     # An in-tree tool is available and we can use it
   14182     DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
   14183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14184 $as_echo "just compiled" >&6; }
   14185   elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14186     # We already found the complete path
   14187     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14189 $as_echo "pre-installed in $ac_dir" >&6; }
   14190   elif test "x$target" = "x$host"; then
   14191     # We can use an host tool
   14192     DLLTOOL_FOR_TARGET='$(DLLTOOL)'
   14193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14194 $as_echo "host tool" >&6; }
   14195   else
   14196     # We need a cross tool
   14197     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14198 $as_echo "pre-installed" >&6; }
   14199   fi
   14200 fi
   14201 
   14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
   14203 $as_echo_n "checking where to find the target gcc... " >&6; }
   14204 if test "x${build}" != "x${host}" ; then
   14205   if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14206     # We already found the complete path
   14207     ac_dir=`dirname $GCC_FOR_TARGET`
   14208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14209 $as_echo "pre-installed in $ac_dir" >&6; }
   14210   else
   14211     # Canadian cross, just use what we found
   14212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14213 $as_echo "pre-installed" >&6; }
   14214   fi
   14215 else
   14216   ok=yes
   14217   case " ${configdirs} " in
   14218     *" gcc "*) ;;
   14219     *) ok=no ;;
   14220   esac
   14221 
   14222   if test $ok = yes; then
   14223     # An in-tree tool is available and we can use it
   14224     GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   14225     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14226 $as_echo "just compiled" >&6; }
   14227   elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14228     # We already found the complete path
   14229     ac_dir=`dirname $GCC_FOR_TARGET`
   14230     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14231 $as_echo "pre-installed in $ac_dir" >&6; }
   14232   elif test "x$target" = "x$host"; then
   14233     # We can use an host tool
   14234     GCC_FOR_TARGET='$()'
   14235     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14236 $as_echo "host tool" >&6; }
   14237   else
   14238     # We need a cross tool
   14239     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14240 $as_echo "pre-installed" >&6; }
   14241   fi
   14242 fi
   14243 
   14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
   14245 $as_echo_n "checking where to find the target gfortran... " >&6; }
   14246 if test "x${build}" != "x${host}" ; then
   14247   if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14248     # We already found the complete path
   14249     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   14250     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14251 $as_echo "pre-installed in $ac_dir" >&6; }
   14252   else
   14253     # Canadian cross, just use what we found
   14254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14255 $as_echo "pre-installed" >&6; }
   14256   fi
   14257 else
   14258   ok=yes
   14259   case " ${configdirs} " in
   14260     *" gcc "*) ;;
   14261     *) ok=no ;;
   14262   esac
   14263   case ,${enable_languages}, in
   14264     *,fortran,*) ;;
   14265     *) ok=no ;;
   14266   esac
   14267   if test $ok = yes; then
   14268     # An in-tree tool is available and we can use it
   14269     GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
   14270     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14271 $as_echo "just compiled" >&6; }
   14272   elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14273     # We already found the complete path
   14274     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   14275     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14276 $as_echo "pre-installed in $ac_dir" >&6; }
   14277   elif test "x$target" = "x$host"; then
   14278     # We can use an host tool
   14279     GFORTRAN_FOR_TARGET='$(GFORTRAN)'
   14280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14281 $as_echo "host tool" >&6; }
   14282   else
   14283     # We need a cross tool
   14284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14285 $as_echo "pre-installed" >&6; }
   14286   fi
   14287 fi
   14288 
   14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
   14290 $as_echo_n "checking where to find the target gccgo... " >&6; }
   14291 if test "x${build}" != "x${host}" ; then
   14292   if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14293     # We already found the complete path
   14294     ac_dir=`dirname $GOC_FOR_TARGET`
   14295     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14296 $as_echo "pre-installed in $ac_dir" >&6; }
   14297   else
   14298     # Canadian cross, just use what we found
   14299     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14300 $as_echo "pre-installed" >&6; }
   14301   fi
   14302 else
   14303   ok=yes
   14304   case " ${configdirs} " in
   14305     *" gcc "*) ;;
   14306     *) ok=no ;;
   14307   esac
   14308   case ,${enable_languages}, in
   14309     *,go,*) ;;
   14310     *) ok=no ;;
   14311   esac
   14312   if test $ok = yes; then
   14313     # An in-tree tool is available and we can use it
   14314     GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
   14315     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14316 $as_echo "just compiled" >&6; }
   14317   elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14318     # We already found the complete path
   14319     ac_dir=`dirname $GOC_FOR_TARGET`
   14320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14321 $as_echo "pre-installed in $ac_dir" >&6; }
   14322   elif test "x$target" = "x$host"; then
   14323     # We can use an host tool
   14324     GOC_FOR_TARGET='$(GOC)'
   14325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14326 $as_echo "host tool" >&6; }
   14327   else
   14328     # We need a cross tool
   14329     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14330 $as_echo "pre-installed" >&6; }
   14331   fi
   14332 fi
   14333 
   14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
   14335 $as_echo_n "checking where to find the target ld... " >&6; }
   14336 if test "x${build}" != "x${host}" ; then
   14337   if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14338     # We already found the complete path
   14339     ac_dir=`dirname $LD_FOR_TARGET`
   14340     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14341 $as_echo "pre-installed in $ac_dir" >&6; }
   14342   else
   14343     # Canadian cross, just use what we found
   14344     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14345 $as_echo "pre-installed" >&6; }
   14346   fi
   14347 else
   14348   ok=yes
   14349   case " ${configdirs} " in
   14350     *" ld "*) ;;
   14351     *) ok=no ;;
   14352   esac
   14353 
   14354   if test $ok = yes; then
   14355     # An in-tree tool is available and we can use it
   14356     LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
   14357     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14358 $as_echo "just compiled" >&6; }
   14359   elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14360     # We already found the complete path
   14361     ac_dir=`dirname $LD_FOR_TARGET`
   14362     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14363 $as_echo "pre-installed in $ac_dir" >&6; }
   14364   elif test "x$target" = "x$host"; then
   14365     # We can use an host tool
   14366     LD_FOR_TARGET='$(LD)'
   14367     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14368 $as_echo "host tool" >&6; }
   14369   else
   14370     # We need a cross tool
   14371     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14372 $as_echo "pre-installed" >&6; }
   14373   fi
   14374 fi
   14375 
   14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
   14377 $as_echo_n "checking where to find the target lipo... " >&6; }
   14378 if test "x${build}" != "x${host}" ; then
   14379   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14380     # We already found the complete path
   14381     ac_dir=`dirname $LIPO_FOR_TARGET`
   14382     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14383 $as_echo "pre-installed in $ac_dir" >&6; }
   14384   else
   14385     # Canadian cross, just use what we found
   14386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14387 $as_echo "pre-installed" >&6; }
   14388   fi
   14389 else
   14390   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14391     # We already found the complete path
   14392     ac_dir=`dirname $LIPO_FOR_TARGET`
   14393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14394 $as_echo "pre-installed in $ac_dir" >&6; }
   14395   elif test "x$target" = "x$host"; then
   14396     # We can use an host tool
   14397     LIPO_FOR_TARGET='$(LIPO)'
   14398     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14399 $as_echo "host tool" >&6; }
   14400   else
   14401     # We need a cross tool
   14402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14403 $as_echo "pre-installed" >&6; }
   14404   fi
   14405 fi
   14406 
   14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
   14408 $as_echo_n "checking where to find the target nm... " >&6; }
   14409 if test "x${build}" != "x${host}" ; then
   14410   if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14411     # We already found the complete path
   14412     ac_dir=`dirname $NM_FOR_TARGET`
   14413     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14414 $as_echo "pre-installed in $ac_dir" >&6; }
   14415   else
   14416     # Canadian cross, just use what we found
   14417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14418 $as_echo "pre-installed" >&6; }
   14419   fi
   14420 else
   14421   ok=yes
   14422   case " ${configdirs} " in
   14423     *" binutils "*) ;;
   14424     *) ok=no ;;
   14425   esac
   14426 
   14427   if test $ok = yes; then
   14428     # An in-tree tool is available and we can use it
   14429     NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
   14430     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14431 $as_echo "just compiled" >&6; }
   14432   elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14433     # We already found the complete path
   14434     ac_dir=`dirname $NM_FOR_TARGET`
   14435     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14436 $as_echo "pre-installed in $ac_dir" >&6; }
   14437   elif test "x$target" = "x$host"; then
   14438     # We can use an host tool
   14439     NM_FOR_TARGET='$(NM)'
   14440     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14441 $as_echo "host tool" >&6; }
   14442   else
   14443     # We need a cross tool
   14444     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14445 $as_echo "pre-installed" >&6; }
   14446   fi
   14447 fi
   14448 
   14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objcopy" >&5
   14450 $as_echo_n "checking where to find the target objcopy... " >&6; }
   14451 if test "x${build}" != "x${host}" ; then
   14452   if expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14453     # We already found the complete path
   14454     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14455     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14456 $as_echo "pre-installed in $ac_dir" >&6; }
   14457   else
   14458     # Canadian cross, just use what we found
   14459     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14460 $as_echo "pre-installed" >&6; }
   14461   fi
   14462 else
   14463   ok=yes
   14464   case " ${configdirs} " in
   14465     *" binutils "*) ;;
   14466     *) ok=no ;;
   14467   esac
   14468 
   14469   if test $ok = yes; then
   14470     # An in-tree tool is available and we can use it
   14471     OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
   14472     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14473 $as_echo "just compiled" >&6; }
   14474   elif expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14475     # We already found the complete path
   14476     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14478 $as_echo "pre-installed in $ac_dir" >&6; }
   14479   elif test "x$target" = "x$host"; then
   14480     # We can use an host tool
   14481     OBJCOPY_FOR_TARGET='$(OBJCOPY)'
   14482     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14483 $as_echo "host tool" >&6; }
   14484   else
   14485     # We need a cross tool
   14486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14487 $as_echo "pre-installed" >&6; }
   14488   fi
   14489 fi
   14490 
   14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
   14492 $as_echo_n "checking where to find the target objdump... " >&6; }
   14493 if test "x${build}" != "x${host}" ; then
   14494   if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14495     # We already found the complete path
   14496     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14498 $as_echo "pre-installed in $ac_dir" >&6; }
   14499   else
   14500     # Canadian cross, just use what we found
   14501     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14502 $as_echo "pre-installed" >&6; }
   14503   fi
   14504 else
   14505   ok=yes
   14506   case " ${configdirs} " in
   14507     *" binutils "*) ;;
   14508     *) ok=no ;;
   14509   esac
   14510 
   14511   if test $ok = yes; then
   14512     # An in-tree tool is available and we can use it
   14513     OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
   14514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14515 $as_echo "just compiled" >&6; }
   14516   elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14517     # We already found the complete path
   14518     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14520 $as_echo "pre-installed in $ac_dir" >&6; }
   14521   elif test "x$target" = "x$host"; then
   14522     # We can use an host tool
   14523     OBJDUMP_FOR_TARGET='$(OBJDUMP)'
   14524     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14525 $as_echo "host tool" >&6; }
   14526   else
   14527     # We need a cross tool
   14528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14529 $as_echo "pre-installed" >&6; }
   14530   fi
   14531 fi
   14532 
   14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
   14534 $as_echo_n "checking where to find the target ranlib... " >&6; }
   14535 if test "x${build}" != "x${host}" ; then
   14536   if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14537     # We already found the complete path
   14538     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14540 $as_echo "pre-installed in $ac_dir" >&6; }
   14541   else
   14542     # Canadian cross, just use what we found
   14543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14544 $as_echo "pre-installed" >&6; }
   14545   fi
   14546 else
   14547   ok=yes
   14548   case " ${configdirs} " in
   14549     *" binutils "*) ;;
   14550     *) ok=no ;;
   14551   esac
   14552 
   14553   if test $ok = yes; then
   14554     # An in-tree tool is available and we can use it
   14555     RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
   14556     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14557 $as_echo "just compiled" >&6; }
   14558   elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14559     # We already found the complete path
   14560     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14561     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14562 $as_echo "pre-installed in $ac_dir" >&6; }
   14563   elif test "x$target" = "x$host"; then
   14564     # We can use an host tool
   14565     RANLIB_FOR_TARGET='$(RANLIB)'
   14566     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14567 $as_echo "host tool" >&6; }
   14568   else
   14569     # We need a cross tool
   14570     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14571 $as_echo "pre-installed" >&6; }
   14572   fi
   14573 fi
   14574 
   14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target readelf" >&5
   14576 $as_echo_n "checking where to find the target readelf... " >&6; }
   14577 if test "x${build}" != "x${host}" ; then
   14578   if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14579     # We already found the complete path
   14580     ac_dir=`dirname $READELF_FOR_TARGET`
   14581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14582 $as_echo "pre-installed in $ac_dir" >&6; }
   14583   else
   14584     # Canadian cross, just use what we found
   14585     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14586 $as_echo "pre-installed" >&6; }
   14587   fi
   14588 else
   14589   ok=yes
   14590   case " ${configdirs} " in
   14591     *" binutils "*) ;;
   14592     *) ok=no ;;
   14593   esac
   14594 
   14595   if test $ok = yes; then
   14596     # An in-tree tool is available and we can use it
   14597     READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
   14598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14599 $as_echo "just compiled" >&6; }
   14600   elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14601     # We already found the complete path
   14602     ac_dir=`dirname $READELF_FOR_TARGET`
   14603     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14604 $as_echo "pre-installed in $ac_dir" >&6; }
   14605   elif test "x$target" = "x$host"; then
   14606     # We can use an host tool
   14607     READELF_FOR_TARGET='$(READELF)'
   14608     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14609 $as_echo "host tool" >&6; }
   14610   else
   14611     # We need a cross tool
   14612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14613 $as_echo "pre-installed" >&6; }
   14614   fi
   14615 fi
   14616 
   14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
   14618 $as_echo_n "checking where to find the target strip... " >&6; }
   14619 if test "x${build}" != "x${host}" ; then
   14620   if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14621     # We already found the complete path
   14622     ac_dir=`dirname $STRIP_FOR_TARGET`
   14623     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14624 $as_echo "pre-installed in $ac_dir" >&6; }
   14625   else
   14626     # Canadian cross, just use what we found
   14627     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14628 $as_echo "pre-installed" >&6; }
   14629   fi
   14630 else
   14631   ok=yes
   14632   case " ${configdirs} " in
   14633     *" binutils "*) ;;
   14634     *) ok=no ;;
   14635   esac
   14636 
   14637   if test $ok = yes; then
   14638     # An in-tree tool is available and we can use it
   14639     STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
   14640     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14641 $as_echo "just compiled" >&6; }
   14642   elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14643     # We already found the complete path
   14644     ac_dir=`dirname $STRIP_FOR_TARGET`
   14645     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14646 $as_echo "pre-installed in $ac_dir" >&6; }
   14647   elif test "x$target" = "x$host"; then
   14648     # We can use an host tool
   14649     STRIP_FOR_TARGET='$(STRIP)'
   14650     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14651 $as_echo "host tool" >&6; }
   14652   else
   14653     # We need a cross tool
   14654     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14655 $as_echo "pre-installed" >&6; }
   14656   fi
   14657 fi
   14658 
   14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
   14660 $as_echo_n "checking where to find the target windres... " >&6; }
   14661 if test "x${build}" != "x${host}" ; then
   14662   if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14663     # We already found the complete path
   14664     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14665     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14666 $as_echo "pre-installed in $ac_dir" >&6; }
   14667   else
   14668     # Canadian cross, just use what we found
   14669     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14670 $as_echo "pre-installed" >&6; }
   14671   fi
   14672 else
   14673   ok=yes
   14674   case " ${configdirs} " in
   14675     *" binutils "*) ;;
   14676     *) ok=no ;;
   14677   esac
   14678 
   14679   if test $ok = yes; then
   14680     # An in-tree tool is available and we can use it
   14681     WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
   14682     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14683 $as_echo "just compiled" >&6; }
   14684   elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14685     # We already found the complete path
   14686     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14688 $as_echo "pre-installed in $ac_dir" >&6; }
   14689   elif test "x$target" = "x$host"; then
   14690     # We can use an host tool
   14691     WINDRES_FOR_TARGET='$(WINDRES)'
   14692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14693 $as_echo "host tool" >&6; }
   14694   else
   14695     # We need a cross tool
   14696     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14697 $as_echo "pre-installed" >&6; }
   14698   fi
   14699 fi
   14700 
   14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
   14702 $as_echo_n "checking where to find the target windmc... " >&6; }
   14703 if test "x${build}" != "x${host}" ; then
   14704   if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14705     # We already found the complete path
   14706     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14708 $as_echo "pre-installed in $ac_dir" >&6; }
   14709   else
   14710     # Canadian cross, just use what we found
   14711     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14712 $as_echo "pre-installed" >&6; }
   14713   fi
   14714 else
   14715   ok=yes
   14716   case " ${configdirs} " in
   14717     *" binutils "*) ;;
   14718     *) ok=no ;;
   14719   esac
   14720 
   14721   if test $ok = yes; then
   14722     # An in-tree tool is available and we can use it
   14723     WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
   14724     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14725 $as_echo "just compiled" >&6; }
   14726   elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14727     # We already found the complete path
   14728     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14730 $as_echo "pre-installed in $ac_dir" >&6; }
   14731   elif test "x$target" = "x$host"; then
   14732     # We can use an host tool
   14733     WINDMC_FOR_TARGET='$(WINDMC)'
   14734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14735 $as_echo "host tool" >&6; }
   14736   else
   14737     # We need a cross tool
   14738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14739 $as_echo "pre-installed" >&6; }
   14740   fi
   14741 fi
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 # Certain tools may need extra flags.
   14748 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
   14749 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
   14750 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
   14751 
   14752 # When building target libraries, except in a Canadian cross, we use
   14753 # the same toolchain as the compiler we just built.
   14754 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
   14755 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
   14756 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
   14757 if test $host = $build; then
   14758   case " $configdirs " in
   14759     *" gcc "*)
   14760       COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
   14761       COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
   14762       COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
   14763       ;;
   14764   esac
   14765 fi
   14766 
   14767 
   14768 
   14769 
   14770 
   14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   14772 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   14773 # Check whether --enable-maintainer-mode was given.
   14774 if test "${enable_maintainer_mode+set}" = set; then :
   14775   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   14776 else
   14777   USE_MAINTAINER_MODE=no
   14778 fi
   14779 
   14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   14781 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   14782 
   14783 
   14784 if test "$USE_MAINTAINER_MODE" = yes; then
   14785   MAINTAINER_MODE_TRUE=
   14786   MAINTAINER_MODE_FALSE='#'
   14787 else
   14788   MAINTAINER_MODE_TRUE='#'
   14789   MAINTAINER_MODE_FALSE=
   14790 fi
   14791 MAINT=$MAINTAINER_MODE_TRUE
   14792 
   14793 # ---------------------
   14794 # GCC bootstrap support
   14795 # ---------------------
   14796 
   14797 # Stage specific cflags for build.
   14798 stage1_cflags="-g"
   14799 case $build in
   14800   vax-*-*)
   14801     case ${GCC} in
   14802       yes) stage1_cflags="-g -Wa,-J" ;;
   14803       *) stage1_cflags="-g -J" ;;
   14804     esac ;;
   14805 esac
   14806 
   14807 
   14808 
   14809 # Enable --enable-checking in stage1 of the compiler.
   14810 # Check whether --enable-stage1-checking was given.
   14811 if test "${enable_stage1_checking+set}" = set; then :
   14812   enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
   14813 else
   14814   if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
   14815   # For --disable-checking or implicit --enable-checking=release, avoid
   14816   # setting --enable-checking=gc in the default stage1 checking for LTO
   14817   # bootstraps.  See PR62077.
   14818   case $BUILD_CONFIG in
   14819     *lto*)
   14820       stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
   14821     *)
   14822       stage1_checking=--enable-checking=yes,types;;
   14823   esac
   14824   if test "x$enable_checking" = x && \
   14825      test -d ${srcdir}/gcc && \
   14826      test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
   14827     stage1_checking=--enable-checking=yes,types,extra
   14828   fi
   14829 else
   14830   stage1_checking=--enable-checking=$enable_checking,types
   14831 fi
   14832 fi
   14833 
   14834 
   14835 
   14836 # Enable -Werror in bootstrap stage2 and later.
   14837 # Check whether --enable-werror was given.
   14838 if test "${enable_werror+set}" = set; then :
   14839   enableval=$enable_werror;
   14840 case ${enable_werror} in
   14841   yes) stage2_werror_flag="--enable-werror-always" ;;
   14842   *) stage2_werror_flag="" ;;
   14843 esac
   14844 
   14845 else
   14846 
   14847 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
   14848   case $BUILD_CONFIG in
   14849   bootstrap-debug)
   14850       stage2_werror_flag="--enable-werror-always" ;;
   14851   "")
   14852       stage2_werror_flag="--enable-werror-always" ;;
   14853   esac
   14854 fi
   14855 
   14856 fi
   14857 
   14858 
   14859 
   14860 
   14861 # Specify what files to not compare during bootstrap.
   14862 
   14863 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
   14864 case "$target" in
   14865   hppa*64*-*-hpux*) ;;
   14866   hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/* | gcc/function-tests.o" ;;
   14867   powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
   14868 esac
   14869 
   14870 
   14871 ac_config_files="$ac_config_files Makefile"
   14872 
   14873 cat >confcache <<\_ACEOF
   14874 # This file is a shell script that caches the results of configure
   14875 # tests run on this system so they can be shared between configure
   14876 # scripts and configure runs, see configure's option --config-cache.
   14877 # It is not useful on other systems.  If it contains results you don't
   14878 # want to keep, you may remove or edit it.
   14879 #
   14880 # config.status only pays attention to the cache file if you give it
   14881 # the --recheck option to rerun configure.
   14882 #
   14883 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14884 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14885 # following values.
   14886 
   14887 _ACEOF
   14888 
   14889 # The following way of writing the cache mishandles newlines in values,
   14890 # but we know of no workaround that is simple, portable, and efficient.
   14891 # So, we kill variables containing newlines.
   14892 # Ultrix sh set writes to stderr and can't be redirected directly,
   14893 # and sets the high bit in the cache file unless we assign to the vars.
   14894 (
   14895   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14896     eval ac_val=\$$ac_var
   14897     case $ac_val in #(
   14898     *${as_nl}*)
   14899       case $ac_var in #(
   14900       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14902       esac
   14903       case $ac_var in #(
   14904       _ | IFS | as_nl) ;; #(
   14905       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14906       *) { eval $ac_var=; unset $ac_var;} ;;
   14907       esac ;;
   14908     esac
   14909   done
   14910 
   14911   (set) 2>&1 |
   14912     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14913     *${as_nl}ac_space=\ *)
   14914       # `set' does not quote correctly, so add quotes: double-quote
   14915       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14916       sed -n \
   14917 	"s/'/'\\\\''/g;
   14918 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14919       ;; #(
   14920     *)
   14921       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14922       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14923       ;;
   14924     esac |
   14925     sort
   14926 ) |
   14927   sed '
   14928      /^ac_cv_env_/b end
   14929      t clear
   14930      :clear
   14931      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14932      t end
   14933      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14934      :end' >>confcache
   14935 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14936   if test -w "$cache_file"; then
   14937     if test "x$cache_file" != "x/dev/null"; then
   14938       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14939 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14940       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14941 	cat confcache >"$cache_file"
   14942       else
   14943         case $cache_file in #(
   14944         */* | ?:*)
   14945 	  mv -f confcache "$cache_file"$$ &&
   14946 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14947         *)
   14948 	  mv -f confcache "$cache_file" ;;
   14949 	esac
   14950       fi
   14951     fi
   14952   else
   14953     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14954 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14955   fi
   14956 fi
   14957 rm -f confcache
   14958 
   14959 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14960 # Let make expand exec_prefix.
   14961 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14962 
   14963 # Transform confdefs.h into DEFS.
   14964 # Protect against shell expansion while executing Makefile rules.
   14965 # Protect against Makefile macro expansion.
   14966 #
   14967 # If the first sed substitution is executed (which looks for macros that
   14968 # take arguments), then branch to the quote section.  Otherwise,
   14969 # look for a macro that doesn't take arguments.
   14970 ac_script='
   14971 :mline
   14972 /\\$/{
   14973  N
   14974  s,\\\n,,
   14975  b mline
   14976 }
   14977 t clear
   14978 :clear
   14979 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   14980 t quote
   14981 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   14982 t quote
   14983 b any
   14984 :quote
   14985 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   14986 s/\[/\\&/g
   14987 s/\]/\\&/g
   14988 s/\$/$$/g
   14989 H
   14990 :any
   14991 ${
   14992 	g
   14993 	s/^\n//
   14994 	s/\n/ /g
   14995 	p
   14996 }
   14997 '
   14998 DEFS=`sed -n "$ac_script" confdefs.h`
   14999 
   15000 
   15001 ac_libobjs=
   15002 ac_ltlibobjs=
   15003 U=
   15004 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15005   # 1. Remove the extension, and $U if already installed.
   15006   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15007   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15008   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15009   #    will be set to the directory where LIBOBJS objects are built.
   15010   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15011   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15012 done
   15013 LIBOBJS=$ac_libobjs
   15014 
   15015 LTLIBOBJS=$ac_ltlibobjs
   15016 
   15017 
   15018 
   15019 : "${CONFIG_STATUS=./config.status}"
   15020 ac_write_fail=0
   15021 ac_clean_files_save=$ac_clean_files
   15022 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15023 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15024 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15025 as_write_fail=0
   15026 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15027 #! $SHELL
   15028 # Generated by $as_me.
   15029 # Run this file to recreate the current configuration.
   15030 # Compiler output produced by configure, useful for debugging
   15031 # configure, is in config.log if it exists.
   15032 
   15033 debug=false
   15034 ac_cs_recheck=false
   15035 ac_cs_silent=false
   15036 
   15037 SHELL=\${CONFIG_SHELL-$SHELL}
   15038 export SHELL
   15039 _ASEOF
   15040 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15041 ## -------------------- ##
   15042 ## M4sh Initialization. ##
   15043 ## -------------------- ##
   15044 
   15045 # Be more Bourne compatible
   15046 DUALCASE=1; export DUALCASE # for MKS sh
   15047 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15048   emulate sh
   15049   NULLCMD=:
   15050   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15051   # is contrary to our usage.  Disable this feature.
   15052   alias -g '${1+"$@"}'='"$@"'
   15053   setopt NO_GLOB_SUBST
   15054 else
   15055   case `(set -o) 2>/dev/null` in #(
   15056   *posix*) :
   15057     set -o posix ;; #(
   15058   *) :
   15059      ;;
   15060 esac
   15061 fi
   15062 
   15063 
   15064 as_nl='
   15065 '
   15066 export as_nl
   15067 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15068 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15070 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15071 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15072 # but without wasting forks for bash or zsh.
   15073 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15074     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15075   as_echo='print -r --'
   15076   as_echo_n='print -rn --'
   15077 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15078   as_echo='printf %s\n'
   15079   as_echo_n='printf %s'
   15080 else
   15081   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15082     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15083     as_echo_n='/usr/ucb/echo -n'
   15084   else
   15085     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15086     as_echo_n_body='eval
   15087       arg=$1;
   15088       case $arg in #(
   15089       *"$as_nl"*)
   15090 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15091 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15092       esac;
   15093       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15094     '
   15095     export as_echo_n_body
   15096     as_echo_n='sh -c $as_echo_n_body as_echo'
   15097   fi
   15098   export as_echo_body
   15099   as_echo='sh -c $as_echo_body as_echo'
   15100 fi
   15101 
   15102 # The user is always right.
   15103 if test "${PATH_SEPARATOR+set}" != set; then
   15104   PATH_SEPARATOR=:
   15105   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15106     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15107       PATH_SEPARATOR=';'
   15108   }
   15109 fi
   15110 
   15111 
   15112 # IFS
   15113 # We need space, tab and new line, in precisely that order.  Quoting is
   15114 # there to prevent editors from complaining about space-tab.
   15115 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15116 # splitting by setting IFS to empty value.)
   15117 IFS=" ""	$as_nl"
   15118 
   15119 # Find who we are.  Look in the path if we contain no directory separator.
   15120 as_myself=
   15121 case $0 in #((
   15122   *[\\/]* ) as_myself=$0 ;;
   15123   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15124 for as_dir in $PATH
   15125 do
   15126   IFS=$as_save_IFS
   15127   test -z "$as_dir" && as_dir=.
   15128     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15129   done
   15130 IFS=$as_save_IFS
   15131 
   15132      ;;
   15133 esac
   15134 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15135 # in which case we are not to be found in the path.
   15136 if test "x$as_myself" = x; then
   15137   as_myself=$0
   15138 fi
   15139 if test ! -f "$as_myself"; then
   15140   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15141   exit 1
   15142 fi
   15143 
   15144 # Unset variables that we do not need and which cause bugs (e.g. in
   15145 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15146 # suppresses any "Segmentation fault" message there.  '((' could
   15147 # trigger a bug in pdksh 5.2.14.
   15148 for as_var in BASH_ENV ENV MAIL MAILPATH
   15149 do eval test x\${$as_var+set} = xset \
   15150   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15151 done
   15152 PS1='$ '
   15153 PS2='> '
   15154 PS4='+ '
   15155 
   15156 # NLS nuisances.
   15157 LC_ALL=C
   15158 export LC_ALL
   15159 LANGUAGE=C
   15160 export LANGUAGE
   15161 
   15162 # CDPATH.
   15163 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15164 
   15165 
   15166 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   15167 # ----------------------------------------
   15168 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15169 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15170 # script with STATUS, using 1 if that was 0.
   15171 as_fn_error ()
   15172 {
   15173   as_status=$1; test $as_status -eq 0 && as_status=1
   15174   if test "$4"; then
   15175     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15176     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   15177   fi
   15178   $as_echo "$as_me: error: $2" >&2
   15179   as_fn_exit $as_status
   15180 } # as_fn_error
   15181 
   15182 
   15183 # as_fn_set_status STATUS
   15184 # -----------------------
   15185 # Set $? to STATUS, without forking.
   15186 as_fn_set_status ()
   15187 {
   15188   return $1
   15189 } # as_fn_set_status
   15190 
   15191 # as_fn_exit STATUS
   15192 # -----------------
   15193 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15194 as_fn_exit ()
   15195 {
   15196   set +e
   15197   as_fn_set_status $1
   15198   exit $1
   15199 } # as_fn_exit
   15200 
   15201 # as_fn_unset VAR
   15202 # ---------------
   15203 # Portably unset VAR.
   15204 as_fn_unset ()
   15205 {
   15206   { eval $1=; unset $1;}
   15207 }
   15208 as_unset=as_fn_unset
   15209 # as_fn_append VAR VALUE
   15210 # ----------------------
   15211 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15212 # advantage of any shell optimizations that allow amortized linear growth over
   15213 # repeated appends, instead of the typical quadratic growth present in naive
   15214 # implementations.
   15215 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15216   eval 'as_fn_append ()
   15217   {
   15218     eval $1+=\$2
   15219   }'
   15220 else
   15221   as_fn_append ()
   15222   {
   15223     eval $1=\$$1\$2
   15224   }
   15225 fi # as_fn_append
   15226 
   15227 # as_fn_arith ARG...
   15228 # ------------------
   15229 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15230 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15231 # must be portable across $(()) and expr.
   15232 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15233   eval 'as_fn_arith ()
   15234   {
   15235     as_val=$(( $* ))
   15236   }'
   15237 else
   15238   as_fn_arith ()
   15239   {
   15240     as_val=`expr "$@" || test $? -eq 1`
   15241   }
   15242 fi # as_fn_arith
   15243 
   15244 
   15245 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15246    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15247   as_expr=expr
   15248 else
   15249   as_expr=false
   15250 fi
   15251 
   15252 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15253   as_basename=basename
   15254 else
   15255   as_basename=false
   15256 fi
   15257 
   15258 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15259   as_dirname=dirname
   15260 else
   15261   as_dirname=false
   15262 fi
   15263 
   15264 as_me=`$as_basename -- "$0" ||
   15265 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15266 	 X"$0" : 'X\(//\)$' \| \
   15267 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15268 $as_echo X/"$0" |
   15269     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15270 	    s//\1/
   15271 	    q
   15272 	  }
   15273 	  /^X\/\(\/\/\)$/{
   15274 	    s//\1/
   15275 	    q
   15276 	  }
   15277 	  /^X\/\(\/\).*/{
   15278 	    s//\1/
   15279 	    q
   15280 	  }
   15281 	  s/.*/./; q'`
   15282 
   15283 # Avoid depending upon Character Ranges.
   15284 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15285 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15286 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15287 as_cr_digits='0123456789'
   15288 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15289 
   15290 ECHO_C= ECHO_N= ECHO_T=
   15291 case `echo -n x` in #(((((
   15292 -n*)
   15293   case `echo 'xy\c'` in
   15294   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15295   xy)  ECHO_C='\c';;
   15296   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15297        ECHO_T='	';;
   15298   esac;;
   15299 *)
   15300   ECHO_N='-n';;
   15301 esac
   15302 
   15303 rm -f conf$$ conf$$.exe conf$$.file
   15304 if test -d conf$$.dir; then
   15305   rm -f conf$$.dir/conf$$.file
   15306 else
   15307   rm -f conf$$.dir
   15308   mkdir conf$$.dir 2>/dev/null
   15309 fi
   15310 if (echo >conf$$.file) 2>/dev/null; then
   15311   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15312     as_ln_s='ln -s'
   15313     # ... but there are two gotchas:
   15314     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15315     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15316     # In both cases, we have to default to `cp -pR'.
   15317     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15318       as_ln_s='cp -pR'
   15319   elif ln conf$$.file conf$$ 2>/dev/null; then
   15320     as_ln_s=ln
   15321   else
   15322     as_ln_s='cp -pR'
   15323   fi
   15324 else
   15325   as_ln_s='cp -pR'
   15326 fi
   15327 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15328 rmdir conf$$.dir 2>/dev/null
   15329 
   15330 
   15331 # as_fn_mkdir_p
   15332 # -------------
   15333 # Create "$as_dir" as a directory, including parents if necessary.
   15334 as_fn_mkdir_p ()
   15335 {
   15336 
   15337   case $as_dir in #(
   15338   -*) as_dir=./$as_dir;;
   15339   esac
   15340   test -d "$as_dir" || eval $as_mkdir_p || {
   15341     as_dirs=
   15342     while :; do
   15343       case $as_dir in #(
   15344       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15345       *) as_qdir=$as_dir;;
   15346       esac
   15347       as_dirs="'$as_qdir' $as_dirs"
   15348       as_dir=`$as_dirname -- "$as_dir" ||
   15349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15350 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15351 	 X"$as_dir" : 'X\(//\)$' \| \
   15352 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15353 $as_echo X"$as_dir" |
   15354     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15355 	    s//\1/
   15356 	    q
   15357 	  }
   15358 	  /^X\(\/\/\)[^/].*/{
   15359 	    s//\1/
   15360 	    q
   15361 	  }
   15362 	  /^X\(\/\/\)$/{
   15363 	    s//\1/
   15364 	    q
   15365 	  }
   15366 	  /^X\(\/\).*/{
   15367 	    s//\1/
   15368 	    q
   15369 	  }
   15370 	  s/.*/./; q'`
   15371       test -d "$as_dir" && break
   15372     done
   15373     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15374   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   15375 
   15376 
   15377 } # as_fn_mkdir_p
   15378 if mkdir -p . 2>/dev/null; then
   15379   as_mkdir_p='mkdir -p "$as_dir"'
   15380 else
   15381   test -d ./-p && rmdir ./-p
   15382   as_mkdir_p=false
   15383 fi
   15384 
   15385 
   15386 # as_fn_executable_p FILE
   15387 # -----------------------
   15388 # Test if FILE is an executable regular file.
   15389 as_fn_executable_p ()
   15390 {
   15391   test -f "$1" && test -x "$1"
   15392 } # as_fn_executable_p
   15393 as_test_x='test -x'
   15394 as_executable_p=as_fn_executable_p
   15395 
   15396 # Sed expression to map a string onto a valid CPP name.
   15397 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15398 
   15399 # Sed expression to map a string onto a valid variable name.
   15400 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15401 
   15402 
   15403 exec 6>&1
   15404 ## ----------------------------------- ##
   15405 ## Main body of $CONFIG_STATUS script. ##
   15406 ## ----------------------------------- ##
   15407 _ASEOF
   15408 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15409 
   15410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15411 # Save the log message, to keep $0 and so on meaningful, and to
   15412 # report actual input values of CONFIG_FILES etc. instead of their
   15413 # values after options handling.
   15414 ac_log="
   15415 This file was extended by $as_me, which was
   15416 generated by GNU Autoconf 2.69.  Invocation command line was
   15417 
   15418   CONFIG_FILES    = $CONFIG_FILES
   15419   CONFIG_HEADERS  = $CONFIG_HEADERS
   15420   CONFIG_LINKS    = $CONFIG_LINKS
   15421   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15422   $ $0 $@
   15423 
   15424 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15425 "
   15426 
   15427 _ACEOF
   15428 
   15429 case $ac_config_files in *"
   15430 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15431 esac
   15432 
   15433 
   15434 
   15435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15436 # Files that config.status was made for.
   15437 config_files="$ac_config_files"
   15438 
   15439 _ACEOF
   15440 
   15441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15442 ac_cs_usage="\
   15443 \`$as_me' instantiates files and other configuration actions
   15444 from templates according to the current configuration.  Unless the files
   15445 and actions are specified as TAGs, all are instantiated by default.
   15446 
   15447 Usage: $0 [OPTION]... [TAG]...
   15448 
   15449   -h, --help       print this help, then exit
   15450   -V, --version    print version number and configuration settings, then exit
   15451       --config     print configuration, then exit
   15452   -q, --quiet, --silent
   15453                    do not print progress messages
   15454   -d, --debug      don't remove temporary files
   15455       --recheck    update $as_me by reconfiguring in the same conditions
   15456       --file=FILE[:TEMPLATE]
   15457                    instantiate the configuration file FILE
   15458 
   15459 Configuration files:
   15460 $config_files
   15461 
   15462 Report bugs to the package provider."
   15463 
   15464 _ACEOF
   15465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15466 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15467 ac_cs_version="\\
   15468 config.status
   15469 configured by $0, generated by GNU Autoconf 2.69,
   15470   with options \\"\$ac_cs_config\\"
   15471 
   15472 Copyright (C) 2012 Free Software Foundation, Inc.
   15473 This config.status script is free software; the Free Software Foundation
   15474 gives unlimited permission to copy, distribute and modify it."
   15475 
   15476 ac_pwd='$ac_pwd'
   15477 srcdir='$srcdir'
   15478 INSTALL='$INSTALL'
   15479 AWK='$AWK'
   15480 test -n "\$AWK" || AWK=awk
   15481 _ACEOF
   15482 
   15483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15484 # The default lists apply if the user does not specify any file.
   15485 ac_need_defaults=:
   15486 while test $# != 0
   15487 do
   15488   case $1 in
   15489   --*=?*)
   15490     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15491     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15492     ac_shift=:
   15493     ;;
   15494   --*=)
   15495     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15496     ac_optarg=
   15497     ac_shift=:
   15498     ;;
   15499   *)
   15500     ac_option=$1
   15501     ac_optarg=$2
   15502     ac_shift=shift
   15503     ;;
   15504   esac
   15505 
   15506   case $ac_option in
   15507   # Handling of the options.
   15508   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15509     ac_cs_recheck=: ;;
   15510   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15511     $as_echo "$ac_cs_version"; exit ;;
   15512   --config | --confi | --conf | --con | --co | --c )
   15513     $as_echo "$ac_cs_config"; exit ;;
   15514   --debug | --debu | --deb | --de | --d | -d )
   15515     debug=: ;;
   15516   --file | --fil | --fi | --f )
   15517     $ac_shift
   15518     case $ac_optarg in
   15519     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15520     '') as_fn_error $? "missing file argument" ;;
   15521     esac
   15522     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15523     ac_need_defaults=false;;
   15524   --he | --h |  --help | --hel | -h )
   15525     $as_echo "$ac_cs_usage"; exit ;;
   15526   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15527   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15528     ac_cs_silent=: ;;
   15529 
   15530   # This is an error.
   15531   -*) as_fn_error $? "unrecognized option: \`$1'
   15532 Try \`$0 --help' for more information." ;;
   15533 
   15534   *) as_fn_append ac_config_targets " $1"
   15535      ac_need_defaults=false ;;
   15536 
   15537   esac
   15538   shift
   15539 done
   15540 
   15541 ac_configure_extra_args=
   15542 
   15543 if $ac_cs_silent; then
   15544   exec 6>/dev/null
   15545   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15546 fi
   15547 
   15548 _ACEOF
   15549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15550 if \$ac_cs_recheck; then
   15551   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15552   shift
   15553   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15554   CONFIG_SHELL='$SHELL'
   15555   export CONFIG_SHELL
   15556   exec "\$@"
   15557 fi
   15558 
   15559 _ACEOF
   15560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15561 exec 5>>config.log
   15562 {
   15563   echo
   15564   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15565 ## Running $as_me. ##
   15566 _ASBOX
   15567   $as_echo "$ac_log"
   15568 } >&5
   15569 
   15570 _ACEOF
   15571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15572 #
   15573 # INIT-COMMANDS
   15574 #
   15575 extrasub_build="$extrasub_build"
   15576    extrasub_host="$extrasub_host"
   15577    extrasub_target="$extrasub_target"
   15578 
   15579 _ACEOF
   15580 
   15581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15582 
   15583 # Handling of arguments.
   15584 for ac_config_target in $ac_config_targets
   15585 do
   15586   case $ac_config_target in
   15587     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15588 
   15589   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15590   esac
   15591 done
   15592 
   15593 
   15594 # If the user did not use the arguments to specify the items to instantiate,
   15595 # then the envvar interface is used.  Set only those that are not.
   15596 # We use the long form for the default assignment because of an extremely
   15597 # bizarre bug on SunOS 4.1.3.
   15598 if $ac_need_defaults; then
   15599   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15600 fi
   15601 
   15602 # Have a temporary directory for convenience.  Make it in the build tree
   15603 # simply because there is no reason against having it here, and in addition,
   15604 # creating and moving files from /tmp can sometimes cause problems.
   15605 # Hook for its removal unless debugging.
   15606 # Note that there is a small window in which the directory will not be cleaned:
   15607 # after its creation but before its name has been assigned to `$tmp'.
   15608 $debug ||
   15609 {
   15610   tmp= ac_tmp=
   15611   trap 'exit_status=$?
   15612   : "${ac_tmp:=$tmp}"
   15613   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15614 ' 0
   15615   trap 'as_fn_exit 1' 1 2 13 15
   15616 }
   15617 # Create a (secure) tmp directory for tmp files.
   15618 
   15619 {
   15620   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15621   test -d "$tmp"
   15622 }  ||
   15623 {
   15624   tmp=./conf$$-$RANDOM
   15625   (umask 077 && mkdir "$tmp")
   15626 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15627 ac_tmp=$tmp
   15628 
   15629 # Set up the scripts for CONFIG_FILES section.
   15630 # No need to generate them if there are no CONFIG_FILES.
   15631 # This happens for instance with `./config.status config.h'.
   15632 if test -n "$CONFIG_FILES"; then
   15633 
   15634 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   15635   ac_cs_awk_getline=:
   15636   ac_cs_awk_pipe_init=
   15637   ac_cs_awk_read_file='
   15638       while ((getline aline < (F[key])) > 0)
   15639 	print(aline)
   15640       close(F[key])'
   15641   ac_cs_awk_pipe_fini=
   15642 else
   15643   ac_cs_awk_getline=false
   15644   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   15645   ac_cs_awk_read_file='
   15646       print "|#_!!_#|"
   15647       print "cat " F[key] " &&"
   15648       '$ac_cs_awk_pipe_init
   15649   # The final `:' finishes the AND list.
   15650   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   15651 fi
   15652 ac_cr=`echo X | tr X '\015'`
   15653 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15654 # But we know of no other shell where ac_cr would be empty at this
   15655 # point, so we can use a bashism as a fallback.
   15656 if test "x$ac_cr" = x; then
   15657   eval ac_cr=\$\'\\r\'
   15658 fi
   15659 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15660 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15661   ac_cs_awk_cr='\\r'
   15662 else
   15663   ac_cs_awk_cr=$ac_cr
   15664 fi
   15665 
   15666 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15667 _ACEOF
   15668 
   15669 # Create commands to substitute file output variables.
   15670 {
   15671   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   15672   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
   15673   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   15674   echo "_ACAWK" &&
   15675   echo "_ACEOF"
   15676 } >conf$$files.sh &&
   15677 . ./conf$$files.sh ||
   15678   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15679 rm -f conf$$files.sh
   15680 
   15681 {
   15682   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15683   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15684   echo "_ACEOF"
   15685 } >conf$$subs.sh ||
   15686   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15687 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15688 ac_delim='%!_!# '
   15689 for ac_last_try in false false false false false :; do
   15690   . ./conf$$subs.sh ||
   15691     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15692 
   15693   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15694   if test $ac_delim_n = $ac_delim_num; then
   15695     break
   15696   elif $ac_last_try; then
   15697     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15698   else
   15699     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15700   fi
   15701 done
   15702 rm -f conf$$subs.sh
   15703 
   15704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15705 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15706 _ACEOF
   15707 sed -n '
   15708 h
   15709 s/^/S["/; s/!.*/"]=/
   15710 p
   15711 g
   15712 s/^[^!]*!//
   15713 :repl
   15714 t repl
   15715 s/'"$ac_delim"'$//
   15716 t delim
   15717 :nl
   15718 h
   15719 s/\(.\{148\}\)..*/\1/
   15720 t more1
   15721 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15722 p
   15723 n
   15724 b repl
   15725 :more1
   15726 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15727 p
   15728 g
   15729 s/.\{148\}//
   15730 t nl
   15731 :delim
   15732 h
   15733 s/\(.\{148\}\)..*/\1/
   15734 t more2
   15735 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15736 p
   15737 b
   15738 :more2
   15739 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15740 p
   15741 g
   15742 s/.\{148\}//
   15743 t delim
   15744 ' <conf$$subs.awk | sed '
   15745 /^[^""]/{
   15746   N
   15747   s/\n//
   15748 }
   15749 ' >>$CONFIG_STATUS || ac_write_fail=1
   15750 rm -f conf$$subs.awk
   15751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15752 _ACAWK
   15753 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15754   for (key in S) S_is_set[key] = 1
   15755   FS = ""
   15756   \$ac_cs_awk_pipe_init
   15757 }
   15758 {
   15759   line = $ 0
   15760   nfields = split(line, field, "@")
   15761   substed = 0
   15762   len = length(field[1])
   15763   for (i = 2; i < nfields; i++) {
   15764     key = field[i]
   15765     keylen = length(key)
   15766     if (S_is_set[key]) {
   15767       value = S[key]
   15768       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15769       len += length(value) + length(field[++i])
   15770       substed = 1
   15771     } else
   15772       len += 1 + keylen
   15773   }
   15774   if (nfields == 3 && !substed) {
   15775     key = field[2]
   15776     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   15777       \$ac_cs_awk_read_file
   15778       next
   15779     }
   15780   }
   15781   print line
   15782 }
   15783 \$ac_cs_awk_pipe_fini
   15784 _ACAWK
   15785 _ACEOF
   15786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15787 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15788   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15789 else
   15790   cat
   15791 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15792   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15793 _ACEOF
   15794 
   15795 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15796 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15797 # trailing colons and then remove the whole line if VPATH becomes empty
   15798 # (actually we leave an empty line to preserve line numbers).
   15799 if test "x$srcdir" = x.; then
   15800   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15801 h
   15802 s///
   15803 s/^/:/
   15804 s/[	 ]*$/:/
   15805 s/:\$(srcdir):/:/g
   15806 s/:\${srcdir}:/:/g
   15807 s/:@srcdir@:/:/g
   15808 s/^:*//
   15809 s/:*$//
   15810 x
   15811 s/\(=[	 ]*\).*/\1/
   15812 G
   15813 s/\n//
   15814 s/^[^=]*=[	 ]*$//
   15815 }'
   15816 fi
   15817 
   15818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15819 fi # test -n "$CONFIG_FILES"
   15820 
   15821 
   15822 eval set X "  :F $CONFIG_FILES      "
   15823 shift
   15824 for ac_tag
   15825 do
   15826   case $ac_tag in
   15827   :[FHLC]) ac_mode=$ac_tag; continue;;
   15828   esac
   15829   case $ac_mode$ac_tag in
   15830   :[FHL]*:*);;
   15831   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15832   :[FH]-) ac_tag=-:-;;
   15833   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15834   esac
   15835   ac_save_IFS=$IFS
   15836   IFS=:
   15837   set x $ac_tag
   15838   IFS=$ac_save_IFS
   15839   shift
   15840   ac_file=$1
   15841   shift
   15842 
   15843   case $ac_mode in
   15844   :L) ac_source=$1;;
   15845   :[FH])
   15846     ac_file_inputs=
   15847     for ac_f
   15848     do
   15849       case $ac_f in
   15850       -) ac_f="$ac_tmp/stdin";;
   15851       *) # Look for the file first in the build tree, then in the source tree
   15852 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15853 	 # because $ac_f cannot contain `:'.
   15854 	 test -f "$ac_f" ||
   15855 	   case $ac_f in
   15856 	   [\\/$]*) false;;
   15857 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15858 	   esac ||
   15859 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15860       esac
   15861       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15862       as_fn_append ac_file_inputs " '$ac_f'"
   15863     done
   15864 
   15865     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15866     # use $as_me), people would be surprised to read:
   15867     #    /* config.h.  Generated by config.status.  */
   15868     configure_input='Generated from '`
   15869 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15870 	`' by configure.'
   15871     if test x"$ac_file" != x-; then
   15872       configure_input="$ac_file.  $configure_input"
   15873       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15874 $as_echo "$as_me: creating $ac_file" >&6;}
   15875     fi
   15876     # Neutralize special characters interpreted by sed in replacement strings.
   15877     case $configure_input in #(
   15878     *\&* | *\|* | *\\* )
   15879        ac_sed_conf_input=`$as_echo "$configure_input" |
   15880        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15881     *) ac_sed_conf_input=$configure_input;;
   15882     esac
   15883 
   15884     case $ac_tag in
   15885     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15886       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15887     esac
   15888     ;;
   15889   esac
   15890 
   15891   ac_dir=`$as_dirname -- "$ac_file" ||
   15892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15893 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15894 	 X"$ac_file" : 'X\(//\)$' \| \
   15895 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15896 $as_echo X"$ac_file" |
   15897     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15898 	    s//\1/
   15899 	    q
   15900 	  }
   15901 	  /^X\(\/\/\)[^/].*/{
   15902 	    s//\1/
   15903 	    q
   15904 	  }
   15905 	  /^X\(\/\/\)$/{
   15906 	    s//\1/
   15907 	    q
   15908 	  }
   15909 	  /^X\(\/\).*/{
   15910 	    s//\1/
   15911 	    q
   15912 	  }
   15913 	  s/.*/./; q'`
   15914   as_dir="$ac_dir"; as_fn_mkdir_p
   15915   ac_builddir=.
   15916 
   15917 case "$ac_dir" in
   15918 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15919 *)
   15920   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15921   # A ".." for each directory in $ac_dir_suffix.
   15922   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15923   case $ac_top_builddir_sub in
   15924   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15925   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15926   esac ;;
   15927 esac
   15928 ac_abs_top_builddir=$ac_pwd
   15929 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15930 # for backward compatibility:
   15931 ac_top_builddir=$ac_top_build_prefix
   15932 
   15933 case $srcdir in
   15934   .)  # We are building in place.
   15935     ac_srcdir=.
   15936     ac_top_srcdir=$ac_top_builddir_sub
   15937     ac_abs_top_srcdir=$ac_pwd ;;
   15938   [\\/]* | ?:[\\/]* )  # Absolute name.
   15939     ac_srcdir=$srcdir$ac_dir_suffix;
   15940     ac_top_srcdir=$srcdir
   15941     ac_abs_top_srcdir=$srcdir ;;
   15942   *) # Relative name.
   15943     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15944     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15945     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15946 esac
   15947 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15948 
   15949 
   15950   case $ac_mode in
   15951   :F)
   15952   #
   15953   # CONFIG_FILE
   15954   #
   15955 
   15956   case $INSTALL in
   15957   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15958   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15959   esac
   15960 _ACEOF
   15961 
   15962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15963 # If the template does not know about datarootdir, expand it.
   15964 # FIXME: This hack should be removed a few years after 2.60.
   15965 ac_datarootdir_hack=; ac_datarootdir_seen=
   15966 ac_sed_dataroot='
   15967 /datarootdir/ {
   15968   p
   15969   q
   15970 }
   15971 /@datadir@/p
   15972 /@docdir@/p
   15973 /@infodir@/p
   15974 /@localedir@/p
   15975 /@mandir@/p'
   15976 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15977 *datarootdir*) ac_datarootdir_seen=yes;;
   15978 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15979   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15980 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15981 _ACEOF
   15982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15983   ac_datarootdir_hack='
   15984   s&@datadir@&$datadir&g
   15985   s&@docdir@&$docdir&g
   15986   s&@infodir@&$infodir&g
   15987   s&@localedir@&$localedir&g
   15988   s&@mandir@&$mandir&g
   15989   s&\\\${datarootdir}&$datarootdir&g' ;;
   15990 esac
   15991 _ACEOF
   15992 
   15993 # Neutralize VPATH when `$srcdir' = `.'.
   15994 # Shell code in configure.ac might set extrasub.
   15995 # FIXME: do we really want to maintain this feature?
   15996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15997 ac_sed_extra="$ac_vpsub
   15998 $extrasub
   15999 _ACEOF
   16000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16001 :t
   16002 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16003 s|@configure_input@|$ac_sed_conf_input|;t t
   16004 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16005 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16006 s&@srcdir@&$ac_srcdir&;t t
   16007 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16008 s&@top_srcdir@&$ac_top_srcdir&;t t
   16009 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16010 s&@builddir@&$ac_builddir&;t t
   16011 s&@abs_builddir@&$ac_abs_builddir&;t t
   16012 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16013 s&@INSTALL@&$ac_INSTALL&;t t
   16014 $ac_datarootdir_hack
   16015 "
   16016 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   16017 if $ac_cs_awk_getline; then
   16018   $AWK -f "$ac_tmp/subs.awk"
   16019 else
   16020   $AWK -f "$ac_tmp/subs.awk" | $SHELL
   16021 fi \
   16022   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16023 
   16024 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16025   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   16026   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   16027       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   16028   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16029 which seems to be undefined.  Please make sure it is defined" >&5
   16030 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16031 which seems to be undefined.  Please make sure it is defined" >&2;}
   16032 
   16033   rm -f "$ac_tmp/stdin"
   16034   case $ac_file in
   16035   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   16036   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   16037   esac \
   16038   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16039  ;;
   16040 
   16041 
   16042 
   16043   esac
   16044 
   16045 
   16046   case $ac_file$ac_mode in
   16047     "Makefile":F) sed "$extrasub_build" Makefile |
   16048    sed "$extrasub_host" |
   16049    sed "$extrasub_target" > mf$$
   16050    mv -f mf$$ Makefile ;;
   16051 
   16052   esac
   16053 done # for ac_tag
   16054 
   16055 
   16056 as_fn_exit 0
   16057 _ACEOF
   16058 ac_clean_files=$ac_clean_files_save
   16059 
   16060 test $ac_write_fail = 0 ||
   16061   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16062 
   16063 
   16064 # configure is writing to config.log, and then calls config.status.
   16065 # config.status does its own redirection, appending to config.log.
   16066 # Unfortunately, on DOS this fails, as config.log is still kept open
   16067 # by configure, so config.status won't be able to write to it; its
   16068 # output is simply discarded.  So we exec the FD to /dev/null,
   16069 # effectively closing config.log, so it can be properly (re)opened and
   16070 # appended to by config.status.  When coming back to configure, we
   16071 # need to make the FD available again.
   16072 if test "$no_create" != yes; then
   16073   ac_cs_success=:
   16074   ac_config_status_args=
   16075   test "$silent" = yes &&
   16076     ac_config_status_args="$ac_config_status_args --quiet"
   16077   exec 5>/dev/null
   16078   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16079   exec 5>>config.log
   16080   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16081   # would make configure fail if this is the last instruction.
   16082   $ac_cs_success || as_fn_exit 1
   16083 fi
   16084 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16085   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16086 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16087 fi
   16088 
   16089