Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      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 do_compare
    694 GNATMAKE
    695 GNATBIND
    696 ac_ct_CXX
    697 CXXFLAGS
    698 CXX
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 extra_liboffloadmic_configure_flags
    707 target_subdir
    708 host_subdir
    709 build_subdir
    710 build_libsubdir
    711 AWK
    712 SED
    713 LN_S
    714 LN
    715 INSTALL_DATA
    716 INSTALL_SCRIPT
    717 INSTALL_PROGRAM
    718 target_os
    719 target_vendor
    720 target_cpu
    721 target
    722 host_os
    723 host_vendor
    724 host_cpu
    725 host
    726 target_noncanonical
    727 host_noncanonical
    728 build_noncanonical
    729 build_os
    730 build_vendor
    731 build_cpu
    732 build
    733 TOPLEVEL_CONFIGURE_ARGUMENTS
    734 target_alias
    735 host_alias
    736 build_alias
    737 LIBS
    738 ECHO_T
    739 ECHO_N
    740 ECHO_C
    741 DEFS
    742 mandir
    743 localedir
    744 libdir
    745 psdir
    746 pdfdir
    747 dvidir
    748 htmldir
    749 infodir
    750 docdir
    751 oldincludedir
    752 includedir
    753 localstatedir
    754 sharedstatedir
    755 sysconfdir
    756 datadir
    757 datarootdir
    758 libexecdir
    759 sbindir
    760 bindir
    761 program_transform_name
    762 prefix
    763 exec_prefix
    764 PACKAGE_URL
    765 PACKAGE_BUGREPORT
    766 PACKAGE_STRING
    767 PACKAGE_VERSION
    768 PACKAGE_TARNAME
    769 PACKAGE_NAME
    770 PATH_SEPARATOR
    771 SHELL'
    772 ac_subst_files='serialization_dependencies
    773 host_makefile_frag
    774 target_makefile_frag
    775 alphaieee_frag
    776 ospace_frag'
    777 ac_user_opts='
    778 enable_option_checking
    779 with_build_libsubdir
    780 with_system_zlib
    781 enable_as_accelerator_for
    782 enable_offload_targets
    783 enable_gold
    784 enable_ld
    785 enable_compressed_debug_sections
    786 enable_libquadmath
    787 enable_libquadmath_support
    788 enable_libada
    789 enable_libssp
    790 enable_libstdcxx
    791 enable_liboffloadmic
    792 enable_bootstrap
    793 with_mpc
    794 with_mpc_include
    795 with_mpc_lib
    796 with_mpfr_dir
    797 with_mpfr
    798 with_mpfr_include
    799 with_mpfr_lib
    800 with_gmp_dir
    801 with_gmp
    802 with_gmp_include
    803 with_gmp_lib
    804 with_stage1_libs
    805 with_static_standard_libraries
    806 with_stage1_ldflags
    807 with_boot_libs
    808 with_boot_ldflags
    809 with_isl
    810 with_isl_include
    811 with_isl_lib
    812 enable_isl_version_check
    813 enable_lto
    814 enable_linker_plugin_configure_flags
    815 enable_linker_plugin_flags
    816 enable_host_shared
    817 enable_stage1_languages
    818 enable_objc_gc
    819 with_target_bdw_gc
    820 with_target_bdw_gc_include
    821 with_target_bdw_gc_lib
    822 with_gcc_major_version_only
    823 with_build_sysroot
    824 with_debug_prefix_map
    825 with_build_config
    826 enable_vtable_verify
    827 enable_serial_configure
    828 with_build_time_tools
    829 enable_maintainer_mode
    830 enable_stage1_checking
    831 enable_werror
    832 '
    833       ac_precious_vars='build_alias
    834 host_alias
    835 target_alias
    836 CC
    837 CFLAGS
    838 LDFLAGS
    839 LIBS
    840 CPPFLAGS
    841 CXX
    842 CXXFLAGS
    843 CCC
    844 build_configargs
    845 host_configargs
    846 target_configargs
    847 AR
    848 AS
    849 DLLTOOL
    850 LD
    851 LIPO
    852 NM
    853 RANLIB
    854 STRIP
    855 WINDRES
    856 WINDMC
    857 OBJCOPY
    858 OBJDUMP
    859 READELF
    860 CC_FOR_TARGET
    861 CXX_FOR_TARGET
    862 GCC_FOR_TARGET
    863 GFORTRAN_FOR_TARGET
    864 GOC_FOR_TARGET
    865 AR_FOR_TARGET
    866 AS_FOR_TARGET
    867 DLLTOOL_FOR_TARGET
    868 LD_FOR_TARGET
    869 LIPO_FOR_TARGET
    870 NM_FOR_TARGET
    871 OBJCOPY_FOR_TARGET
    872 OBJDUMP_FOR_TARGET
    873 RANLIB_FOR_TARGET
    874 READELF_FOR_TARGET
    875 STRIP_FOR_TARGET
    876 WINDRES_FOR_TARGET
    877 WINDMC_FOR_TARGET'
    878 
    879 
    880 # Initialize some variables set by options.
    881 ac_init_help=
    882 ac_init_version=false
    883 ac_unrecognized_opts=
    884 ac_unrecognized_sep=
    885 # The variables have the same names as the options, with
    886 # dashes changed to underlines.
    887 cache_file=/dev/null
    888 exec_prefix=NONE
    889 no_create=
    890 no_recursion=
    891 prefix=NONE
    892 program_prefix=NONE
    893 program_suffix=NONE
    894 program_transform_name=s,x,x,
    895 silent=
    896 site=
    897 srcdir=
    898 verbose=
    899 x_includes=NONE
    900 x_libraries=NONE
    901 
    902 # Installation directory options.
    903 # These are left unexpanded so users can "make install exec_prefix=/foo"
    904 # and all the variables that are supposed to be based on exec_prefix
    905 # by default will actually change.
    906 # Use braces instead of parens because sh, perl, etc. also accept them.
    907 # (The list follows the same order as the GNU Coding Standards.)
    908 bindir='${exec_prefix}/bin'
    909 sbindir='${exec_prefix}/sbin'
    910 libexecdir='${exec_prefix}/libexec'
    911 datarootdir='${prefix}/share'
    912 datadir='${datarootdir}'
    913 sysconfdir='${prefix}/etc'
    914 sharedstatedir='${prefix}/com'
    915 localstatedir='${prefix}/var'
    916 includedir='${prefix}/include'
    917 oldincludedir='/usr/include'
    918 docdir='${datarootdir}/doc/${PACKAGE}'
    919 infodir='${datarootdir}/info'
    920 htmldir='${docdir}'
    921 dvidir='${docdir}'
    922 pdfdir='${docdir}'
    923 psdir='${docdir}'
    924 libdir='${exec_prefix}/lib'
    925 localedir='${datarootdir}/locale'
    926 mandir='${datarootdir}/man'
    927 
    928 ac_prev=
    929 ac_dashdash=
    930 for ac_option
    931 do
    932   # If the previous option needs an argument, assign it.
    933   if test -n "$ac_prev"; then
    934     eval $ac_prev=\$ac_option
    935     ac_prev=
    936     continue
    937   fi
    938 
    939   case $ac_option in
    940   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    941   *=)   ac_optarg= ;;
    942   *)    ac_optarg=yes ;;
    943   esac
    944 
    945   # Accept the important Cygnus configure options, so we can diagnose typos.
    946 
    947   case $ac_dashdash$ac_option in
    948   --)
    949     ac_dashdash=yes ;;
    950 
    951   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    952     ac_prev=bindir ;;
    953   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    954     bindir=$ac_optarg ;;
    955 
    956   -build | --build | --buil | --bui | --bu)
    957     ac_prev=build_alias ;;
    958   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    959     build_alias=$ac_optarg ;;
    960 
    961   -cache-file | --cache-file | --cache-fil | --cache-fi \
    962   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    963     ac_prev=cache_file ;;
    964   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    965   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    966     cache_file=$ac_optarg ;;
    967 
    968   --config-cache | -C)
    969     cache_file=config.cache ;;
    970 
    971   -datadir | --datadir | --datadi | --datad)
    972     ac_prev=datadir ;;
    973   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    974     datadir=$ac_optarg ;;
    975 
    976   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    977   | --dataroo | --dataro | --datar)
    978     ac_prev=datarootdir ;;
    979   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    980   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    981     datarootdir=$ac_optarg ;;
    982 
    983   -disable-* | --disable-*)
    984     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    985     # Reject names that are not valid shell variable names.
    986     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    987       as_fn_error $? "invalid feature name: $ac_useropt"
    988     ac_useropt_orig=$ac_useropt
    989     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    990     case $ac_user_opts in
    991       *"
    992 "enable_$ac_useropt"
    993 "*) ;;
    994       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    995 	 ac_unrecognized_sep=', ';;
    996     esac
    997     eval enable_$ac_useropt=no ;;
    998 
    999   -docdir | --docdir | --docdi | --doc | --do)
   1000     ac_prev=docdir ;;
   1001   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1002     docdir=$ac_optarg ;;
   1003 
   1004   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1005     ac_prev=dvidir ;;
   1006   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1007     dvidir=$ac_optarg ;;
   1008 
   1009   -enable-* | --enable-*)
   1010     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1011     # Reject names that are not valid shell variable names.
   1012     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1013       as_fn_error $? "invalid feature name: $ac_useropt"
   1014     ac_useropt_orig=$ac_useropt
   1015     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1016     case $ac_user_opts in
   1017       *"
   1018 "enable_$ac_useropt"
   1019 "*) ;;
   1020       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1021 	 ac_unrecognized_sep=', ';;
   1022     esac
   1023     eval enable_$ac_useropt=\$ac_optarg ;;
   1024 
   1025   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1026   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1027   | --exec | --exe | --ex)
   1028     ac_prev=exec_prefix ;;
   1029   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1030   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1031   | --exec=* | --exe=* | --ex=*)
   1032     exec_prefix=$ac_optarg ;;
   1033 
   1034   -gas | --gas | --ga | --g)
   1035     # Obsolete; use --with-gas.
   1036     with_gas=yes ;;
   1037 
   1038   -help | --help | --hel | --he | -h)
   1039     ac_init_help=long ;;
   1040   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1041     ac_init_help=recursive ;;
   1042   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1043     ac_init_help=short ;;
   1044 
   1045   -host | --host | --hos | --ho)
   1046     ac_prev=host_alias ;;
   1047   -host=* | --host=* | --hos=* | --ho=*)
   1048     host_alias=$ac_optarg ;;
   1049 
   1050   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1051     ac_prev=htmldir ;;
   1052   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1053   | --ht=*)
   1054     htmldir=$ac_optarg ;;
   1055 
   1056   -includedir | --includedir | --includedi | --included | --include \
   1057   | --includ | --inclu | --incl | --inc)
   1058     ac_prev=includedir ;;
   1059   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1060   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1061     includedir=$ac_optarg ;;
   1062 
   1063   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1064     ac_prev=infodir ;;
   1065   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1066     infodir=$ac_optarg ;;
   1067 
   1068   -libdir | --libdir | --libdi | --libd)
   1069     ac_prev=libdir ;;
   1070   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1071     libdir=$ac_optarg ;;
   1072 
   1073   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1074   | --libexe | --libex | --libe)
   1075     ac_prev=libexecdir ;;
   1076   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1077   | --libexe=* | --libex=* | --libe=*)
   1078     libexecdir=$ac_optarg ;;
   1079 
   1080   -localedir | --localedir | --localedi | --localed | --locale)
   1081     ac_prev=localedir ;;
   1082   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1083     localedir=$ac_optarg ;;
   1084 
   1085   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1086   | --localstate | --localstat | --localsta | --localst | --locals)
   1087     ac_prev=localstatedir ;;
   1088   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1089   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1090     localstatedir=$ac_optarg ;;
   1091 
   1092   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1093     ac_prev=mandir ;;
   1094   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1095     mandir=$ac_optarg ;;
   1096 
   1097   -nfp | --nfp | --nf)
   1098     # Obsolete; use --without-fp.
   1099     with_fp=no ;;
   1100 
   1101   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1102   | --no-cr | --no-c | -n)
   1103     no_create=yes ;;
   1104 
   1105   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1106   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1107     no_recursion=yes ;;
   1108 
   1109   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1110   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1111   | --oldin | --oldi | --old | --ol | --o)
   1112     ac_prev=oldincludedir ;;
   1113   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1114   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1115   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1116     oldincludedir=$ac_optarg ;;
   1117 
   1118   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1119     ac_prev=prefix ;;
   1120   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1121     prefix=$ac_optarg ;;
   1122 
   1123   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1124   | --program-pre | --program-pr | --program-p)
   1125     ac_prev=program_prefix ;;
   1126   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1127   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1128     program_prefix=$ac_optarg ;;
   1129 
   1130   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1131   | --program-suf | --program-su | --program-s)
   1132     ac_prev=program_suffix ;;
   1133   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1134   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1135     program_suffix=$ac_optarg ;;
   1136 
   1137   -program-transform-name | --program-transform-name \
   1138   | --program-transform-nam | --program-transform-na \
   1139   | --program-transform-n | --program-transform- \
   1140   | --program-transform | --program-transfor \
   1141   | --program-transfo | --program-transf \
   1142   | --program-trans | --program-tran \
   1143   | --progr-tra | --program-tr | --program-t)
   1144     ac_prev=program_transform_name ;;
   1145   -program-transform-name=* | --program-transform-name=* \
   1146   | --program-transform-nam=* | --program-transform-na=* \
   1147   | --program-transform-n=* | --program-transform-=* \
   1148   | --program-transform=* | --program-transfor=* \
   1149   | --program-transfo=* | --program-transf=* \
   1150   | --program-trans=* | --program-tran=* \
   1151   | --progr-tra=* | --program-tr=* | --program-t=*)
   1152     program_transform_name=$ac_optarg ;;
   1153 
   1154   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1155     ac_prev=pdfdir ;;
   1156   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1157     pdfdir=$ac_optarg ;;
   1158 
   1159   -psdir | --psdir | --psdi | --psd | --ps)
   1160     ac_prev=psdir ;;
   1161   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1162     psdir=$ac_optarg ;;
   1163 
   1164   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1165   | -silent | --silent | --silen | --sile | --sil)
   1166     silent=yes ;;
   1167 
   1168   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1169     ac_prev=sbindir ;;
   1170   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1171   | --sbi=* | --sb=*)
   1172     sbindir=$ac_optarg ;;
   1173 
   1174   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1175   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1176   | --sharedst | --shareds | --shared | --share | --shar \
   1177   | --sha | --sh)
   1178     ac_prev=sharedstatedir ;;
   1179   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1180   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1181   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1182   | --sha=* | --sh=*)
   1183     sharedstatedir=$ac_optarg ;;
   1184 
   1185   -site | --site | --sit)
   1186     ac_prev=site ;;
   1187   -site=* | --site=* | --sit=*)
   1188     site=$ac_optarg ;;
   1189 
   1190   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1191     ac_prev=srcdir ;;
   1192   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1193     srcdir=$ac_optarg ;;
   1194 
   1195   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1196   | --syscon | --sysco | --sysc | --sys | --sy)
   1197     ac_prev=sysconfdir ;;
   1198   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1199   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1200     sysconfdir=$ac_optarg ;;
   1201 
   1202   -target | --target | --targe | --targ | --tar | --ta | --t)
   1203     ac_prev=target_alias ;;
   1204   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1205     target_alias=$ac_optarg ;;
   1206 
   1207   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1208     verbose=yes ;;
   1209 
   1210   -version | --version | --versio | --versi | --vers | -V)
   1211     ac_init_version=: ;;
   1212 
   1213   -with-* | --with-*)
   1214     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1215     # Reject names that are not valid shell variable names.
   1216     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1217       as_fn_error $? "invalid package name: $ac_useropt"
   1218     ac_useropt_orig=$ac_useropt
   1219     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1220     case $ac_user_opts in
   1221       *"
   1222 "with_$ac_useropt"
   1223 "*) ;;
   1224       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1225 	 ac_unrecognized_sep=', ';;
   1226     esac
   1227     eval with_$ac_useropt=\$ac_optarg ;;
   1228 
   1229   -without-* | --without-*)
   1230     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1231     # Reject names that are not valid shell variable names.
   1232     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1233       as_fn_error $? "invalid package name: $ac_useropt"
   1234     ac_useropt_orig=$ac_useropt
   1235     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1236     case $ac_user_opts in
   1237       *"
   1238 "with_$ac_useropt"
   1239 "*) ;;
   1240       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1241 	 ac_unrecognized_sep=', ';;
   1242     esac
   1243     eval with_$ac_useropt=no ;;
   1244 
   1245   --x)
   1246     # Obsolete; use --with-x.
   1247     with_x=yes ;;
   1248 
   1249   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1250   | --x-incl | --x-inc | --x-in | --x-i)
   1251     ac_prev=x_includes ;;
   1252   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1253   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1254     x_includes=$ac_optarg ;;
   1255 
   1256   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1257   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1258     ac_prev=x_libraries ;;
   1259   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1260   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1261     x_libraries=$ac_optarg ;;
   1262 
   1263   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1264 Try \`$0 --help' for more information"
   1265     ;;
   1266 
   1267   *=*)
   1268     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1269     # Reject names that are not valid shell variable names.
   1270     case $ac_envvar in #(
   1271       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1272       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1273     esac
   1274     eval $ac_envvar=\$ac_optarg
   1275     export $ac_envvar ;;
   1276 
   1277   *)
   1278     # FIXME: should be removed in autoconf 3.0.
   1279     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1280     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1281       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1282     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1283     ;;
   1284 
   1285   esac
   1286 done
   1287 
   1288 if test -n "$ac_prev"; then
   1289   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1290   as_fn_error $? "missing argument to $ac_option"
   1291 fi
   1292 
   1293 if test -n "$ac_unrecognized_opts"; then
   1294   case $enable_option_checking in
   1295     no) ;;
   1296     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1297     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1298   esac
   1299 fi
   1300 
   1301 # Check all directory arguments for consistency.
   1302 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1303 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1304 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1305 		libdir localedir mandir
   1306 do
   1307   eval ac_val=\$$ac_var
   1308   # Remove trailing slashes.
   1309   case $ac_val in
   1310     */ )
   1311       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1312       eval $ac_var=\$ac_val;;
   1313   esac
   1314   # Be sure to have absolute directory names.
   1315   case $ac_val in
   1316     [\\/$]* | ?:[\\/]* )  continue;;
   1317     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1318   esac
   1319   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1320 done
   1321 
   1322 # There might be people who depend on the old broken behavior: `$host'
   1323 # used to hold the argument of --host etc.
   1324 # FIXME: To remove some day.
   1325 build=$build_alias
   1326 host=$host_alias
   1327 target=$target_alias
   1328 
   1329 # FIXME: To remove some day.
   1330 if test "x$host_alias" != x; then
   1331   if test "x$build_alias" = x; then
   1332     cross_compiling=maybe
   1333   elif test "x$build_alias" != "x$host_alias"; then
   1334     cross_compiling=yes
   1335   fi
   1336 fi
   1337 
   1338 ac_tool_prefix=
   1339 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1340 
   1341 test "$silent" = yes && exec 6>/dev/null
   1342 
   1343 
   1344 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1345 ac_ls_di=`ls -di .` &&
   1346 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1347   as_fn_error $? "working directory cannot be determined"
   1348 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1349   as_fn_error $? "pwd does not report name of working directory"
   1350 
   1351 
   1352 # Find the source files, if location was not specified.
   1353 if test -z "$srcdir"; then
   1354   ac_srcdir_defaulted=yes
   1355   # Try the directory containing this script, then the parent directory.
   1356   ac_confdir=`$as_dirname -- "$as_myself" ||
   1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1358 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1359 	 X"$as_myself" : 'X\(//\)$' \| \
   1360 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1361 $as_echo X"$as_myself" |
   1362     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  /^X\(\/\/\)[^/].*/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  /^X\(\/\/\)$/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  /^X\(\/\).*/{
   1375 	    s//\1/
   1376 	    q
   1377 	  }
   1378 	  s/.*/./; q'`
   1379   srcdir=$ac_confdir
   1380   if test ! -r "$srcdir/$ac_unique_file"; then
   1381     srcdir=..
   1382   fi
   1383 else
   1384   ac_srcdir_defaulted=no
   1385 fi
   1386 if test ! -r "$srcdir/$ac_unique_file"; then
   1387   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1388   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1389 fi
   1390 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1391 ac_abs_confdir=`(
   1392 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1393 	pwd)`
   1394 # When building in place, set srcdir=.
   1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1396   srcdir=.
   1397 fi
   1398 # Remove unnecessary trailing slashes from srcdir.
   1399 # Double slashes in file names in object file debugging info
   1400 # mess up M-x gdb in Emacs.
   1401 case $srcdir in
   1402 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1403 esac
   1404 case $srcdir in
   1405   *" "*)
   1406     as_fn_error $? "path to source, $srcdir, contains spaces"
   1407     ;;
   1408 esac
   1409 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
   1410 
   1411 for ac_var in $ac_precious_vars; do
   1412   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1413   eval ac_env_${ac_var}_value=\$${ac_var}
   1414   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1415   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1416 done
   1417 
   1418 #
   1419 # Report the --help message.
   1420 #
   1421 if test "$ac_init_help" = "long"; then
   1422   # Omit some internal or obsolete options to make the list less imposing.
   1423   # This message is too long to be a string in the A/UX 3.1 sh.
   1424   cat <<_ACEOF
   1425 \`configure' configures this package to adapt to many kinds of systems.
   1426 
   1427 Usage: $0 [OPTION]... [VAR=VALUE]...
   1428 
   1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1430 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1431 
   1432 Defaults for the options are specified in brackets.
   1433 
   1434 Configuration:
   1435   -h, --help              display this help and exit
   1436       --help=short        display options specific to this package
   1437       --help=recursive    display the short help of all the included packages
   1438   -V, --version           display version information and exit
   1439   -q, --quiet, --silent   do not print \`checking ...' messages
   1440       --cache-file=FILE   cache test results in FILE [disabled]
   1441   -C, --config-cache      alias for \`--cache-file=config.cache'
   1442   -n, --no-create         do not create output files
   1443       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1444 
   1445 Installation directories:
   1446   --prefix=PREFIX         install architecture-independent files in PREFIX
   1447                           [$ac_default_prefix]
   1448   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1449                           [PREFIX]
   1450 
   1451 By default, \`make install' will install all the files in
   1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1454 for instance \`--prefix=\$HOME'.
   1455 
   1456 For better control, use the options below.
   1457 
   1458 Fine tuning of the installation directories:
   1459   --bindir=DIR            user executables [EPREFIX/bin]
   1460   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1461   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1462   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1463   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1464   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1465   --libdir=DIR            object code libraries [EPREFIX/lib]
   1466   --includedir=DIR        C header files [PREFIX/include]
   1467   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1468   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1469   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1470   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1471   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1472   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1473   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1474   --htmldir=DIR           html documentation [DOCDIR]
   1475   --dvidir=DIR            dvi documentation [DOCDIR]
   1476   --pdfdir=DIR            pdf documentation [DOCDIR]
   1477   --psdir=DIR             ps documentation [DOCDIR]
   1478 _ACEOF
   1479 
   1480   cat <<\_ACEOF
   1481 
   1482 Program names:
   1483   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1484   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1485   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1486 
   1487 System types:
   1488   --build=BUILD     configure for building on BUILD [guessed]
   1489   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1490   --target=TARGET   configure for building compilers for TARGET [HOST]
   1491 _ACEOF
   1492 fi
   1493 
   1494 if test -n "$ac_init_help"; then
   1495 
   1496   cat <<\_ACEOF
   1497 
   1498 Optional Features:
   1499   --disable-option-checking  ignore unrecognized --enable/--with options
   1500   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1501   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1502   --enable-as-accelerator-for=ARG
   1503                           build as offload target compiler. Specify offload
   1504                           host triple by ARG
   1505   --enable-offload-targets=LIST
   1506                           enable offloading to devices from comma-separated
   1507                           LIST of TARGET[=DIR]. Use optional path to find
   1508                           offload target compiler during the build
   1509   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
   1510   --enable-ld[=ARG]       build ld [ARG={default,yes,no}]
   1511   --enable-compressed-debug-sections={all,gas,gold,ld,none}
   1512                           Enable compressed debug sections for gas, gold or ld
   1513                           by default
   1514   --disable-libquadmath   do not build libquadmath directory
   1515   --disable-libquadmath-support
   1516                           disable libquadmath support for Fortran
   1517   --enable-libada         build libada directory
   1518   --enable-libssp         build libssp directory
   1519   --disable-libstdcxx     do not build libstdc++-v3 directory
   1520   --enable-liboffloadmic=ARG
   1521                           build liboffloadmic [ARG={no,host,target}]
   1522   --enable-bootstrap      enable bootstrapping [yes if native build]
   1523   --disable-isl-version-check
   1524                           disable check for isl version
   1525   --enable-lto            enable link time optimization support
   1526   --enable-linker-plugin-configure-flags=FLAGS
   1527                           additional flags for configuring linker plugins
   1528                           [none]
   1529   --enable-linker-plugin-flags=FLAGS
   1530                           additional flags for configuring and building linker
   1531                           plugins [none]
   1532   --enable-host-shared    build host code as shared libraries
   1533   --enable-stage1-languages[=all]
   1534                           choose additional languages to build during stage1.
   1535                           Mostly useful for compiler development
   1536   --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
   1537                           Objective-C runtime
   1538   --enable-vtable-verify  Enable vtable verification feature
   1539   --enable-serial-[{host,target,build}-]configure
   1540                           force sequential configuration of sub-packages for
   1541                           the host, target or build machine, or all
   1542                           sub-packages
   1543   --enable-maintainer-mode
   1544                           enable make rules and dependencies not useful (and
   1545                           sometimes confusing) to the casual installer
   1546   --enable-stage1-checking[=all]
   1547                           choose additional checking for stage1 of the
   1548                           compiler
   1549   --enable-werror         enable -Werror in bootstrap stage2 and later
   1550 
   1551 Optional Packages:
   1552   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1553   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1554   --with-build-libsubdir=DIR  Directory where to find libraries for build system
   1555   --with-system-zlib      use installed libz
   1556   --with-mpc=PATH         specify prefix directory for installed MPC package.
   1557                           Equivalent to --with-mpc-include=PATH/include plus
   1558                           --with-mpc-lib=PATH/lib
   1559   --with-mpc-include=PATH specify directory for installed MPC include files
   1560   --with-mpc-lib=PATH     specify directory for the installed MPC library
   1561   --with-mpfr-dir=PATH    this option has been REMOVED
   1562   --with-mpfr=PATH        specify prefix directory for installed MPFR package.
   1563                           Equivalent to --with-mpfr-include=PATH/include plus
   1564                           --with-mpfr-lib=PATH/lib
   1565   --with-mpfr-include=PATH
   1566                           specify directory for installed MPFR include files
   1567   --with-mpfr-lib=PATH    specify directory for the installed MPFR library
   1568   --with-gmp-dir=PATH     this option has been REMOVED
   1569   --with-gmp=PATH         specify prefix directory for the installed GMP
   1570                           package. Equivalent to
   1571                           --with-gmp-include=PATH/include plus
   1572                           --with-gmp-lib=PATH/lib
   1573   --with-gmp-include=PATH specify directory for installed GMP include files
   1574   --with-gmp-lib=PATH     specify directory for the installed GMP library
   1575   --with-stage1-libs=LIBS libraries for stage1
   1576   --with-static-standard-libraries
   1577                           use -static-libstdc++ and -static-libgcc
   1578                           (default=auto)
   1579   --with-stage1-ldflags=FLAGS
   1580                           linker flags for stage1
   1581   --with-boot-libs=LIBS   libraries for stage2 and later
   1582   --with-boot-ldflags=FLAGS
   1583                           linker flags for stage2 and later
   1584   --with-isl=PATH         Specify prefix directory for the installed isl
   1585                           package. Equivalent to
   1586                           --with-isl-include=PATH/include plus
   1587                           --with-isl-lib=PATH/lib
   1588   --with-isl-include=PATH Specify directory for installed isl include files
   1589   --with-isl-lib=PATH     Specify the directory for the installed isl library
   1590   --with-target-bdw-gc=PATHLIST
   1591                           specify prefix directory for installed bdw-gc
   1592                           package. Equivalent to
   1593                           --with-target-bdw-gc-include=PATH/include plus
   1594                           --with-target-bdw-gc-lib=PATH/lib
   1595   --with-target-bdw-gc-include=PATHLIST
   1596                           specify directories for installed bdw-gc include
   1597                           files
   1598   --with-target-bdw-gc-lib=PATHLIST
   1599                           specify directories for installed bdw-gc library
   1600   --with-gcc-major-version-only
   1601                           use only GCC major number in filesystem paths
   1602   --with-build-sysroot=SYSROOT
   1603                           use sysroot as the system root during the build
   1604   --with-debug-prefix-map='A=B C=D ...'
   1605                           map A to B, C to D ... in debug information
   1606   --with-build-config='NAME NAME2...'
   1607                           use config/NAME.mk build configuration
   1608   --with-build-time-tools=PATH
   1609                           use given path to find target tools during the build
   1610 
   1611 Some influential environment variables:
   1612   CC          C compiler command
   1613   CFLAGS      C compiler flags
   1614   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1615               nonstandard directory <lib dir>
   1616   LIBS        libraries to pass to the linker, e.g. -l<library>
   1617   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1618               you have headers in a nonstandard directory <include dir>
   1619   CXX         C++ compiler command
   1620   CXXFLAGS    C++ compiler flags
   1621   build_configargs
   1622               additional configure arguments for build directories
   1623   host_configargs
   1624               additional configure arguments for host directories
   1625   target_configargs
   1626               additional configure arguments for target directories
   1627   AR          AR for the host
   1628   AS          AS for the host
   1629   DLLTOOL     DLLTOOL for the host
   1630   LD          LD for the host
   1631   LIPO        LIPO for the host
   1632   NM          NM for the host
   1633   RANLIB      RANLIB for the host
   1634   STRIP       STRIP for the host
   1635   WINDRES     WINDRES for the host
   1636   WINDMC      WINDMC for the host
   1637   OBJCOPY     OBJCOPY for the host
   1638   OBJDUMP     OBJDUMP for the host
   1639   READELF     READELF for the host
   1640   CC_FOR_TARGET
   1641               CC for the target
   1642   CXX_FOR_TARGET
   1643               CXX for the target
   1644   GCC_FOR_TARGET
   1645               GCC for the target
   1646   GFORTRAN_FOR_TARGET
   1647               GFORTRAN for the target
   1648   GOC_FOR_TARGET
   1649               GOC for the target
   1650   AR_FOR_TARGET
   1651               AR for the target
   1652   AS_FOR_TARGET
   1653               AS for the target
   1654   DLLTOOL_FOR_TARGET
   1655               DLLTOOL for the target
   1656   LD_FOR_TARGET
   1657               LD for the target
   1658   LIPO_FOR_TARGET
   1659               LIPO for the target
   1660   NM_FOR_TARGET
   1661               NM for the target
   1662   OBJCOPY_FOR_TARGET
   1663               OBJCOPY for the target
   1664   OBJDUMP_FOR_TARGET
   1665               OBJDUMP for the target
   1666   RANLIB_FOR_TARGET
   1667               RANLIB for the target
   1668   READELF_FOR_TARGET
   1669               READELF for the target
   1670   STRIP_FOR_TARGET
   1671               STRIP for the target
   1672   WINDRES_FOR_TARGET
   1673               WINDRES for the target
   1674   WINDMC_FOR_TARGET
   1675               WINDMC for the target
   1676 
   1677 Use these variables to override the choices made by `configure' or to help
   1678 it to find libraries and programs with nonstandard names/locations.
   1679 
   1680 Report bugs to the package provider.
   1681 _ACEOF
   1682 ac_status=$?
   1683 fi
   1684 
   1685 if test "$ac_init_help" = "recursive"; then
   1686   # If there are subdirs, report their specific --help.
   1687   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1688     test -d "$ac_dir" ||
   1689       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1690       continue
   1691     ac_builddir=.
   1692 
   1693 case "$ac_dir" in
   1694 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1695 *)
   1696   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1697   # A ".." for each directory in $ac_dir_suffix.
   1698   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1699   case $ac_top_builddir_sub in
   1700   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1701   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1702   esac ;;
   1703 esac
   1704 ac_abs_top_builddir=$ac_pwd
   1705 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1706 # for backward compatibility:
   1707 ac_top_builddir=$ac_top_build_prefix
   1708 
   1709 case $srcdir in
   1710   .)  # We are building in place.
   1711     ac_srcdir=.
   1712     ac_top_srcdir=$ac_top_builddir_sub
   1713     ac_abs_top_srcdir=$ac_pwd ;;
   1714   [\\/]* | ?:[\\/]* )  # Absolute name.
   1715     ac_srcdir=$srcdir$ac_dir_suffix;
   1716     ac_top_srcdir=$srcdir
   1717     ac_abs_top_srcdir=$srcdir ;;
   1718   *) # Relative name.
   1719     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1720     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1721     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1722 esac
   1723 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1724 
   1725     cd "$ac_dir" || { ac_status=$?; continue; }
   1726     # Check for guested configure.
   1727     if test -f "$ac_srcdir/configure.gnu"; then
   1728       echo &&
   1729       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1730     elif test -f "$ac_srcdir/configure"; then
   1731       echo &&
   1732       $SHELL "$ac_srcdir/configure" --help=recursive
   1733     else
   1734       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1735     fi || ac_status=$?
   1736     cd "$ac_pwd" || { ac_status=$?; break; }
   1737   done
   1738 fi
   1739 
   1740 test -n "$ac_init_help" && exit $ac_status
   1741 if $ac_init_version; then
   1742   cat <<\_ACEOF
   1743 configure
   1744 generated by GNU Autoconf 2.69
   1745 
   1746 Copyright (C) 2012 Free Software Foundation, Inc.
   1747 This configure script is free software; the Free Software Foundation
   1748 gives unlimited permission to copy, distribute and modify it.
   1749 _ACEOF
   1750   exit
   1751 fi
   1752 
   1753 ## ------------------------ ##
   1754 ## Autoconf initialization. ##
   1755 ## ------------------------ ##
   1756 
   1757 # ac_fn_c_try_compile LINENO
   1758 # --------------------------
   1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1760 ac_fn_c_try_compile ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   rm -f conftest.$ac_objext
   1764   if { { ac_try="$ac_compile"
   1765 case "(($ac_try" in
   1766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1767   *) ac_try_echo=$ac_try;;
   1768 esac
   1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1770 $as_echo "$ac_try_echo"; } >&5
   1771   (eval "$ac_compile") 2>conftest.err
   1772   ac_status=$?
   1773   if test -s conftest.err; then
   1774     grep -v '^ *+' conftest.err >conftest.er1
   1775     cat conftest.er1 >&5
   1776     mv -f conftest.er1 conftest.err
   1777   fi
   1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1779   test $ac_status = 0; } && {
   1780 	 test -z "$ac_c_werror_flag" ||
   1781 	 test ! -s conftest.err
   1782        } && test -s conftest.$ac_objext; then :
   1783   ac_retval=0
   1784 else
   1785   $as_echo "$as_me: failed program was:" >&5
   1786 sed 's/^/| /' conftest.$ac_ext >&5
   1787 
   1788 	ac_retval=1
   1789 fi
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791   as_fn_set_status $ac_retval
   1792 
   1793 } # ac_fn_c_try_compile
   1794 
   1795 # ac_fn_cxx_try_compile LINENO
   1796 # ----------------------------
   1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1798 ac_fn_cxx_try_compile ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   rm -f conftest.$ac_objext
   1802   if { { ac_try="$ac_compile"
   1803 case "(($ac_try" in
   1804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1805   *) ac_try_echo=$ac_try;;
   1806 esac
   1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1808 $as_echo "$ac_try_echo"; } >&5
   1809   (eval "$ac_compile") 2>conftest.err
   1810   ac_status=$?
   1811   if test -s conftest.err; then
   1812     grep -v '^ *+' conftest.err >conftest.er1
   1813     cat conftest.er1 >&5
   1814     mv -f conftest.er1 conftest.err
   1815   fi
   1816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; } && {
   1818 	 test -z "$ac_cxx_werror_flag" ||
   1819 	 test ! -s conftest.err
   1820        } && test -s conftest.$ac_objext; then :
   1821   ac_retval=0
   1822 else
   1823   $as_echo "$as_me: failed program was:" >&5
   1824 sed 's/^/| /' conftest.$ac_ext >&5
   1825 
   1826 	ac_retval=1
   1827 fi
   1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1829   as_fn_set_status $ac_retval
   1830 
   1831 } # ac_fn_cxx_try_compile
   1832 
   1833 # ac_fn_cxx_try_link LINENO
   1834 # -------------------------
   1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1836 ac_fn_cxx_try_link ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   rm -f conftest.$ac_objext conftest$ac_exeext
   1840   if { { ac_try="$ac_link"
   1841 case "(($ac_try" in
   1842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1843   *) ac_try_echo=$ac_try;;
   1844 esac
   1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1846 $as_echo "$ac_try_echo"; } >&5
   1847   (eval "$ac_link") 2>conftest.err
   1848   ac_status=$?
   1849   if test -s conftest.err; then
   1850     grep -v '^ *+' conftest.err >conftest.er1
   1851     cat conftest.er1 >&5
   1852     mv -f conftest.er1 conftest.err
   1853   fi
   1854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1855   test $ac_status = 0; } && {
   1856 	 test -z "$ac_cxx_werror_flag" ||
   1857 	 test ! -s conftest.err
   1858        } && test -s conftest$ac_exeext && {
   1859 	 test "$cross_compiling" = yes ||
   1860 	 test -x conftest$ac_exeext
   1861        }; then :
   1862   ac_retval=0
   1863 else
   1864   $as_echo "$as_me: failed program was:" >&5
   1865 sed 's/^/| /' conftest.$ac_ext >&5
   1866 
   1867 	ac_retval=1
   1868 fi
   1869   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1870   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1871   # interfere with the next link command; also delete a directory that is
   1872   # left behind by Apple's compiler.  We do this before executing the actions.
   1873   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1874   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1875   as_fn_set_status $ac_retval
   1876 
   1877 } # ac_fn_cxx_try_link
   1878 
   1879 # ac_fn_c_try_link LINENO
   1880 # -----------------------
   1881 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1882 ac_fn_c_try_link ()
   1883 {
   1884   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1885   rm -f conftest.$ac_objext conftest$ac_exeext
   1886   if { { ac_try="$ac_link"
   1887 case "(($ac_try" in
   1888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1889   *) ac_try_echo=$ac_try;;
   1890 esac
   1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1892 $as_echo "$ac_try_echo"; } >&5
   1893   (eval "$ac_link") 2>conftest.err
   1894   ac_status=$?
   1895   if test -s conftest.err; then
   1896     grep -v '^ *+' conftest.err >conftest.er1
   1897     cat conftest.er1 >&5
   1898     mv -f conftest.er1 conftest.err
   1899   fi
   1900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1901   test $ac_status = 0; } && {
   1902 	 test -z "$ac_c_werror_flag" ||
   1903 	 test ! -s conftest.err
   1904        } && test -s conftest$ac_exeext && {
   1905 	 test "$cross_compiling" = yes ||
   1906 	 test -x conftest$ac_exeext
   1907        }; then :
   1908   ac_retval=0
   1909 else
   1910   $as_echo "$as_me: failed program was:" >&5
   1911 sed 's/^/| /' conftest.$ac_ext >&5
   1912 
   1913 	ac_retval=1
   1914 fi
   1915   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1916   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1917   # interfere with the next link command; also delete a directory that is
   1918   # left behind by Apple's compiler.  We do this before executing the actions.
   1919   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1920   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1921   as_fn_set_status $ac_retval
   1922 
   1923 } # ac_fn_c_try_link
   1924 cat >config.log <<_ACEOF
   1925 This file contains any messages produced by compilers while
   1926 running configure, to aid debugging if configure makes a mistake.
   1927 
   1928 It was created by $as_me, which was
   1929 generated by GNU Autoconf 2.69.  Invocation command line was
   1930 
   1931   $ $0 $@
   1932 
   1933 _ACEOF
   1934 exec 5>>config.log
   1935 {
   1936 cat <<_ASUNAME
   1937 ## --------- ##
   1938 ## Platform. ##
   1939 ## --------- ##
   1940 
   1941 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1942 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1943 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1944 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1945 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1946 
   1947 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1948 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1949 
   1950 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1951 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1952 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1953 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1954 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1955 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1956 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1957 
   1958 _ASUNAME
   1959 
   1960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1961 for as_dir in $PATH
   1962 do
   1963   IFS=$as_save_IFS
   1964   test -z "$as_dir" && as_dir=.
   1965     $as_echo "PATH: $as_dir"
   1966   done
   1967 IFS=$as_save_IFS
   1968 
   1969 } >&5
   1970 
   1971 cat >&5 <<_ACEOF
   1972 
   1973 
   1974 ## ----------- ##
   1975 ## Core tests. ##
   1976 ## ----------- ##
   1977 
   1978 _ACEOF
   1979 
   1980 
   1981 # Keep a trace of the command line.
   1982 # Strip out --no-create and --no-recursion so they do not pile up.
   1983 # Strip out --silent because we don't want to record it for future runs.
   1984 # Also quote any args containing shell meta-characters.
   1985 # Make two passes to allow for proper duplicate-argument suppression.
   1986 ac_configure_args=
   1987 ac_configure_args0=
   1988 ac_configure_args1=
   1989 ac_must_keep_next=false
   1990 for ac_pass in 1 2
   1991 do
   1992   for ac_arg
   1993   do
   1994     case $ac_arg in
   1995     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1996     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1997     | -silent | --silent | --silen | --sile | --sil)
   1998       continue ;;
   1999     *\'*)
   2000       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2001     esac
   2002     case $ac_pass in
   2003     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2004     2)
   2005       as_fn_append ac_configure_args1 " '$ac_arg'"
   2006       if test $ac_must_keep_next = true; then
   2007 	ac_must_keep_next=false # Got value, back to normal.
   2008       else
   2009 	case $ac_arg in
   2010 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2011 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2012 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2013 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2014 	    case "$ac_configure_args0 " in
   2015 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2016 	    esac
   2017 	    ;;
   2018 	  -* ) ac_must_keep_next=true ;;
   2019 	esac
   2020       fi
   2021       as_fn_append ac_configure_args " '$ac_arg'"
   2022       ;;
   2023     esac
   2024   done
   2025 done
   2026 { ac_configure_args0=; unset ac_configure_args0;}
   2027 { ac_configure_args1=; unset ac_configure_args1;}
   2028 
   2029 # When interrupted or exit'd, cleanup temporary files, and complete
   2030 # config.log.  We remove comments because anyway the quotes in there
   2031 # would cause problems or look ugly.
   2032 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2033 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2034 trap 'exit_status=$?
   2035   # Save into config.log some information that might help in debugging.
   2036   {
   2037     echo
   2038 
   2039     $as_echo "## ---------------- ##
   2040 ## Cache variables. ##
   2041 ## ---------------- ##"
   2042     echo
   2043     # The following way of writing the cache mishandles newlines in values,
   2044 (
   2045   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2046     eval ac_val=\$$ac_var
   2047     case $ac_val in #(
   2048     *${as_nl}*)
   2049       case $ac_var in #(
   2050       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2052       esac
   2053       case $ac_var in #(
   2054       _ | IFS | as_nl) ;; #(
   2055       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2056       *) { eval $ac_var=; unset $ac_var;} ;;
   2057       esac ;;
   2058     esac
   2059   done
   2060   (set) 2>&1 |
   2061     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2062     *${as_nl}ac_space=\ *)
   2063       sed -n \
   2064 	"s/'\''/'\''\\\\'\'''\''/g;
   2065 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2066       ;; #(
   2067     *)
   2068       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2069       ;;
   2070     esac |
   2071     sort
   2072 )
   2073     echo
   2074 
   2075     $as_echo "## ----------------- ##
   2076 ## Output variables. ##
   2077 ## ----------------- ##"
   2078     echo
   2079     for ac_var in $ac_subst_vars
   2080     do
   2081       eval ac_val=\$$ac_var
   2082       case $ac_val in
   2083       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2084       esac
   2085       $as_echo "$ac_var='\''$ac_val'\''"
   2086     done | sort
   2087     echo
   2088 
   2089     if test -n "$ac_subst_files"; then
   2090       $as_echo "## ------------------- ##
   2091 ## File substitutions. ##
   2092 ## ------------------- ##"
   2093       echo
   2094       for ac_var in $ac_subst_files
   2095       do
   2096 	eval ac_val=\$$ac_var
   2097 	case $ac_val in
   2098 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2099 	esac
   2100 	$as_echo "$ac_var='\''$ac_val'\''"
   2101       done | sort
   2102       echo
   2103     fi
   2104 
   2105     if test -s confdefs.h; then
   2106       $as_echo "## ----------- ##
   2107 ## confdefs.h. ##
   2108 ## ----------- ##"
   2109       echo
   2110       cat confdefs.h
   2111       echo
   2112     fi
   2113     test "$ac_signal" != 0 &&
   2114       $as_echo "$as_me: caught signal $ac_signal"
   2115     $as_echo "$as_me: exit $exit_status"
   2116   } >&5
   2117   rm -f core *.core core.conftest.* &&
   2118     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2119     exit $exit_status
   2120 ' 0
   2121 for ac_signal in 1 2 13 15; do
   2122   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2123 done
   2124 ac_signal=0
   2125 
   2126 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2127 rm -f -r conftest* confdefs.h
   2128 
   2129 $as_echo "/* confdefs.h */" > confdefs.h
   2130 
   2131 # Predefined preprocessor variables.
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_NAME "$PACKAGE_NAME"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2139 _ACEOF
   2140 
   2141 cat >>confdefs.h <<_ACEOF
   2142 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2143 _ACEOF
   2144 
   2145 cat >>confdefs.h <<_ACEOF
   2146 #define PACKAGE_STRING "$PACKAGE_STRING"
   2147 _ACEOF
   2148 
   2149 cat >>confdefs.h <<_ACEOF
   2150 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2151 _ACEOF
   2152 
   2153 cat >>confdefs.h <<_ACEOF
   2154 #define PACKAGE_URL "$PACKAGE_URL"
   2155 _ACEOF
   2156 
   2157 
   2158 # Let the site file select an alternate cache file if it wants to.
   2159 # Prefer an explicitly selected file to automatically selected ones.
   2160 ac_site_file1=NONE
   2161 ac_site_file2=NONE
   2162 if test -n "$CONFIG_SITE"; then
   2163   # We do not want a PATH search for config.site.
   2164   case $CONFIG_SITE in #((
   2165     -*)  ac_site_file1=./$CONFIG_SITE;;
   2166     */*) ac_site_file1=$CONFIG_SITE;;
   2167     *)   ac_site_file1=./$CONFIG_SITE;;
   2168   esac
   2169 elif test "x$prefix" != xNONE; then
   2170   ac_site_file1=$prefix/share/config.site
   2171   ac_site_file2=$prefix/etc/config.site
   2172 else
   2173   ac_site_file1=$ac_default_prefix/share/config.site
   2174   ac_site_file2=$ac_default_prefix/etc/config.site
   2175 fi
   2176 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2177 do
   2178   test "x$ac_site_file" = xNONE && continue
   2179   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2180     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2181 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2182     sed 's/^/| /' "$ac_site_file" >&5
   2183     . "$ac_site_file" \
   2184       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2186 as_fn_error $? "failed to load site script $ac_site_file
   2187 See \`config.log' for more details" "$LINENO" 5; }
   2188   fi
   2189 done
   2190 
   2191 if test -r "$cache_file"; then
   2192   # Some versions of bash will fail to source /dev/null (special files
   2193   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2194   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2195     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2196 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2197     case $cache_file in
   2198       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2199       *)                      . "./$cache_file";;
   2200     esac
   2201   fi
   2202 else
   2203   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2204 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2205   >$cache_file
   2206 fi
   2207 
   2208 # Check that the precious variables saved in the cache have kept the same
   2209 # value.
   2210 ac_cache_corrupted=false
   2211 for ac_var in $ac_precious_vars; do
   2212   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2213   eval ac_new_set=\$ac_env_${ac_var}_set
   2214   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2215   eval ac_new_val=\$ac_env_${ac_var}_value
   2216   case $ac_old_set,$ac_new_set in
   2217     set,)
   2218       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2219 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2220       ac_cache_corrupted=: ;;
   2221     ,set)
   2222       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2223 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2224       ac_cache_corrupted=: ;;
   2225     ,);;
   2226     *)
   2227       if test "x$ac_old_val" != "x$ac_new_val"; then
   2228 	# differences in whitespace do not lead to failure.
   2229 	ac_old_val_w=`echo x $ac_old_val`
   2230 	ac_new_val_w=`echo x $ac_new_val`
   2231 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2232 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2233 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2234 	  ac_cache_corrupted=:
   2235 	else
   2236 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2237 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2238 	  eval $ac_var=\$ac_old_val
   2239 	fi
   2240 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2241 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2242 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2243 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2244       fi;;
   2245   esac
   2246   # Pass precious variables to config.status.
   2247   if test "$ac_new_set" = set; then
   2248     case $ac_new_val in
   2249     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2250     *) ac_arg=$ac_var=$ac_new_val ;;
   2251     esac
   2252     case " $ac_configure_args " in
   2253       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2254       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2255     esac
   2256   fi
   2257 done
   2258 if $ac_cache_corrupted; then
   2259   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2261   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2262 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2263   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2264 fi
   2265 ## -------------------- ##
   2266 ## Main body of script. ##
   2267 ## -------------------- ##
   2268 
   2269 ac_ext=c
   2270 ac_cpp='$CPP $CPPFLAGS'
   2271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2274 
   2275 
   2276 
   2277 
   2278 
   2279 
   2280 
   2281 
   2282 progname=$0
   2283 # if PWD already has a value, it is probably wrong.
   2284 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
   2285 
   2286 # Export original configure arguments for use by sub-configures.
   2287 # Quote arguments with shell meta charatcers.
   2288 TOPLEVEL_CONFIGURE_ARGUMENTS=
   2289 set -- "$progname" "$@"
   2290 for ac_arg
   2291 do
   2292   case "$ac_arg" in
   2293   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
   2294     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
   2295     # if the argument is of the form -foo=baz, quote the baz part only
   2296     ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
   2297   *) ;;
   2298   esac
   2299   # Add the quoted argument to the list.
   2300   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
   2301 done
   2302 if test "$silent" = yes; then
   2303   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
   2304 fi
   2305 # Remove the initial space we just introduced and, as these will be
   2306 # expanded by make, quote '$'.
   2307 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   2308 
   2309 
   2310 # Find the build, host, and target systems.
   2311 ac_aux_dir=
   2312 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2313   if test -f "$ac_dir/install-sh"; then
   2314     ac_aux_dir=$ac_dir
   2315     ac_install_sh="$ac_aux_dir/install-sh -c"
   2316     break
   2317   elif test -f "$ac_dir/install.sh"; then
   2318     ac_aux_dir=$ac_dir
   2319     ac_install_sh="$ac_aux_dir/install.sh -c"
   2320     break
   2321   elif test -f "$ac_dir/shtool"; then
   2322     ac_aux_dir=$ac_dir
   2323     ac_install_sh="$ac_aux_dir/shtool install -c"
   2324     break
   2325   fi
   2326 done
   2327 if test -z "$ac_aux_dir"; then
   2328   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2329 fi
   2330 
   2331 # These three variables are undocumented and unsupported,
   2332 # and are intended to be withdrawn in a future Autoconf release.
   2333 # They can cause serious problems if a builder's source tree is in a directory
   2334 # whose full name contains unusual characters.
   2335 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2336 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2337 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2338 
   2339 
   2340 # Make sure we can run config.sub.
   2341 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2342   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2343 
   2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2345 $as_echo_n "checking build system type... " >&6; }
   2346 if ${ac_cv_build+:} false; then :
   2347   $as_echo_n "(cached) " >&6
   2348 else
   2349   ac_build_alias=$build_alias
   2350 test "x$ac_build_alias" = x &&
   2351   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2352 test "x$ac_build_alias" = x &&
   2353   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2354 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2355   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2356 
   2357 fi
   2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2359 $as_echo "$ac_cv_build" >&6; }
   2360 case $ac_cv_build in
   2361 *-*-*) ;;
   2362 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2363 esac
   2364 build=$ac_cv_build
   2365 ac_save_IFS=$IFS; IFS='-'
   2366 set x $ac_cv_build
   2367 shift
   2368 build_cpu=$1
   2369 build_vendor=$2
   2370 shift; shift
   2371 # Remember, the first character of IFS is used to create $*,
   2372 # except with old shells:
   2373 build_os=$*
   2374 IFS=$ac_save_IFS
   2375 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2376 
   2377 
   2378  case ${build_alias} in
   2379   "") build_noncanonical=${build} ;;
   2380   *) build_noncanonical=${build_alias} ;;
   2381 esac
   2382 
   2383 
   2384 
   2385  case ${host_alias} in
   2386   "") host_noncanonical=${build_noncanonical} ;;
   2387   *) host_noncanonical=${host_alias} ;;
   2388 esac
   2389 
   2390 
   2391 
   2392  case ${target_alias} in
   2393   "") target_noncanonical=${host_noncanonical} ;;
   2394   *) target_noncanonical=${target_alias} ;;
   2395 esac
   2396 
   2397 
   2398 
   2399 
   2400 test "$host_noncanonical" = "$target_noncanonical" &&
   2401   test "$program_prefix$program_suffix$program_transform_name" = \
   2402     NONENONEs,x,x, &&
   2403   program_transform_name=s,y,y,
   2404 
   2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2406 $as_echo_n "checking host system type... " >&6; }
   2407 if ${ac_cv_host+:} false; then :
   2408   $as_echo_n "(cached) " >&6
   2409 else
   2410   if test "x$host_alias" = x; then
   2411   ac_cv_host=$ac_cv_build
   2412 else
   2413   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2414     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2415 fi
   2416 
   2417 fi
   2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2419 $as_echo "$ac_cv_host" >&6; }
   2420 case $ac_cv_host in
   2421 *-*-*) ;;
   2422 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2423 esac
   2424 host=$ac_cv_host
   2425 ac_save_IFS=$IFS; IFS='-'
   2426 set x $ac_cv_host
   2427 shift
   2428 host_cpu=$1
   2429 host_vendor=$2
   2430 shift; shift
   2431 # Remember, the first character of IFS is used to create $*,
   2432 # except with old shells:
   2433 host_os=$*
   2434 IFS=$ac_save_IFS
   2435 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2436 
   2437 
   2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2439 $as_echo_n "checking target system type... " >&6; }
   2440 if ${ac_cv_target+:} false; then :
   2441   $as_echo_n "(cached) " >&6
   2442 else
   2443   if test "x$target_alias" = x; then
   2444   ac_cv_target=$ac_cv_host
   2445 else
   2446   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2447     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2448 fi
   2449 
   2450 fi
   2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2452 $as_echo "$ac_cv_target" >&6; }
   2453 case $ac_cv_target in
   2454 *-*-*) ;;
   2455 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2456 esac
   2457 target=$ac_cv_target
   2458 ac_save_IFS=$IFS; IFS='-'
   2459 set x $ac_cv_target
   2460 shift
   2461 target_cpu=$1
   2462 target_vendor=$2
   2463 shift; shift
   2464 # Remember, the first character of IFS is used to create $*,
   2465 # except with old shells:
   2466 target_os=$*
   2467 IFS=$ac_save_IFS
   2468 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2469 
   2470 
   2471 # The aliases save the names the user supplied, while $host etc.
   2472 # will get canonicalized.
   2473 test -n "$target_alias" &&
   2474   test "$program_prefix$program_suffix$program_transform_name" = \
   2475     NONENONEs,x,x, &&
   2476   program_prefix=${target_alias}-
   2477 
   2478 test "$program_prefix" != NONE &&
   2479   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2480 # Use a double $ so make ignores it.
   2481 test "$program_suffix" != NONE &&
   2482   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2483 # Double any \ or $.
   2484 # By default was `s,x,x', remove it if useless.
   2485 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2486 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2487 
   2488 
   2489 
   2490 # Get 'install' or 'install-sh' and its variants.
   2491 # Find a good install program.  We prefer a C program (faster),
   2492 # so one script is as good as another.  But avoid the broken or
   2493 # incompatible versions:
   2494 # SysV /etc/install, /usr/sbin/install
   2495 # SunOS /usr/etc/install
   2496 # IRIX /sbin/install
   2497 # AIX /bin/install
   2498 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2502 # OS/2's system install, which has a completely different semantic
   2503 # ./install, which can be erroneously created by make from ./install.sh.
   2504 # Reject install programs that cannot install multiple files.
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2506 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2507 if test -z "$INSTALL"; then
   2508 if ${ac_cv_path_install+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 for as_dir in $PATH
   2513 do
   2514   IFS=$as_save_IFS
   2515   test -z "$as_dir" && as_dir=.
   2516     # Account for people who put trailing slashes in PATH elements.
   2517 case $as_dir/ in #((
   2518   ./ | .// | /[cC]/* | \
   2519   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2520   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2521   /usr/ucb/* ) ;;
   2522   *)
   2523     # OSF1 and SCO ODT 3.0 have their own names for install.
   2524     # Don't use installbsd from OSF since it installs stuff as root
   2525     # by default.
   2526     for ac_prog in ginstall scoinst install; do
   2527       for ac_exec_ext in '' $ac_executable_extensions; do
   2528 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2529 	  if test $ac_prog = install &&
   2530 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2531 	    # AIX install.  It has an incompatible calling convention.
   2532 	    :
   2533 	  elif test $ac_prog = install &&
   2534 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2535 	    # program-specific install script used by HP pwplus--don't use.
   2536 	    :
   2537 	  else
   2538 	    rm -rf conftest.one conftest.two conftest.dir
   2539 	    echo one > conftest.one
   2540 	    echo two > conftest.two
   2541 	    mkdir conftest.dir
   2542 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2543 	      test -s conftest.one && test -s conftest.two &&
   2544 	      test -s conftest.dir/conftest.one &&
   2545 	      test -s conftest.dir/conftest.two
   2546 	    then
   2547 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2548 	      break 3
   2549 	    fi
   2550 	  fi
   2551 	fi
   2552       done
   2553     done
   2554     ;;
   2555 esac
   2556 
   2557   done
   2558 IFS=$as_save_IFS
   2559 
   2560 rm -rf conftest.one conftest.two conftest.dir
   2561 
   2562 fi
   2563   if test "${ac_cv_path_install+set}" = set; then
   2564     INSTALL=$ac_cv_path_install
   2565   else
   2566     # As a last resort, use the slow shell script.  Don't cache a
   2567     # value for INSTALL within a source directory, because that will
   2568     # break other packages using the cache if that directory is
   2569     # removed, or if the value is a relative name.
   2570     INSTALL=$ac_install_sh
   2571   fi
   2572 fi
   2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2574 $as_echo "$INSTALL" >&6; }
   2575 
   2576 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2577 # It thinks the first close brace ends the variable substitution.
   2578 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2579 
   2580 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2581 
   2582 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2583 
   2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
   2585 $as_echo_n "checking whether ln works... " >&6; }
   2586 if ${acx_cv_prog_LN+:} false; then :
   2587   $as_echo_n "(cached) " >&6
   2588 else
   2589   rm -f conftestdata_t
   2590 echo >conftestdata_f
   2591 if ln conftestdata_f conftestdata_t 2>/dev/null
   2592 then
   2593   acx_cv_prog_LN=ln
   2594 else
   2595   acx_cv_prog_LN=no
   2596 fi
   2597 rm -f conftestdata_f conftestdata_t
   2598 
   2599 fi
   2600 if test $acx_cv_prog_LN = no; then
   2601   LN="cp"
   2602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
   2603 $as_echo "no, using $LN" >&6; }
   2604 else
   2605   LN="$acx_cv_prog_LN"
   2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2607 $as_echo "yes" >&6; }
   2608 fi
   2609 
   2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   2611 $as_echo_n "checking whether ln -s works... " >&6; }
   2612 LN_S=$as_ln_s
   2613 if test "$LN_S" = "ln -s"; then
   2614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2615 $as_echo "yes" >&6; }
   2616 else
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   2618 $as_echo "no, using $LN_S" >&6; }
   2619 fi
   2620 
   2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   2622 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   2623 if ${ac_cv_path_SED+:} false; then :
   2624   $as_echo_n "(cached) " >&6
   2625 else
   2626             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   2627      for ac_i in 1 2 3 4 5 6 7; do
   2628        ac_script="$ac_script$as_nl$ac_script"
   2629      done
   2630      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   2631      { ac_script=; unset ac_script;}
   2632      if test -z "$SED"; then
   2633   ac_path_SED_found=false
   2634   # Loop through the user's path and test for each of PROGNAME-LIST
   2635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2636 for as_dir in $PATH
   2637 do
   2638   IFS=$as_save_IFS
   2639   test -z "$as_dir" && as_dir=.
   2640     for ac_prog in sed gsed; do
   2641     for ac_exec_ext in '' $ac_executable_extensions; do
   2642       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   2643       as_fn_executable_p "$ac_path_SED" || continue
   2644 # Check for GNU ac_path_SED and select it if it is found.
   2645   # Check for GNU $ac_path_SED
   2646 case `"$ac_path_SED" --version 2>&1` in
   2647 *GNU*)
   2648   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   2649 *)
   2650   ac_count=0
   2651   $as_echo_n 0123456789 >"conftest.in"
   2652   while :
   2653   do
   2654     cat "conftest.in" "conftest.in" >"conftest.tmp"
   2655     mv "conftest.tmp" "conftest.in"
   2656     cp "conftest.in" "conftest.nl"
   2657     $as_echo '' >> "conftest.nl"
   2658     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   2659     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   2660     as_fn_arith $ac_count + 1 && ac_count=$as_val
   2661     if test $ac_count -gt ${ac_path_SED_max-0}; then
   2662       # Best one so far, save it but keep looking for a better one
   2663       ac_cv_path_SED="$ac_path_SED"
   2664       ac_path_SED_max=$ac_count
   2665     fi
   2666     # 10*(2^10) chars as input seems more than enough
   2667     test $ac_count -gt 10 && break
   2668   done
   2669   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   2670 esac
   2671 
   2672       $ac_path_SED_found && break 3
   2673     done
   2674   done
   2675   done
   2676 IFS=$as_save_IFS
   2677   if test -z "$ac_cv_path_SED"; then
   2678     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   2679   fi
   2680 else
   2681   ac_cv_path_SED=$SED
   2682 fi
   2683 
   2684 fi
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   2686 $as_echo "$ac_cv_path_SED" >&6; }
   2687  SED="$ac_cv_path_SED"
   2688   rm -f conftest.sed
   2689 
   2690 for ac_prog in gawk mawk nawk awk
   2691 do
   2692   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2693 set dummy $ac_prog; ac_word=$2
   2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2695 $as_echo_n "checking for $ac_word... " >&6; }
   2696 if ${ac_cv_prog_AWK+:} false; then :
   2697   $as_echo_n "(cached) " >&6
   2698 else
   2699   if test -n "$AWK"; then
   2700   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2701 else
   2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2703 for as_dir in $PATH
   2704 do
   2705   IFS=$as_save_IFS
   2706   test -z "$as_dir" && as_dir=.
   2707     for ac_exec_ext in '' $ac_executable_extensions; do
   2708   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2709     ac_cv_prog_AWK="$ac_prog"
   2710     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2711     break 2
   2712   fi
   2713 done
   2714   done
   2715 IFS=$as_save_IFS
   2716 
   2717 fi
   2718 fi
   2719 AWK=$ac_cv_prog_AWK
   2720 if test -n "$AWK"; then
   2721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2722 $as_echo "$AWK" >&6; }
   2723 else
   2724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2725 $as_echo "no" >&6; }
   2726 fi
   2727 
   2728 
   2729   test -n "$AWK" && break
   2730 done
   2731 
   2732 
   2733 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
   2734 
   2735 # We pass INSTALL explicitly to sub-makes.  Make sure that it is not
   2736 # a relative path.
   2737 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
   2738   INSTALL="${srcpwd}/install-sh -c"
   2739 fi
   2740 
   2741 # Set srcdir to "." if that's what it is.
   2742 # This is important for multilib support.
   2743 pwd=`${PWDCMD-pwd}`
   2744 if test "${pwd}" = "${srcpwd}" ; then
   2745   srcdir=.
   2746 fi
   2747 
   2748 topsrcdir=$srcpwd
   2749 
   2750 extra_host_args=
   2751 
   2752 ### To add a new directory to the tree, first choose whether it is a target
   2753 ### or a host dependent tool.  Then put it into the appropriate list
   2754 ### (library or tools, host or target), doing a dependency sort.
   2755 
   2756 # Subdirs will be configured in the order listed in build_configdirs,
   2757 # configdirs, or target_configdirs; see the serialization section below.
   2758 
   2759 # Dependency sorting is only needed when *configuration* must be done in
   2760 # a particular order.  In all cases a dependency should be specified in
   2761 # the Makefile, whether or not it's implicitly specified here.
   2762 
   2763 # Double entries in build_configdirs, configdirs, or target_configdirs may
   2764 # cause circular dependencies and break everything horribly.
   2765 
   2766 # these library is used by various programs built for the build
   2767 # environment
   2768 #
   2769 build_libs="build-libiberty build-libcpp"
   2770 
   2771 # these tools are built for the build environment
   2772 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
   2773 
   2774 # these libraries are used by various programs built for the host environment
   2775 #f
   2776 host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
   2777 
   2778 # these tools are built for the host environment
   2779 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
   2780 # know that we are building the simulator.
   2781 # binutils, gas and ld appear in that order because it makes sense to run
   2782 # "make check" in that particular order.
   2783 # If --enable-gold is used, "gold" may replace "ld".
   2784 host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
   2785 
   2786 # these libraries are built for the target environment, and are built after
   2787 # the host libraries and the host tools (which may be a cross compiler)
   2788 # Note that libiberty is not a target library.
   2789 target_libraries="target-libgcc \
   2790 		target-libbacktrace \
   2791 		target-libgloss \
   2792 		target-newlib \
   2793 		target-libgomp \
   2794 		target-liboffloadmic \
   2795 		target-libhsail-rt \
   2796 		target-libatomic \
   2797 		target-libitm \
   2798 		target-libstdc++-v3 \
   2799 		target-libsanitizer \
   2800 		target-libvtv \
   2801 		target-libssp \
   2802 		target-libquadmath \
   2803 		target-libgfortran \
   2804 		target-libffi \
   2805 		target-libobjc \
   2806 		target-libada \
   2807 		target-libgo"
   2808 
   2809 # these tools are built using the target libraries, and are intended to
   2810 # run only in the target environment
   2811 #
   2812 # note: any program that *uses* libraries that are in the "target_libraries"
   2813 # list belongs in this list.
   2814 #
   2815 target_tools="target-rda"
   2816 
   2817 ################################################################################
   2818 
   2819 ## All tools belong in one of the four categories, and are assigned above
   2820 ## We assign ${configdirs} this way to remove all embedded newlines.  This
   2821 ## is important because configure will choke if they ever get through.
   2822 ## ${configdirs} is directories we build using the host tools.
   2823 ## ${target_configdirs} is directories we build using the target tools.
   2824 configdirs=`echo ${host_libs} ${host_tools}`
   2825 target_configdirs=`echo ${target_libraries} ${target_tools}`
   2826 build_configdirs=`echo ${build_libs} ${build_tools}`
   2827 
   2828 
   2829 
   2830 ################################################################################
   2831 
   2832 srcname="gnu development package"
   2833 
   2834 # This gets set non-empty for some net releases of packages.
   2835 appdirs=""
   2836 
   2837 # Define is_cross_compiler to save on calls to 'test'.
   2838 is_cross_compiler=
   2839 if test x"${host}" = x"${target}" ; then
   2840   is_cross_compiler=no
   2841 else
   2842   is_cross_compiler=yes
   2843 fi
   2844 
   2845 # Find the build and target subdir names.
   2846 
   2847 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
   2848 # have matching libraries, they should use host libraries: Makefile.tpl
   2849 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
   2850 # However, they still use the build modules, because the corresponding
   2851 # host modules (e.g. bison) are only built for the host when bootstrap
   2852 # finishes. So:
   2853 # - build_subdir is where we find build modules, and never changes.
   2854 # - build_libsubdir is where we find build libraries, and can be overridden.
   2855 
   2856 # Prefix 'build-' so this never conflicts with target_subdir.
   2857 build_subdir="build-${build_noncanonical}"
   2858 
   2859 # Check whether --with-build-libsubdir was given.
   2860 if test "${with_build_libsubdir+set}" = set; then :
   2861   withval=$with_build_libsubdir; build_libsubdir="$withval"
   2862 else
   2863   build_libsubdir="$build_subdir"
   2864 fi
   2865 
   2866 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
   2867 if ( test $srcdir = . && test -d gcc ) \
   2868    || test -d $srcdir/../host-${host_noncanonical}; then
   2869   host_subdir="host-${host_noncanonical}"
   2870 else
   2871   host_subdir=.
   2872 fi
   2873 # No prefix.
   2874 target_subdir=${target_noncanonical}
   2875 
   2876 # Be sure to cover against remnants of an in-tree build.
   2877 if test $srcdir != .  && test -d $srcdir/host-${host_noncanonical}; then
   2878   as_fn_error $? "building out of tree but $srcdir contains host-${host_noncanonical}.
   2879 Use a pristine source tree when building in a separate tree" "$LINENO" 5
   2880 fi
   2881 
   2882 # Skipdirs are removed silently.
   2883 skipdirs=
   2884 # Noconfigdirs are removed loudly.
   2885 noconfigdirs=""
   2886 
   2887 use_gnu_ld=
   2888 # Make sure we don't let GNU ld be added if we didn't want it.
   2889 if test x$with_gnu_ld = xno ; then
   2890   use_gnu_ld=no
   2891   noconfigdirs="$noconfigdirs ld gold"
   2892 fi
   2893 
   2894 use_gnu_as=
   2895 # Make sure we don't let GNU as be added if we didn't want it.
   2896 if test x$with_gnu_as = xno ; then
   2897   use_gnu_as=no
   2898   noconfigdirs="$noconfigdirs gas"
   2899 fi
   2900 
   2901 use_included_zlib=
   2902 
   2903 # Check whether --with-system-zlib was given.
   2904 if test "${with_system_zlib+set}" = set; then :
   2905   withval=$with_system_zlib;
   2906 fi
   2907 
   2908 # Make sure we don't let ZLIB be added if we didn't want it.
   2909 if test x$with_system_zlib = xyes ; then
   2910   use_included_zlib=no
   2911   noconfigdirs="$noconfigdirs zlib"
   2912 fi
   2913 
   2914 # Don't compile the bundled readline/libreadline.a if --with-system-readline
   2915 # is provided.
   2916 if test x$with_system_readline = xyes ; then
   2917   noconfigdirs="$noconfigdirs readline"
   2918 fi
   2919 
   2920 # some tools are so dependent upon X11 that if we're not building with X,
   2921 # it's not even worth trying to configure, much less build, that tool.
   2922 
   2923 case ${with_x} in
   2924   yes | "") ;; # the default value for this tree is that X11 is available
   2925   no)
   2926     skipdirs="${skipdirs} tk itcl libgui"
   2927     # We won't be able to build gdbtk without X.
   2928     enable_gdbtk=no
   2929     ;;
   2930   *)  echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
   2931 esac
   2932 
   2933 # Some are only suitable for cross toolchains.
   2934 # Remove these if host=target.
   2935 cross_only="target-libgloss target-newlib target-opcodes"
   2936 
   2937 case $is_cross_compiler in
   2938   no) skipdirs="${skipdirs} ${cross_only}" ;;
   2939 esac
   2940 
   2941 # If both --with-headers and --with-libs are specified, default to
   2942 # --without-newlib.
   2943 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
   2944    && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   2945   if test x"${with_newlib}" = x ; then
   2946     with_newlib=no
   2947   fi
   2948 fi
   2949 
   2950 # Recognize --with-newlib/--without-newlib.
   2951 case ${with_newlib} in
   2952   no) skipdirs="${skipdirs} target-newlib" ;;
   2953   yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
   2954 esac
   2955 
   2956 # Check whether --enable-as-accelerator-for was given.
   2957 if test "${enable_as_accelerator_for+set}" = set; then :
   2958   enableval=$enable_as_accelerator_for;
   2959 fi
   2960 
   2961 
   2962 # Check whether --enable-offload-targets was given.
   2963 if test "${enable_offload_targets+set}" = set; then :
   2964   enableval=$enable_offload_targets;
   2965   if test x"$enable_offload_targets" = x; then
   2966     as_fn_error $? "no offload targets specified" "$LINENO" 5
   2967   fi
   2968 
   2969 else
   2970   enable_offload_targets=
   2971 fi
   2972 
   2973 
   2974 # Handle --enable-gold, --enable-ld.
   2975 # --disable-gold [--enable-ld]
   2976 #     Build only ld.  Default option.
   2977 # --enable-gold [--enable-ld]
   2978 #     Build both gold and ld.  Install gold as "ld.gold", install ld
   2979 #     as "ld.bfd" and "ld".
   2980 # --enable-gold=default [--enable-ld]
   2981 #     Build both gold and ld.  Install gold as "ld.gold" and "ld",
   2982 #     install ld as "ld.bfd".
   2983 # --enable-gold[=default] --disable-ld
   2984 #     Build only gold, which is then installed as both "ld.gold" and "ld".
   2985 # --enable-gold --enable-ld=default
   2986 #     Build both gold (installed as "ld.gold") and ld (installed as "ld"
   2987 #     and ld.bfd).
   2988 #     In other words, ld is default
   2989 # --enable-gold=default --enable-ld=default
   2990 #     Error.
   2991 
   2992 default_ld=
   2993 # Check whether --enable-gold was given.
   2994 if test "${enable_gold+set}" = set; then :
   2995   enableval=$enable_gold; ENABLE_GOLD=$enableval
   2996 else
   2997   ENABLE_GOLD=no
   2998 fi
   2999 
   3000 case "${ENABLE_GOLD}" in
   3001   yes|default)
   3002     # Check for ELF target.
   3003     is_elf=no
   3004     case "${target}" in
   3005       *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
   3006       | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
   3007       | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
   3008       | *-*-solaris2* | *-*-nto* | *-*-nacl*)
   3009         case "${target}" in
   3010           *-*-linux*aout* | *-*-linux*oldld*)
   3011             ;;
   3012           *)
   3013             is_elf=yes
   3014             ;;
   3015         esac
   3016     esac
   3017 
   3018     if test "$is_elf" = "yes"; then
   3019       # Check for target supported by gold.
   3020       case "${target}" in
   3021         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
   3022         | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*)
   3023 	  configdirs="$configdirs gold"
   3024 	  if test x${ENABLE_GOLD} = xdefault; then
   3025 	    default_ld=gold
   3026 	  fi
   3027 	  ENABLE_GOLD=yes
   3028           ;;
   3029       esac
   3030     fi
   3031     ;;
   3032   no)
   3033     ;;
   3034   *)
   3035     as_fn_error $? "invalid --enable-gold argument" "$LINENO" 5
   3036     ;;
   3037 esac
   3038 
   3039 # Check whether --enable-ld was given.
   3040 if test "${enable_ld+set}" = set; then :
   3041   enableval=$enable_ld; ENABLE_LD=$enableval
   3042 else
   3043   ENABLE_LD=yes
   3044 fi
   3045 
   3046 
   3047 case "${ENABLE_LD}" in
   3048   default)
   3049     if test x${default_ld} != x; then
   3050       as_fn_error $? "either gold or ld can be the default ld" "$LINENO" 5
   3051     fi
   3052     ;;
   3053   yes)
   3054     ;;
   3055   no)
   3056     if test x${ENABLE_GOLD} != xyes; then
   3057       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
   3058 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
   3059     fi
   3060     configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
   3061     ;;
   3062   *)
   3063     as_fn_error $? "invalid --enable-ld argument" "$LINENO" 5
   3064     ;;
   3065 esac
   3066 
   3067 # PR gas/19109
   3068 # Decide the default method for compressing debug sections.
   3069 # Provide a configure time option to override our default.
   3070 # Check whether --enable-compressed_debug_sections was given.
   3071 if test "${enable_compressed_debug_sections+set}" = set; then :
   3072   enableval=$enable_compressed_debug_sections;
   3073   if test x"$enable_compressed_debug_sections" = xyes; then
   3074     as_fn_error $? "no program with compressed debug sections specified" "$LINENO" 5
   3075   fi
   3076 
   3077 else
   3078   enable_compressed_debug_sections=
   3079 fi
   3080 
   3081 
   3082 # Configure extra directories which are host specific
   3083 
   3084 case "${host}" in
   3085   *-cygwin*)
   3086     configdirs="$configdirs libtermcap" ;;
   3087 esac
   3088 
   3089 # A target can indicate whether a language isn't supported for some reason.
   3090 # Only spaces may be used in this macro; not newlines or tabs.
   3091 unsupported_languages=
   3092 
   3093 # Remove more programs from consideration, based on the host or
   3094 # target this usually means that a port of the program doesn't
   3095 # exist yet.
   3096 
   3097 case "${host}" in
   3098   i[3456789]86-*-msdosdjgpp*)
   3099     noconfigdirs="$noconfigdirs tcl tk itcl"
   3100     ;;
   3101 esac
   3102 
   3103 
   3104 # Check whether --enable-libquadmath was given.
   3105 if test "${enable_libquadmath+set}" = set; then :
   3106   enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
   3107 else
   3108   ENABLE_LIBQUADMATH=yes
   3109 fi
   3110 
   3111 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
   3112   noconfigdirs="$noconfigdirs target-libquadmath"
   3113 fi
   3114 
   3115 
   3116 # Check whether --enable-libquadmath-support was given.
   3117 if test "${enable_libquadmath_support+set}" = set; then :
   3118   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
   3119 else
   3120   ENABLE_LIBQUADMATH_SUPPORT=yes
   3121 fi
   3122 
   3123 enable_libquadmath_support=
   3124 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
   3125   enable_libquadmath_support=no
   3126 fi
   3127 
   3128 
   3129 # Check whether --enable-libada was given.
   3130 if test "${enable_libada+set}" = set; then :
   3131   enableval=$enable_libada; ENABLE_LIBADA=$enableval
   3132 else
   3133   ENABLE_LIBADA=yes
   3134 fi
   3135 
   3136 if test "${ENABLE_LIBADA}" != "yes" ; then
   3137   noconfigdirs="$noconfigdirs gnattools"
   3138 fi
   3139 
   3140 # Check whether --enable-libssp was given.
   3141 if test "${enable_libssp+set}" = set; then :
   3142   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
   3143 else
   3144   ENABLE_LIBSSP=yes
   3145 fi
   3146 
   3147 
   3148 # Check whether --enable-libstdcxx was given.
   3149 if test "${enable_libstdcxx+set}" = set; then :
   3150   enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
   3151 else
   3152   ENABLE_LIBSTDCXX=default
   3153 fi
   3154 
   3155 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
   3156   noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3157 fi
   3158 
   3159 # If this is accelerator compiler and its target is intelmic we enable
   3160 # target liboffloadmic by default.  If this is compiler with offloading
   3161 # for intelmic we enable host liboffloadmic by default.  Otherwise
   3162 # liboffloadmic is disabled by default.
   3163 # Check whether --enable-liboffloadmic was given.
   3164 if test "${enable_liboffloadmic+set}" = set; then :
   3165   enableval=$enable_liboffloadmic; case "$enableval" in
   3166   no | host | target)
   3167     enable_liboffloadmic=$enableval ;;
   3168   *)
   3169     as_fn_error $? "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
   3170 esac
   3171 else
   3172   if test x"$enable_as_accelerator_for" != x; then
   3173   case "${target}" in
   3174     *-intelmic-* | *-intelmicemul-*)
   3175       enable_liboffloadmic=target
   3176       extra_liboffloadmic_configure_flags="--enable-liboffloadmic=target"
   3177       ;;
   3178     *)
   3179       enable_liboffloadmic=no
   3180       ;;
   3181   esac
   3182 else
   3183   case "${enable_offload_targets}" in
   3184     *-intelmic-* | *-intelmicemul-*)
   3185       enable_liboffloadmic=host
   3186       extra_liboffloadmic_configure_flags="--enable-liboffloadmic=host"
   3187       ;;
   3188     *)
   3189       enable_liboffloadmic=no
   3190       ;;
   3191     esac
   3192 fi
   3193 fi
   3194 
   3195 
   3196 
   3197 # Enable libgomp by default on hosted POSIX systems, and a few others.
   3198 if test x$enable_libgomp = x ; then
   3199     case "${target}" in
   3200     *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3201 	;;
   3202     *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
   3203 	;;
   3204     *-*-solaris2* | *-*-hpux11*)
   3205 	;;
   3206     *-*-darwin* | *-*-aix*)
   3207 	;;
   3208     nvptx*-*-*)
   3209 	;;
   3210     *)
   3211 	noconfigdirs="$noconfigdirs target-libgomp"
   3212 	;;
   3213     esac
   3214 fi
   3215 
   3216 # Disable libatomic on unsupported systems.
   3217 if test -d ${srcdir}/libatomic; then
   3218     if test x$enable_libatomic = x; then
   3219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
   3220 $as_echo_n "checking for libatomic support... " >&6; }
   3221 	if (srcdir=${srcdir}/libatomic; \
   3222 		. ${srcdir}/configure.tgt; \
   3223 		test -n "$UNSUPPORTED")
   3224 	then
   3225 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3226 $as_echo "no" >&6; }
   3227 	    noconfigdirs="$noconfigdirs target-libatomic"
   3228 	else
   3229 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3230 $as_echo "yes" >&6; }
   3231 	fi
   3232     fi
   3233 fi
   3234 
   3235 # Disable liboffloadmic on unsupported systems.
   3236 if test -d ${srcdir}/liboffloadmic; then
   3237     if test x$enable_liboffloadmic != xno; then
   3238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
   3239 $as_echo_n "checking for liboffloadmic support... " >&6; }
   3240 	if (srcdir=${srcdir}/liboffloadmic; \
   3241 		. ${srcdir}/configure.tgt; \
   3242 		test -n "$UNSUPPORTED")
   3243 	then
   3244 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3245 $as_echo "no" >&6; }
   3246 	    noconfigdirs="$noconfigdirs target-liboffloadmic"
   3247 	else
   3248 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3249 $as_echo "yes" >&6; }
   3250 	fi
   3251     fi
   3252 fi
   3253 
   3254 # Disable libitm on unsupported systems.
   3255 if test -d ${srcdir}/libitm; then
   3256     if test x$enable_libitm = x; then
   3257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
   3258 $as_echo_n "checking for libitm support... " >&6; }
   3259 	if (srcdir=${srcdir}/libitm; \
   3260 		. ${srcdir}/configure.tgt; \
   3261 		test -n "$UNSUPPORTED")
   3262 	then
   3263 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3264 $as_echo "no" >&6; }
   3265 	    noconfigdirs="$noconfigdirs target-libitm"
   3266 	else
   3267 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3268 $as_echo "yes" >&6; }
   3269 	fi
   3270     fi
   3271 fi
   3272 
   3273 # Disable libsanitizer on unsupported systems.
   3274 if test -d ${srcdir}/libsanitizer; then
   3275     if test x$enable_libsanitizer = x; then
   3276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
   3277 $as_echo_n "checking for libsanitizer support... " >&6; }
   3278 	if (srcdir=${srcdir}/libsanitizer; \
   3279 		. ${srcdir}/configure.tgt; \
   3280 		test -n "$UNSUPPORTED")
   3281 	then
   3282 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3283 $as_echo "no" >&6; }
   3284 	    noconfigdirs="$noconfigdirs target-libsanitizer"
   3285 	else
   3286 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3287 $as_echo "yes" >&6; }
   3288 	fi
   3289     fi
   3290 fi
   3291 
   3292 # Disable libvtv on unsupported systems.
   3293 if test -d ${srcdir}/libvtv; then
   3294     if test x$enable_libvtv = x; then
   3295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
   3296 $as_echo_n "checking for libvtv support... " >&6; }
   3297 	if (srcdir=${srcdir}/libvtv; \
   3298 		. ${srcdir}/configure.tgt; \
   3299 		test "$VTV_SUPPORTED" != "yes")
   3300 	then
   3301 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3302 $as_echo "no" >&6; }
   3303 	    noconfigdirs="$noconfigdirs target-libvtv"
   3304 	else
   3305 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3306 $as_echo "yes" >&6; }
   3307 	fi
   3308     fi
   3309 fi
   3310 
   3311 
   3312 # Disable libhsail-rt on unsupported systems.
   3313 if test -d ${srcdir}/libhsail-rt; then
   3314     if test x$enable_libhsail_rt = x; then
   3315         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
   3316 $as_echo_n "checking for libhsail-rt support... " >&6; }
   3317         if (srcdir=${srcdir}/libhsail-rt; \
   3318                 . ${srcdir}/configure.tgt; \
   3319                 test -n "$UNSUPPORTED")
   3320         then
   3321             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3322 $as_echo "no" >&6; }
   3323             unsupported_languages="$unsupported_languages brig"
   3324             # This implicitly disables also target-libhsail-rt as it won't
   3325             # get added to the build without BRIG FE.
   3326         else
   3327             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3328 $as_echo "yes" >&6; }
   3329         fi
   3330     fi
   3331 fi
   3332 
   3333 
   3334 # Disable libquadmath for some systems.
   3335 case "${target}" in
   3336   avr-*-*)
   3337     noconfigdirs="$noconfigdirs target-libquadmath"
   3338     ;;
   3339   # libquadmath is unused on AIX and libquadmath build process use of
   3340   # LD_LIBRARY_PATH can break AIX bootstrap.
   3341   powerpc-*-aix* | rs6000-*-aix*)
   3342     noconfigdirs="$noconfigdirs target-libquadmath"
   3343     ;;
   3344 esac
   3345 
   3346 # Disable libssp for some systems.
   3347 case "${target}" in
   3348   avr-*-*)
   3349     # No hosted I/O support.
   3350     noconfigdirs="$noconfigdirs target-libssp"
   3351     ;;
   3352   powerpc-*-aix* | rs6000-*-aix*)
   3353     noconfigdirs="$noconfigdirs target-libssp"
   3354     ;;
   3355   rl78-*-*)
   3356     # libssp uses a misaligned load to trigger a fault, but the RL78
   3357     # doesn't fault for those - instead, it gives a build-time error
   3358     # for explicit misaligned loads.
   3359     noconfigdirs="$noconfigdirs target-libssp"
   3360     ;;
   3361   visium-*-*)
   3362     # No hosted I/O support.
   3363     noconfigdirs="$noconfigdirs target-libssp"
   3364     ;;
   3365 esac
   3366 
   3367 # Disable libstdc++-v3 for some systems.
   3368 # Allow user to override this if they pass --enable-libstdc++-v3
   3369 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
   3370   case "${target}" in
   3371     *-*-vxworks*)
   3372       # VxWorks uses the Dinkumware C++ library.
   3373       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3374       ;;
   3375     arm*-wince-pe*)
   3376       # the C++ libraries don't build on top of CE's C libraries
   3377       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3378       ;;
   3379     avr-*-*)
   3380       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3381       ;;
   3382     ft32-*-*)
   3383       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3384       ;;
   3385   esac
   3386 fi
   3387 
   3388 # Disable Fortran for some systems.
   3389 case "${target}" in
   3390   mmix-*-*)
   3391     # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
   3392     unsupported_languages="$unsupported_languages fortran"
   3393     ;;
   3394 esac
   3395 
   3396 # Disable libffi for some systems.
   3397 case "${target}" in
   3398   powerpc-*-darwin*)
   3399     ;;
   3400   i[3456789]86-*-darwin*)
   3401     ;;
   3402   x86_64-*-darwin[912]*)
   3403     ;;
   3404   *-*-darwin*)
   3405     noconfigdirs="$noconfigdirs target-libffi"
   3406     ;;
   3407   *-*-netware*)
   3408     noconfigdirs="$noconfigdirs target-libffi"
   3409     ;;
   3410   *-*-phoenix*)
   3411     noconfigdirs="$noconfigdirs target-libffi"
   3412     ;;
   3413   *-*-rtems*)
   3414     noconfigdirs="$noconfigdirs target-libffi"
   3415     ;;
   3416   *-*-tpf*)
   3417     noconfigdirs="$noconfigdirs target-libffi"
   3418     ;;
   3419   *-*-uclinux*)
   3420     noconfigdirs="$noconfigdirs target-libffi"
   3421     ;;
   3422   *-*-vxworks*)
   3423     noconfigdirs="$noconfigdirs target-libffi"
   3424     ;;
   3425   aarch64*-*-freebsd*)
   3426     noconfigdirs="$noconfigdirs target-libffi"
   3427     ;;
   3428   alpha*-*-*vms*)
   3429     noconfigdirs="$noconfigdirs target-libffi"
   3430     ;;
   3431   arm*-*-freebsd*)
   3432     noconfigdirs="$noconfigdirs target-libffi"
   3433     ;;
   3434   arm-wince-pe)
   3435     noconfigdirs="$noconfigdirs target-libffi"
   3436     ;;
   3437   arm*-*-symbianelf*)
   3438     noconfigdirs="$noconfigdirs target-libffi"
   3439     ;;
   3440   cris-*-* | crisv32-*-*)
   3441     case "${target}" in
   3442       *-*-linux*)
   3443 	;;
   3444       *) # See PR46792 regarding target-libffi.
   3445 	noconfigdirs="$noconfigdirs target-libffi";;
   3446     esac
   3447     ;;
   3448   hppa*64*-*-hpux*)
   3449     noconfigdirs="$noconfigdirs target-libffi"
   3450     ;;
   3451   hppa*-hp-hpux11*)
   3452     ;;
   3453   hppa*-*-hpux*)
   3454     noconfigdirs="$noconfigdirs target-libffi"
   3455     ;;
   3456   ia64*-*-*vms*)
   3457     noconfigdirs="$noconfigdirs target-libffi"
   3458     ;;
   3459   i[3456789]86-w64-mingw*)
   3460     noconfigdirs="$noconfigdirs target-libffi"
   3461     ;;
   3462   i[3456789]86-*-mingw*)
   3463     noconfigdirs="$noconfigdirs target-libffi"
   3464     ;;
   3465   x86_64-*-mingw*)
   3466     noconfigdirs="$noconfigdirs target-libffi"
   3467     ;;
   3468   mmix-*-*)
   3469     noconfigdirs="$noconfigdirs target-libffi"
   3470     ;;
   3471   powerpc-*-aix*)
   3472     ;;
   3473   rs6000-*-aix*)
   3474     ;;
   3475   ft32-*-*)
   3476     noconfigdirs="$noconfigdirs target-libffi"
   3477     ;;
   3478   *-*-lynxos*)
   3479     noconfigdirs="$noconfigdirs target-libffi"
   3480     ;;
   3481 esac
   3482 
   3483 # Disable the go frontend on systems where it is known to not work. Please keep
   3484 # this in sync with contrib/config-list.mk.
   3485 case "${target}" in
   3486 *-*-darwin* | *-*-cygwin* | *-*-mingw*)
   3487     unsupported_languages="$unsupported_languages go"
   3488     ;;
   3489 esac
   3490 
   3491 # Only allow gdbserver on some systems.
   3492 if test -d ${srcdir}/gdbserver; then
   3493     if test x$enable_gdbserver = x; then
   3494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
   3495 $as_echo_n "checking for gdbserver support... " >&6; }
   3496 	if (srcdir=${srcdir}/gdbserver; \
   3497 		. ${srcdir}/configure.srv; \
   3498 		test -n "$UNSUPPORTED")
   3499 	then
   3500 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3501 $as_echo "no" >&6; }
   3502 	    noconfigdirs="$noconfigdirs gdbserver"
   3503 	else
   3504 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3505 $as_echo "yes" >&6; }
   3506 	fi
   3507     fi
   3508 fi
   3509 
   3510 # Disable libgo for some systems where it is known to not work.
   3511 # For testing, you can easily override this with --enable-libgo.
   3512 if test x$enable_libgo = x; then
   3513     case "${target}" in
   3514     *-*-darwin*)
   3515 	# PR 46986
   3516 	noconfigdirs="$noconfigdirs target-libgo"
   3517 	;;
   3518     *-*-cygwin* | *-*-mingw*)
   3519 	noconfigdirs="$noconfigdirs target-libgo"
   3520 	;;
   3521     esac
   3522 fi
   3523 
   3524 # Default libgloss CPU subdirectory.
   3525 libgloss_dir="$target_cpu"
   3526 
   3527 case "${target}" in
   3528   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3529     libgloss_dir=wince
   3530     ;;
   3531   aarch64*-*-* )
   3532     libgloss_dir=aarch64
   3533     ;;
   3534   arm*-*-*)
   3535     libgloss_dir=arm
   3536     ;;
   3537   cris-*-* | crisv32-*-*)
   3538     libgloss_dir=cris
   3539     ;;
   3540   hppa*-*-*)
   3541     libgloss_dir=pa
   3542     ;;
   3543   i[3456789]86-*-*)
   3544     libgloss_dir=i386
   3545     ;;
   3546   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
   3547     libgloss_dir=m68hc11
   3548     ;;
   3549   m68*-*-* | fido-*-*)
   3550     libgloss_dir=m68k
   3551     ;;
   3552   mips*-*-*)
   3553     libgloss_dir=mips
   3554     ;;
   3555   powerpc*-*-*)
   3556     libgloss_dir=rs6000
   3557     ;;
   3558   sparc*-*-*)
   3559     libgloss_dir=sparc
   3560     ;;
   3561 esac
   3562 
   3563 # Disable newlib and libgloss for various target OSes.
   3564 case "${target}" in
   3565   alpha*-dec-osf*)
   3566     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3567     ;;
   3568   i[3456789]86-*-linux*)
   3569     # This section makes it possible to build newlib natively on linux.
   3570     # If we are using a cross compiler then don't configure newlib.
   3571     if test x${is_cross_compiler} != xno ; then
   3572       noconfigdirs="$noconfigdirs target-newlib"
   3573     fi
   3574     noconfigdirs="$noconfigdirs target-libgloss"
   3575     # If we are not using a cross compiler, do configure newlib.
   3576     # Note however, that newlib will only be configured in this situation
   3577     # if the --with-newlib option has been given, because otherwise
   3578     # 'target-newlib' will appear in skipdirs.
   3579     ;;
   3580   i[3456789]86-*-rdos*)
   3581     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3582     ;;
   3583   sh*-*-pe|mips*-*-pe|arm-wince-pe)
   3584     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3585     ;;
   3586   sparc-*-sunos4*)
   3587     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3588     ;;
   3589   *-*-aix*)
   3590     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3591     ;;
   3592   *-*-beos*)
   3593     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3594     ;;
   3595   *-*-chorusos)
   3596     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3597     ;;
   3598   *-*-dragonfly*)
   3599     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3600     ;;
   3601   *-*-freebsd*)
   3602     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3603     ;;
   3604   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3605     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3606     ;;
   3607   *-*-lynxos*)
   3608     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3609     ;;
   3610   *-*-mingw*)
   3611     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3612     ;;
   3613   *-*-netbsd*)
   3614     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3615     ;;
   3616   *-*-netware*)
   3617     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3618     ;;
   3619   *-*-tpf*)
   3620     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3621     ;;
   3622   *-*-uclinux*)
   3623     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3624     ;;
   3625   *-*-vxworks*)
   3626     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3627     ;;
   3628 esac
   3629 
   3630 case "${target}" in
   3631   *-*-chorusos)
   3632     ;;
   3633   aarch64-*-darwin*)
   3634     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3635     noconfigdirs="$noconfigdirs sim target-rda"
   3636     ;;
   3637   arm-*-darwin*)
   3638     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3639     noconfigdirs="$noconfigdirs sim target-rda"
   3640     ;;
   3641   powerpc-*-darwin*)
   3642     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3643     noconfigdirs="$noconfigdirs sim target-rda"
   3644     ;;
   3645   i[3456789]86-*-darwin*)
   3646     noconfigdirs="$noconfigdirs ld gprof"
   3647     noconfigdirs="$noconfigdirs sim target-rda"
   3648     ;;
   3649   x86_64-*-darwin[912]*)
   3650     noconfigdirs="$noconfigdirs ld gas gprof"
   3651     noconfigdirs="$noconfigdirs sim target-rda"
   3652     ;;
   3653   *-*-darwin*)
   3654     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3655     noconfigdirs="$noconfigdirs sim target-rda"
   3656     ;;
   3657   *-*-dragonfly*)
   3658     ;;
   3659   *-*-freebsd*)
   3660     if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
   3661 	&& test -f /usr/local/include/gmp.h; then
   3662       with_gmp=/usr/local
   3663     fi
   3664     ;;
   3665   *-*-kaos*)
   3666     # Remove unsupported stuff on all kaOS configurations.
   3667     noconfigdirs="$noconfigdirs target-libgloss"
   3668     ;;
   3669   *-*-netbsd*)
   3670     ;;
   3671   *-*-netware*)
   3672     ;;
   3673   *-*-phoenix*)
   3674     noconfigdirs="$noconfigdirs target-libgloss"
   3675     ;;
   3676   *-*-rtems*)
   3677     noconfigdirs="$noconfigdirs target-libgloss"
   3678     ;;
   3679     # The tpf target doesn't support gdb yet.
   3680   *-*-tpf*)
   3681     noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
   3682     ;;
   3683   *-*-uclinux*)
   3684     noconfigdirs="$noconfigdirs target-rda"
   3685     ;;
   3686   *-*-vxworks*)
   3687     ;;
   3688   alpha*-dec-osf*)
   3689     # ld works, but does not support shared libraries.
   3690     # gas doesn't generate exception information.
   3691     noconfigdirs="$noconfigdirs gas ld"
   3692     ;;
   3693   alpha*-*-*vms*)
   3694     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
   3695     ;;
   3696   alpha*-*-*)
   3697     # newlib is not 64 bit ready
   3698     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3699     ;;
   3700   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3701     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
   3702     ;;
   3703   arc*-*-*)
   3704     noconfigdirs="$noconfigdirs sim"
   3705     ;;
   3706   arm-*-pe*)
   3707     noconfigdirs="$noconfigdirs target-libgloss"
   3708     ;;
   3709   arm-*-riscix*)
   3710     noconfigdirs="$noconfigdirs ld target-libgloss"
   3711     ;;
   3712   avr-*-*)
   3713     if test x${with_avrlibc} != xno; then
   3714       noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3715     fi
   3716     ;;
   3717   c4x-*-* | tic4x-*-*)
   3718     noconfigdirs="$noconfigdirs target-libgloss"
   3719     ;;
   3720   tic54x-*-*)
   3721     noconfigdirs="$noconfigdirs target-libgloss gdb"
   3722     ;;
   3723   d10v-*-*)
   3724     noconfigdirs="$noconfigdirs target-libgloss"
   3725     ;;
   3726   d30v-*-*)
   3727     noconfigdirs="$noconfigdirs gdb"
   3728     ;;
   3729   fr30-*-elf*)
   3730     noconfigdirs="$noconfigdirs gdb"
   3731     ;;
   3732   ft32-*-*)
   3733     noconfigdirs="$noconfigdirs target-rda gprof"
   3734     ;;
   3735   moxie-*-*)
   3736     noconfigdirs="$noconfigdirs"
   3737     ;;
   3738   h8300*-*-*)
   3739     noconfigdirs="$noconfigdirs target-libgloss"
   3740     ;;
   3741   h8500-*-*)
   3742     noconfigdirs="$noconfigdirs target-libgloss"
   3743     ;;
   3744   hppa1.1-*-osf* | hppa1.1-*-bsd* )
   3745     ;;
   3746   hppa*64*-*-hpux*)
   3747     noconfigdirs="$noconfigdirs gdb"
   3748     ;;
   3749   hppa*-*-hpux11*)
   3750     noconfigdirs="$noconfigdirs gdb ld"
   3751     ;;
   3752   hppa*64*-*-linux*)
   3753     ;;
   3754   hppa*-*-linux*)
   3755     ;;
   3756   hppa*-*-*elf* | \
   3757   hppa*-*-lites* | \
   3758   hppa*-*-openbsd* | \
   3759   hppa*64*-*-*)
   3760     ;;
   3761   hppa*-*-pro*)
   3762     ;;
   3763   hppa*-*-*)
   3764     noconfigdirs="$noconfigdirs ld"
   3765     ;;
   3766   i960-*-*)
   3767     noconfigdirs="$noconfigdirs gdb"
   3768     ;;
   3769   ia64*-*-elf*)
   3770     # No gdb support yet.
   3771     noconfigdirs="$noconfigdirs readline libgui itcl gdb"
   3772     ;;
   3773   ia64*-**-hpux*)
   3774     # No ld support yet.
   3775     noconfigdirs="$noconfigdirs gdb libgui itcl ld"
   3776     ;;
   3777   ia64*-*-*vms*)
   3778     # No ld support yet.
   3779     noconfigdirs="$noconfigdirs libgui itcl ld"
   3780     ;;
   3781   i[3456789]86-w64-mingw*)
   3782     ;;
   3783   i[3456789]86-*-mingw*)
   3784     target_configdirs="$target_configdirs target-winsup"
   3785     ;;
   3786   *-*-cygwin*)
   3787     target_configdirs="$target_configdirs target-libtermcap target-winsup"
   3788     noconfigdirs="$noconfigdirs target-libgloss"
   3789     # always build newlib if winsup directory is present.
   3790     if test -d "$srcdir/winsup/cygwin"; then
   3791       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3792     elif test -d "$srcdir/newlib"; then
   3793       echo "Warning: winsup/cygwin is missing so newlib can't be built."
   3794     fi
   3795     ;;
   3796   i[3456789]86-*-pe)
   3797     noconfigdirs="$noconfigdirs target-libgloss"
   3798     ;;
   3799   i[3456789]86-*-sco3.2v5*)
   3800     # The linker does not yet know about weak symbols in COFF,
   3801     # and is not configured to handle mixed ELF and COFF.
   3802     noconfigdirs="$noconfigdirs ld target-libgloss"
   3803     ;;
   3804   i[3456789]86-*-sco*)
   3805     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3806     ;;
   3807   i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
   3808     noconfigdirs="$noconfigdirs target-libgloss"
   3809     ;;
   3810   i[3456789]86-*-sysv4*)
   3811     noconfigdirs="$noconfigdirs target-libgloss"
   3812     ;;
   3813   i[3456789]86-*-beos*)
   3814     noconfigdirs="$noconfigdirs gdb"
   3815     ;;
   3816   i[3456789]86-*-rdos*)
   3817     noconfigdirs="$noconfigdirs gdb"
   3818     ;;
   3819   mmix-*-*)
   3820     noconfigdirs="$noconfigdirs gdb"
   3821     ;;
   3822   mt-*-*)
   3823     noconfigdirs="$noconfigdirs sim"
   3824     ;;
   3825   nfp-*-*)
   3826     noconfigdirs="$noconfigdirs ld gas gdb gprof sim"
   3827     noconfigdirs="$noconfigdirs $target_libraries"
   3828     ;;
   3829   pdp11-*-*)
   3830     noconfigdirs="$noconfigdirs gdb gprof"
   3831     ;;
   3832   powerpc-*-aix*)
   3833     # copied from rs6000-*-* entry
   3834     noconfigdirs="$noconfigdirs gprof"
   3835     ;;
   3836   powerpc*-*-winnt* | powerpc*-*-pe*)
   3837     target_configdirs="$target_configdirs target-winsup"
   3838     noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
   3839     # always build newlib.
   3840     skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3841     ;;
   3842     # This is temporary until we can link against shared libraries
   3843   powerpcle-*-solaris*)
   3844     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
   3845     ;;
   3846   powerpc-*-beos*)
   3847     noconfigdirs="$noconfigdirs gdb"
   3848     ;;
   3849   rs6000-*-lynxos*)
   3850     noconfigdirs="$noconfigdirs gprof"
   3851     ;;
   3852   rs6000-*-aix*)
   3853     noconfigdirs="$noconfigdirs gprof"
   3854     ;;
   3855   rs6000-*-*)
   3856     noconfigdirs="$noconfigdirs gprof"
   3857     ;;
   3858   m68k-apollo-*)
   3859     noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
   3860     ;;
   3861   microblaze*)
   3862     noconfigdirs="$noconfigdirs gprof"
   3863     ;;
   3864   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   3865     if test x$with_newlib = xyes; then
   3866       noconfigdirs="$noconfigdirs gprof"
   3867     fi
   3868     ;;
   3869   mips*-*-irix5*)
   3870     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3871     ;;
   3872   mips*-*-irix6*)
   3873     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3874     ;;
   3875   mips*-*-bsd*)
   3876     noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
   3877     ;;
   3878   mips*-*-linux*)
   3879     ;;
   3880   mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
   3881   | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
   3882     noconfigdirs="$noconfigdirs ld gas gprof"
   3883     ;;
   3884   mips*-*-*)
   3885     noconfigdirs="$noconfigdirs gprof"
   3886     ;;
   3887   nvptx*-*-*)
   3888     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
   3889     ;;
   3890   sh-*-*)
   3891     case "${target}" in
   3892       sh*-*-elf)
   3893          ;;
   3894       *)
   3895          noconfigdirs="$noconfigdirs target-libgloss" ;;
   3896     esac
   3897     ;;
   3898   sparc-*-sunos4*)
   3899     if test x${is_cross_compiler} = xno ; then
   3900            use_gnu_ld=no
   3901     fi
   3902     ;;
   3903   tic6x-*-*)
   3904     noconfigdirs="$noconfigdirs sim"
   3905     ;;
   3906   tilepro*-*-* | tilegx*-*-*)
   3907     noconfigdirs="$noconfigdirs sim"
   3908     ;;
   3909   v810-*-*)
   3910     noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
   3911     ;;
   3912   vax-*-*)
   3913     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3914     ;;
   3915   wasm32-*-*)
   3916     noconfigdirs="$noconfigdirs ld"
   3917     ;;
   3918 esac
   3919 
   3920 # If we aren't building newlib, then don't build libgloss, since libgloss
   3921 # depends upon some newlib header files.
   3922 case "${noconfigdirs}" in
   3923   *target-libgloss*) ;;
   3924   *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
   3925 esac
   3926 
   3927 # Work in distributions that contain no compiler tools, like Autoconf.
   3928 host_makefile_frag=/dev/null
   3929 if test -d ${srcdir}/config ; then
   3930 case "${host}" in
   3931   i[3456789]86-*-msdosdjgpp*)
   3932     host_makefile_frag="config/mh-djgpp"
   3933     ;;
   3934   *-cygwin*)
   3935 
   3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
   3937 $as_echo_n "checking to see if cat works as expected... " >&6; }
   3938 echo a >cygwin-cat-check
   3939 if test `cat cygwin-cat-check` = a ; then
   3940   rm cygwin-cat-check
   3941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3942 $as_echo "yes" >&6; }
   3943 else
   3944   rm cygwin-cat-check
   3945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3946 $as_echo "no" >&6; }
   3947   as_fn_error $? "The cat command does not ignore carriage return characters.
   3948   Please either mount the build directory in binary mode or run the following
   3949   commands before running any configure script:
   3950 set -o igncr
   3951 export SHELLOPTS
   3952   " "$LINENO" 5
   3953 fi
   3954 
   3955     host_makefile_frag="config/mh-cygwin"
   3956     ;;
   3957   *-mingw*)
   3958     host_makefile_frag="config/mh-mingw"
   3959     ;;
   3960   alpha*-linux*)
   3961     host_makefile_frag="config/mh-alpha-linux"
   3962     ;;
   3963   hppa*-hp-hpux10*)
   3964     host_makefile_frag="config/mh-pa-hpux10"
   3965     ;;
   3966   hppa*-hp-hpux*)
   3967     host_makefile_frag="config/mh-pa"
   3968     ;;
   3969   hppa*-*)
   3970     host_makefile_frag="config/mh-pa"
   3971     ;;
   3972   *-*-darwin*)
   3973     host_makefile_frag="config/mh-darwin"
   3974     ;;
   3975   powerpc-*-aix*)
   3976     host_makefile_frag="config/mh-ppc-aix"
   3977     ;;
   3978   rs6000-*-aix*)
   3979     host_makefile_frag="config/mh-ppc-aix"
   3980     ;;
   3981 esac
   3982 fi
   3983 
   3984 if test "${build}" != "${host}" ; then
   3985   AR_FOR_BUILD=${AR_FOR_BUILD-ar}
   3986   AS_FOR_BUILD=${AS_FOR_BUILD-as}
   3987   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   3988   CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
   3989   GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
   3990   GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
   3991   DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
   3992   LD_FOR_BUILD=${LD_FOR_BUILD-ld}
   3993   NM_FOR_BUILD=${NM_FOR_BUILD-nm}
   3994   RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
   3995   WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
   3996   WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
   3997 else
   3998   AR_FOR_BUILD="\$(AR)"
   3999   AS_FOR_BUILD="\$(AS)"
   4000   CC_FOR_BUILD="\$(CC)"
   4001   CXX_FOR_BUILD="\$(CXX)"
   4002   GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
   4003   GOC_FOR_BUILD="\$(GOC)"
   4004   DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
   4005   LD_FOR_BUILD="\$(LD)"
   4006   NM_FOR_BUILD="\$(NM)"
   4007   RANLIB_FOR_BUILD="\$(RANLIB)"
   4008   WINDRES_FOR_BUILD="\$(WINDRES)"
   4009   WINDMC_FOR_BUILD="\$(WINDMC)"
   4010 fi
   4011 
   4012 ac_ext=c
   4013 ac_cpp='$CPP $CPPFLAGS'
   4014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4017 if test -n "$ac_tool_prefix"; then
   4018   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4019 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4021 $as_echo_n "checking for $ac_word... " >&6; }
   4022 if ${ac_cv_prog_CC+:} false; then :
   4023   $as_echo_n "(cached) " >&6
   4024 else
   4025   if test -n "$CC"; then
   4026   ac_cv_prog_CC="$CC" # Let the user override the test.
   4027 else
   4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4029 for as_dir in $PATH
   4030 do
   4031   IFS=$as_save_IFS
   4032   test -z "$as_dir" && as_dir=.
   4033     for ac_exec_ext in '' $ac_executable_extensions; do
   4034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4035     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4037     break 2
   4038   fi
   4039 done
   4040   done
   4041 IFS=$as_save_IFS
   4042 
   4043 fi
   4044 fi
   4045 CC=$ac_cv_prog_CC
   4046 if test -n "$CC"; then
   4047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4048 $as_echo "$CC" >&6; }
   4049 else
   4050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4051 $as_echo "no" >&6; }
   4052 fi
   4053 
   4054 
   4055 fi
   4056 if test -z "$ac_cv_prog_CC"; then
   4057   ac_ct_CC=$CC
   4058   # Extract the first word of "gcc", so it can be a program name with args.
   4059 set dummy gcc; ac_word=$2
   4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4061 $as_echo_n "checking for $ac_word... " >&6; }
   4062 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4063   $as_echo_n "(cached) " >&6
   4064 else
   4065   if test -n "$ac_ct_CC"; then
   4066   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4067 else
   4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4069 for as_dir in $PATH
   4070 do
   4071   IFS=$as_save_IFS
   4072   test -z "$as_dir" && as_dir=.
   4073     for ac_exec_ext in '' $ac_executable_extensions; do
   4074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4075     ac_cv_prog_ac_ct_CC="gcc"
   4076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4077     break 2
   4078   fi
   4079 done
   4080   done
   4081 IFS=$as_save_IFS
   4082 
   4083 fi
   4084 fi
   4085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4086 if test -n "$ac_ct_CC"; then
   4087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4088 $as_echo "$ac_ct_CC" >&6; }
   4089 else
   4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4091 $as_echo "no" >&6; }
   4092 fi
   4093 
   4094   if test "x$ac_ct_CC" = x; then
   4095     CC=""
   4096   else
   4097     case $cross_compiling:$ac_tool_warned in
   4098 yes:)
   4099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4101 ac_tool_warned=yes ;;
   4102 esac
   4103     CC=$ac_ct_CC
   4104   fi
   4105 else
   4106   CC="$ac_cv_prog_CC"
   4107 fi
   4108 
   4109 if test -z "$CC"; then
   4110           if test -n "$ac_tool_prefix"; then
   4111     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4112 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4114 $as_echo_n "checking for $ac_word... " >&6; }
   4115 if ${ac_cv_prog_CC+:} false; then :
   4116   $as_echo_n "(cached) " >&6
   4117 else
   4118   if test -n "$CC"; then
   4119   ac_cv_prog_CC="$CC" # Let the user override the test.
   4120 else
   4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4122 for as_dir in $PATH
   4123 do
   4124   IFS=$as_save_IFS
   4125   test -z "$as_dir" && as_dir=.
   4126     for ac_exec_ext in '' $ac_executable_extensions; do
   4127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4128     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4130     break 2
   4131   fi
   4132 done
   4133   done
   4134 IFS=$as_save_IFS
   4135 
   4136 fi
   4137 fi
   4138 CC=$ac_cv_prog_CC
   4139 if test -n "$CC"; then
   4140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4141 $as_echo "$CC" >&6; }
   4142 else
   4143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4144 $as_echo "no" >&6; }
   4145 fi
   4146 
   4147 
   4148   fi
   4149 fi
   4150 if test -z "$CC"; then
   4151   # Extract the first word of "cc", so it can be a program name with args.
   4152 set dummy cc; ac_word=$2
   4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4154 $as_echo_n "checking for $ac_word... " >&6; }
   4155 if ${ac_cv_prog_CC+:} false; then :
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   if test -n "$CC"; then
   4159   ac_cv_prog_CC="$CC" # Let the user override the test.
   4160 else
   4161   ac_prog_rejected=no
   4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4163 for as_dir in $PATH
   4164 do
   4165   IFS=$as_save_IFS
   4166   test -z "$as_dir" && as_dir=.
   4167     for ac_exec_ext in '' $ac_executable_extensions; do
   4168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4169     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4170        ac_prog_rejected=yes
   4171        continue
   4172      fi
   4173     ac_cv_prog_CC="cc"
   4174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4175     break 2
   4176   fi
   4177 done
   4178   done
   4179 IFS=$as_save_IFS
   4180 
   4181 if test $ac_prog_rejected = yes; then
   4182   # We found a bogon in the path, so make sure we never use it.
   4183   set dummy $ac_cv_prog_CC
   4184   shift
   4185   if test $# != 0; then
   4186     # We chose a different compiler from the bogus one.
   4187     # However, it has the same basename, so the bogon will be chosen
   4188     # first if we set CC to just the basename; use the full file name.
   4189     shift
   4190     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4191   fi
   4192 fi
   4193 fi
   4194 fi
   4195 CC=$ac_cv_prog_CC
   4196 if test -n "$CC"; then
   4197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4198 $as_echo "$CC" >&6; }
   4199 else
   4200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4201 $as_echo "no" >&6; }
   4202 fi
   4203 
   4204 
   4205 fi
   4206 if test -z "$CC"; then
   4207   if test -n "$ac_tool_prefix"; then
   4208   for ac_prog in cl.exe
   4209   do
   4210     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4213 $as_echo_n "checking for $ac_word... " >&6; }
   4214 if ${ac_cv_prog_CC+:} false; then :
   4215   $as_echo_n "(cached) " >&6
   4216 else
   4217   if test -n "$CC"; then
   4218   ac_cv_prog_CC="$CC" # Let the user override the test.
   4219 else
   4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4221 for as_dir in $PATH
   4222 do
   4223   IFS=$as_save_IFS
   4224   test -z "$as_dir" && as_dir=.
   4225     for ac_exec_ext in '' $ac_executable_extensions; do
   4226   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4227     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4229     break 2
   4230   fi
   4231 done
   4232   done
   4233 IFS=$as_save_IFS
   4234 
   4235 fi
   4236 fi
   4237 CC=$ac_cv_prog_CC
   4238 if test -n "$CC"; then
   4239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4240 $as_echo "$CC" >&6; }
   4241 else
   4242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4243 $as_echo "no" >&6; }
   4244 fi
   4245 
   4246 
   4247     test -n "$CC" && break
   4248   done
   4249 fi
   4250 if test -z "$CC"; then
   4251   ac_ct_CC=$CC
   4252   for ac_prog in cl.exe
   4253 do
   4254   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4255 set dummy $ac_prog; ac_word=$2
   4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4257 $as_echo_n "checking for $ac_word... " >&6; }
   4258 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4259   $as_echo_n "(cached) " >&6
   4260 else
   4261   if test -n "$ac_ct_CC"; then
   4262   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4263 else
   4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4265 for as_dir in $PATH
   4266 do
   4267   IFS=$as_save_IFS
   4268   test -z "$as_dir" && as_dir=.
   4269     for ac_exec_ext in '' $ac_executable_extensions; do
   4270   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4271     ac_cv_prog_ac_ct_CC="$ac_prog"
   4272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4273     break 2
   4274   fi
   4275 done
   4276   done
   4277 IFS=$as_save_IFS
   4278 
   4279 fi
   4280 fi
   4281 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4282 if test -n "$ac_ct_CC"; then
   4283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4284 $as_echo "$ac_ct_CC" >&6; }
   4285 else
   4286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4287 $as_echo "no" >&6; }
   4288 fi
   4289 
   4290 
   4291   test -n "$ac_ct_CC" && break
   4292 done
   4293 
   4294   if test "x$ac_ct_CC" = x; then
   4295     CC=""
   4296   else
   4297     case $cross_compiling:$ac_tool_warned in
   4298 yes:)
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4301 ac_tool_warned=yes ;;
   4302 esac
   4303     CC=$ac_ct_CC
   4304   fi
   4305 fi
   4306 
   4307 fi
   4308 
   4309 
   4310 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4312 as_fn_error $? "no acceptable C compiler found in \$PATH
   4313 See \`config.log' for more details" "$LINENO" 5; }
   4314 
   4315 # Provide some information about the compiler.
   4316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4317 set X $ac_compile
   4318 ac_compiler=$2
   4319 for ac_option in --version -v -V -qversion; do
   4320   { { ac_try="$ac_compiler $ac_option >&5"
   4321 case "(($ac_try" in
   4322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4323   *) ac_try_echo=$ac_try;;
   4324 esac
   4325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4326 $as_echo "$ac_try_echo"; } >&5
   4327   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4328   ac_status=$?
   4329   if test -s conftest.err; then
   4330     sed '10a\
   4331 ... rest of stderr output deleted ...
   4332          10q' conftest.err >conftest.er1
   4333     cat conftest.er1 >&5
   4334   fi
   4335   rm -f conftest.er1 conftest.err
   4336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4337   test $ac_status = 0; }
   4338 done
   4339 
   4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4341 /* end confdefs.h.  */
   4342 
   4343 int
   4344 main ()
   4345 {
   4346 
   4347   ;
   4348   return 0;
   4349 }
   4350 _ACEOF
   4351 ac_clean_files_save=$ac_clean_files
   4352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4353 # Try to create an executable without -o first, disregard a.out.
   4354 # It will help us diagnose broken compilers, and finding out an intuition
   4355 # of exeext.
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4357 $as_echo_n "checking whether the C compiler works... " >&6; }
   4358 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4359 
   4360 # The possible output files:
   4361 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4362 
   4363 ac_rmfiles=
   4364 for ac_file in $ac_files
   4365 do
   4366   case $ac_file in
   4367     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4368     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4369   esac
   4370 done
   4371 rm -f $ac_rmfiles
   4372 
   4373 if { { ac_try="$ac_link_default"
   4374 case "(($ac_try" in
   4375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4376   *) ac_try_echo=$ac_try;;
   4377 esac
   4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4379 $as_echo "$ac_try_echo"; } >&5
   4380   (eval "$ac_link_default") 2>&5
   4381   ac_status=$?
   4382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4383   test $ac_status = 0; }; then :
   4384   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4386 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4387 # so that the user can short-circuit this test for compilers unknown to
   4388 # Autoconf.
   4389 for ac_file in $ac_files ''
   4390 do
   4391   test -f "$ac_file" || continue
   4392   case $ac_file in
   4393     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4394 	;;
   4395     [ab].out )
   4396 	# We found the default executable, but exeext='' is most
   4397 	# certainly right.
   4398 	break;;
   4399     *.* )
   4400 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   4401 	then :; else
   4402 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4403 	fi
   4404 	# We set ac_cv_exeext here because the later test for it is not
   4405 	# safe: cross compilers may not add the suffix if given an `-o'
   4406 	# argument, so we may need to know it at that point already.
   4407 	# Even if this section looks crufty: it has the advantage of
   4408 	# actually working.
   4409 	break;;
   4410     * )
   4411 	break;;
   4412   esac
   4413 done
   4414 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4415 
   4416 else
   4417   ac_file=''
   4418 fi
   4419 if test -z "$ac_file"; then :
   4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4421 $as_echo "no" >&6; }
   4422 $as_echo "$as_me: failed program was:" >&5
   4423 sed 's/^/| /' conftest.$ac_ext >&5
   4424 
   4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4427 as_fn_error 77 "C compiler cannot create executables
   4428 See \`config.log' for more details" "$LINENO" 5; }
   4429 else
   4430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4431 $as_echo "yes" >&6; }
   4432 fi
   4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4434 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4436 $as_echo "$ac_file" >&6; }
   4437 ac_exeext=$ac_cv_exeext
   4438 
   4439 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4440 ac_clean_files=$ac_clean_files_save
   4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4442 $as_echo_n "checking for suffix of executables... " >&6; }
   4443 if { { ac_try="$ac_link"
   4444 case "(($ac_try" in
   4445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4446   *) ac_try_echo=$ac_try;;
   4447 esac
   4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4449 $as_echo "$ac_try_echo"; } >&5
   4450   (eval "$ac_link") 2>&5
   4451   ac_status=$?
   4452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4453   test $ac_status = 0; }; then :
   4454   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4455 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4456 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4457 # `rm'.
   4458 for ac_file in conftest.exe conftest conftest.*; do
   4459   test -f "$ac_file" || continue
   4460   case $ac_file in
   4461     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4462     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4463 	  break;;
   4464     * ) break;;
   4465   esac
   4466 done
   4467 else
   4468   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4470 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4471 See \`config.log' for more details" "$LINENO" 5; }
   4472 fi
   4473 rm -f conftest conftest$ac_cv_exeext
   4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4475 $as_echo "$ac_cv_exeext" >&6; }
   4476 
   4477 rm -f conftest.$ac_ext
   4478 EXEEXT=$ac_cv_exeext
   4479 ac_exeext=$EXEEXT
   4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4481 /* end confdefs.h.  */
   4482 #include <stdio.h>
   4483 int
   4484 main ()
   4485 {
   4486 FILE *f = fopen ("conftest.out", "w");
   4487  return ferror (f) || fclose (f) != 0;
   4488 
   4489   ;
   4490   return 0;
   4491 }
   4492 _ACEOF
   4493 ac_clean_files="$ac_clean_files conftest.out"
   4494 # Check that the compiler produces executables we can run.  If not, either
   4495 # the compiler is broken, or we cross compile.
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4497 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4498 if test "$cross_compiling" != yes; then
   4499   { { ac_try="$ac_link"
   4500 case "(($ac_try" in
   4501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4502   *) ac_try_echo=$ac_try;;
   4503 esac
   4504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4505 $as_echo "$ac_try_echo"; } >&5
   4506   (eval "$ac_link") 2>&5
   4507   ac_status=$?
   4508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4509   test $ac_status = 0; }
   4510   if { ac_try='./conftest$ac_cv_exeext'
   4511   { { case "(($ac_try" in
   4512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4513   *) ac_try_echo=$ac_try;;
   4514 esac
   4515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4516 $as_echo "$ac_try_echo"; } >&5
   4517   (eval "$ac_try") 2>&5
   4518   ac_status=$?
   4519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4520   test $ac_status = 0; }; }; then
   4521     cross_compiling=no
   4522   else
   4523     if test "$cross_compiling" = maybe; then
   4524 	cross_compiling=yes
   4525     else
   4526 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4528 as_fn_error $? "cannot run C compiled programs.
   4529 If you meant to cross compile, use \`--host'.
   4530 See \`config.log' for more details" "$LINENO" 5; }
   4531     fi
   4532   fi
   4533 fi
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4535 $as_echo "$cross_compiling" >&6; }
   4536 
   4537 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4538 ac_clean_files=$ac_clean_files_save
   4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4540 $as_echo_n "checking for suffix of object files... " >&6; }
   4541 if ${ac_cv_objext+:} false; then :
   4542   $as_echo_n "(cached) " >&6
   4543 else
   4544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4545 /* end confdefs.h.  */
   4546 
   4547 int
   4548 main ()
   4549 {
   4550 
   4551   ;
   4552   return 0;
   4553 }
   4554 _ACEOF
   4555 rm -f conftest.o conftest.obj
   4556 if { { ac_try="$ac_compile"
   4557 case "(($ac_try" in
   4558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4559   *) ac_try_echo=$ac_try;;
   4560 esac
   4561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4562 $as_echo "$ac_try_echo"; } >&5
   4563   (eval "$ac_compile") 2>&5
   4564   ac_status=$?
   4565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4566   test $ac_status = 0; }; then :
   4567   for ac_file in conftest.o conftest.obj conftest.*; do
   4568   test -f "$ac_file" || continue;
   4569   case $ac_file in
   4570     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4571     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4572        break;;
   4573   esac
   4574 done
   4575 else
   4576   $as_echo "$as_me: failed program was:" >&5
   4577 sed 's/^/| /' conftest.$ac_ext >&5
   4578 
   4579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4581 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4582 See \`config.log' for more details" "$LINENO" 5; }
   4583 fi
   4584 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4585 fi
   4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4587 $as_echo "$ac_cv_objext" >&6; }
   4588 OBJEXT=$ac_cv_objext
   4589 ac_objext=$OBJEXT
   4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4591 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4592 if ${ac_cv_c_compiler_gnu+:} false; then :
   4593   $as_echo_n "(cached) " >&6
   4594 else
   4595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4596 /* end confdefs.h.  */
   4597 
   4598 int
   4599 main ()
   4600 {
   4601 #ifndef __GNUC__
   4602        choke me
   4603 #endif
   4604 
   4605   ;
   4606   return 0;
   4607 }
   4608 _ACEOF
   4609 if ac_fn_c_try_compile "$LINENO"; then :
   4610   ac_compiler_gnu=yes
   4611 else
   4612   ac_compiler_gnu=no
   4613 fi
   4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4616 
   4617 fi
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4619 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4620 if test $ac_compiler_gnu = yes; then
   4621   GCC=yes
   4622 else
   4623   GCC=
   4624 fi
   4625 ac_test_CFLAGS=${CFLAGS+set}
   4626 ac_save_CFLAGS=$CFLAGS
   4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4628 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4629 if ${ac_cv_prog_cc_g+:} false; then :
   4630   $as_echo_n "(cached) " >&6
   4631 else
   4632   ac_save_c_werror_flag=$ac_c_werror_flag
   4633    ac_c_werror_flag=yes
   4634    ac_cv_prog_cc_g=no
   4635    CFLAGS="-g"
   4636    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4637 /* end confdefs.h.  */
   4638 
   4639 int
   4640 main ()
   4641 {
   4642 
   4643   ;
   4644   return 0;
   4645 }
   4646 _ACEOF
   4647 if ac_fn_c_try_compile "$LINENO"; then :
   4648   ac_cv_prog_cc_g=yes
   4649 else
   4650   CFLAGS=""
   4651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4652 /* end confdefs.h.  */
   4653 
   4654 int
   4655 main ()
   4656 {
   4657 
   4658   ;
   4659   return 0;
   4660 }
   4661 _ACEOF
   4662 if ac_fn_c_try_compile "$LINENO"; then :
   4663 
   4664 else
   4665   ac_c_werror_flag=$ac_save_c_werror_flag
   4666 	 CFLAGS="-g"
   4667 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4668 /* end confdefs.h.  */
   4669 
   4670 int
   4671 main ()
   4672 {
   4673 
   4674   ;
   4675   return 0;
   4676 }
   4677 _ACEOF
   4678 if ac_fn_c_try_compile "$LINENO"; then :
   4679   ac_cv_prog_cc_g=yes
   4680 fi
   4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4682 fi
   4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4684 fi
   4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4686    ac_c_werror_flag=$ac_save_c_werror_flag
   4687 fi
   4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4689 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4690 if test "$ac_test_CFLAGS" = set; then
   4691   CFLAGS=$ac_save_CFLAGS
   4692 elif test $ac_cv_prog_cc_g = yes; then
   4693   if test "$GCC" = yes; then
   4694     CFLAGS="-g -O2"
   4695   else
   4696     CFLAGS="-g"
   4697   fi
   4698 else
   4699   if test "$GCC" = yes; then
   4700     CFLAGS="-O2"
   4701   else
   4702     CFLAGS=
   4703   fi
   4704 fi
   4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4706 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4707 if ${ac_cv_prog_cc_c89+:} false; then :
   4708   $as_echo_n "(cached) " >&6
   4709 else
   4710   ac_cv_prog_cc_c89=no
   4711 ac_save_CC=$CC
   4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4713 /* end confdefs.h.  */
   4714 #include <stdarg.h>
   4715 #include <stdio.h>
   4716 struct stat;
   4717 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4718 struct buf { int x; };
   4719 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4720 static char *e (p, i)
   4721      char **p;
   4722      int i;
   4723 {
   4724   return p[i];
   4725 }
   4726 static char *f (char * (*g) (char **, int), char **p, ...)
   4727 {
   4728   char *s;
   4729   va_list v;
   4730   va_start (v,p);
   4731   s = g (p, va_arg (v,int));
   4732   va_end (v);
   4733   return s;
   4734 }
   4735 
   4736 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4737    function prototypes and stuff, but not '\xHH' hex character constants.
   4738    These don't provoke an error unfortunately, instead are silently treated
   4739    as 'x'.  The following induces an error, until -std is added to get
   4740    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4741    array size at least.  It's necessary to write '\x00'==0 to get something
   4742    that's true only with -std.  */
   4743 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4744 
   4745 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4746    inside strings and character constants.  */
   4747 #define FOO(x) 'x'
   4748 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4749 
   4750 int test (int i, double x);
   4751 struct s1 {int (*f) (int a);};
   4752 struct s2 {int (*f) (double a);};
   4753 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4754 int argc;
   4755 char **argv;
   4756 int
   4757 main ()
   4758 {
   4759 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4760   ;
   4761   return 0;
   4762 }
   4763 _ACEOF
   4764 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4765 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4766 do
   4767   CC="$ac_save_CC $ac_arg"
   4768   if ac_fn_c_try_compile "$LINENO"; then :
   4769   ac_cv_prog_cc_c89=$ac_arg
   4770 fi
   4771 rm -f core conftest.err conftest.$ac_objext
   4772   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4773 done
   4774 rm -f conftest.$ac_ext
   4775 CC=$ac_save_CC
   4776 
   4777 fi
   4778 # AC_CACHE_VAL
   4779 case "x$ac_cv_prog_cc_c89" in
   4780   x)
   4781     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4782 $as_echo "none needed" >&6; } ;;
   4783   xno)
   4784     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4785 $as_echo "unsupported" >&6; } ;;
   4786   *)
   4787     CC="$CC $ac_cv_prog_cc_c89"
   4788     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4789 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4790 esac
   4791 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4792 
   4793 fi
   4794 
   4795 ac_ext=c
   4796 ac_cpp='$CPP $CPPFLAGS'
   4797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4800 
   4801 ac_ext=cpp
   4802 ac_cpp='$CXXCPP $CPPFLAGS'
   4803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4806 if test -z "$CXX"; then
   4807   if test -n "$CCC"; then
   4808     CXX=$CCC
   4809   else
   4810     if test -n "$ac_tool_prefix"; then
   4811   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4812   do
   4813     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4816 $as_echo_n "checking for $ac_word... " >&6; }
   4817 if ${ac_cv_prog_CXX+:} false; then :
   4818   $as_echo_n "(cached) " >&6
   4819 else
   4820   if test -n "$CXX"; then
   4821   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4822 else
   4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4824 for as_dir in $PATH
   4825 do
   4826   IFS=$as_save_IFS
   4827   test -z "$as_dir" && as_dir=.
   4828     for ac_exec_ext in '' $ac_executable_extensions; do
   4829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4830     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4832     break 2
   4833   fi
   4834 done
   4835   done
   4836 IFS=$as_save_IFS
   4837 
   4838 fi
   4839 fi
   4840 CXX=$ac_cv_prog_CXX
   4841 if test -n "$CXX"; then
   4842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   4843 $as_echo "$CXX" >&6; }
   4844 else
   4845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4846 $as_echo "no" >&6; }
   4847 fi
   4848 
   4849 
   4850     test -n "$CXX" && break
   4851   done
   4852 fi
   4853 if test -z "$CXX"; then
   4854   ac_ct_CXX=$CXX
   4855   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4856 do
   4857   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4858 set dummy $ac_prog; ac_word=$2
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4860 $as_echo_n "checking for $ac_word... " >&6; }
   4861 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   4862   $as_echo_n "(cached) " >&6
   4863 else
   4864   if test -n "$ac_ct_CXX"; then
   4865   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4866 else
   4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4868 for as_dir in $PATH
   4869 do
   4870   IFS=$as_save_IFS
   4871   test -z "$as_dir" && as_dir=.
   4872     for ac_exec_ext in '' $ac_executable_extensions; do
   4873   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4874     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4876     break 2
   4877   fi
   4878 done
   4879   done
   4880 IFS=$as_save_IFS
   4881 
   4882 fi
   4883 fi
   4884 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4885 if test -n "$ac_ct_CXX"; then
   4886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   4887 $as_echo "$ac_ct_CXX" >&6; }
   4888 else
   4889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4890 $as_echo "no" >&6; }
   4891 fi
   4892 
   4893 
   4894   test -n "$ac_ct_CXX" && break
   4895 done
   4896 
   4897   if test "x$ac_ct_CXX" = x; then
   4898     CXX="g++"
   4899   else
   4900     case $cross_compiling:$ac_tool_warned in
   4901 yes:)
   4902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4904 ac_tool_warned=yes ;;
   4905 esac
   4906     CXX=$ac_ct_CXX
   4907   fi
   4908 fi
   4909 
   4910   fi
   4911 fi
   4912 # Provide some information about the compiler.
   4913 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   4914 set X $ac_compile
   4915 ac_compiler=$2
   4916 for ac_option in --version -v -V -qversion; do
   4917   { { ac_try="$ac_compiler $ac_option >&5"
   4918 case "(($ac_try" in
   4919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4920   *) ac_try_echo=$ac_try;;
   4921 esac
   4922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4923 $as_echo "$ac_try_echo"; } >&5
   4924   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4925   ac_status=$?
   4926   if test -s conftest.err; then
   4927     sed '10a\
   4928 ... rest of stderr output deleted ...
   4929          10q' conftest.err >conftest.er1
   4930     cat conftest.er1 >&5
   4931   fi
   4932   rm -f conftest.er1 conftest.err
   4933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4934   test $ac_status = 0; }
   4935 done
   4936 
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   4938 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   4939 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   4940   $as_echo_n "(cached) " >&6
   4941 else
   4942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4943 /* end confdefs.h.  */
   4944 
   4945 int
   4946 main ()
   4947 {
   4948 #ifndef __GNUC__
   4949        choke me
   4950 #endif
   4951 
   4952   ;
   4953   return 0;
   4954 }
   4955 _ACEOF
   4956 if ac_fn_cxx_try_compile "$LINENO"; then :
   4957   ac_compiler_gnu=yes
   4958 else
   4959   ac_compiler_gnu=no
   4960 fi
   4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4962 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4963 
   4964 fi
   4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   4966 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   4967 if test $ac_compiler_gnu = yes; then
   4968   GXX=yes
   4969 else
   4970   GXX=
   4971 fi
   4972 ac_test_CXXFLAGS=${CXXFLAGS+set}
   4973 ac_save_CXXFLAGS=$CXXFLAGS
   4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   4975 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   4976 if ${ac_cv_prog_cxx_g+:} false; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   4980    ac_cxx_werror_flag=yes
   4981    ac_cv_prog_cxx_g=no
   4982    CXXFLAGS="-g"
   4983    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4984 /* end confdefs.h.  */
   4985 
   4986 int
   4987 main ()
   4988 {
   4989 
   4990   ;
   4991   return 0;
   4992 }
   4993 _ACEOF
   4994 if ac_fn_cxx_try_compile "$LINENO"; then :
   4995   ac_cv_prog_cxx_g=yes
   4996 else
   4997   CXXFLAGS=""
   4998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4999 /* end confdefs.h.  */
   5000 
   5001 int
   5002 main ()
   5003 {
   5004 
   5005   ;
   5006   return 0;
   5007 }
   5008 _ACEOF
   5009 if ac_fn_cxx_try_compile "$LINENO"; then :
   5010 
   5011 else
   5012   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5013 	 CXXFLAGS="-g"
   5014 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5015 /* end confdefs.h.  */
   5016 
   5017 int
   5018 main ()
   5019 {
   5020 
   5021   ;
   5022   return 0;
   5023 }
   5024 _ACEOF
   5025 if ac_fn_cxx_try_compile "$LINENO"; then :
   5026   ac_cv_prog_cxx_g=yes
   5027 fi
   5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5029 fi
   5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5031 fi
   5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5033    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5034 fi
   5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5036 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5037 if test "$ac_test_CXXFLAGS" = set; then
   5038   CXXFLAGS=$ac_save_CXXFLAGS
   5039 elif test $ac_cv_prog_cxx_g = yes; then
   5040   if test "$GXX" = yes; then
   5041     CXXFLAGS="-g -O2"
   5042   else
   5043     CXXFLAGS="-g"
   5044   fi
   5045 else
   5046   if test "$GXX" = yes; then
   5047     CXXFLAGS="-O2"
   5048   else
   5049     CXXFLAGS=
   5050   fi
   5051 fi
   5052 ac_ext=c
   5053 ac_cpp='$CPP $CPPFLAGS'
   5054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5057 
   5058 
   5059 # We must set the default linker to the linker used by gcc for the correct
   5060 # operation of libtool.  If LD is not defined and we are using gcc, try to
   5061 # set the LD default to the ld used by gcc.
   5062 if test -z "$LD"; then
   5063   if test "$GCC" = yes; then
   5064     case $build in
   5065     *-*-mingw*)
   5066       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
   5067     *)
   5068       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
   5069     esac
   5070     case $gcc_prog_ld in
   5071     # Accept absolute paths.
   5072     [\\/]* | [A-Za-z]:[\\/]*)
   5073       LD="$gcc_prog_ld" ;;
   5074     esac
   5075   fi
   5076 fi
   5077 
   5078 # Check whether -static-libstdc++ -static-libgcc is supported.
   5079 have_static_libs=no
   5080 if test "$GCC" = yes; then
   5081   saved_LDFLAGS="$LDFLAGS"
   5082 
   5083   LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
   5084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
   5085 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
   5086   ac_ext=cpp
   5087 ac_cpp='$CXXCPP $CPPFLAGS'
   5088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5091 
   5092 
   5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5094 /* end confdefs.h.  */
   5095 
   5096 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
   5097 #error -static-libstdc++ not implemented
   5098 #endif
   5099 int main() {}
   5100 _ACEOF
   5101 if ac_fn_cxx_try_link "$LINENO"; then :
   5102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5103 $as_echo "yes" >&6; }; have_static_libs=yes
   5104 else
   5105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5106 $as_echo "no" >&6; }
   5107 fi
   5108 rm -f core conftest.err conftest.$ac_objext \
   5109     conftest$ac_exeext conftest.$ac_ext
   5110   ac_ext=c
   5111 ac_cpp='$CPP $CPPFLAGS'
   5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5115 
   5116 
   5117   LDFLAGS="$saved_LDFLAGS"
   5118 fi
   5119 
   5120 
   5121 
   5122 
   5123 if test -n "$ac_tool_prefix"; then
   5124   # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
   5125 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
   5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5127 $as_echo_n "checking for $ac_word... " >&6; }
   5128 if ${ac_cv_prog_GNATBIND+:} false; then :
   5129   $as_echo_n "(cached) " >&6
   5130 else
   5131   if test -n "$GNATBIND"; then
   5132   ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
   5133 else
   5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5135 for as_dir in $PATH
   5136 do
   5137   IFS=$as_save_IFS
   5138   test -z "$as_dir" && as_dir=.
   5139     for ac_exec_ext in '' $ac_executable_extensions; do
   5140   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5141     ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
   5142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5143     break 2
   5144   fi
   5145 done
   5146   done
   5147 IFS=$as_save_IFS
   5148 
   5149 fi
   5150 fi
   5151 GNATBIND=$ac_cv_prog_GNATBIND
   5152 if test -n "$GNATBIND"; then
   5153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
   5154 $as_echo "$GNATBIND" >&6; }
   5155 else
   5156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5157 $as_echo "no" >&6; }
   5158 fi
   5159 
   5160 
   5161 fi
   5162 if test -z "$ac_cv_prog_GNATBIND"; then
   5163   ac_ct_GNATBIND=$GNATBIND
   5164   # Extract the first word of "gnatbind", so it can be a program name with args.
   5165 set dummy gnatbind; ac_word=$2
   5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5167 $as_echo_n "checking for $ac_word... " >&6; }
   5168 if ${ac_cv_prog_ac_ct_GNATBIND+:} false; then :
   5169   $as_echo_n "(cached) " >&6
   5170 else
   5171   if test -n "$ac_ct_GNATBIND"; then
   5172   ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
   5173 else
   5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5175 for as_dir in $PATH
   5176 do
   5177   IFS=$as_save_IFS
   5178   test -z "$as_dir" && as_dir=.
   5179     for ac_exec_ext in '' $ac_executable_extensions; do
   5180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5181     ac_cv_prog_ac_ct_GNATBIND="gnatbind"
   5182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5183     break 2
   5184   fi
   5185 done
   5186   done
   5187 IFS=$as_save_IFS
   5188 
   5189 fi
   5190 fi
   5191 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
   5192 if test -n "$ac_ct_GNATBIND"; then
   5193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
   5194 $as_echo "$ac_ct_GNATBIND" >&6; }
   5195 else
   5196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5197 $as_echo "no" >&6; }
   5198 fi
   5199 
   5200   if test "x$ac_ct_GNATBIND" = x; then
   5201     GNATBIND="no"
   5202   else
   5203     case $cross_compiling:$ac_tool_warned in
   5204 yes:)
   5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5207 ac_tool_warned=yes ;;
   5208 esac
   5209     GNATBIND=$ac_ct_GNATBIND
   5210   fi
   5211 else
   5212   GNATBIND="$ac_cv_prog_GNATBIND"
   5213 fi
   5214 
   5215 if test -n "$ac_tool_prefix"; then
   5216   # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
   5217 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
   5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5219 $as_echo_n "checking for $ac_word... " >&6; }
   5220 if ${ac_cv_prog_GNATMAKE+:} false; then :
   5221   $as_echo_n "(cached) " >&6
   5222 else
   5223   if test -n "$GNATMAKE"; then
   5224   ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
   5225 else
   5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5227 for as_dir in $PATH
   5228 do
   5229   IFS=$as_save_IFS
   5230   test -z "$as_dir" && as_dir=.
   5231     for ac_exec_ext in '' $ac_executable_extensions; do
   5232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5233     ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
   5234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5235     break 2
   5236   fi
   5237 done
   5238   done
   5239 IFS=$as_save_IFS
   5240 
   5241 fi
   5242 fi
   5243 GNATMAKE=$ac_cv_prog_GNATMAKE
   5244 if test -n "$GNATMAKE"; then
   5245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
   5246 $as_echo "$GNATMAKE" >&6; }
   5247 else
   5248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5249 $as_echo "no" >&6; }
   5250 fi
   5251 
   5252 
   5253 fi
   5254 if test -z "$ac_cv_prog_GNATMAKE"; then
   5255   ac_ct_GNATMAKE=$GNATMAKE
   5256   # Extract the first word of "gnatmake", so it can be a program name with args.
   5257 set dummy gnatmake; ac_word=$2
   5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5259 $as_echo_n "checking for $ac_word... " >&6; }
   5260 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false; then :
   5261   $as_echo_n "(cached) " >&6
   5262 else
   5263   if test -n "$ac_ct_GNATMAKE"; then
   5264   ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
   5265 else
   5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5267 for as_dir in $PATH
   5268 do
   5269   IFS=$as_save_IFS
   5270   test -z "$as_dir" && as_dir=.
   5271     for ac_exec_ext in '' $ac_executable_extensions; do
   5272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5273     ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
   5274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5275     break 2
   5276   fi
   5277 done
   5278   done
   5279 IFS=$as_save_IFS
   5280 
   5281 fi
   5282 fi
   5283 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
   5284 if test -n "$ac_ct_GNATMAKE"; then
   5285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
   5286 $as_echo "$ac_ct_GNATMAKE" >&6; }
   5287 else
   5288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5289 $as_echo "no" >&6; }
   5290 fi
   5291 
   5292   if test "x$ac_ct_GNATMAKE" = x; then
   5293     GNATMAKE="no"
   5294   else
   5295     case $cross_compiling:$ac_tool_warned in
   5296 yes:)
   5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5299 ac_tool_warned=yes ;;
   5300 esac
   5301     GNATMAKE=$ac_ct_GNATMAKE
   5302   fi
   5303 else
   5304   GNATMAKE="$ac_cv_prog_GNATMAKE"
   5305 fi
   5306 
   5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
   5308 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
   5309 if ${acx_cv_cc_gcc_supports_ada+:} false; then :
   5310   $as_echo_n "(cached) " >&6
   5311 else
   5312   cat >conftest.adb <<EOF
   5313 procedure conftest is begin null; end conftest;
   5314 EOF
   5315 acx_cv_cc_gcc_supports_ada=no
   5316 # There is a bug in old released versions of GCC which causes the
   5317 # driver to exit successfully when the appropriate language module
   5318 # has not been installed.  This is fixed in 2.95.4, 3.0.2, and 3.1.
   5319 # Therefore we must check for the error message as well as an
   5320 # unsuccessful exit.
   5321 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
   5322 # given a .adb file, but produce no object file.  So we must check
   5323 # if an object file was really produced to guard against this.
   5324 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
   5325 if test x"$errors" = x && test -f conftest.$ac_objext; then
   5326   acx_cv_cc_gcc_supports_ada=yes
   5327 fi
   5328 rm -f conftest.*
   5329 fi
   5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
   5331 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
   5332 
   5333 if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
   5334   have_gnat=yes
   5335 else
   5336   have_gnat=no
   5337 fi
   5338 
   5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   5340 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   5341 if ${gcc_cv_prog_cmp_skip+:} false; then :
   5342   $as_echo_n "(cached) " >&6
   5343 else
   5344    echo abfoo >t1
   5345   echo cdfoo >t2
   5346   gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   5347   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   5348     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   5349       :
   5350     else
   5351       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   5352     fi
   5353   fi
   5354   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   5355     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   5356       :
   5357     else
   5358       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   5359     fi
   5360   fi
   5361   rm t1 t2
   5362 
   5363 fi
   5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   5365 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   5366 do_compare="$gcc_cv_prog_cmp_skip"
   5367 
   5368 
   5369 
   5370 # Check whether --enable-bootstrap was given.
   5371 if test "${enable_bootstrap+set}" = set; then :
   5372   enableval=$enable_bootstrap;
   5373 else
   5374   enable_bootstrap=default
   5375 fi
   5376 
   5377 
   5378 # Issue errors and warnings for invalid/strange bootstrap combinations.
   5379 if test -r $srcdir/gcc/configure; then
   5380   have_compiler=yes
   5381 else
   5382   have_compiler=no
   5383 fi
   5384 
   5385 case "$have_compiler:$host:$target:$enable_bootstrap" in
   5386   *:*:*:no) ;;
   5387 
   5388   # Default behavior.  Enable bootstrap if we have a compiler
   5389   # and we are in a native configuration.
   5390   yes:$build:$build:default)
   5391     enable_bootstrap=yes ;;
   5392 
   5393   *:*:*:default)
   5394     enable_bootstrap=no ;;
   5395 
   5396   # We have a compiler and we are in a native configuration, bootstrap is ok
   5397   yes:$build:$build:yes)
   5398     ;;
   5399 
   5400   # Other configurations, but we have a compiler.  Assume the user knows
   5401   # what he's doing.
   5402   yes:*:*:yes)
   5403     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
   5404 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
   5405     ;;
   5406 
   5407   # No compiler: if they passed --enable-bootstrap explicitly, fail
   5408   no:*:*:yes)
   5409     as_fn_error $? "cannot bootstrap without a compiler" "$LINENO" 5 ;;
   5410 
   5411   # Fail if wrong command line
   5412   *)
   5413     as_fn_error $? "invalid option for --enable-bootstrap" "$LINENO" 5
   5414     ;;
   5415 esac
   5416 
   5417 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
   5418 # C++98 compiler can still start the bootstrap.
   5419 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
   5420   CXX="$CXX -std=gnu++98"
   5421 fi
   5422 
   5423 # Used for setting $lt_cv_objdir
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   5425 $as_echo_n "checking for objdir... " >&6; }
   5426 if ${lt_cv_objdir+:} false; then :
   5427   $as_echo_n "(cached) " >&6
   5428 else
   5429   rm -f .libs 2>/dev/null
   5430 mkdir .libs 2>/dev/null
   5431 if test -d .libs; then
   5432   lt_cv_objdir=.libs
   5433 else
   5434   # MS-DOS does not allow filenames that begin with a dot.
   5435   lt_cv_objdir=_libs
   5436 fi
   5437 rmdir .libs 2>/dev/null
   5438 fi
   5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   5440 $as_echo "$lt_cv_objdir" >&6; }
   5441 objdir=$lt_cv_objdir
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 cat >>confdefs.h <<_ACEOF
   5448 #define LT_OBJDIR "$lt_cv_objdir/"
   5449 _ACEOF
   5450 
   5451 
   5452 
   5453 # Check for GMP, MPFR and MPC
   5454 gmplibs="-lmpc -lmpfr -lgmp"
   5455 gmpinc=
   5456 have_gmp=no
   5457 
   5458 # Specify a location for mpc
   5459 # check for this first so it ends up on the link line before mpfr.
   5460 
   5461 # Check whether --with-mpc was given.
   5462 if test "${with_mpc+set}" = set; then :
   5463   withval=$with_mpc;
   5464 fi
   5465 
   5466 
   5467 # Check whether --with-mpc-include was given.
   5468 if test "${with_mpc_include+set}" = set; then :
   5469   withval=$with_mpc_include;
   5470 fi
   5471 
   5472 
   5473 # Check whether --with-mpc-lib was given.
   5474 if test "${with_mpc_lib+set}" = set; then :
   5475   withval=$with_mpc_lib;
   5476 fi
   5477 
   5478 
   5479 if test "x$with_mpc" != x; then
   5480   gmplibs="-L$with_mpc/lib $gmplibs"
   5481   gmpinc="-I$with_mpc/include $gmpinc"
   5482 fi
   5483 if test "x$with_mpc_include" != x; then
   5484   gmpinc="-I$with_mpc_include $gmpinc"
   5485 fi
   5486 if test "x$with_mpc_lib" != x; then
   5487   gmplibs="-L$with_mpc_lib $gmplibs"
   5488 fi
   5489 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
   5490   gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
   5491   gmpinc='-I$$s/mpc/src '"$gmpinc"
   5492   # Do not test the mpc version.  Assume that it is sufficient, since
   5493   # it is in the source tree, and the library has not been built yet
   5494   # but it would be included on the link line in the version check below
   5495   # hence making the test fail.
   5496   have_gmp=yes
   5497 fi
   5498 
   5499 # Specify a location for mpfr
   5500 # check for this first so it ends up on the link line before gmp.
   5501 
   5502 # Check whether --with-mpfr-dir was given.
   5503 if test "${with_mpfr_dir+set}" = set; then :
   5504   withval=$with_mpfr_dir; as_fn_error $? "The --with-mpfr-dir=PATH option has been removed.
   5505 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
   5506 fi
   5507 
   5508 
   5509 
   5510 # Check whether --with-mpfr was given.
   5511 if test "${with_mpfr+set}" = set; then :
   5512   withval=$with_mpfr;
   5513 fi
   5514 
   5515 
   5516 # Check whether --with-mpfr-include was given.
   5517 if test "${with_mpfr_include+set}" = set; then :
   5518   withval=$with_mpfr_include;
   5519 fi
   5520 
   5521 
   5522 # Check whether --with-mpfr-lib was given.
   5523 if test "${with_mpfr_lib+set}" = set; then :
   5524   withval=$with_mpfr_lib;
   5525 fi
   5526 
   5527 
   5528 if test "x$with_mpfr" != x; then
   5529   gmplibs="-L$with_mpfr/lib $gmplibs"
   5530   gmpinc="-I$with_mpfr/include $gmpinc"
   5531 fi
   5532 if test "x$with_mpfr_include" != x; then
   5533   gmpinc="-I$with_mpfr_include $gmpinc"
   5534 fi
   5535 if test "x$with_mpfr_lib" != x; then
   5536   gmplibs="-L$with_mpfr_lib $gmplibs"
   5537 fi
   5538 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
   5539   # MPFR v3.1.0 moved the sources into a src sub-directory.
   5540   if ! test -d ${srcdir}/mpfr/src; then
   5541     as_fn_error $? "Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
   5542   fi
   5543   gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
   5544   gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
   5545   extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
   5546   # Do not test the mpfr version.  Assume that it is sufficient, since
   5547   # it is in the source tree, and the library has not been built yet
   5548   # but it would be included on the link line in the version check below
   5549   # hence making the test fail.
   5550   have_gmp=yes
   5551 fi
   5552 
   5553 # Specify a location for gmp
   5554 
   5555 # Check whether --with-gmp-dir was given.
   5556 if test "${with_gmp_dir+set}" = set; then :
   5557   withval=$with_gmp_dir; as_fn_error $? "The --with-gmp-dir=PATH option has been removed.
   5558 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
   5559 fi
   5560 
   5561 
   5562 
   5563 # Check whether --with-gmp was given.
   5564 if test "${with_gmp+set}" = set; then :
   5565   withval=$with_gmp;
   5566 fi
   5567 
   5568 
   5569 # Check whether --with-gmp-include was given.
   5570 if test "${with_gmp_include+set}" = set; then :
   5571   withval=$with_gmp_include;
   5572 fi
   5573 
   5574 
   5575 # Check whether --with-gmp-lib was given.
   5576 if test "${with_gmp_lib+set}" = set; then :
   5577   withval=$with_gmp_lib;
   5578 fi
   5579 
   5580 
   5581 
   5582 if test "x$with_gmp" != x; then
   5583   gmplibs="-L$with_gmp/lib $gmplibs"
   5584   gmpinc="-I$with_gmp/include $gmpinc"
   5585 fi
   5586 if test "x$with_gmp_include" != x; then
   5587   gmpinc="-I$with_gmp_include $gmpinc"
   5588 fi
   5589 if test "x$with_gmp_lib" != x; then
   5590   gmplibs="-L$with_gmp_lib $gmplibs"
   5591 fi
   5592 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
   5593   gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
   5594   gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
   5595   extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5596   extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   5597   extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
   5598   # Do not test the gmp version.  Assume that it is sufficient, since
   5599   # it is in the source tree, and the library has not been built yet
   5600   # but it would be included on the link line in the version check below
   5601   # hence making the test fail.
   5602   have_gmp=yes
   5603 fi
   5604 
   5605 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   5606   have_gmp=yes
   5607   saved_CFLAGS="$CFLAGS"
   5608   CFLAGS="$CFLAGS $gmpinc"
   5609   # Check for the recommended and required versions of GMP.
   5610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
   5611 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
   5612 
   5613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5614 /* end confdefs.h.  */
   5615 #include "gmp.h"
   5616 int
   5617 main ()
   5618 {
   5619 
   5620   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5621   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5622   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
   5623   choke me
   5624   #endif
   5625 
   5626   ;
   5627   return 0;
   5628 }
   5629 _ACEOF
   5630 if ac_fn_c_try_compile "$LINENO"; then :
   5631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5632 /* end confdefs.h.  */
   5633 #include <gmp.h>
   5634 int
   5635 main ()
   5636 {
   5637 
   5638   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   5639   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   5640   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
   5641   choke me
   5642   #endif
   5643 
   5644   ;
   5645   return 0;
   5646 }
   5647 _ACEOF
   5648 if ac_fn_c_try_compile "$LINENO"; then :
   5649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5650 $as_echo "yes" >&6; }
   5651 else
   5652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5653 $as_echo "buggy but acceptable" >&6; }
   5654 fi
   5655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5656 else
   5657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5658 $as_echo "no" >&6; }; have_gmp=no
   5659 fi
   5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5661 
   5662   # If we have GMP, check the MPFR version.
   5663   if test x"$have_gmp" = xyes; then
   5664     # Check for the recommended and required versions of MPFR.
   5665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
   5666 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
   5667     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5668 /* end confdefs.h.  */
   5669 #include <gmp.h>
   5670     #include <mpfr.h>
   5671 int
   5672 main ()
   5673 {
   5674 
   5675     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
   5676     choke me
   5677     #endif
   5678 
   5679   ;
   5680   return 0;
   5681 }
   5682 _ACEOF
   5683 if ac_fn_c_try_compile "$LINENO"; then :
   5684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5685 /* end confdefs.h.  */
   5686 #include <gmp.h>
   5687     #include <mpfr.h>
   5688 int
   5689 main ()
   5690 {
   5691 
   5692     #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
   5693     choke me
   5694     #endif
   5695 
   5696   ;
   5697   return 0;
   5698 }
   5699 _ACEOF
   5700 if ac_fn_c_try_compile "$LINENO"; then :
   5701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5702 $as_echo "yes" >&6; }
   5703 else
   5704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5705 $as_echo "buggy but acceptable" >&6; }
   5706 fi
   5707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5708 else
   5709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5710 $as_echo "no" >&6; }; have_gmp=no
   5711 fi
   5712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5713   fi
   5714 
   5715   # Check for the MPC header version.
   5716   if test x"$have_gmp" = xyes ; then
   5717     # Check for the recommended and required versions of MPC.
   5718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
   5719 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
   5720     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5721 /* end confdefs.h.  */
   5722 #include <mpc.h>
   5723 int
   5724 main ()
   5725 {
   5726 
   5727     #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
   5728     choke me
   5729     #endif
   5730 
   5731   ;
   5732   return 0;
   5733 }
   5734 _ACEOF
   5735 if ac_fn_c_try_compile "$LINENO"; then :
   5736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5737 /* end confdefs.h.  */
   5738 #include <mpc.h>
   5739 int
   5740 main ()
   5741 {
   5742 
   5743     #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
   5744     choke me
   5745     #endif
   5746 
   5747   ;
   5748   return 0;
   5749 }
   5750 _ACEOF
   5751 if ac_fn_c_try_compile "$LINENO"; then :
   5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5753 $as_echo "yes" >&6; }
   5754 else
   5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   5756 $as_echo "buggy but acceptable" >&6; }
   5757 fi
   5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5759 else
   5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5761 $as_echo "no" >&6; }; have_gmp=no
   5762 fi
   5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5764   fi
   5765 
   5766   # Now check the MPFR library.
   5767   if test x"$have_gmp" = xyes; then
   5768     saved_LIBS="$LIBS"
   5769     LIBS="$LIBS $gmplibs"
   5770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
   5771 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
   5772     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5773 /* end confdefs.h.  */
   5774 #include <mpc.h>
   5775 int
   5776 main ()
   5777 {
   5778 
   5779     mpfr_t n;
   5780     mpfr_t x;
   5781     mpc_t c;
   5782     int t;
   5783     mpfr_init (n);
   5784     mpfr_init (x);
   5785     mpfr_atan2 (n, n, x, GMP_RNDN);
   5786     mpfr_erfc (n, x, GMP_RNDN);
   5787     mpfr_subnormalize (x, t, GMP_RNDN);
   5788     mpfr_clear(n);
   5789     mpfr_clear(x);
   5790     mpc_init2 (c, 53);
   5791     mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
   5792     mpc_cosh (c, c, MPC_RNDNN);
   5793     mpc_pow (c, c, c, MPC_RNDNN);
   5794     mpc_acosh (c, c, MPC_RNDNN);
   5795     mpc_clear (c);
   5796 
   5797   ;
   5798   return 0;
   5799 }
   5800 _ACEOF
   5801 if ac_fn_c_try_link "$LINENO"; then :
   5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5803 $as_echo "yes" >&6; }
   5804 else
   5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5806 $as_echo "no" >&6; }; have_gmp=no
   5807 fi
   5808 rm -f core conftest.err conftest.$ac_objext \
   5809     conftest$ac_exeext conftest.$ac_ext
   5810     LIBS="$saved_LIBS"
   5811   fi
   5812 
   5813   CFLAGS="$saved_CFLAGS"
   5814 
   5815 # The library versions listed in the error message below should match
   5816 # the HARD-minimums enforced above.
   5817   if test x$have_gmp != xyes; then
   5818     as_fn_error $? "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
   5819 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
   5820 their locations.  Source code for these libraries can be found at
   5821 their respective hosting sites as well as at
   5822 ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
   5823 http://gcc.gnu.org/install/prerequisites.html for additional info.  If
   5824 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
   5825 make sure that you have installed both the libraries and the header
   5826 files.  They may be located in separate packages." "$LINENO" 5
   5827   fi
   5828 fi
   5829 
   5830 # Flags needed for both GMP, MPFR and/or MPC.
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 # Libraries to use for stage1 or when not bootstrapping.
   5839 
   5840 # Check whether --with-stage1-libs was given.
   5841 if test "${with_stage1_libs+set}" = set; then :
   5842   withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   5843    stage1_libs=
   5844  else
   5845    stage1_libs=$withval
   5846  fi
   5847 else
   5848   stage1_libs=
   5849 fi
   5850 
   5851 
   5852 
   5853 # Whether or not to use -static-libstdc++ and -static-libgcc.  The
   5854 # default is yes if gcc is being built; no otherwise.  The reason for
   5855 # this default is that gdb is sometimes linked against GNU Source
   5856 # Highlight, which is a shared library that uses C++ exceptions.  In
   5857 # this case, -static-libstdc++ will cause crashes.
   5858 
   5859 # Check whether --with-static-standard-libraries was given.
   5860 if test "${with_static_standard_libraries+set}" = set; then :
   5861   withval=$with_static_standard_libraries;
   5862 else
   5863   with_static_standard_libraries=auto
   5864 fi
   5865 
   5866 if test "$with_static_standard_libraries" = auto; then
   5867   with_static_standard_libraries=$have_compiler
   5868 fi
   5869 
   5870 # Linker flags to use for stage1 or when not bootstrapping.
   5871 
   5872 # Check whether --with-stage1-ldflags was given.
   5873 if test "${with_stage1_ldflags+set}" = set; then :
   5874   withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   5875    stage1_ldflags=
   5876  else
   5877    stage1_ldflags=$withval
   5878  fi
   5879 else
   5880   stage1_ldflags=
   5881  # In stage 1, default to linking libstdc++ and libgcc statically with GCC
   5882  # if supported.  But if the user explicitly specified the libraries to use,
   5883  # trust that they are doing what they want.
   5884  if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
   5885      -a "$have_static_libs" = yes; then
   5886    stage1_ldflags="-static-libstdc++ -static-libgcc"
   5887  fi
   5888 fi
   5889 
   5890 
   5891 
   5892 # Libraries to use for stage2 and later builds.
   5893 
   5894 # Check whether --with-boot-libs was given.
   5895 if test "${with_boot_libs+set}" = set; then :
   5896   withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   5897    poststage1_libs=
   5898  else
   5899    poststage1_libs=$withval
   5900  fi
   5901 else
   5902   poststage1_libs=
   5903 fi
   5904 
   5905 
   5906 
   5907 # Linker flags to use for stage2 and later builds.
   5908 
   5909 # Check whether --with-boot-ldflags was given.
   5910 if test "${with_boot_ldflags+set}" = set; then :
   5911   withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   5912    poststage1_ldflags=
   5913  else
   5914    poststage1_ldflags=$withval
   5915  fi
   5916 else
   5917   poststage1_ldflags=
   5918  # In stages 2 and 3, default to linking libstdc++ and libgcc
   5919  # statically.  But if the user explicitly specified the libraries to
   5920  # use, trust that they are doing what they want.
   5921  if test "$poststage1_libs" = ""; then
   5922    poststage1_ldflags="-static-libstdc++ -static-libgcc"
   5923  fi
   5924 fi
   5925 
   5926 
   5927 
   5928 # GCC GRAPHITE dependency isl.
   5929 # Basic setup is inlined here, actual checks are in config/isl.m4
   5930 
   5931 
   5932 # Check whether --with-isl was given.
   5933 if test "${with_isl+set}" = set; then :
   5934   withval=$with_isl;
   5935 fi
   5936 
   5937 
   5938 # Treat --without-isl as a request to disable
   5939 # GRAPHITE support and skip all following checks.
   5940 if test "x$with_isl" != "xno"; then
   5941   # Check for isl
   5942 
   5943 
   5944 # Check whether --with-isl-include was given.
   5945 if test "${with_isl_include+set}" = set; then :
   5946   withval=$with_isl_include;
   5947 fi
   5948 
   5949 
   5950 # Check whether --with-isl-lib was given.
   5951 if test "${with_isl_lib+set}" = set; then :
   5952   withval=$with_isl_lib;
   5953 fi
   5954 
   5955 
   5956   # Check whether --enable-isl-version-check was given.
   5957 if test "${enable_isl_version_check+set}" = set; then :
   5958   enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
   5959 else
   5960   ENABLE_ISL_CHECK=yes
   5961 fi
   5962 
   5963 
   5964   # Initialize isllibs and islinc.
   5965   case $with_isl in
   5966     no)
   5967       isllibs=
   5968       islinc=
   5969       ;;
   5970     "" | yes)
   5971       ;;
   5972     *)
   5973       isllibs="-L$with_isl/lib"
   5974       islinc="-I$with_isl/include"
   5975       ;;
   5976   esac
   5977   if test "x${with_isl_include}" != x ; then
   5978     islinc="-I$with_isl_include"
   5979   fi
   5980   if test "x${with_isl_lib}" != x; then
   5981     isllibs="-L$with_isl_lib"
   5982   fi
   5983         if test "x${islinc}" = x && test "x${isllibs}" = x \
   5984      && test -d ${srcdir}/isl; then
   5985     isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
   5986     islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
   5987     ENABLE_ISL_CHECK=no
   5988     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
   5989 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
   5990   fi
   5991 
   5992   isllibs="${isllibs} -lisl"
   5993 
   5994 
   5995 
   5996   if test "${ENABLE_ISL_CHECK}" = yes ; then
   5997     _isl_saved_CFLAGS=$CFLAGS
   5998     _isl_saved_LDFLAGS=$LDFLAGS
   5999     _isl_saved_LIBS=$LIBS
   6000 
   6001     CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
   6002     LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
   6003     LIBS="${_isl_saved_LIBS} -lisl -lgmp"
   6004 
   6005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
   6006 $as_echo_n "checking for isl 0.15 or later... " >&6; }
   6007     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6008 /* end confdefs.h.  */
   6009 #include <isl/schedule.h>
   6010 int
   6011 main ()
   6012 {
   6013 isl_options_set_schedule_serialize_sccs (NULL, 0);
   6014   ;
   6015   return 0;
   6016 }
   6017 _ACEOF
   6018 if ac_fn_c_try_link "$LINENO"; then :
   6019   gcc_cv_isl=yes
   6020 else
   6021   gcc_cv_isl=no
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext \
   6024     conftest$ac_exeext conftest.$ac_ext
   6025     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
   6026 $as_echo "$gcc_cv_isl" >&6; }
   6027 
   6028     if test "${gcc_cv_isl}" = no ; then
   6029       { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
   6030 $as_echo "required isl version is 0.15 or later" >&6; }
   6031     fi
   6032 
   6033     CFLAGS=$_isl_saved_CFLAGS
   6034     LDFLAGS=$_isl_saved_LDFLAGS
   6035     LIBS=$_isl_saved_LIBS
   6036   fi
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043   if test "x${with_isl}" = xno; then
   6044     graphite_requested=no
   6045   elif test "x${with_isl}" != x \
   6046     || test "x${with_isl_include}" != x \
   6047     || test "x${with_isl_lib}" != x ; then
   6048     graphite_requested=yes
   6049   else
   6050     graphite_requested=no
   6051   fi
   6052 
   6053 
   6054 
   6055   if test "${gcc_cv_isl}" = no ; then
   6056     isllibs=
   6057     islinc=
   6058   fi
   6059 
   6060   if test "${graphite_requested}" = yes \
   6061     && test "x${isllibs}" = x \
   6062     && test "x${islinc}" = x ; then
   6063 
   6064     as_fn_error $? "Unable to find a usable isl.  See config.log for details." "$LINENO" 5
   6065   fi
   6066 
   6067 
   6068 fi
   6069 
   6070 # If the isl check failed, disable builds of in-tree variant of isl
   6071 if test "x$with_isl" = xno ||
   6072    test "x$gcc_cv_isl" = xno; then
   6073   noconfigdirs="$noconfigdirs isl"
   6074   islinc=
   6075 fi
   6076 
   6077 
   6078 
   6079 
   6080 # Check for LTO support.
   6081 # Check whether --enable-lto was given.
   6082 if test "${enable_lto+set}" = set; then :
   6083   enableval=$enable_lto; enable_lto=$enableval
   6084 else
   6085   enable_lto=yes; default_enable_lto=yes
   6086 fi
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 target_elf=no
   6093 case $target in
   6094   *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
   6095   *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
   6096   alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \
   6097   nvptx-*-none)
   6098     target_elf=no
   6099     ;;
   6100   *)
   6101     target_elf=yes
   6102     ;;
   6103 esac
   6104 
   6105 if test $target_elf = yes; then :
   6106   # ELF platforms build the lto-plugin always.
   6107   build_lto_plugin=yes
   6108 
   6109 else
   6110   if test x"$default_enable_lto" = x"yes" ; then
   6111     case $target in
   6112       *-apple-darwin[912]* | *-cygwin* | *-mingw* | *djgpp*) ;;
   6113       # On other non-ELF platforms, LTO has yet to be validated.
   6114       *) enable_lto=no ;;
   6115     esac
   6116   else
   6117   # Apart from ELF platforms, only Windows and Darwin support LTO so far.
   6118   # It would also be nice to check the binutils support, but we don't
   6119   # have gcc_GAS_CHECK_FEATURE available here.  For now, we'll just
   6120   # warn during gcc/ subconfigure; unless you're bootstrapping with
   6121   # -flto it won't be needed until after installation anyway.
   6122     case $target in
   6123       *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
   6124       *) if test x"$enable_lto" = x"yes"; then
   6125 	as_fn_error $? "LTO support is not enabled for this target." "$LINENO" 5
   6126         fi
   6127       ;;
   6128     esac
   6129   fi
   6130   # Among non-ELF, only Windows platforms support the lto-plugin so far.
   6131   # Build it unless LTO was explicitly disabled.
   6132   case $target in
   6133     *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
   6134     *) ;;
   6135   esac
   6136 
   6137 fi
   6138 
   6139 
   6140 # Check whether --enable-linker-plugin-configure-flags was given.
   6141 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
   6142   enableval=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags=$enableval
   6143 else
   6144   extra_linker_plugin_configure_flags=
   6145 fi
   6146 
   6147 
   6148 # Check whether --enable-linker-plugin-flags was given.
   6149 if test "${enable_linker_plugin_flags+set}" = set; then :
   6150   enableval=$enable_linker_plugin_flags; extra_linker_plugin_flags=$enableval
   6151 else
   6152   extra_linker_plugin_flags=
   6153 fi
   6154 
   6155 
   6156 
   6157 # Enable --enable-host-shared.
   6158 # Checked early to determine whether jit is an 'all' language
   6159 # Check whether --enable-host-shared was given.
   6160 if test "${enable_host_shared+set}" = set; then :
   6161   enableval=$enable_host_shared; host_shared=$enableval
   6162 else
   6163   host_shared=no
   6164 fi
   6165 
   6166 
   6167 
   6168 # By default, C and C++ are the only stage 1 languages.
   6169 stage1_languages=,c,
   6170 
   6171 # Target libraries that we bootstrap.
   6172 bootstrap_target_libs=,target-libgcc,
   6173 
   6174 # Figure out what language subdirectories are present.
   6175 # Look if the user specified --enable-languages="..."; if not, use
   6176 # the environment variable $LANGUAGES if defined. $LANGUAGES might
   6177 # go away some day.
   6178 # NB:  embedded tabs in this IF block -- do not untabify
   6179 if test -d ${srcdir}/gcc; then
   6180   if test x"${enable_languages+set}" != xset; then
   6181     if test x"${LANGUAGES+set}" = xset; then
   6182       enable_languages="${LANGUAGES}"
   6183         echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
   6184     else
   6185       enable_languages=default
   6186     fi
   6187   else
   6188     if test x"${enable_languages}" = x ||
   6189        test x"${enable_languages}" = xyes;
   6190        then
   6191       echo configure.ac: --enable-languages needs at least one language argument 1>&2
   6192       exit 1
   6193     fi
   6194   fi
   6195   enable_languages=`echo "${enable_languages}" | sed -e 's/[ 	,][ 	,]*/,/g' -e 's/,$//'`
   6196 
   6197   # 'f95' is the old name for the 'fortran' language. We issue a warning
   6198   # and make the substitution.
   6199   case ,${enable_languages}, in
   6200     *,f95,*)
   6201       echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
   6202       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
   6203       ;;
   6204   esac
   6205 
   6206   # If bootstrapping, C++ must be enabled.
   6207   case ",$enable_languages,:$enable_bootstrap" in
   6208     *,c++,*:*) ;;
   6209     *:yes)
   6210       if test -f ${srcdir}/gcc/cp/config-lang.in; then
   6211         enable_languages="${enable_languages},c++"
   6212       else
   6213         as_fn_error $? "bootstrapping requires c++ sources" "$LINENO" 5
   6214       fi
   6215       ;;
   6216   esac
   6217 
   6218   # First scan to see if an enabled language requires some other language.
   6219   # We assume that a given config-lang.in will list all the language
   6220   # front ends it requires, even if some are required indirectly.
   6221   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6222     case ${lang_frag} in
   6223       ..) ;;
   6224       # The odd quoting in the next line works around
   6225       # an apparent bug in bash 1.12 on linux.
   6226       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6227       *)
   6228         # From the config-lang.in, get $language, $lang_requires, and
   6229         # $lang_requires_boot_languages.
   6230         language=
   6231         lang_requires=
   6232         lang_requires_boot_languages=
   6233         # set srcdir during sourcing lang_frag to the gcc dir.
   6234         # Sadly overriding srcdir on the . line doesn't work in plain sh as it
   6235         # polutes this shell
   6236         saved_srcdir=${srcdir}
   6237         srcdir=${srcdir}/gcc . ${lang_frag}
   6238         srcdir=${saved_srcdir}
   6239         for other in ${lang_requires} ${lang_requires_boot_languages}; do
   6240           case ,${enable_languages}, in
   6241 	    *,$other,*) ;;
   6242 	    *,default,*) ;;
   6243 	    *,all,*) ;;
   6244 	    *,$language,*)
   6245 	      echo " \`$other' language required by \`$language'; enabling" 1>&2
   6246 	      enable_languages="${enable_languages},${other}"
   6247 	      ;;
   6248 	  esac
   6249         done
   6250 	for other in ${lang_requires_boot_languages} ; do
   6251 	  if test "$other" != "c"; then
   6252 	    case ,${enable_stage1_languages}, in
   6253 	      *,$other,*) ;;
   6254 	      *,default,*) ;;
   6255 	      *,all,*) ;;
   6256 	      *)
   6257 		case ,${enable_languages}, in
   6258 		  *,$language,*)
   6259 		    echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
   6260 		    enable_stage1_languages="$enable_stage1_languages,${other}"
   6261 		    ;;
   6262 		esac
   6263 		;;
   6264 	    esac
   6265           fi
   6266         done
   6267         ;;
   6268     esac
   6269   done
   6270 
   6271   new_enable_languages=,c,
   6272 
   6273   # If LTO is enabled, add the LTO front end.
   6274   if test "$enable_lto" = "yes" ; then
   6275     case ,${enable_languages}, in
   6276       *,lto,*) ;;
   6277       *) enable_languages="${enable_languages},lto" ;;
   6278     esac
   6279     if test "${build_lto_plugin}" = "yes" ; then
   6280       configdirs="$configdirs lto-plugin"
   6281     fi
   6282   fi
   6283 
   6284   # If we're building an offloading compiler, add the LTO front end.
   6285   if test x"$enable_as_accelerator_for" != x ; then
   6286     case ,${enable_languages}, in
   6287       *,lto,*) ;;
   6288       *) enable_languages="${enable_languages},lto" ;;
   6289     esac
   6290   fi
   6291 
   6292   missing_languages=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
   6293   potential_languages=,c,
   6294 
   6295   enabled_target_libs=
   6296   disabled_target_libs=
   6297 
   6298   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   6299     case ${lang_frag} in
   6300       ..) ;;
   6301       # The odd quoting in the next line works around
   6302       # an apparent bug in bash 1.12 on linux.
   6303       ${srcdir}/gcc/[*]/config-lang.in) ;;
   6304       *)
   6305         # From the config-lang.in, get $language, $target_libs,
   6306         # $lang_dirs, $boot_language, and $build_by_default
   6307         language=
   6308         target_libs=
   6309         lang_dirs=
   6310         subdir_requires=
   6311         boot_language=no
   6312         build_by_default=yes
   6313         # set srcdir during sourcing.  See above about save & restore
   6314         saved_srcdir=${srcdir}
   6315         srcdir=${srcdir}/gcc . ${lang_frag}
   6316         srcdir=${saved_srcdir}
   6317         if test x${language} = x; then
   6318           echo "${lang_frag} doesn't set \$language." 1>&2
   6319           exit 1
   6320         fi
   6321 
   6322 	if test "$language" = "c++"; then
   6323 	  boot_language=yes
   6324 	fi
   6325 
   6326         add_this_lang=no
   6327         # C is always enabled, so no need to add it again
   6328         if test "$language" != "c"; then
   6329           case ,${enable_languages}, in
   6330             *,${language},*)
   6331               # Language was explicitly selected; include it
   6332 	      add_this_lang=yes
   6333               ;;
   6334 	    *,all,*)
   6335 	      # All languages are enabled
   6336 	      add_this_lang=all
   6337               ;;
   6338             *,default,*)
   6339               # 'default' was selected, select it if it is a default language
   6340 	      add_this_lang=${build_by_default}
   6341               ;;
   6342           esac
   6343         fi
   6344 
   6345         # Disable languages that need other directories if these aren't available.
   6346 	for i in $subdir_requires; do
   6347 	  test -f "$srcdir/gcc/$i/config-lang.in" && continue
   6348 	  case ${add_this_lang} in
   6349 	    yes)
   6350               # Specifically requested language; tell them.
   6351               as_fn_error $? "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
   6352               ;;
   6353             all)
   6354               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
   6355 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
   6356               add_this_lang=unsupported
   6357               ;;
   6358             *)
   6359               # Silently disable.
   6360               add_this_lang=unsupported
   6361               ;;
   6362           esac
   6363 	done
   6364 
   6365         # Disable Ada if no preexisting GNAT is available.
   6366         case ${add_this_lang}:${language}:${have_gnat} in
   6367           yes:ada:no)
   6368             # Specifically requested language; tell them.
   6369             as_fn_error $? "GNAT is required to build $language" "$LINENO" 5
   6370             ;;
   6371           all:ada:no)
   6372             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
   6373 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
   6374             add_this_lang=unsupported
   6375             ;;
   6376           *:ada:no)
   6377             # Silently disable.
   6378             add_this_lang=unsupported
   6379             ;;
   6380         esac
   6381 
   6382         # Disable jit if -enable-host-shared not specified
   6383         case ${add_this_lang}:${language}:${host_shared} in
   6384           yes:jit:no)
   6385 	    # PR jit/64780: explicitly specify --enable-host-shared
   6386 	    as_fn_error $? "
   6387 Enabling language \"jit\" requires --enable-host-shared.
   6388 
   6389 --enable-host-shared typically slows the rest of the compiler down by
   6390 a few %, so you must explicitly enable it.
   6391 
   6392 If you want to build both the jit and the regular compiler, it is often
   6393 best to do this via two separate configure/builds, in separate
   6394 directories, to avoid imposing the performance cost of
   6395 --enable-host-shared on the regular compiler." "$LINENO" 5
   6396 	    ;;
   6397           all:jit:no)
   6398 	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
   6399 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
   6400             add_this_lang=unsupported
   6401             ;;
   6402           *:jit:no)
   6403             # Silently disable.
   6404             add_this_lang=unsupported
   6405             ;;
   6406 	esac
   6407 
   6408         # Disable a language that is unsupported by the target.
   6409 	case "${add_this_lang}: $unsupported_languages " in
   6410 	  no:*) ;;
   6411 	  unsupported:*) ;;
   6412 	  *:*" $language "*)
   6413 	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
   6414 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
   6415 	    add_this_lang=unsupported
   6416 	    ;;
   6417 	esac
   6418 
   6419 	case $add_this_lang in
   6420 	  unsupported)
   6421             # Remove language-dependent dirs.
   6422 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6423 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6424 	    ;;
   6425 	  no)
   6426             # Remove language-dependent dirs; still show language as supported.
   6427 	    disabled_target_libs="$disabled_target_libs $target_libs"
   6428 	    noconfigdirs="$noconfigdirs $lang_dirs"
   6429             potential_languages="${potential_languages}${language},"
   6430 	    ;;
   6431           all|yes)
   6432 	    new_enable_languages="${new_enable_languages}${language},"
   6433             potential_languages="${potential_languages}${language},"
   6434 	    missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
   6435 	    enabled_target_libs="$enabled_target_libs $target_libs"
   6436 	    case "${boot_language}:,$enable_stage1_languages," in
   6437 	      yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
   6438 		# Add to (comma-separated) list of stage 1 languages.
   6439 		case ",$stage1_languages," in
   6440 		  *,$language,* | ,yes, | ,all,) ;;
   6441 		  *) stage1_languages="${stage1_languages}${language}," ;;
   6442 		esac
   6443 		# We need to bootstrap any supporting libraries.
   6444 		bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
   6445 		;;
   6446 	    esac
   6447 	    ;;
   6448         esac
   6449         ;;
   6450     esac
   6451   done
   6452 
   6453   # Add target libraries which are only needed for disabled languages
   6454   # to noconfigdirs.
   6455   if test -n "$disabled_target_libs"; then
   6456     for dir in $disabled_target_libs; do
   6457       case " $enabled_target_libs " in
   6458       *" ${dir} "*) ;;
   6459       *) noconfigdirs="$noconfigdirs $dir" ;;
   6460       esac
   6461     done
   6462   fi
   6463 
   6464   # Check whether --enable-stage1-languages was given.
   6465 if test "${enable_stage1_languages+set}" = set; then :
   6466   enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
   6467     ,no,|,,)
   6468       # Set it to something that will have no effect in the loop below
   6469       enable_stage1_languages=c ;;
   6470     ,yes,)
   6471       enable_stage1_languages=`echo $new_enable_languages | \
   6472 	sed -e "s/^,//" -e "s/,$//" ` ;;
   6473     *,all,*)
   6474       enable_stage1_languages=`echo ,$enable_stage1_languages, | \
   6475 	sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
   6476   esac
   6477 
   6478   # Add "good" languages from enable_stage1_languages to stage1_languages,
   6479   # while "bad" languages go in missing_languages.  Leave no duplicates.
   6480   for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
   6481     case $potential_languages in
   6482       *,$i,*)
   6483         case $stage1_languages in
   6484           *,$i,*) ;;
   6485           *) stage1_languages="$stage1_languages$i," ;;
   6486         esac ;;
   6487       *)
   6488         case $missing_languages in
   6489           *,$i,*) ;;
   6490           *) missing_languages="$missing_languages$i," ;;
   6491         esac ;;
   6492      esac
   6493   done
   6494 fi
   6495 
   6496 
   6497   # Remove leading/trailing commas that were added for simplicity
   6498   potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
   6499   missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
   6500   stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
   6501   new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
   6502 
   6503   if test "x$missing_languages" != x; then
   6504     as_fn_error $? "
   6505 The following requested languages could not be built: ${missing_languages}
   6506 Supported languages are: ${potential_languages}" "$LINENO" 5
   6507   fi
   6508   if test "x$new_enable_languages" != "x$enable_languages"; then
   6509     echo The following languages will be built: ${new_enable_languages}
   6510     enable_languages="$new_enable_languages"
   6511   fi
   6512 
   6513 
   6514   ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
   6515 fi
   6516 
   6517 # Handle --disable-<component> generically.
   6518 for dir in $configdirs $build_configdirs $target_configdirs ; do
   6519   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
   6520   varname=`echo $dirname | sed -e s/+/_/g`
   6521   if eval test x\${enable_${varname}} "=" xno ; then
   6522     noconfigdirs="$noconfigdirs $dir"
   6523   fi
   6524 done
   6525 
   6526 # Check for Boehm's garbage collector
   6527 # Check whether --enable-objc-gc was given.
   6528 if test "${enable_objc_gc+set}" = set; then :
   6529   enableval=$enable_objc_gc;
   6530 fi
   6531 
   6532 
   6533 # Check whether --with-target-bdw-gc was given.
   6534 if test "${with_target_bdw_gc+set}" = set; then :
   6535   withval=$with_target_bdw_gc;
   6536 fi
   6537 
   6538 
   6539 # Check whether --with-target-bdw-gc-include was given.
   6540 if test "${with_target_bdw_gc_include+set}" = set; then :
   6541   withval=$with_target_bdw_gc_include;
   6542 fi
   6543 
   6544 
   6545 # Check whether --with-target-bdw-gc-lib was given.
   6546 if test "${with_target_bdw_gc_lib+set}" = set; then :
   6547   withval=$with_target_bdw_gc_lib;
   6548 fi
   6549 
   6550 
   6551 case ,${enable_languages},:${enable_objc_gc} in *,objc,*:yes|*,objc,*:auto)
   6552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
   6553 $as_echo_n "checking for bdw garbage collector... " >&6; }
   6554   if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x; then
   6555         { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
   6556 $as_echo "using bdw-gc in default locations" >&6; }
   6557   else
   6558         if test "x$with_target_bdw_gc_include" = x && test "x$with_target_bdw_gc_lib" != x; then
   6559       as_fn_error $? "found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
   6560     elif test "x$with_target_bdw_gc_include" != x && test "x$with_target_bdw_gc_lib" = x; then
   6561       as_fn_error $? "found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
   6562     else
   6563       { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
   6564 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
   6565     fi
   6566   fi
   6567 esac
   6568 
   6569 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
   6570 case ,${enable_languages}, in
   6571   *,c++,*)
   6572     # Disable libitm, libsanitizer if we're not building libstdc++
   6573     case "${noconfigdirs}" in
   6574       *target-libstdc++-v3*)
   6575         noconfigdirs="$noconfigdirs target-libitm target-libsanitizer"
   6576         ;;
   6577       *) ;;
   6578     esac
   6579     ;;
   6580   *)
   6581     noconfigdirs="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
   6582     ;;
   6583 esac
   6584 
   6585 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
   6586 # $build_configdirs and $target_configdirs.
   6587 # If we have the source for $noconfigdirs entries, add them to $notsupp.
   6588 
   6589 notsupp=""
   6590 for dir in . $skipdirs $noconfigdirs ; do
   6591   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
   6592   if test $dir != .  && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6593     configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
   6594     if test -r $srcdir/$dirname/configure ; then
   6595       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6596 	true
   6597       else
   6598 	notsupp="$notsupp $dir"
   6599       fi
   6600     fi
   6601   fi
   6602   if test $dir != .  && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6603     build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
   6604     if test -r $srcdir/$dirname/configure ; then
   6605       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6606 	true
   6607       else
   6608 	notsupp="$notsupp $dir"
   6609       fi
   6610     fi
   6611   fi
   6612   if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6613     target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
   6614     if test -r $srcdir/$dirname/configure ; then
   6615       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6616 	true
   6617       else
   6618 	notsupp="$notsupp $dir"
   6619       fi
   6620     fi
   6621   fi
   6622 done
   6623 
   6624 # Quietly strip out all directories which aren't configurable in this tree.
   6625 # This relies on all configurable subdirectories being autoconfiscated, which
   6626 # is now the case.
   6627 build_configdirs_all="$build_configdirs"
   6628 build_configdirs=
   6629 for i in ${build_configdirs_all} ; do
   6630   j=`echo $i | sed -e s/build-//g`
   6631   if test -f ${srcdir}/$j/configure ; then
   6632     build_configdirs="${build_configdirs} $i"
   6633   fi
   6634 done
   6635 
   6636 configdirs_all="$configdirs"
   6637 configdirs=
   6638 for i in ${configdirs_all} ; do
   6639   if test -f ${srcdir}/$i/configure ; then
   6640     configdirs="${configdirs} $i"
   6641   fi
   6642 done
   6643 
   6644 target_configdirs_all="$target_configdirs"
   6645 target_configdirs=
   6646 for i in ${target_configdirs_all} ; do
   6647   j=`echo $i | sed -e s/target-//g`
   6648   if test -f ${srcdir}/$j/configure ; then
   6649     target_configdirs="${target_configdirs} $i"
   6650   fi
   6651 done
   6652 
   6653 # libiberty-linker-plugin is special: it doesn't have its own source directory,
   6654 # so we have to add it after the preceding checks.
   6655 if test x"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
   6656 then
   6657   case " $configdirs " in
   6658     *" libiberty "*)
   6659       # If we can build libiberty, we can also build libiberty-linker-plugin.
   6660       configdirs="$configdirs libiberty-linker-plugin"
   6661       extra_linker_plugin_configure_flags="$extra_linker_plugin_configure_flags \
   6662         --with-libiberty=../libiberty-linker-plugin";;
   6663     *)
   6664       as_fn_error $? "libiberty missing" "$LINENO" 5;;
   6665   esac
   6666 fi
   6667 
   6668 # Sometimes we have special requirements for the host libiberty.
   6669 extra_host_libiberty_configure_flags=
   6670 extra_host_zlib_configure_flags=
   6671 case " $configdirs " in
   6672   *" lto-plugin "* | *" libcc1 "*)
   6673     # When these are to be built as shared libraries, the same applies to
   6674     # libiberty.
   6675     extra_host_libiberty_configure_flags=--enable-shared
   6676     ;;
   6677   *" bfd "*)
   6678     # When bfd is to be built as a shared library, the same applies to
   6679     # zlib.
   6680     if test "$enable_shared" = "yes"; then
   6681       extra_host_zlib_configure_flags=--enable-host-shared
   6682     fi
   6683     ;;
   6684 esac
   6685 
   6686 
   6687 
   6688 # Produce a warning message for the subdirs we can't configure.
   6689 # This isn't especially interesting in the Cygnus tree, but in the individual
   6690 # FSF releases, it's important to let people know when their machine isn't
   6691 # supported by the one or two programs in a package.
   6692 
   6693 if test -n "${notsupp}" && test -z "${norecursion}" ; then
   6694   # If $appdirs is non-empty, at least one of those directories must still
   6695   # be configured, or we error out.  (E.g., if the gas release supports a
   6696   # specified target in some subdirs but not the gas subdir, we shouldn't
   6697   # pretend that all is well.)
   6698   if test -n "$appdirs" ; then
   6699     for dir in $appdirs ; do
   6700       if test -r $dir/Makefile.in ; then
   6701 	if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   6702 	  appdirs=""
   6703 	  break
   6704 	fi
   6705 	if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
   6706 	  appdirs=""
   6707 	  break
   6708 	fi
   6709       fi
   6710     done
   6711     if test -n "$appdirs" ; then
   6712       echo "*** This configuration is not supported by this package." 1>&2
   6713       exit 1
   6714     fi
   6715   fi
   6716   # Okay, some application will build, or we don't care to check.  Still
   6717   # notify of subdirs not getting built.
   6718   echo "*** This configuration is not supported in the following subdirectories:" 1>&2
   6719   echo "    ${notsupp}" 1>&2
   6720   echo "    (Any other directories should still work fine.)" 1>&2
   6721 fi
   6722 
   6723 case "$host" in
   6724   *msdosdjgpp*)
   6725     enable_gdbtk=no ;;
   6726 esac
   6727 
   6728 # To find our prefix, in gcc_cv_tool_prefix.
   6729 
   6730 # The user is always right.
   6731 if test "${PATH_SEPARATOR+set}" != set; then
   6732   echo "#! /bin/sh" >conf$$.sh
   6733   echo  "exit 0"   >>conf$$.sh
   6734   chmod +x conf$$.sh
   6735   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   6736     PATH_SEPARATOR=';'
   6737   else
   6738     PATH_SEPARATOR=:
   6739   fi
   6740   rm -f conf$$.sh
   6741 fi
   6742 
   6743 
   6744   get_gcc_base_ver="cat"
   6745 
   6746 # Check whether --with-gcc-major-version-only was given.
   6747 if test "${with_gcc_major_version_only+set}" = set; then :
   6748   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
   6749         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
   6750       fi
   6751 
   6752 fi
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 if test "x$exec_prefix" = xNONE; then
   6760         if test "x$prefix" = xNONE; then
   6761                 gcc_cv_tool_prefix=$ac_default_prefix
   6762         else
   6763                 gcc_cv_tool_prefix=$prefix
   6764         fi
   6765 else
   6766         gcc_cv_tool_prefix=$exec_prefix
   6767 fi
   6768 
   6769 # If there is no compiler in the tree, use the PATH only.  In any
   6770 # case, if there is no compiler in the tree nobody should use
   6771 # AS_FOR_TARGET and LD_FOR_TARGET.
   6772 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
   6773     if test x$with_gcc_major_version_only = xyes ; then
   6774                 gcc_version=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
   6775             else
   6776         gcc_version=`cat $srcdir/gcc/BASE-VER`
   6777     fi
   6778     gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6779     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
   6780     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6781     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
   6782     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   6783     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
   6784 else
   6785     gcc_cv_tool_dirs=
   6786 fi
   6787 
   6788 if test x$build = x$target && test -n "$md_exec_prefix"; then
   6789         gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
   6790 fi
   6791 
   6792 
   6793 
   6794 copy_dirs=
   6795 
   6796 
   6797 # Check whether --with-build-sysroot was given.
   6798 if test "${with_build_sysroot+set}" = set; then :
   6799   withval=$with_build_sysroot; if test x"$withval" != x ; then
   6800      SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
   6801    fi
   6802 else
   6803   SYSROOT_CFLAGS_FOR_TARGET=
   6804 fi
   6805 
   6806 
   6807 
   6808 
   6809 # Check whether --with-debug-prefix-map was given.
   6810 if test "${with_debug_prefix_map+set}" = set; then :
   6811   withval=$with_debug_prefix_map; if test x"$withval" != x; then
   6812      DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6813      for debug_map in $withval; do
   6814        DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
   6815      done
   6816    fi
   6817 else
   6818   DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   6819 fi
   6820 
   6821 
   6822 
   6823 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
   6824 # might be empty or "-g".  We don't require a C++ compiler, so CXXFLAGS
   6825 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
   6826 # We want to ensure that TARGET libraries (which we know are built with
   6827 # gcc) are built with "-O2 -g", so include those options when setting
   6828 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
   6829 if test "x$CFLAGS_FOR_TARGET" = x; then
   6830   if test "x${is_cross_compiler}" = xyes; then
   6831     CFLAGS_FOR_TARGET="-g -O2"
   6832   else
   6833     CFLAGS_FOR_TARGET=$CFLAGS
   6834     case " $CFLAGS " in
   6835       *" -O2 "*) ;;
   6836       *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
   6837     esac
   6838     case " $CFLAGS " in
   6839       *" -g "* | *" -g3 "*) ;;
   6840       *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
   6841     esac
   6842   fi
   6843 fi
   6844 
   6845 
   6846 if test "x$CXXFLAGS_FOR_TARGET" = x; then
   6847   if test "x${is_cross_compiler}" = xyes; then
   6848     CXXFLAGS_FOR_TARGET="-g -O2"
   6849   else
   6850     CXXFLAGS_FOR_TARGET=$CXXFLAGS
   6851     case " $CXXFLAGS " in
   6852       *" -O2 "*) ;;
   6853       *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
   6854     esac
   6855     case " $CXXFLAGS " in
   6856       *" -g "* | *" -g3 "*) ;;
   6857       *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
   6858     esac
   6859   fi
   6860 fi
   6861 
   6862 
   6863 
   6864 
   6865 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
   6866 # the named directory are copied to $(tooldir)/sys-include.
   6867 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
   6868   if test x${is_cross_compiler} = xno ; then
   6869     echo 1>&2 '***' --with-headers is only supported when cross compiling
   6870     exit 1
   6871   fi
   6872   if test x"${with_headers}" != xyes ; then
   6873     x=${gcc_cv_tool_prefix}
   6874     copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
   6875   fi
   6876 fi
   6877 
   6878 # Handle --with-libs=XXX.  If the value is not "yes", the contents of
   6879 # the name directories are copied to $(tooldir)/lib.  Multiple directories
   6880 # are permitted.
   6881 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   6882   if test x${is_cross_compiler} = xno ; then
   6883     echo 1>&2 '***' --with-libs is only supported when cross compiling
   6884     exit 1
   6885   fi
   6886   if test x"${with_libs}" != xyes ; then
   6887     # Copy the libraries in reverse order, so that files in the first named
   6888     # library override files in subsequent libraries.
   6889     x=${gcc_cv_tool_prefix}
   6890     for l in ${with_libs}; do
   6891       copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
   6892     done
   6893   fi
   6894 fi
   6895 
   6896 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
   6897 #
   6898 # This is done by determining whether or not the appropriate directory
   6899 # is available, and by checking whether or not specific configurations
   6900 # have requested that this magic not happen.
   6901 #
   6902 # The command line options always override the explicit settings in
   6903 # configure.ac, and the settings in configure.ac override this magic.
   6904 #
   6905 # If the default for a toolchain is to use GNU as and ld, and you don't
   6906 # want to do that, then you should use the --without-gnu-as and
   6907 # --without-gnu-ld options for the configure script.  Similarly, if
   6908 # the default is to use the included zlib and you don't want to do that,
   6909 # you should use the --with-system-zlib option for the configure script.
   6910 
   6911 if test x${use_gnu_as} = x &&
   6912    echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
   6913   with_gnu_as=yes
   6914   extra_host_args="$extra_host_args --with-gnu-as"
   6915 fi
   6916 
   6917 if test x${use_gnu_ld} = x &&
   6918    echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
   6919   with_gnu_ld=yes
   6920   extra_host_args="$extra_host_args --with-gnu-ld"
   6921 fi
   6922 
   6923 if test x${use_included_zlib} = x &&
   6924    echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
   6925   :
   6926 else
   6927   with_system_zlib=yes
   6928   extra_host_args="$extra_host_args --with-system-zlib"
   6929 fi
   6930 
   6931 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
   6932 # can detect this case.
   6933 
   6934 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
   6935   with_newlib=yes
   6936   extra_host_args="$extra_host_args --with-newlib"
   6937 fi
   6938 
   6939 # Handle ${copy_dirs}
   6940 set fnord ${copy_dirs}
   6941 shift
   6942 while test $# != 0 ; do
   6943   if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
   6944     :
   6945   else
   6946     echo Copying $1 to $2
   6947 
   6948     # Use the install script to create the directory and all required
   6949     # parent directories.
   6950     if test -d $2 ; then
   6951       :
   6952     else
   6953       echo >config.temp
   6954       ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
   6955     fi
   6956 
   6957     # Copy the directory, assuming we have tar.
   6958     # FIXME: Should we use B in the second tar?  Not all systems support it.
   6959     (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
   6960 
   6961     # It is the responsibility of the user to correctly adjust all
   6962     # symlinks.  If somebody can figure out how to handle them correctly
   6963     # here, feel free to add the code.
   6964 
   6965     echo $1 > $2/COPIED
   6966   fi
   6967   shift; shift
   6968 done
   6969 
   6970 # Determine a target-dependent exec_prefix that the installed
   6971 # gcc will search in.  Keep this list sorted by triplet, with
   6972 # the *-*-osname triplets last.
   6973 md_exec_prefix=
   6974 case "${target}" in
   6975   i[34567]86-pc-msdosdjgpp*)
   6976     md_exec_prefix=/dev/env/DJDIR/bin
   6977     ;;
   6978   *-*-hpux* | \
   6979   *-*-nto-qnx* | \
   6980   *-*-solaris2*)
   6981     md_exec_prefix=/usr/ccs/bin
   6982     ;;
   6983 esac
   6984 
   6985 extra_arflags_for_target=
   6986 extra_nmflags_for_target=
   6987 extra_ranlibflags_for_target=
   6988 target_makefile_frag=/dev/null
   6989 case "${target}" in
   6990   spu-*-*)
   6991     target_makefile_frag="config/mt-spu"
   6992     ;;
   6993   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   6994     target_makefile_frag="config/mt-sde"
   6995     ;;
   6996   mipsisa*-*-elfoabi*)
   6997     target_makefile_frag="config/mt-mips-elfoabi"
   6998     ;;
   6999   mips*-*-*linux* | mips*-*-gnu*)
   7000     target_makefile_frag="config/mt-mips-gnu"
   7001     ;;
   7002   nios2-*-elf*)
   7003     target_makefile_frag="config/mt-nios2-elf"
   7004     ;;
   7005   *-*-linux-android*)
   7006     target_makefile_frag="config/mt-android"
   7007     ;;
   7008   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   7009     target_makefile_frag="config/mt-gnu"
   7010     ;;
   7011   *-*-aix4.[3456789]* | *-*-aix[56789].*)
   7012     # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
   7013     # commands to handle both 32-bit and 64-bit objects.  These flags are
   7014     # harmless if we're using GNU nm or ar.
   7015     extra_arflags_for_target=" -X32_64"
   7016     extra_nmflags_for_target=" -B -X32_64"
   7017     ;;
   7018 esac
   7019 
   7020 alphaieee_frag=/dev/null
   7021 case $target in
   7022   alpha*-*-*)
   7023     # This just makes sure to use the -mieee option to build target libs.
   7024     # This should probably be set individually by each library.
   7025     alphaieee_frag="config/mt-alphaieee"
   7026     ;;
   7027 esac
   7028 
   7029 # If --enable-target-optspace always use -Os instead of -O2 to build
   7030 # the target libraries, similarly if it is not specified, use -Os
   7031 # on selected platforms.
   7032 ospace_frag=/dev/null
   7033 case "${enable_target_optspace}:${target}" in
   7034   yes:*)
   7035     ospace_frag="config/mt-ospace"
   7036     ;;
   7037   :d30v-*)
   7038     ospace_frag="config/mt-d30v"
   7039     ;;
   7040   :m32r-* | :d10v-* | :fr30-* | :i?86*-*-elfiamcu)
   7041     ospace_frag="config/mt-ospace"
   7042     ;;
   7043   no:* | :*)
   7044     ;;
   7045   *)
   7046     echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
   7047     ;;
   7048 esac
   7049 
   7050 # Some systems (e.g., one of the i386-aix systems the gas testers are
   7051 # using) don't handle "\$" correctly, so don't use it here.
   7052 tooldir='${exec_prefix}'/${target_noncanonical}
   7053 build_tooldir=${tooldir}
   7054 
   7055 # Create a .gdbinit file which runs the one in srcdir
   7056 # and tells GDB to look there for source files.
   7057 
   7058 if test -r ${srcdir}/.gdbinit ; then
   7059   case ${srcdir} in
   7060     .) ;;
   7061     *) cat > ./.gdbinit <<EOF
   7062 # ${NO_EDIT}
   7063 dir ${srcdir}
   7064 dir .
   7065 source ${srcdir}/.gdbinit
   7066 EOF
   7067     ;;
   7068   esac
   7069 fi
   7070 
   7071 # Make sure that the compiler is able to generate an executable.  If it
   7072 # can't, we are probably in trouble.  We don't care whether we can run the
   7073 # executable--we might be using a cross compiler--we only care whether it
   7074 # can be created.  At this point the main configure script has set CC.
   7075 we_are_ok=no
   7076 echo "int main () { return 0; }" > conftest.c
   7077 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7078 if test $? = 0 ; then
   7079   if test -s conftest || test -s conftest.exe ; then
   7080     we_are_ok=yes
   7081   fi
   7082 fi
   7083 case $we_are_ok in
   7084   no)
   7085     echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
   7086     echo 1>&2 "*** You must set the environment variable CC to a working compiler."
   7087     rm -f conftest*
   7088     exit 1
   7089     ;;
   7090 esac
   7091 rm -f conftest*
   7092 
   7093 # Decide which environment variable is used to find dynamic libraries.
   7094 case "${host}" in
   7095   *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
   7096   *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
   7097   *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
   7098   *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
   7099 esac
   7100 
   7101 # On systems where the dynamic library environment variable is PATH,
   7102 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
   7103 # built executables to PATH.
   7104 if test "$RPATH_ENVVAR" = PATH; then
   7105   GCC_SHLIB_SUBDIR=/shlib
   7106 else
   7107   GCC_SHLIB_SUBDIR=
   7108 fi
   7109 
   7110 # Adjust the toplevel makefile according to whether bootstrap was selected.
   7111 case $enable_bootstrap in
   7112   yes)
   7113     bootstrap_suffix=bootstrap
   7114     BUILD_CONFIG=bootstrap-debug
   7115     ;;
   7116   no)
   7117     bootstrap_suffix=no-bootstrap
   7118     BUILD_CONFIG=
   7119     ;;
   7120 esac
   7121 
   7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
   7123 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
   7124 
   7125 
   7126 # Check whether --with-build-config was given.
   7127 if test "${with_build_config+set}" = set; then :
   7128   withval=$with_build_config; case $with_build_config in
   7129    yes) with_build_config= ;;
   7130    no) with_build_config= BUILD_CONFIG= ;;
   7131    esac
   7132 fi
   7133 
   7134 
   7135 if test "x${with_build_config}" != x; then
   7136   BUILD_CONFIG=$with_build_config
   7137 else
   7138   case $BUILD_CONFIG in
   7139   bootstrap-debug)
   7140     if echo "int f (void) { return 0; }" > conftest.c &&
   7141        ${CC} -c conftest.c &&
   7142        mv conftest.o conftest.o.g0 &&
   7143        ${CC} -c -g conftest.c &&
   7144        mv conftest.o conftest.o.g &&
   7145        ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
   7146       :
   7147     else
   7148       BUILD_CONFIG=
   7149     fi
   7150     rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
   7151     ;;
   7152   esac
   7153 fi
   7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
   7155 $as_echo "$BUILD_CONFIG" >&6; }
   7156 
   7157 
   7158 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
   7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
   7160 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
   7161 # Check whether --enable-vtable-verify was given.
   7162 if test "${enable_vtable_verify+set}" = set; then :
   7163   enableval=$enable_vtable_verify; case "$enableval" in
   7164  yes) enable_vtable_verify=yes ;;
   7165  no)  enable_vtable_verify=no ;;
   7166  *)   enable_vtable_verify=no;;
   7167  esac
   7168 else
   7169   enable_vtable_verify=no
   7170 fi
   7171 
   7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
   7173 $as_echo "$enable_vtable_verify" >&6; }
   7174 
   7175 # Record target_configdirs and the configure arguments for target and
   7176 # build configuration in Makefile.
   7177 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
   7178 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
   7179 bootstrap_fixincludes=no
   7180 
   7181 # If we are building libgomp, bootstrap it.
   7182 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
   7183   bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
   7184 fi
   7185 
   7186 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
   7187 # or bootstrap-ubsan, bootstrap it.
   7188 if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then
   7189   case "$BUILD_CONFIG" in
   7190     *bootstrap-asan* | *bootstrap-ubsan* )
   7191       bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
   7192       bootstrap_fixincludes=yes
   7193       ;;
   7194   esac
   7195 fi
   7196 
   7197 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
   7198 if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
   7199    test "$enable_vtable_verify" != no; then
   7200   bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
   7201 fi
   7202 
   7203 # Determine whether gdb needs tk/tcl or not.
   7204 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
   7205 # and in that case we want gdb to be built without tk.  Ugh!
   7206 # In fact I believe gdb is the *only* package directly dependent on tk,
   7207 # so we should be able to put the 'maybe's in unconditionally and
   7208 # leave out the maybe dependencies when enable_gdbtk is false.  I'm not
   7209 # 100% sure that that's safe though.
   7210 
   7211 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
   7212 case "$enable_gdbtk" in
   7213   no)
   7214     GDB_TK="" ;;
   7215   yes)
   7216     GDB_TK="${gdb_tk}" ;;
   7217   *)
   7218     # Only add the dependency on gdbtk when GDBtk is part of the gdb
   7219     # distro.  Eventually someone will fix this and move Insight, nee
   7220     # gdbtk to a separate directory.
   7221     if test -d ${srcdir}/gdb/gdbtk ; then
   7222       GDB_TK="${gdb_tk}"
   7223     else
   7224       GDB_TK=""
   7225     fi
   7226     ;;
   7227 esac
   7228 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
   7229 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
   7230 
   7231 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
   7232 # else does, only include them if one of these is built.  The Makefile
   7233 # provides the ordering, so it's enough here to add to the list.
   7234 case " ${configdirs} " in
   7235   *\ gdb\ *)
   7236     configdirs="${configdirs} gnulib gdbsupport"
   7237     ;;
   7238   *\ gdbserver\ *)
   7239     configdirs="${configdirs} gnulib gdbsupport"
   7240     ;;
   7241 esac
   7242 
   7243 # Strip out unwanted targets.
   7244 
   7245 # While at that, we remove Makefiles if we were started for recursive
   7246 # configuration, so that the top-level Makefile reconfigures them,
   7247 # like we used to do when configure itself was recursive.
   7248 
   7249 # Loop over modules.  We used to use the "$extrasub" feature from Autoconf
   7250 # but now we're fixing up the Makefile ourselves with the additional
   7251 # commands passed to AC_CONFIG_FILES.  Use separate variables
   7252 # extrasub-{build,host,target} not because there is any reason to split
   7253 # the substitutions up that way, but only to remain below the limit of
   7254 # 99 commands in a script, for HP-UX sed.
   7255 
   7256 # Do not nest @if/@endif or @unless/@endunless pairs, because
   7257 # configure will not warn you at all.
   7258 
   7259 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
   7260   yes:yes:*\ gold\ *:*,c++,*) ;;
   7261   yes:yes:*\ gold\ *:*)
   7262     as_fn_error $? "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
   7263     ;;
   7264 esac
   7265 
   7266 extrasub_build=
   7267 for module in ${build_configdirs} ; do
   7268   if test -z "${no_recursion}" \
   7269      && test -f ${build_subdir}/${module}/Makefile; then
   7270     echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
   7271     rm -f ${build_subdir}/${module}/Makefile
   7272   fi
   7273   extrasub_build="$extrasub_build
   7274 /^@if build-$module\$/d
   7275 /^@endif build-$module\$/d
   7276 /^@unless build-$module\$/,/^@endunless build-$module\$/d
   7277 /^@if build-$module-$bootstrap_suffix\$/d
   7278 /^@endif build-$module-$bootstrap_suffix\$/d
   7279 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
   7280 done
   7281 extrasub_host=
   7282 for module in ${configdirs} ; do
   7283   if test -z "${no_recursion}"; then
   7284     for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
   7285       if test -f ${file}; then
   7286 	echo 1>&2 "*** removing ${file} to force reconfigure"
   7287 	rm -f ${file}
   7288       fi
   7289     done
   7290   fi
   7291   case ${module},${bootstrap_fixincludes} in
   7292     fixincludes,no) host_bootstrap_suffix=no-bootstrap ;;
   7293     *) host_bootstrap_suffix=$bootstrap_suffix ;;
   7294   esac
   7295   extrasub_host="$extrasub_host
   7296 /^@if $module\$/d
   7297 /^@endif $module\$/d
   7298 /^@unless $module\$/,/^@endunless $module\$/d
   7299 /^@if $module-$host_bootstrap_suffix\$/d
   7300 /^@endif $module-$host_bootstrap_suffix\$/d
   7301 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
   7302 done
   7303 extrasub_target=
   7304 for module in ${target_configdirs} ; do
   7305   if test -z "${no_recursion}" \
   7306      && test -f ${target_subdir}/${module}/Makefile; then
   7307     echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
   7308     rm -f ${target_subdir}/${module}/Makefile
   7309   fi
   7310 
   7311   # We only bootstrap target libraries listed in bootstrap_target_libs.
   7312   case $bootstrap_target_libs in
   7313     *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
   7314     *) target_bootstrap_suffix=no-bootstrap ;;
   7315   esac
   7316 
   7317   extrasub_target="$extrasub_target
   7318 /^@if target-$module\$/d
   7319 /^@endif target-$module\$/d
   7320 /^@unless target-$module\$/,/^@endunless target-$module\$/d
   7321 /^@if target-$module-$target_bootstrap_suffix\$/d
   7322 /^@endif target-$module-$target_bootstrap_suffix\$/d
   7323 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
   7324 done
   7325 
   7326 # Do the final fixup along with target modules.
   7327 extrasub_target="$extrasub_target
   7328 /^@if /,/^@endif /d
   7329 /^@unless /d
   7330 /^@endunless /d"
   7331 
   7332 # Create the serialization dependencies.  This uses a temporary file.
   7333 
   7334 # Check whether --enable-serial-configure was given.
   7335 if test "${enable_serial_configure+set}" = set; then :
   7336   enableval=$enable_serial_configure;
   7337 fi
   7338 
   7339 
   7340 case ${enable_serial_configure} in
   7341   yes)
   7342     enable_serial_build_configure=yes
   7343     enable_serial_host_configure=yes
   7344     enable_serial_target_configure=yes
   7345     ;;
   7346 esac
   7347 
   7348 # These force 'configure's to be done one at a time, to avoid problems
   7349 # with contention over a shared config.cache.
   7350 rm -f serdep.tmp
   7351 echo '# serdep.tmp' > serdep.tmp
   7352 olditem=
   7353 test "x${enable_serial_build_configure}" = xyes &&
   7354 for item in ${build_configdirs} ; do
   7355   case ${olditem} in
   7356     "") ;;
   7357     *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
   7358   esac
   7359   olditem=${item}
   7360 done
   7361 olditem=
   7362 test "x${enable_serial_host_configure}" = xyes &&
   7363 for item in ${configdirs} ; do
   7364   case ${olditem} in
   7365     "") ;;
   7366     *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
   7367   esac
   7368   olditem=${item}
   7369 done
   7370 olditem=
   7371 test "x${enable_serial_target_configure}" = xyes &&
   7372 for item in ${target_configdirs} ; do
   7373   case ${olditem} in
   7374     "") ;;
   7375     *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
   7376   esac
   7377   olditem=${item}
   7378 done
   7379 serialization_dependencies=serdep.tmp
   7380 
   7381 
   7382 # Base args.  Strip norecursion, cache-file, srcdir, host, build,
   7383 # target, nonopt, and variable assignments.  These are the ones we
   7384 # might not want to pass down to subconfigures.  The exception being
   7385 # --cache-file=/dev/null, which is used to turn off the use of cache
   7386 # files altogether, and which should be passed on to subconfigures.
   7387 # Also strip program-prefix, program-suffix, and program-transform-name,
   7388 # so that we can pass down a consistent program-transform-name.
   7389 baseargs=
   7390 tbaseargs=
   7391 keep_next=no
   7392 skip_next=no
   7393 eval "set -- $ac_configure_args"
   7394 for ac_arg
   7395 do
   7396   if test X"$skip_next" = X"yes"; then
   7397     skip_next=no
   7398     continue
   7399   fi
   7400   if test X"$keep_next" = X"yes"; then
   7401     case $ac_arg in
   7402       *\'*)
   7403 	ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7404     esac
   7405     baseargs="$baseargs '$ac_arg'"
   7406     tbaseargs="$tbaseargs '$ac_arg'"
   7407     keep_next=no
   7408     continue
   7409   fi
   7410 
   7411   # Handle separated arguments.  Based on the logic generated by
   7412   # autoconf 2.59.
   7413   case $ac_arg in
   7414     *=* | --config-cache | -C | -disable-* | --disable-* \
   7415       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   7416       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   7417       | -with-* | --with-* | -without-* | --without-* | --x)
   7418       separate_arg=no
   7419       ;;
   7420     -*)
   7421       separate_arg=yes
   7422       ;;
   7423     *)
   7424       separate_arg=no
   7425       ;;
   7426   esac
   7427 
   7428   skip_targ=no
   7429   case $ac_arg in
   7430 
   7431   --with-* | --without-*)
   7432     libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
   7433 
   7434     case $libopt in
   7435     *[-_]include)
   7436       lib=`echo "$libopt" | sed 's,[-_]include$,,'`
   7437       ;;
   7438     *[-_]lib)
   7439       lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
   7440       ;;
   7441     *)
   7442       lib=$libopt
   7443       ;;
   7444     esac
   7445 
   7446 
   7447     case $lib in
   7448     mpc | mpfr | gmp | isl)
   7449       # If we're processing --with-$lib, --with-$lib-include or
   7450       # --with-$lib-lib, for one of the libs above, and target is
   7451       # different from host, don't pass the current argument to any
   7452       # target library's configure.
   7453       if test x$is_cross_compiler = xyes; then
   7454         skip_targ=yes
   7455       fi
   7456       ;;
   7457     esac
   7458     ;;
   7459   esac
   7460 
   7461   case "$ac_arg" in
   7462     --cache-file=/dev/null | \
   7463     -cache-file=/dev/null )
   7464       # Handled here to avoid the test to skip args below.
   7465       baseargs="$baseargs '$ac_arg'"
   7466       tbaseargs="$tbaseargs '$ac_arg'"
   7467       # Assert: $separate_arg should always be no.
   7468       keep_next=$separate_arg
   7469       ;;
   7470     --no*)
   7471       continue
   7472       ;;
   7473     --c* | \
   7474     --sr* | \
   7475     --ho* | \
   7476     --bu* | \
   7477     --t* | \
   7478     --program-* | \
   7479     -cache_file* | \
   7480     -srcdir* | \
   7481     -host* | \
   7482     -build* | \
   7483     -target* | \
   7484     -program-prefix* | \
   7485     -program-suffix* | \
   7486     -program-transform-name* )
   7487       skip_next=$separate_arg
   7488       continue
   7489       ;;
   7490     -*)
   7491       # An option.  Add it.
   7492       case $ac_arg in
   7493 	*\'*)
   7494 	  ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7495       esac
   7496       baseargs="$baseargs '$ac_arg'"
   7497       if test X"$skip_targ" = Xno; then
   7498         tbaseargs="$tbaseargs '$ac_arg'"
   7499       fi
   7500       keep_next=$separate_arg
   7501       ;;
   7502     *)
   7503       # Either a variable assignment, or a nonopt (triplet).  Don't
   7504       # pass it down; let the Makefile handle this.
   7505       continue
   7506       ;;
   7507   esac
   7508 done
   7509 # Remove the initial space we just introduced and, as these will be
   7510 # expanded by make, quote '$'.
   7511 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   7512 
   7513 # Add in --program-transform-name, after --program-prefix and
   7514 # --program-suffix have been applied to it.  Autoconf has already
   7515 # doubled dollar signs and backslashes in program_transform_name; we want
   7516 # the backslashes un-doubled, and then the entire thing wrapped in single
   7517 # quotes, because this will be expanded first by make and then by the shell.
   7518 # Also, because we want to override the logic in subdir configure scripts to
   7519 # choose program_transform_name, replace any s,x,x, with s,y,y,.
   7520 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
   7521 ${program_transform_name}
   7522 EOF_SED
   7523 gcc_transform_name=`cat conftestsed.out`
   7524 rm -f conftestsed.out
   7525 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
   7526 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
   7527 if test "$silent" = yes; then
   7528   baseargs="$baseargs --silent"
   7529   tbaseargs="$tbaseargs --silent"
   7530 fi
   7531 baseargs="$baseargs --disable-option-checking"
   7532 tbaseargs="$tbaseargs --disable-option-checking"
   7533 
   7534 # Record and document user additions to sub configure arguments.
   7535 
   7536 
   7537 
   7538 
   7539 # For the build-side libraries, we just need to pretend we're native,
   7540 # and not use the same cache file.  Multilibs are neither needed nor
   7541 # desired.  We can't even use the same cache file for all build-side
   7542 # libraries, as they're compiled differently; some with C, some with
   7543 # C++ or with different feature-enabling options.
   7544 build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}"
   7545 
   7546 # For host modules, accept cache file option, or specification as blank.
   7547 case "${cache_file}" in
   7548 "") # empty
   7549   cache_file_option="" ;;
   7550 /* | [A-Za-z]:[\\/]* ) # absolute path
   7551   cache_file_option="--cache-file=${cache_file}" ;;
   7552 *) # relative path
   7553   cache_file_option="--cache-file=../${cache_file}" ;;
   7554 esac
   7555 
   7556 # Host dirs don't like to share a cache file either, horribly enough.
   7557 # This seems to be due to autoconf 2.5x stupidity.
   7558 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
   7559 
   7560 target_configargs="$target_configargs ${tbaseargs}"
   7561 
   7562 # Passing a --with-cross-host argument lets the target libraries know
   7563 # whether they are being built with a cross-compiler or being built
   7564 # native.  However, it would be better to use other mechanisms to make the
   7565 # sorts of decisions they want to make on this basis.  Please consider
   7566 # this option to be deprecated.  FIXME.
   7567 if test x${is_cross_compiler} = xyes ; then
   7568   target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
   7569 fi
   7570 
   7571 # Special user-friendly check for native x86_64-linux build, if
   7572 # multilib is not explicitly enabled.
   7573 case "$target:$have_compiler:$host:$target:$enable_multilib" in
   7574   x86_64-*linux*:yes:$build:$build:)
   7575     # Make sure we have a development environment that handles 32-bit
   7576     dev64=no
   7577     echo "int main () { return 0; }" > conftest.c
   7578     ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   7579     if test $? = 0 ; then
   7580       if test -s conftest || test -s conftest.exe ; then
   7581 	dev64=yes
   7582       fi
   7583     fi
   7584     rm -f conftest*
   7585     if test x${dev64} != xyes ; then
   7586       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
   7587     fi
   7588     ;;
   7589 esac
   7590 
   7591 # Default to --enable-multilib.
   7592 if test x${enable_multilib} = x ; then
   7593   target_configargs="--enable-multilib ${target_configargs}"
   7594 fi
   7595 
   7596 # Pass --with-newlib if appropriate.  Note that target_configdirs has
   7597 # changed from the earlier setting of with_newlib.
   7598 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
   7599   target_configargs="--with-newlib ${target_configargs}"
   7600 fi
   7601 
   7602 # Different target subdirs use different values of certain variables
   7603 # (notably CXX).  Worse, multilibs use *lots* of different values.
   7604 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
   7605 # it doesn't automatically accept command-line overrides of them.
   7606 # This means it's not safe for target subdirs to share a cache file,
   7607 # which is disgusting, but there you have it.  Hopefully this can be
   7608 # fixed in future.  It's still worthwhile to use a cache file for each
   7609 # directory.  I think.
   7610 
   7611 # Pass the appropriate --build, --host, --target and --cache-file arguments.
   7612 # We need to pass --target, as newer autoconf's requires consistency
   7613 # for target_alias and gcc doesn't manage it consistently.
   7614 target_configargs="--cache-file=./config.cache ${target_configargs}"
   7615 
   7616 FLAGS_FOR_TARGET=
   7617 case " $target_configdirs " in
   7618  *" newlib "*)
   7619   case " $target_configargs " in
   7620   *" --with-newlib "*)
   7621    case "$target" in
   7622     *-cygwin*)
   7623       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
   7624       ;;
   7625    esac
   7626 
   7627    # If we're not building GCC, don't discard standard headers.
   7628    if test -d ${srcdir}/gcc; then
   7629      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
   7630 
   7631      if test "${build}" != "${host}"; then
   7632        # On Canadian crosses, CC_FOR_TARGET will have already been set
   7633        # by `configure', so we won't have an opportunity to add -Bgcc/
   7634        # to it.  This is right: we don't want to search that directory
   7635        # for binaries, but we want the header files in there, so add
   7636        # them explicitly.
   7637        FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
   7638 
   7639        # Someone might think of using the pre-installed headers on
   7640        # Canadian crosses, in case the installed compiler is not fully
   7641        # compatible with the compiler being built.  In this case, it
   7642        # would be better to flag an error than risking having
   7643        # incompatible object files being constructed.  We can't
   7644        # guarantee that an error will be flagged, but let's hope the
   7645        # compiler will do it, when presented with incompatible header
   7646        # files.
   7647      fi
   7648    fi
   7649 
   7650    case "${target}-${is_cross_compiler}" in
   7651    i[3456789]86-*-linux*-no)
   7652       # Here host == target, so we don't need to build gcc,
   7653       # so we don't want to discard standard headers.
   7654       FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
   7655       ;;
   7656    *)
   7657       # If we're building newlib, use its generic headers last, but search
   7658       # for any libc-related directories first (so make it the last -B
   7659       # switch).
   7660       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
   7661 
   7662       # If we're building libgloss, find the startup file, simulator library
   7663       # and linker script.
   7664       case " $target_configdirs " in
   7665 	*" libgloss "*)
   7666 	# Look for startup file, simulator library and maybe linker script.
   7667 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
   7668 	# Look for libnosys.a in case the target needs it.
   7669 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
   7670 	# Most targets have the linker script in the source directory.
   7671 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
   7672 	;;
   7673       esac
   7674       ;;
   7675    esac
   7676    ;;
   7677   esac
   7678   ;;
   7679 esac
   7680 
   7681 case "$target" in
   7682   x86_64-*mingw* | *-w64-mingw*)
   7683   # MinGW-w64 does not use newlib, nor does it use winsup. It may,
   7684   # however, use a symlink named 'mingw' in ${prefix} .
   7685     FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
   7686     ;;
   7687   *-mingw*)
   7688   # MinGW can't be handled as Cygwin above since it does not use newlib.
   7689     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'
   7690     ;;
   7691 esac
   7692 
   7693 # Allow the user to override the flags for
   7694 # our build compiler if desired.
   7695 if test x"${build}" = x"${host}" ; then
   7696   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
   7697   CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
   7698   LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
   7699 fi
   7700 
   7701 # On Canadian crosses, we'll be searching the right directories for
   7702 # the previously-installed cross compiler, so don't bother to add
   7703 # flags for directories within the install tree of the compiler
   7704 # being built; programs in there won't even run.
   7705 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
   7706   # Search for pre-installed headers if nothing else fits.
   7707   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
   7708 fi
   7709 
   7710 if test "x${use_gnu_ld}" = x &&
   7711    echo " ${configdirs} " | grep " ld " > /dev/null ; then
   7712   # Arrange for us to find uninstalled linker scripts.
   7713   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
   7714 fi
   7715 
   7716 # Search for other target-specific linker scripts and such.
   7717 case "${target}" in
   7718   mep*)
   7719     FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
   7720     ;;
   7721 esac
   7722 
   7723 # Makefile fragments.
   7724 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
   7725 do
   7726   eval fragval=\$$frag
   7727   if test $fragval != /dev/null; then
   7728     eval $frag=${srcdir}/$fragval
   7729   fi
   7730 done
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 # Miscellanea: directories, flags, etc.
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 # Build module lists & subconfigure args.
   7746 
   7747 
   7748 
   7749 # Host module lists & subconfigure args.
   7750 
   7751 
   7752 
   7753 
   7754 # Target module lists & subconfigure args.
   7755 
   7756 
   7757 
   7758 # Build tools.
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 # Generate default definitions for YACC, M4, LEX and other programs that run
   7776 # on the build machine.  These are used if the Makefile can't locate these
   7777 # programs in objdir.
   7778 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
   7779 
   7780 for ac_prog in 'bison -y' byacc yacc
   7781 do
   7782   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7783 set dummy $ac_prog; ac_word=$2
   7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7785 $as_echo_n "checking for $ac_word... " >&6; }
   7786 if ${ac_cv_prog_YACC+:} false; then :
   7787   $as_echo_n "(cached) " >&6
   7788 else
   7789   if test -n "$YACC"; then
   7790   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   7791 else
   7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7793 for as_dir in $PATH
   7794 do
   7795   IFS=$as_save_IFS
   7796   test -z "$as_dir" && as_dir=.
   7797     for ac_exec_ext in '' $ac_executable_extensions; do
   7798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7799     ac_cv_prog_YACC="$ac_prog"
   7800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7801     break 2
   7802   fi
   7803 done
   7804   done
   7805 IFS=$as_save_IFS
   7806 
   7807 fi
   7808 fi
   7809 YACC=$ac_cv_prog_YACC
   7810 if test -n "$YACC"; then
   7811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   7812 $as_echo "$YACC" >&6; }
   7813 else
   7814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7815 $as_echo "no" >&6; }
   7816 fi
   7817 
   7818 
   7819   test -n "$YACC" && break
   7820 done
   7821 test -n "$YACC" || YACC="$MISSING bison -y"
   7822 
   7823 case " $build_configdirs " in
   7824   *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
   7825 esac
   7826 
   7827 for ac_prog in bison
   7828 do
   7829   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7830 set dummy $ac_prog; ac_word=$2
   7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7832 $as_echo_n "checking for $ac_word... " >&6; }
   7833 if ${ac_cv_prog_BISON+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   if test -n "$BISON"; then
   7837   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   7838 else
   7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7840 for as_dir in $PATH
   7841 do
   7842   IFS=$as_save_IFS
   7843   test -z "$as_dir" && as_dir=.
   7844     for ac_exec_ext in '' $ac_executable_extensions; do
   7845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7846     ac_cv_prog_BISON="$ac_prog"
   7847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7848     break 2
   7849   fi
   7850 done
   7851   done
   7852 IFS=$as_save_IFS
   7853 
   7854 fi
   7855 fi
   7856 BISON=$ac_cv_prog_BISON
   7857 if test -n "$BISON"; then
   7858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   7859 $as_echo "$BISON" >&6; }
   7860 else
   7861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7862 $as_echo "no" >&6; }
   7863 fi
   7864 
   7865 
   7866   test -n "$BISON" && break
   7867 done
   7868 test -n "$BISON" || BISON="$MISSING bison"
   7869 
   7870 case " $build_configdirs " in
   7871   *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
   7872 esac
   7873 
   7874 for ac_prog in gm4 gnum4 m4
   7875 do
   7876   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7877 set dummy $ac_prog; ac_word=$2
   7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7879 $as_echo_n "checking for $ac_word... " >&6; }
   7880 if ${ac_cv_prog_M4+:} false; then :
   7881   $as_echo_n "(cached) " >&6
   7882 else
   7883   if test -n "$M4"; then
   7884   ac_cv_prog_M4="$M4" # Let the user override the test.
   7885 else
   7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7887 for as_dir in $PATH
   7888 do
   7889   IFS=$as_save_IFS
   7890   test -z "$as_dir" && as_dir=.
   7891     for ac_exec_ext in '' $ac_executable_extensions; do
   7892   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7893     ac_cv_prog_M4="$ac_prog"
   7894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7895     break 2
   7896   fi
   7897 done
   7898   done
   7899 IFS=$as_save_IFS
   7900 
   7901 fi
   7902 fi
   7903 M4=$ac_cv_prog_M4
   7904 if test -n "$M4"; then
   7905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
   7906 $as_echo "$M4" >&6; }
   7907 else
   7908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7909 $as_echo "no" >&6; }
   7910 fi
   7911 
   7912 
   7913   test -n "$M4" && break
   7914 done
   7915 test -n "$M4" || M4="$MISSING m4"
   7916 
   7917 case " $build_configdirs " in
   7918   *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
   7919 esac
   7920 
   7921 for ac_prog in flex lex
   7922 do
   7923   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7924 set dummy $ac_prog; ac_word=$2
   7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7926 $as_echo_n "checking for $ac_word... " >&6; }
   7927 if ${ac_cv_prog_LEX+:} false; then :
   7928   $as_echo_n "(cached) " >&6
   7929 else
   7930   if test -n "$LEX"; then
   7931   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   7932 else
   7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7934 for as_dir in $PATH
   7935 do
   7936   IFS=$as_save_IFS
   7937   test -z "$as_dir" && as_dir=.
   7938     for ac_exec_ext in '' $ac_executable_extensions; do
   7939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7940     ac_cv_prog_LEX="$ac_prog"
   7941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7942     break 2
   7943   fi
   7944 done
   7945   done
   7946 IFS=$as_save_IFS
   7947 
   7948 fi
   7949 fi
   7950 LEX=$ac_cv_prog_LEX
   7951 if test -n "$LEX"; then
   7952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   7953 $as_echo "$LEX" >&6; }
   7954 else
   7955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7956 $as_echo "no" >&6; }
   7957 fi
   7958 
   7959 
   7960   test -n "$LEX" && break
   7961 done
   7962 test -n "$LEX" || LEX="$MISSING flex"
   7963 
   7964 case " $build_configdirs " in
   7965   *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   7966   *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
   7967 esac
   7968 
   7969 for ac_prog in flex
   7970 do
   7971   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7972 set dummy $ac_prog; ac_word=$2
   7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7974 $as_echo_n "checking for $ac_word... " >&6; }
   7975 if ${ac_cv_prog_FLEX+:} false; then :
   7976   $as_echo_n "(cached) " >&6
   7977 else
   7978   if test -n "$FLEX"; then
   7979   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
   7980 else
   7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7982 for as_dir in $PATH
   7983 do
   7984   IFS=$as_save_IFS
   7985   test -z "$as_dir" && as_dir=.
   7986     for ac_exec_ext in '' $ac_executable_extensions; do
   7987   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7988     ac_cv_prog_FLEX="$ac_prog"
   7989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7990     break 2
   7991   fi
   7992 done
   7993   done
   7994 IFS=$as_save_IFS
   7995 
   7996 fi
   7997 fi
   7998 FLEX=$ac_cv_prog_FLEX
   7999 if test -n "$FLEX"; then
   8000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
   8001 $as_echo "$FLEX" >&6; }
   8002 else
   8003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8004 $as_echo "no" >&6; }
   8005 fi
   8006 
   8007 
   8008   test -n "$FLEX" && break
   8009 done
   8010 test -n "$FLEX" || FLEX="$MISSING flex"
   8011 
   8012 case " $build_configdirs " in
   8013   *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   8014 esac
   8015 
   8016 for ac_prog in makeinfo
   8017 do
   8018   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8019 set dummy $ac_prog; ac_word=$2
   8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8021 $as_echo_n "checking for $ac_word... " >&6; }
   8022 if ${ac_cv_prog_MAKEINFO+:} false; then :
   8023   $as_echo_n "(cached) " >&6
   8024 else
   8025   if test -n "$MAKEINFO"; then
   8026   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   8027 else
   8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8029 for as_dir in $PATH
   8030 do
   8031   IFS=$as_save_IFS
   8032   test -z "$as_dir" && as_dir=.
   8033     for ac_exec_ext in '' $ac_executable_extensions; do
   8034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8035     ac_cv_prog_MAKEINFO="$ac_prog"
   8036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8037     break 2
   8038   fi
   8039 done
   8040   done
   8041 IFS=$as_save_IFS
   8042 
   8043 fi
   8044 fi
   8045 MAKEINFO=$ac_cv_prog_MAKEINFO
   8046 if test -n "$MAKEINFO"; then
   8047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   8048 $as_echo "$MAKEINFO" >&6; }
   8049 else
   8050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8051 $as_echo "no" >&6; }
   8052 fi
   8053 
   8054 
   8055   test -n "$MAKEINFO" && break
   8056 done
   8057 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   8058 
   8059 case " $build_configdirs " in
   8060   *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
   8061   *)
   8062 
   8063     # For an installed makeinfo, we require it to be from texinfo 4.7 or
   8064     # higher, else we use the "missing" dummy.
   8065     if ${MAKEINFO} --version \
   8066        | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
   8067       :
   8068     else
   8069       MAKEINFO="$MISSING makeinfo"
   8070     fi
   8071     ;;
   8072 
   8073 esac
   8074 
   8075 # FIXME: expect and dejagnu may become build tools?
   8076 
   8077 for ac_prog in expect
   8078 do
   8079   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8080 set dummy $ac_prog; ac_word=$2
   8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8082 $as_echo_n "checking for $ac_word... " >&6; }
   8083 if ${ac_cv_prog_EXPECT+:} false; then :
   8084   $as_echo_n "(cached) " >&6
   8085 else
   8086   if test -n "$EXPECT"; then
   8087   ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
   8088 else
   8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8090 for as_dir in $PATH
   8091 do
   8092   IFS=$as_save_IFS
   8093   test -z "$as_dir" && as_dir=.
   8094     for ac_exec_ext in '' $ac_executable_extensions; do
   8095   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8096     ac_cv_prog_EXPECT="$ac_prog"
   8097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8098     break 2
   8099   fi
   8100 done
   8101   done
   8102 IFS=$as_save_IFS
   8103 
   8104 fi
   8105 fi
   8106 EXPECT=$ac_cv_prog_EXPECT
   8107 if test -n "$EXPECT"; then
   8108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   8109 $as_echo "$EXPECT" >&6; }
   8110 else
   8111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8112 $as_echo "no" >&6; }
   8113 fi
   8114 
   8115 
   8116   test -n "$EXPECT" && break
   8117 done
   8118 test -n "$EXPECT" || EXPECT="expect"
   8119 
   8120 case " $configdirs " in
   8121   *" expect "*)
   8122     test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
   8123     ;;
   8124 esac
   8125 
   8126 for ac_prog in runtest
   8127 do
   8128   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8129 set dummy $ac_prog; ac_word=$2
   8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8131 $as_echo_n "checking for $ac_word... " >&6; }
   8132 if ${ac_cv_prog_RUNTEST+:} false; then :
   8133   $as_echo_n "(cached) " >&6
   8134 else
   8135   if test -n "$RUNTEST"; then
   8136   ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
   8137 else
   8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8139 for as_dir in $PATH
   8140 do
   8141   IFS=$as_save_IFS
   8142   test -z "$as_dir" && as_dir=.
   8143     for ac_exec_ext in '' $ac_executable_extensions; do
   8144   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8145     ac_cv_prog_RUNTEST="$ac_prog"
   8146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8147     break 2
   8148   fi
   8149 done
   8150   done
   8151 IFS=$as_save_IFS
   8152 
   8153 fi
   8154 fi
   8155 RUNTEST=$ac_cv_prog_RUNTEST
   8156 if test -n "$RUNTEST"; then
   8157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
   8158 $as_echo "$RUNTEST" >&6; }
   8159 else
   8160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8161 $as_echo "no" >&6; }
   8162 fi
   8163 
   8164 
   8165   test -n "$RUNTEST" && break
   8166 done
   8167 test -n "$RUNTEST" || RUNTEST="runtest"
   8168 
   8169 case " $configdirs " in
   8170   *" dejagnu "*)
   8171     test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
   8172     ;;
   8173 esac
   8174 
   8175 
   8176 # Host tools.
   8177 ncn_tool_prefix=
   8178 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
   8179 ncn_target_tool_prefix=
   8180 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
   8181 
   8182 
   8183 
   8184 if test -n "$AR"; then
   8185   ac_cv_prog_AR=$AR
   8186 elif test -n "$ac_cv_prog_AR"; then
   8187   AR=$ac_cv_prog_AR
   8188 fi
   8189 
   8190 if test -n "$ac_cv_prog_AR"; then
   8191   for ncn_progname in ar; do
   8192     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8193 set dummy ${ncn_progname}; ac_word=$2
   8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8195 $as_echo_n "checking for $ac_word... " >&6; }
   8196 if ${ac_cv_prog_AR+:} false; then :
   8197   $as_echo_n "(cached) " >&6
   8198 else
   8199   if test -n "$AR"; then
   8200   ac_cv_prog_AR="$AR" # Let the user override the test.
   8201 else
   8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8203 for as_dir in $PATH
   8204 do
   8205   IFS=$as_save_IFS
   8206   test -z "$as_dir" && as_dir=.
   8207     for ac_exec_ext in '' $ac_executable_extensions; do
   8208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8209     ac_cv_prog_AR="${ncn_progname}"
   8210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8211     break 2
   8212   fi
   8213 done
   8214   done
   8215 IFS=$as_save_IFS
   8216 
   8217 fi
   8218 fi
   8219 AR=$ac_cv_prog_AR
   8220 if test -n "$AR"; then
   8221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8222 $as_echo "$AR" >&6; }
   8223 else
   8224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8225 $as_echo "no" >&6; }
   8226 fi
   8227 
   8228 
   8229   done
   8230 fi
   8231 
   8232 for ncn_progname in ar; do
   8233   if test -n "$ncn_tool_prefix"; then
   8234     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8235 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8237 $as_echo_n "checking for $ac_word... " >&6; }
   8238 if ${ac_cv_prog_AR+:} false; then :
   8239   $as_echo_n "(cached) " >&6
   8240 else
   8241   if test -n "$AR"; then
   8242   ac_cv_prog_AR="$AR" # Let the user override the test.
   8243 else
   8244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8245 for as_dir in $PATH
   8246 do
   8247   IFS=$as_save_IFS
   8248   test -z "$as_dir" && as_dir=.
   8249     for ac_exec_ext in '' $ac_executable_extensions; do
   8250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8251     ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
   8252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8253     break 2
   8254   fi
   8255 done
   8256   done
   8257 IFS=$as_save_IFS
   8258 
   8259 fi
   8260 fi
   8261 AR=$ac_cv_prog_AR
   8262 if test -n "$AR"; then
   8263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8264 $as_echo "$AR" >&6; }
   8265 else
   8266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8267 $as_echo "no" >&6; }
   8268 fi
   8269 
   8270 
   8271   fi
   8272   if test -z "$ac_cv_prog_AR" && test $build = $host ; then
   8273     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8274 set dummy ${ncn_progname}; ac_word=$2
   8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8276 $as_echo_n "checking for $ac_word... " >&6; }
   8277 if ${ac_cv_prog_AR+:} false; then :
   8278   $as_echo_n "(cached) " >&6
   8279 else
   8280   if test -n "$AR"; then
   8281   ac_cv_prog_AR="$AR" # Let the user override the test.
   8282 else
   8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8284 for as_dir in $PATH
   8285 do
   8286   IFS=$as_save_IFS
   8287   test -z "$as_dir" && as_dir=.
   8288     for ac_exec_ext in '' $ac_executable_extensions; do
   8289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8290     ac_cv_prog_AR="${ncn_progname}"
   8291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8292     break 2
   8293   fi
   8294 done
   8295   done
   8296 IFS=$as_save_IFS
   8297 
   8298 fi
   8299 fi
   8300 AR=$ac_cv_prog_AR
   8301 if test -n "$AR"; then
   8302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8303 $as_echo "$AR" >&6; }
   8304 else
   8305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8306 $as_echo "no" >&6; }
   8307 fi
   8308 
   8309 
   8310   fi
   8311   test -n "$ac_cv_prog_AR" && break
   8312 done
   8313 
   8314 if test -z "$ac_cv_prog_AR" ; then
   8315   set dummy ar
   8316   if test $build = $host ; then
   8317     AR="$2"
   8318   else
   8319     AR="${ncn_tool_prefix}$2"
   8320   fi
   8321 fi
   8322 
   8323 
   8324 
   8325 if test -n "$AS"; then
   8326   ac_cv_prog_AS=$AS
   8327 elif test -n "$ac_cv_prog_AS"; then
   8328   AS=$ac_cv_prog_AS
   8329 fi
   8330 
   8331 if test -n "$ac_cv_prog_AS"; then
   8332   for ncn_progname in as; do
   8333     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8334 set dummy ${ncn_progname}; ac_word=$2
   8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8336 $as_echo_n "checking for $ac_word... " >&6; }
   8337 if ${ac_cv_prog_AS+:} false; then :
   8338   $as_echo_n "(cached) " >&6
   8339 else
   8340   if test -n "$AS"; then
   8341   ac_cv_prog_AS="$AS" # Let the user override the test.
   8342 else
   8343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8344 for as_dir in $PATH
   8345 do
   8346   IFS=$as_save_IFS
   8347   test -z "$as_dir" && as_dir=.
   8348     for ac_exec_ext in '' $ac_executable_extensions; do
   8349   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8350     ac_cv_prog_AS="${ncn_progname}"
   8351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8352     break 2
   8353   fi
   8354 done
   8355   done
   8356 IFS=$as_save_IFS
   8357 
   8358 fi
   8359 fi
   8360 AS=$ac_cv_prog_AS
   8361 if test -n "$AS"; then
   8362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8363 $as_echo "$AS" >&6; }
   8364 else
   8365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8366 $as_echo "no" >&6; }
   8367 fi
   8368 
   8369 
   8370   done
   8371 fi
   8372 
   8373 for ncn_progname in as; do
   8374   if test -n "$ncn_tool_prefix"; then
   8375     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8376 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8378 $as_echo_n "checking for $ac_word... " >&6; }
   8379 if ${ac_cv_prog_AS+:} false; then :
   8380   $as_echo_n "(cached) " >&6
   8381 else
   8382   if test -n "$AS"; then
   8383   ac_cv_prog_AS="$AS" # Let the user override the test.
   8384 else
   8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8386 for as_dir in $PATH
   8387 do
   8388   IFS=$as_save_IFS
   8389   test -z "$as_dir" && as_dir=.
   8390     for ac_exec_ext in '' $ac_executable_extensions; do
   8391   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8392     ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
   8393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8394     break 2
   8395   fi
   8396 done
   8397   done
   8398 IFS=$as_save_IFS
   8399 
   8400 fi
   8401 fi
   8402 AS=$ac_cv_prog_AS
   8403 if test -n "$AS"; then
   8404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8405 $as_echo "$AS" >&6; }
   8406 else
   8407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8408 $as_echo "no" >&6; }
   8409 fi
   8410 
   8411 
   8412   fi
   8413   if test -z "$ac_cv_prog_AS" && test $build = $host ; then
   8414     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8415 set dummy ${ncn_progname}; ac_word=$2
   8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8417 $as_echo_n "checking for $ac_word... " >&6; }
   8418 if ${ac_cv_prog_AS+:} false; then :
   8419   $as_echo_n "(cached) " >&6
   8420 else
   8421   if test -n "$AS"; then
   8422   ac_cv_prog_AS="$AS" # Let the user override the test.
   8423 else
   8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8425 for as_dir in $PATH
   8426 do
   8427   IFS=$as_save_IFS
   8428   test -z "$as_dir" && as_dir=.
   8429     for ac_exec_ext in '' $ac_executable_extensions; do
   8430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8431     ac_cv_prog_AS="${ncn_progname}"
   8432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8433     break 2
   8434   fi
   8435 done
   8436   done
   8437 IFS=$as_save_IFS
   8438 
   8439 fi
   8440 fi
   8441 AS=$ac_cv_prog_AS
   8442 if test -n "$AS"; then
   8443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8444 $as_echo "$AS" >&6; }
   8445 else
   8446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8447 $as_echo "no" >&6; }
   8448 fi
   8449 
   8450 
   8451   fi
   8452   test -n "$ac_cv_prog_AS" && break
   8453 done
   8454 
   8455 if test -z "$ac_cv_prog_AS" ; then
   8456   set dummy as
   8457   if test $build = $host ; then
   8458     AS="$2"
   8459   else
   8460     AS="${ncn_tool_prefix}$2"
   8461   fi
   8462 fi
   8463 
   8464 
   8465 
   8466 if test -n "$DLLTOOL"; then
   8467   ac_cv_prog_DLLTOOL=$DLLTOOL
   8468 elif test -n "$ac_cv_prog_DLLTOOL"; then
   8469   DLLTOOL=$ac_cv_prog_DLLTOOL
   8470 fi
   8471 
   8472 if test -n "$ac_cv_prog_DLLTOOL"; then
   8473   for ncn_progname in dlltool; do
   8474     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8475 set dummy ${ncn_progname}; ac_word=$2
   8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8477 $as_echo_n "checking for $ac_word... " >&6; }
   8478 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8479   $as_echo_n "(cached) " >&6
   8480 else
   8481   if test -n "$DLLTOOL"; then
   8482   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8483 else
   8484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8485 for as_dir in $PATH
   8486 do
   8487   IFS=$as_save_IFS
   8488   test -z "$as_dir" && as_dir=.
   8489     for ac_exec_ext in '' $ac_executable_extensions; do
   8490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8491     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8493     break 2
   8494   fi
   8495 done
   8496   done
   8497 IFS=$as_save_IFS
   8498 
   8499 fi
   8500 fi
   8501 DLLTOOL=$ac_cv_prog_DLLTOOL
   8502 if test -n "$DLLTOOL"; then
   8503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8504 $as_echo "$DLLTOOL" >&6; }
   8505 else
   8506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8507 $as_echo "no" >&6; }
   8508 fi
   8509 
   8510 
   8511   done
   8512 fi
   8513 
   8514 for ncn_progname in dlltool; do
   8515   if test -n "$ncn_tool_prefix"; then
   8516     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8517 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8519 $as_echo_n "checking for $ac_word... " >&6; }
   8520 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8521   $as_echo_n "(cached) " >&6
   8522 else
   8523   if test -n "$DLLTOOL"; then
   8524   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8525 else
   8526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8527 for as_dir in $PATH
   8528 do
   8529   IFS=$as_save_IFS
   8530   test -z "$as_dir" && as_dir=.
   8531     for ac_exec_ext in '' $ac_executable_extensions; do
   8532   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8533     ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
   8534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8535     break 2
   8536   fi
   8537 done
   8538   done
   8539 IFS=$as_save_IFS
   8540 
   8541 fi
   8542 fi
   8543 DLLTOOL=$ac_cv_prog_DLLTOOL
   8544 if test -n "$DLLTOOL"; then
   8545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8546 $as_echo "$DLLTOOL" >&6; }
   8547 else
   8548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8549 $as_echo "no" >&6; }
   8550 fi
   8551 
   8552 
   8553   fi
   8554   if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
   8555     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8556 set dummy ${ncn_progname}; ac_word=$2
   8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8558 $as_echo_n "checking for $ac_word... " >&6; }
   8559 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8560   $as_echo_n "(cached) " >&6
   8561 else
   8562   if test -n "$DLLTOOL"; then
   8563   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8564 else
   8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8566 for as_dir in $PATH
   8567 do
   8568   IFS=$as_save_IFS
   8569   test -z "$as_dir" && as_dir=.
   8570     for ac_exec_ext in '' $ac_executable_extensions; do
   8571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8572     ac_cv_prog_DLLTOOL="${ncn_progname}"
   8573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8574     break 2
   8575   fi
   8576 done
   8577   done
   8578 IFS=$as_save_IFS
   8579 
   8580 fi
   8581 fi
   8582 DLLTOOL=$ac_cv_prog_DLLTOOL
   8583 if test -n "$DLLTOOL"; then
   8584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8585 $as_echo "$DLLTOOL" >&6; }
   8586 else
   8587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8588 $as_echo "no" >&6; }
   8589 fi
   8590 
   8591 
   8592   fi
   8593   test -n "$ac_cv_prog_DLLTOOL" && break
   8594 done
   8595 
   8596 if test -z "$ac_cv_prog_DLLTOOL" ; then
   8597   set dummy dlltool
   8598   if test $build = $host ; then
   8599     DLLTOOL="$2"
   8600   else
   8601     DLLTOOL="${ncn_tool_prefix}$2"
   8602   fi
   8603 fi
   8604 
   8605 
   8606 
   8607 if test -n "$LD"; then
   8608   ac_cv_prog_LD=$LD
   8609 elif test -n "$ac_cv_prog_LD"; then
   8610   LD=$ac_cv_prog_LD
   8611 fi
   8612 
   8613 if test -n "$ac_cv_prog_LD"; then
   8614   for ncn_progname in ld; do
   8615     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8616 set dummy ${ncn_progname}; ac_word=$2
   8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8618 $as_echo_n "checking for $ac_word... " >&6; }
   8619 if ${ac_cv_prog_LD+:} false; then :
   8620   $as_echo_n "(cached) " >&6
   8621 else
   8622   if test -n "$LD"; then
   8623   ac_cv_prog_LD="$LD" # Let the user override the test.
   8624 else
   8625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8626 for as_dir in $PATH
   8627 do
   8628   IFS=$as_save_IFS
   8629   test -z "$as_dir" && as_dir=.
   8630     for ac_exec_ext in '' $ac_executable_extensions; do
   8631   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8632     ac_cv_prog_LD="${ncn_progname}"
   8633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8634     break 2
   8635   fi
   8636 done
   8637   done
   8638 IFS=$as_save_IFS
   8639 
   8640 fi
   8641 fi
   8642 LD=$ac_cv_prog_LD
   8643 if test -n "$LD"; then
   8644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8645 $as_echo "$LD" >&6; }
   8646 else
   8647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8648 $as_echo "no" >&6; }
   8649 fi
   8650 
   8651 
   8652   done
   8653 fi
   8654 
   8655 for ncn_progname in ld; do
   8656   if test -n "$ncn_tool_prefix"; then
   8657     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8658 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8660 $as_echo_n "checking for $ac_word... " >&6; }
   8661 if ${ac_cv_prog_LD+:} false; then :
   8662   $as_echo_n "(cached) " >&6
   8663 else
   8664   if test -n "$LD"; then
   8665   ac_cv_prog_LD="$LD" # Let the user override the test.
   8666 else
   8667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8668 for as_dir in $PATH
   8669 do
   8670   IFS=$as_save_IFS
   8671   test -z "$as_dir" && as_dir=.
   8672     for ac_exec_ext in '' $ac_executable_extensions; do
   8673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8674     ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
   8675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8676     break 2
   8677   fi
   8678 done
   8679   done
   8680 IFS=$as_save_IFS
   8681 
   8682 fi
   8683 fi
   8684 LD=$ac_cv_prog_LD
   8685 if test -n "$LD"; then
   8686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8687 $as_echo "$LD" >&6; }
   8688 else
   8689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8690 $as_echo "no" >&6; }
   8691 fi
   8692 
   8693 
   8694   fi
   8695   if test -z "$ac_cv_prog_LD" && test $build = $host ; then
   8696     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8697 set dummy ${ncn_progname}; ac_word=$2
   8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8699 $as_echo_n "checking for $ac_word... " >&6; }
   8700 if ${ac_cv_prog_LD+:} false; then :
   8701   $as_echo_n "(cached) " >&6
   8702 else
   8703   if test -n "$LD"; then
   8704   ac_cv_prog_LD="$LD" # Let the user override the test.
   8705 else
   8706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8707 for as_dir in $PATH
   8708 do
   8709   IFS=$as_save_IFS
   8710   test -z "$as_dir" && as_dir=.
   8711     for ac_exec_ext in '' $ac_executable_extensions; do
   8712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8713     ac_cv_prog_LD="${ncn_progname}"
   8714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8715     break 2
   8716   fi
   8717 done
   8718   done
   8719 IFS=$as_save_IFS
   8720 
   8721 fi
   8722 fi
   8723 LD=$ac_cv_prog_LD
   8724 if test -n "$LD"; then
   8725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8726 $as_echo "$LD" >&6; }
   8727 else
   8728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8729 $as_echo "no" >&6; }
   8730 fi
   8731 
   8732 
   8733   fi
   8734   test -n "$ac_cv_prog_LD" && break
   8735 done
   8736 
   8737 if test -z "$ac_cv_prog_LD" ; then
   8738   set dummy ld
   8739   if test $build = $host ; then
   8740     LD="$2"
   8741   else
   8742     LD="${ncn_tool_prefix}$2"
   8743   fi
   8744 fi
   8745 
   8746 
   8747 
   8748 if test -n "$LIPO"; then
   8749   ac_cv_prog_LIPO=$LIPO
   8750 elif test -n "$ac_cv_prog_LIPO"; then
   8751   LIPO=$ac_cv_prog_LIPO
   8752 fi
   8753 
   8754 if test -n "$ac_cv_prog_LIPO"; then
   8755   for ncn_progname in lipo; do
   8756     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8757 set dummy ${ncn_progname}; ac_word=$2
   8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8759 $as_echo_n "checking for $ac_word... " >&6; }
   8760 if ${ac_cv_prog_LIPO+:} false; then :
   8761   $as_echo_n "(cached) " >&6
   8762 else
   8763   if test -n "$LIPO"; then
   8764   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8765 else
   8766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8767 for as_dir in $PATH
   8768 do
   8769   IFS=$as_save_IFS
   8770   test -z "$as_dir" && as_dir=.
   8771     for ac_exec_ext in '' $ac_executable_extensions; do
   8772   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8773     ac_cv_prog_LIPO="${ncn_progname}"
   8774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8775     break 2
   8776   fi
   8777 done
   8778   done
   8779 IFS=$as_save_IFS
   8780 
   8781 fi
   8782 fi
   8783 LIPO=$ac_cv_prog_LIPO
   8784 if test -n "$LIPO"; then
   8785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8786 $as_echo "$LIPO" >&6; }
   8787 else
   8788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8789 $as_echo "no" >&6; }
   8790 fi
   8791 
   8792 
   8793   done
   8794 fi
   8795 
   8796 for ncn_progname in lipo; do
   8797   if test -n "$ncn_tool_prefix"; then
   8798     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8799 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8801 $as_echo_n "checking for $ac_word... " >&6; }
   8802 if ${ac_cv_prog_LIPO+:} false; then :
   8803   $as_echo_n "(cached) " >&6
   8804 else
   8805   if test -n "$LIPO"; then
   8806   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8807 else
   8808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8809 for as_dir in $PATH
   8810 do
   8811   IFS=$as_save_IFS
   8812   test -z "$as_dir" && as_dir=.
   8813     for ac_exec_ext in '' $ac_executable_extensions; do
   8814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8815     ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
   8816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8817     break 2
   8818   fi
   8819 done
   8820   done
   8821 IFS=$as_save_IFS
   8822 
   8823 fi
   8824 fi
   8825 LIPO=$ac_cv_prog_LIPO
   8826 if test -n "$LIPO"; then
   8827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8828 $as_echo "$LIPO" >&6; }
   8829 else
   8830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8831 $as_echo "no" >&6; }
   8832 fi
   8833 
   8834 
   8835   fi
   8836   if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
   8837     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8838 set dummy ${ncn_progname}; ac_word=$2
   8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8840 $as_echo_n "checking for $ac_word... " >&6; }
   8841 if ${ac_cv_prog_LIPO+:} false; then :
   8842   $as_echo_n "(cached) " >&6
   8843 else
   8844   if test -n "$LIPO"; then
   8845   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8846 else
   8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8848 for as_dir in $PATH
   8849 do
   8850   IFS=$as_save_IFS
   8851   test -z "$as_dir" && as_dir=.
   8852     for ac_exec_ext in '' $ac_executable_extensions; do
   8853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8854     ac_cv_prog_LIPO="${ncn_progname}"
   8855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8856     break 2
   8857   fi
   8858 done
   8859   done
   8860 IFS=$as_save_IFS
   8861 
   8862 fi
   8863 fi
   8864 LIPO=$ac_cv_prog_LIPO
   8865 if test -n "$LIPO"; then
   8866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8867 $as_echo "$LIPO" >&6; }
   8868 else
   8869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8870 $as_echo "no" >&6; }
   8871 fi
   8872 
   8873 
   8874   fi
   8875   test -n "$ac_cv_prog_LIPO" && break
   8876 done
   8877 
   8878 if test -z "$ac_cv_prog_LIPO" ; then
   8879   set dummy lipo
   8880   if test $build = $host ; then
   8881     LIPO="$2"
   8882   else
   8883     LIPO="${ncn_tool_prefix}$2"
   8884   fi
   8885 fi
   8886 
   8887 
   8888 
   8889 if test -n "$NM"; then
   8890   ac_cv_prog_NM=$NM
   8891 elif test -n "$ac_cv_prog_NM"; then
   8892   NM=$ac_cv_prog_NM
   8893 fi
   8894 
   8895 if test -n "$ac_cv_prog_NM"; then
   8896   for ncn_progname in nm; do
   8897     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8898 set dummy ${ncn_progname}; ac_word=$2
   8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8900 $as_echo_n "checking for $ac_word... " >&6; }
   8901 if ${ac_cv_prog_NM+:} false; then :
   8902   $as_echo_n "(cached) " >&6
   8903 else
   8904   if test -n "$NM"; then
   8905   ac_cv_prog_NM="$NM" # Let the user override the test.
   8906 else
   8907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8908 for as_dir in $PATH
   8909 do
   8910   IFS=$as_save_IFS
   8911   test -z "$as_dir" && as_dir=.
   8912     for ac_exec_ext in '' $ac_executable_extensions; do
   8913   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8914     ac_cv_prog_NM="${ncn_progname}"
   8915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8916     break 2
   8917   fi
   8918 done
   8919   done
   8920 IFS=$as_save_IFS
   8921 
   8922 fi
   8923 fi
   8924 NM=$ac_cv_prog_NM
   8925 if test -n "$NM"; then
   8926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8927 $as_echo "$NM" >&6; }
   8928 else
   8929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8930 $as_echo "no" >&6; }
   8931 fi
   8932 
   8933 
   8934   done
   8935 fi
   8936 
   8937 for ncn_progname in nm; do
   8938   if test -n "$ncn_tool_prefix"; then
   8939     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   8940 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8942 $as_echo_n "checking for $ac_word... " >&6; }
   8943 if ${ac_cv_prog_NM+:} false; then :
   8944   $as_echo_n "(cached) " >&6
   8945 else
   8946   if test -n "$NM"; then
   8947   ac_cv_prog_NM="$NM" # Let the user override the test.
   8948 else
   8949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8950 for as_dir in $PATH
   8951 do
   8952   IFS=$as_save_IFS
   8953   test -z "$as_dir" && as_dir=.
   8954     for ac_exec_ext in '' $ac_executable_extensions; do
   8955   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8956     ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
   8957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8958     break 2
   8959   fi
   8960 done
   8961   done
   8962 IFS=$as_save_IFS
   8963 
   8964 fi
   8965 fi
   8966 NM=$ac_cv_prog_NM
   8967 if test -n "$NM"; then
   8968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   8969 $as_echo "$NM" >&6; }
   8970 else
   8971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8972 $as_echo "no" >&6; }
   8973 fi
   8974 
   8975 
   8976   fi
   8977   if test -z "$ac_cv_prog_NM" && test $build = $host ; then
   8978     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   8979 set dummy ${ncn_progname}; ac_word=$2
   8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8981 $as_echo_n "checking for $ac_word... " >&6; }
   8982 if ${ac_cv_prog_NM+:} false; then :
   8983   $as_echo_n "(cached) " >&6
   8984 else
   8985   if test -n "$NM"; then
   8986   ac_cv_prog_NM="$NM" # Let the user override the test.
   8987 else
   8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8989 for as_dir in $PATH
   8990 do
   8991   IFS=$as_save_IFS
   8992   test -z "$as_dir" && as_dir=.
   8993     for ac_exec_ext in '' $ac_executable_extensions; do
   8994   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8995     ac_cv_prog_NM="${ncn_progname}"
   8996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8997     break 2
   8998   fi
   8999 done
   9000   done
   9001 IFS=$as_save_IFS
   9002 
   9003 fi
   9004 fi
   9005 NM=$ac_cv_prog_NM
   9006 if test -n "$NM"; then
   9007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   9008 $as_echo "$NM" >&6; }
   9009 else
   9010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9011 $as_echo "no" >&6; }
   9012 fi
   9013 
   9014 
   9015   fi
   9016   test -n "$ac_cv_prog_NM" && break
   9017 done
   9018 
   9019 if test -z "$ac_cv_prog_NM" ; then
   9020   set dummy nm
   9021   if test $build = $host ; then
   9022     NM="$2"
   9023   else
   9024     NM="${ncn_tool_prefix}$2"
   9025   fi
   9026 fi
   9027 
   9028 
   9029 
   9030 if test -n "$RANLIB"; then
   9031   ac_cv_prog_RANLIB=$RANLIB
   9032 elif test -n "$ac_cv_prog_RANLIB"; then
   9033   RANLIB=$ac_cv_prog_RANLIB
   9034 fi
   9035 
   9036 if test -n "$ac_cv_prog_RANLIB"; then
   9037   for ncn_progname in ranlib; do
   9038     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9039 set dummy ${ncn_progname}; ac_word=$2
   9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9041 $as_echo_n "checking for $ac_word... " >&6; }
   9042 if ${ac_cv_prog_RANLIB+:} false; then :
   9043   $as_echo_n "(cached) " >&6
   9044 else
   9045   if test -n "$RANLIB"; then
   9046   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9047 else
   9048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9049 for as_dir in $PATH
   9050 do
   9051   IFS=$as_save_IFS
   9052   test -z "$as_dir" && as_dir=.
   9053     for ac_exec_ext in '' $ac_executable_extensions; do
   9054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9055     ac_cv_prog_RANLIB="${ncn_progname}"
   9056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9057     break 2
   9058   fi
   9059 done
   9060   done
   9061 IFS=$as_save_IFS
   9062 
   9063 fi
   9064 fi
   9065 RANLIB=$ac_cv_prog_RANLIB
   9066 if test -n "$RANLIB"; then
   9067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9068 $as_echo "$RANLIB" >&6; }
   9069 else
   9070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9071 $as_echo "no" >&6; }
   9072 fi
   9073 
   9074 
   9075   done
   9076 fi
   9077 
   9078 for ncn_progname in ranlib; do
   9079   if test -n "$ncn_tool_prefix"; then
   9080     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9081 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9083 $as_echo_n "checking for $ac_word... " >&6; }
   9084 if ${ac_cv_prog_RANLIB+:} false; then :
   9085   $as_echo_n "(cached) " >&6
   9086 else
   9087   if test -n "$RANLIB"; then
   9088   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9089 else
   9090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9091 for as_dir in $PATH
   9092 do
   9093   IFS=$as_save_IFS
   9094   test -z "$as_dir" && as_dir=.
   9095     for ac_exec_ext in '' $ac_executable_extensions; do
   9096   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9097     ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
   9098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9099     break 2
   9100   fi
   9101 done
   9102   done
   9103 IFS=$as_save_IFS
   9104 
   9105 fi
   9106 fi
   9107 RANLIB=$ac_cv_prog_RANLIB
   9108 if test -n "$RANLIB"; then
   9109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9110 $as_echo "$RANLIB" >&6; }
   9111 else
   9112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9113 $as_echo "no" >&6; }
   9114 fi
   9115 
   9116 
   9117   fi
   9118   if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
   9119     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9120 set dummy ${ncn_progname}; ac_word=$2
   9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9122 $as_echo_n "checking for $ac_word... " >&6; }
   9123 if ${ac_cv_prog_RANLIB+:} false; then :
   9124   $as_echo_n "(cached) " >&6
   9125 else
   9126   if test -n "$RANLIB"; then
   9127   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   9128 else
   9129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9130 for as_dir in $PATH
   9131 do
   9132   IFS=$as_save_IFS
   9133   test -z "$as_dir" && as_dir=.
   9134     for ac_exec_ext in '' $ac_executable_extensions; do
   9135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9136     ac_cv_prog_RANLIB="${ncn_progname}"
   9137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9138     break 2
   9139   fi
   9140 done
   9141   done
   9142 IFS=$as_save_IFS
   9143 
   9144 fi
   9145 fi
   9146 RANLIB=$ac_cv_prog_RANLIB
   9147 if test -n "$RANLIB"; then
   9148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   9149 $as_echo "$RANLIB" >&6; }
   9150 else
   9151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9152 $as_echo "no" >&6; }
   9153 fi
   9154 
   9155 
   9156   fi
   9157   test -n "$ac_cv_prog_RANLIB" && break
   9158 done
   9159 
   9160 if test -z "$ac_cv_prog_RANLIB" ; then
   9161   RANLIB="true"
   9162 fi
   9163 
   9164 
   9165 
   9166 if test -n "$STRIP"; then
   9167   ac_cv_prog_STRIP=$STRIP
   9168 elif test -n "$ac_cv_prog_STRIP"; then
   9169   STRIP=$ac_cv_prog_STRIP
   9170 fi
   9171 
   9172 if test -n "$ac_cv_prog_STRIP"; then
   9173   for ncn_progname in strip; do
   9174     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9175 set dummy ${ncn_progname}; ac_word=$2
   9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9177 $as_echo_n "checking for $ac_word... " >&6; }
   9178 if ${ac_cv_prog_STRIP+:} false; then :
   9179   $as_echo_n "(cached) " >&6
   9180 else
   9181   if test -n "$STRIP"; then
   9182   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9183 else
   9184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9185 for as_dir in $PATH
   9186 do
   9187   IFS=$as_save_IFS
   9188   test -z "$as_dir" && as_dir=.
   9189     for ac_exec_ext in '' $ac_executable_extensions; do
   9190   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9191     ac_cv_prog_STRIP="${ncn_progname}"
   9192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9193     break 2
   9194   fi
   9195 done
   9196   done
   9197 IFS=$as_save_IFS
   9198 
   9199 fi
   9200 fi
   9201 STRIP=$ac_cv_prog_STRIP
   9202 if test -n "$STRIP"; then
   9203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9204 $as_echo "$STRIP" >&6; }
   9205 else
   9206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9207 $as_echo "no" >&6; }
   9208 fi
   9209 
   9210 
   9211   done
   9212 fi
   9213 
   9214 for ncn_progname in strip; do
   9215   if test -n "$ncn_tool_prefix"; then
   9216     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9217 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9219 $as_echo_n "checking for $ac_word... " >&6; }
   9220 if ${ac_cv_prog_STRIP+:} false; then :
   9221   $as_echo_n "(cached) " >&6
   9222 else
   9223   if test -n "$STRIP"; then
   9224   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9225 else
   9226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9227 for as_dir in $PATH
   9228 do
   9229   IFS=$as_save_IFS
   9230   test -z "$as_dir" && as_dir=.
   9231     for ac_exec_ext in '' $ac_executable_extensions; do
   9232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9233     ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
   9234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9235     break 2
   9236   fi
   9237 done
   9238   done
   9239 IFS=$as_save_IFS
   9240 
   9241 fi
   9242 fi
   9243 STRIP=$ac_cv_prog_STRIP
   9244 if test -n "$STRIP"; then
   9245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9246 $as_echo "$STRIP" >&6; }
   9247 else
   9248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9249 $as_echo "no" >&6; }
   9250 fi
   9251 
   9252 
   9253   fi
   9254   if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
   9255     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9256 set dummy ${ncn_progname}; ac_word=$2
   9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9258 $as_echo_n "checking for $ac_word... " >&6; }
   9259 if ${ac_cv_prog_STRIP+:} false; then :
   9260   $as_echo_n "(cached) " >&6
   9261 else
   9262   if test -n "$STRIP"; then
   9263   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   9264 else
   9265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9266 for as_dir in $PATH
   9267 do
   9268   IFS=$as_save_IFS
   9269   test -z "$as_dir" && as_dir=.
   9270     for ac_exec_ext in '' $ac_executable_extensions; do
   9271   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9272     ac_cv_prog_STRIP="${ncn_progname}"
   9273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9274     break 2
   9275   fi
   9276 done
   9277   done
   9278 IFS=$as_save_IFS
   9279 
   9280 fi
   9281 fi
   9282 STRIP=$ac_cv_prog_STRIP
   9283 if test -n "$STRIP"; then
   9284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   9285 $as_echo "$STRIP" >&6; }
   9286 else
   9287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9288 $as_echo "no" >&6; }
   9289 fi
   9290 
   9291 
   9292   fi
   9293   test -n "$ac_cv_prog_STRIP" && break
   9294 done
   9295 
   9296 if test -z "$ac_cv_prog_STRIP" ; then
   9297   STRIP="true"
   9298 fi
   9299 
   9300 
   9301 
   9302 if test -n "$WINDRES"; then
   9303   ac_cv_prog_WINDRES=$WINDRES
   9304 elif test -n "$ac_cv_prog_WINDRES"; then
   9305   WINDRES=$ac_cv_prog_WINDRES
   9306 fi
   9307 
   9308 if test -n "$ac_cv_prog_WINDRES"; then
   9309   for ncn_progname in windres; do
   9310     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9311 set dummy ${ncn_progname}; ac_word=$2
   9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9313 $as_echo_n "checking for $ac_word... " >&6; }
   9314 if ${ac_cv_prog_WINDRES+:} false; then :
   9315   $as_echo_n "(cached) " >&6
   9316 else
   9317   if test -n "$WINDRES"; then
   9318   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9319 else
   9320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9321 for as_dir in $PATH
   9322 do
   9323   IFS=$as_save_IFS
   9324   test -z "$as_dir" && as_dir=.
   9325     for ac_exec_ext in '' $ac_executable_extensions; do
   9326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9327     ac_cv_prog_WINDRES="${ncn_progname}"
   9328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9329     break 2
   9330   fi
   9331 done
   9332   done
   9333 IFS=$as_save_IFS
   9334 
   9335 fi
   9336 fi
   9337 WINDRES=$ac_cv_prog_WINDRES
   9338 if test -n "$WINDRES"; then
   9339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9340 $as_echo "$WINDRES" >&6; }
   9341 else
   9342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9343 $as_echo "no" >&6; }
   9344 fi
   9345 
   9346 
   9347   done
   9348 fi
   9349 
   9350 for ncn_progname in windres; do
   9351   if test -n "$ncn_tool_prefix"; then
   9352     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9353 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9355 $as_echo_n "checking for $ac_word... " >&6; }
   9356 if ${ac_cv_prog_WINDRES+:} false; then :
   9357   $as_echo_n "(cached) " >&6
   9358 else
   9359   if test -n "$WINDRES"; then
   9360   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9361 else
   9362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9363 for as_dir in $PATH
   9364 do
   9365   IFS=$as_save_IFS
   9366   test -z "$as_dir" && as_dir=.
   9367     for ac_exec_ext in '' $ac_executable_extensions; do
   9368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9369     ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
   9370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9371     break 2
   9372   fi
   9373 done
   9374   done
   9375 IFS=$as_save_IFS
   9376 
   9377 fi
   9378 fi
   9379 WINDRES=$ac_cv_prog_WINDRES
   9380 if test -n "$WINDRES"; then
   9381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9382 $as_echo "$WINDRES" >&6; }
   9383 else
   9384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9385 $as_echo "no" >&6; }
   9386 fi
   9387 
   9388 
   9389   fi
   9390   if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
   9391     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9392 set dummy ${ncn_progname}; ac_word=$2
   9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9394 $as_echo_n "checking for $ac_word... " >&6; }
   9395 if ${ac_cv_prog_WINDRES+:} false; then :
   9396   $as_echo_n "(cached) " >&6
   9397 else
   9398   if test -n "$WINDRES"; then
   9399   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   9400 else
   9401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9402 for as_dir in $PATH
   9403 do
   9404   IFS=$as_save_IFS
   9405   test -z "$as_dir" && as_dir=.
   9406     for ac_exec_ext in '' $ac_executable_extensions; do
   9407   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9408     ac_cv_prog_WINDRES="${ncn_progname}"
   9409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9410     break 2
   9411   fi
   9412 done
   9413   done
   9414 IFS=$as_save_IFS
   9415 
   9416 fi
   9417 fi
   9418 WINDRES=$ac_cv_prog_WINDRES
   9419 if test -n "$WINDRES"; then
   9420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   9421 $as_echo "$WINDRES" >&6; }
   9422 else
   9423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9424 $as_echo "no" >&6; }
   9425 fi
   9426 
   9427 
   9428   fi
   9429   test -n "$ac_cv_prog_WINDRES" && break
   9430 done
   9431 
   9432 if test -z "$ac_cv_prog_WINDRES" ; then
   9433   set dummy windres
   9434   if test $build = $host ; then
   9435     WINDRES="$2"
   9436   else
   9437     WINDRES="${ncn_tool_prefix}$2"
   9438   fi
   9439 fi
   9440 
   9441 
   9442 
   9443 if test -n "$WINDMC"; then
   9444   ac_cv_prog_WINDMC=$WINDMC
   9445 elif test -n "$ac_cv_prog_WINDMC"; then
   9446   WINDMC=$ac_cv_prog_WINDMC
   9447 fi
   9448 
   9449 if test -n "$ac_cv_prog_WINDMC"; then
   9450   for ncn_progname in windmc; do
   9451     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9452 set dummy ${ncn_progname}; ac_word=$2
   9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9454 $as_echo_n "checking for $ac_word... " >&6; }
   9455 if ${ac_cv_prog_WINDMC+:} false; then :
   9456   $as_echo_n "(cached) " >&6
   9457 else
   9458   if test -n "$WINDMC"; then
   9459   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9460 else
   9461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9462 for as_dir in $PATH
   9463 do
   9464   IFS=$as_save_IFS
   9465   test -z "$as_dir" && as_dir=.
   9466     for ac_exec_ext in '' $ac_executable_extensions; do
   9467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9468     ac_cv_prog_WINDMC="${ncn_progname}"
   9469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9470     break 2
   9471   fi
   9472 done
   9473   done
   9474 IFS=$as_save_IFS
   9475 
   9476 fi
   9477 fi
   9478 WINDMC=$ac_cv_prog_WINDMC
   9479 if test -n "$WINDMC"; then
   9480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9481 $as_echo "$WINDMC" >&6; }
   9482 else
   9483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9484 $as_echo "no" >&6; }
   9485 fi
   9486 
   9487 
   9488   done
   9489 fi
   9490 
   9491 for ncn_progname in windmc; do
   9492   if test -n "$ncn_tool_prefix"; then
   9493     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9494 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9496 $as_echo_n "checking for $ac_word... " >&6; }
   9497 if ${ac_cv_prog_WINDMC+:} false; then :
   9498   $as_echo_n "(cached) " >&6
   9499 else
   9500   if test -n "$WINDMC"; then
   9501   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9502 else
   9503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9504 for as_dir in $PATH
   9505 do
   9506   IFS=$as_save_IFS
   9507   test -z "$as_dir" && as_dir=.
   9508     for ac_exec_ext in '' $ac_executable_extensions; do
   9509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9510     ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
   9511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9512     break 2
   9513   fi
   9514 done
   9515   done
   9516 IFS=$as_save_IFS
   9517 
   9518 fi
   9519 fi
   9520 WINDMC=$ac_cv_prog_WINDMC
   9521 if test -n "$WINDMC"; then
   9522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9523 $as_echo "$WINDMC" >&6; }
   9524 else
   9525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9526 $as_echo "no" >&6; }
   9527 fi
   9528 
   9529 
   9530   fi
   9531   if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
   9532     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9533 set dummy ${ncn_progname}; ac_word=$2
   9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9535 $as_echo_n "checking for $ac_word... " >&6; }
   9536 if ${ac_cv_prog_WINDMC+:} false; then :
   9537   $as_echo_n "(cached) " >&6
   9538 else
   9539   if test -n "$WINDMC"; then
   9540   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   9541 else
   9542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9543 for as_dir in $PATH
   9544 do
   9545   IFS=$as_save_IFS
   9546   test -z "$as_dir" && as_dir=.
   9547     for ac_exec_ext in '' $ac_executable_extensions; do
   9548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9549     ac_cv_prog_WINDMC="${ncn_progname}"
   9550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9551     break 2
   9552   fi
   9553 done
   9554   done
   9555 IFS=$as_save_IFS
   9556 
   9557 fi
   9558 fi
   9559 WINDMC=$ac_cv_prog_WINDMC
   9560 if test -n "$WINDMC"; then
   9561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   9562 $as_echo "$WINDMC" >&6; }
   9563 else
   9564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9565 $as_echo "no" >&6; }
   9566 fi
   9567 
   9568 
   9569   fi
   9570   test -n "$ac_cv_prog_WINDMC" && break
   9571 done
   9572 
   9573 if test -z "$ac_cv_prog_WINDMC" ; then
   9574   set dummy windmc
   9575   if test $build = $host ; then
   9576     WINDMC="$2"
   9577   else
   9578     WINDMC="${ncn_tool_prefix}$2"
   9579   fi
   9580 fi
   9581 
   9582 
   9583 
   9584 if test -n "$OBJCOPY"; then
   9585   ac_cv_prog_OBJCOPY=$OBJCOPY
   9586 elif test -n "$ac_cv_prog_OBJCOPY"; then
   9587   OBJCOPY=$ac_cv_prog_OBJCOPY
   9588 fi
   9589 
   9590 if test -n "$ac_cv_prog_OBJCOPY"; then
   9591   for ncn_progname in objcopy; do
   9592     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9593 set dummy ${ncn_progname}; ac_word=$2
   9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9595 $as_echo_n "checking for $ac_word... " >&6; }
   9596 if ${ac_cv_prog_OBJCOPY+:} false; then :
   9597   $as_echo_n "(cached) " >&6
   9598 else
   9599   if test -n "$OBJCOPY"; then
   9600   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9601 else
   9602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9603 for as_dir in $PATH
   9604 do
   9605   IFS=$as_save_IFS
   9606   test -z "$as_dir" && as_dir=.
   9607     for ac_exec_ext in '' $ac_executable_extensions; do
   9608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9609     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9611     break 2
   9612   fi
   9613 done
   9614   done
   9615 IFS=$as_save_IFS
   9616 
   9617 fi
   9618 fi
   9619 OBJCOPY=$ac_cv_prog_OBJCOPY
   9620 if test -n "$OBJCOPY"; then
   9621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9622 $as_echo "$OBJCOPY" >&6; }
   9623 else
   9624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9625 $as_echo "no" >&6; }
   9626 fi
   9627 
   9628 
   9629   done
   9630 fi
   9631 
   9632 for ncn_progname in objcopy; do
   9633   if test -n "$ncn_tool_prefix"; then
   9634     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9635 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9637 $as_echo_n "checking for $ac_word... " >&6; }
   9638 if ${ac_cv_prog_OBJCOPY+:} false; then :
   9639   $as_echo_n "(cached) " >&6
   9640 else
   9641   if test -n "$OBJCOPY"; then
   9642   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9643 else
   9644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9645 for as_dir in $PATH
   9646 do
   9647   IFS=$as_save_IFS
   9648   test -z "$as_dir" && as_dir=.
   9649     for ac_exec_ext in '' $ac_executable_extensions; do
   9650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9651     ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
   9652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9653     break 2
   9654   fi
   9655 done
   9656   done
   9657 IFS=$as_save_IFS
   9658 
   9659 fi
   9660 fi
   9661 OBJCOPY=$ac_cv_prog_OBJCOPY
   9662 if test -n "$OBJCOPY"; then
   9663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9664 $as_echo "$OBJCOPY" >&6; }
   9665 else
   9666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9667 $as_echo "no" >&6; }
   9668 fi
   9669 
   9670 
   9671   fi
   9672   if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
   9673     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9674 set dummy ${ncn_progname}; ac_word=$2
   9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9676 $as_echo_n "checking for $ac_word... " >&6; }
   9677 if ${ac_cv_prog_OBJCOPY+:} false; then :
   9678   $as_echo_n "(cached) " >&6
   9679 else
   9680   if test -n "$OBJCOPY"; then
   9681   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   9682 else
   9683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9684 for as_dir in $PATH
   9685 do
   9686   IFS=$as_save_IFS
   9687   test -z "$as_dir" && as_dir=.
   9688     for ac_exec_ext in '' $ac_executable_extensions; do
   9689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9690     ac_cv_prog_OBJCOPY="${ncn_progname}"
   9691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9692     break 2
   9693   fi
   9694 done
   9695   done
   9696 IFS=$as_save_IFS
   9697 
   9698 fi
   9699 fi
   9700 OBJCOPY=$ac_cv_prog_OBJCOPY
   9701 if test -n "$OBJCOPY"; then
   9702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   9703 $as_echo "$OBJCOPY" >&6; }
   9704 else
   9705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9706 $as_echo "no" >&6; }
   9707 fi
   9708 
   9709 
   9710   fi
   9711   test -n "$ac_cv_prog_OBJCOPY" && break
   9712 done
   9713 
   9714 if test -z "$ac_cv_prog_OBJCOPY" ; then
   9715   set dummy objcopy
   9716   if test $build = $host ; then
   9717     OBJCOPY="$2"
   9718   else
   9719     OBJCOPY="${ncn_tool_prefix}$2"
   9720   fi
   9721 fi
   9722 
   9723 
   9724 
   9725 if test -n "$OBJDUMP"; then
   9726   ac_cv_prog_OBJDUMP=$OBJDUMP
   9727 elif test -n "$ac_cv_prog_OBJDUMP"; then
   9728   OBJDUMP=$ac_cv_prog_OBJDUMP
   9729 fi
   9730 
   9731 if test -n "$ac_cv_prog_OBJDUMP"; then
   9732   for ncn_progname in objdump; do
   9733     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9734 set dummy ${ncn_progname}; ac_word=$2
   9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9736 $as_echo_n "checking for $ac_word... " >&6; }
   9737 if ${ac_cv_prog_OBJDUMP+:} false; then :
   9738   $as_echo_n "(cached) " >&6
   9739 else
   9740   if test -n "$OBJDUMP"; then
   9741   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9742 else
   9743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9744 for as_dir in $PATH
   9745 do
   9746   IFS=$as_save_IFS
   9747   test -z "$as_dir" && as_dir=.
   9748     for ac_exec_ext in '' $ac_executable_extensions; do
   9749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9750     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9752     break 2
   9753   fi
   9754 done
   9755   done
   9756 IFS=$as_save_IFS
   9757 
   9758 fi
   9759 fi
   9760 OBJDUMP=$ac_cv_prog_OBJDUMP
   9761 if test -n "$OBJDUMP"; then
   9762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9763 $as_echo "$OBJDUMP" >&6; }
   9764 else
   9765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9766 $as_echo "no" >&6; }
   9767 fi
   9768 
   9769 
   9770   done
   9771 fi
   9772 
   9773 for ncn_progname in objdump; do
   9774   if test -n "$ncn_tool_prefix"; then
   9775     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9776 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9778 $as_echo_n "checking for $ac_word... " >&6; }
   9779 if ${ac_cv_prog_OBJDUMP+:} false; then :
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   if test -n "$OBJDUMP"; then
   9783   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9784 else
   9785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9786 for as_dir in $PATH
   9787 do
   9788   IFS=$as_save_IFS
   9789   test -z "$as_dir" && as_dir=.
   9790     for ac_exec_ext in '' $ac_executable_extensions; do
   9791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9792     ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
   9793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9794     break 2
   9795   fi
   9796 done
   9797   done
   9798 IFS=$as_save_IFS
   9799 
   9800 fi
   9801 fi
   9802 OBJDUMP=$ac_cv_prog_OBJDUMP
   9803 if test -n "$OBJDUMP"; then
   9804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9805 $as_echo "$OBJDUMP" >&6; }
   9806 else
   9807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9808 $as_echo "no" >&6; }
   9809 fi
   9810 
   9811 
   9812   fi
   9813   if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
   9814     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9815 set dummy ${ncn_progname}; ac_word=$2
   9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9817 $as_echo_n "checking for $ac_word... " >&6; }
   9818 if ${ac_cv_prog_OBJDUMP+:} false; then :
   9819   $as_echo_n "(cached) " >&6
   9820 else
   9821   if test -n "$OBJDUMP"; then
   9822   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9823 else
   9824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9825 for as_dir in $PATH
   9826 do
   9827   IFS=$as_save_IFS
   9828   test -z "$as_dir" && as_dir=.
   9829     for ac_exec_ext in '' $ac_executable_extensions; do
   9830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9831     ac_cv_prog_OBJDUMP="${ncn_progname}"
   9832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9833     break 2
   9834   fi
   9835 done
   9836   done
   9837 IFS=$as_save_IFS
   9838 
   9839 fi
   9840 fi
   9841 OBJDUMP=$ac_cv_prog_OBJDUMP
   9842 if test -n "$OBJDUMP"; then
   9843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9844 $as_echo "$OBJDUMP" >&6; }
   9845 else
   9846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9847 $as_echo "no" >&6; }
   9848 fi
   9849 
   9850 
   9851   fi
   9852   test -n "$ac_cv_prog_OBJDUMP" && break
   9853 done
   9854 
   9855 if test -z "$ac_cv_prog_OBJDUMP" ; then
   9856   set dummy objdump
   9857   if test $build = $host ; then
   9858     OBJDUMP="$2"
   9859   else
   9860     OBJDUMP="${ncn_tool_prefix}$2"
   9861   fi
   9862 fi
   9863 
   9864 
   9865 
   9866 if test -n "$READELF"; then
   9867   ac_cv_prog_READELF=$READELF
   9868 elif test -n "$ac_cv_prog_READELF"; then
   9869   READELF=$ac_cv_prog_READELF
   9870 fi
   9871 
   9872 if test -n "$ac_cv_prog_READELF"; then
   9873   for ncn_progname in readelf; do
   9874     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9875 set dummy ${ncn_progname}; ac_word=$2
   9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9877 $as_echo_n "checking for $ac_word... " >&6; }
   9878 if ${ac_cv_prog_READELF+:} false; then :
   9879   $as_echo_n "(cached) " >&6
   9880 else
   9881   if test -n "$READELF"; then
   9882   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9883 else
   9884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9885 for as_dir in $PATH
   9886 do
   9887   IFS=$as_save_IFS
   9888   test -z "$as_dir" && as_dir=.
   9889     for ac_exec_ext in '' $ac_executable_extensions; do
   9890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9891     ac_cv_prog_READELF="${ncn_progname}"
   9892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9893     break 2
   9894   fi
   9895 done
   9896   done
   9897 IFS=$as_save_IFS
   9898 
   9899 fi
   9900 fi
   9901 READELF=$ac_cv_prog_READELF
   9902 if test -n "$READELF"; then
   9903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9904 $as_echo "$READELF" >&6; }
   9905 else
   9906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9907 $as_echo "no" >&6; }
   9908 fi
   9909 
   9910 
   9911   done
   9912 fi
   9913 
   9914 for ncn_progname in readelf; do
   9915   if test -n "$ncn_tool_prefix"; then
   9916     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   9917 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9919 $as_echo_n "checking for $ac_word... " >&6; }
   9920 if ${ac_cv_prog_READELF+:} false; then :
   9921   $as_echo_n "(cached) " >&6
   9922 else
   9923   if test -n "$READELF"; then
   9924   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9925 else
   9926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9927 for as_dir in $PATH
   9928 do
   9929   IFS=$as_save_IFS
   9930   test -z "$as_dir" && as_dir=.
   9931     for ac_exec_ext in '' $ac_executable_extensions; do
   9932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9933     ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
   9934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9935     break 2
   9936   fi
   9937 done
   9938   done
   9939 IFS=$as_save_IFS
   9940 
   9941 fi
   9942 fi
   9943 READELF=$ac_cv_prog_READELF
   9944 if test -n "$READELF"; then
   9945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9946 $as_echo "$READELF" >&6; }
   9947 else
   9948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9949 $as_echo "no" >&6; }
   9950 fi
   9951 
   9952 
   9953   fi
   9954   if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
   9955     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   9956 set dummy ${ncn_progname}; ac_word=$2
   9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9958 $as_echo_n "checking for $ac_word... " >&6; }
   9959 if ${ac_cv_prog_READELF+:} false; then :
   9960   $as_echo_n "(cached) " >&6
   9961 else
   9962   if test -n "$READELF"; then
   9963   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   9964 else
   9965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9966 for as_dir in $PATH
   9967 do
   9968   IFS=$as_save_IFS
   9969   test -z "$as_dir" && as_dir=.
   9970     for ac_exec_ext in '' $ac_executable_extensions; do
   9971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9972     ac_cv_prog_READELF="${ncn_progname}"
   9973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9974     break 2
   9975   fi
   9976 done
   9977   done
   9978 IFS=$as_save_IFS
   9979 
   9980 fi
   9981 fi
   9982 READELF=$ac_cv_prog_READELF
   9983 if test -n "$READELF"; then
   9984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   9985 $as_echo "$READELF" >&6; }
   9986 else
   9987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9988 $as_echo "no" >&6; }
   9989 fi
   9990 
   9991 
   9992   fi
   9993   test -n "$ac_cv_prog_READELF" && break
   9994 done
   9995 
   9996 if test -z "$ac_cv_prog_READELF" ; then
   9997   set dummy readelf
   9998   if test $build = $host ; then
   9999     READELF="$2"
   10000   else
   10001     READELF="${ncn_tool_prefix}$2"
   10002   fi
   10003 fi
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 # Target tools.
   10011 
   10012 # Check whether --with-build-time-tools was given.
   10013 if test "${with_build_time_tools+set}" = set; then :
   10014   withval=$with_build_time_tools; case x"$withval" in
   10015      x/*) ;;
   10016      *)
   10017        with_build_time_tools=
   10018        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
   10019 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
   10020        ;;
   10021    esac
   10022 else
   10023   with_build_time_tools=
   10024 fi
   10025 
   10026 
   10027 
   10028 
   10029 if test -n "$CC_FOR_TARGET"; then
   10030   ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
   10031 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   10032   CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10033 fi
   10034 
   10035 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   10036   for ncn_progname in cc gcc; do
   10037     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10038 set dummy ${ncn_progname}; ac_word=$2
   10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10040 $as_echo_n "checking for $ac_word... " >&6; }
   10041 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   10042   $as_echo_n "(cached) " >&6
   10043 else
   10044   if test -n "$CC_FOR_TARGET"; then
   10045   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10046 else
   10047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10048 for as_dir in $PATH
   10049 do
   10050   IFS=$as_save_IFS
   10051   test -z "$as_dir" && as_dir=.
   10052     for ac_exec_ext in '' $ac_executable_extensions; do
   10053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10054     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   10055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10056     break 2
   10057   fi
   10058 done
   10059   done
   10060 IFS=$as_save_IFS
   10061 
   10062 fi
   10063 fi
   10064 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10065 if test -n "$CC_FOR_TARGET"; then
   10066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10067 $as_echo "$CC_FOR_TARGET" >&6; }
   10068 else
   10069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10070 $as_echo "no" >&6; }
   10071 fi
   10072 
   10073 
   10074   done
   10075 fi
   10076 
   10077 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10078   for ncn_progname in cc gcc; do
   10079     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10080 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10081     if test -x $with_build_time_tools/${ncn_progname}; then
   10082       ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10083       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10084 $as_echo "yes" >&6; }
   10085       break
   10086     else
   10087       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10088 $as_echo "no" >&6; }
   10089     fi
   10090   done
   10091 fi
   10092 
   10093 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
   10094   for ncn_progname in cc gcc; do
   10095     if test -n "$ncn_target_tool_prefix"; then
   10096       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10097 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10099 $as_echo_n "checking for $ac_word... " >&6; }
   10100 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   10101   $as_echo_n "(cached) " >&6
   10102 else
   10103   if test -n "$CC_FOR_TARGET"; then
   10104   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10105 else
   10106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10107 for as_dir in $PATH
   10108 do
   10109   IFS=$as_save_IFS
   10110   test -z "$as_dir" && as_dir=.
   10111     for ac_exec_ext in '' $ac_executable_extensions; do
   10112   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10113     ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10115     break 2
   10116   fi
   10117 done
   10118   done
   10119 IFS=$as_save_IFS
   10120 
   10121 fi
   10122 fi
   10123 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10124 if test -n "$CC_FOR_TARGET"; then
   10125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10126 $as_echo "$CC_FOR_TARGET" >&6; }
   10127 else
   10128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10129 $as_echo "no" >&6; }
   10130 fi
   10131 
   10132 
   10133     fi
   10134     if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
   10135       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10136 set dummy ${ncn_progname}; ac_word=$2
   10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10138 $as_echo_n "checking for $ac_word... " >&6; }
   10139 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   10140   $as_echo_n "(cached) " >&6
   10141 else
   10142   if test -n "$CC_FOR_TARGET"; then
   10143   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   10144 else
   10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10146 for as_dir in $PATH
   10147 do
   10148   IFS=$as_save_IFS
   10149   test -z "$as_dir" && as_dir=.
   10150     for ac_exec_ext in '' $ac_executable_extensions; do
   10151   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10152     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   10153     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10154     break 2
   10155   fi
   10156 done
   10157   done
   10158 IFS=$as_save_IFS
   10159 
   10160 fi
   10161 fi
   10162 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   10163 if test -n "$CC_FOR_TARGET"; then
   10164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   10165 $as_echo "$CC_FOR_TARGET" >&6; }
   10166 else
   10167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10168 $as_echo "no" >&6; }
   10169 fi
   10170 
   10171 
   10172     fi
   10173     test -n "$ac_cv_prog_CC_FOR_TARGET" && break
   10174   done
   10175 fi
   10176 
   10177 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
   10178   set dummy cc gcc
   10179   if test $build = $target ; then
   10180     CC_FOR_TARGET="$2"
   10181   else
   10182     CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10183   fi
   10184 else
   10185   CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
   10186 fi
   10187 
   10188 
   10189 
   10190 if test -n "$CXX_FOR_TARGET"; then
   10191   ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
   10192 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10193   CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10194 fi
   10195 
   10196 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   10197   for ncn_progname in c++ g++ cxx gxx; do
   10198     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10199 set dummy ${ncn_progname}; ac_word=$2
   10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10201 $as_echo_n "checking for $ac_word... " >&6; }
   10202 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   10203   $as_echo_n "(cached) " >&6
   10204 else
   10205   if test -n "$CXX_FOR_TARGET"; then
   10206   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10207 else
   10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10209 for as_dir in $PATH
   10210 do
   10211   IFS=$as_save_IFS
   10212   test -z "$as_dir" && as_dir=.
   10213     for ac_exec_ext in '' $ac_executable_extensions; do
   10214   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10215     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10217     break 2
   10218   fi
   10219 done
   10220   done
   10221 IFS=$as_save_IFS
   10222 
   10223 fi
   10224 fi
   10225 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10226 if test -n "$CXX_FOR_TARGET"; then
   10227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10228 $as_echo "$CXX_FOR_TARGET" >&6; }
   10229 else
   10230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10231 $as_echo "no" >&6; }
   10232 fi
   10233 
   10234 
   10235   done
   10236 fi
   10237 
   10238 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10239   for ncn_progname in c++ g++ cxx gxx; do
   10240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10241 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10242     if test -x $with_build_time_tools/${ncn_progname}; then
   10243       ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10244       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10245 $as_echo "yes" >&6; }
   10246       break
   10247     else
   10248       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10249 $as_echo "no" >&6; }
   10250     fi
   10251   done
   10252 fi
   10253 
   10254 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
   10255   for ncn_progname in c++ g++ cxx gxx; do
   10256     if test -n "$ncn_target_tool_prefix"; then
   10257       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10258 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10260 $as_echo_n "checking for $ac_word... " >&6; }
   10261 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   10262   $as_echo_n "(cached) " >&6
   10263 else
   10264   if test -n "$CXX_FOR_TARGET"; then
   10265   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10266 else
   10267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10268 for as_dir in $PATH
   10269 do
   10270   IFS=$as_save_IFS
   10271   test -z "$as_dir" && as_dir=.
   10272     for ac_exec_ext in '' $ac_executable_extensions; do
   10273   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10274     ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10276     break 2
   10277   fi
   10278 done
   10279   done
   10280 IFS=$as_save_IFS
   10281 
   10282 fi
   10283 fi
   10284 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10285 if test -n "$CXX_FOR_TARGET"; then
   10286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10287 $as_echo "$CXX_FOR_TARGET" >&6; }
   10288 else
   10289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10290 $as_echo "no" >&6; }
   10291 fi
   10292 
   10293 
   10294     fi
   10295     if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
   10296       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10297 set dummy ${ncn_progname}; ac_word=$2
   10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10299 $as_echo_n "checking for $ac_word... " >&6; }
   10300 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   10301   $as_echo_n "(cached) " >&6
   10302 else
   10303   if test -n "$CXX_FOR_TARGET"; then
   10304   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   10305 else
   10306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10307 for as_dir in $PATH
   10308 do
   10309   IFS=$as_save_IFS
   10310   test -z "$as_dir" && as_dir=.
   10311     for ac_exec_ext in '' $ac_executable_extensions; do
   10312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10313     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   10314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10315     break 2
   10316   fi
   10317 done
   10318   done
   10319 IFS=$as_save_IFS
   10320 
   10321 fi
   10322 fi
   10323 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   10324 if test -n "$CXX_FOR_TARGET"; then
   10325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   10326 $as_echo "$CXX_FOR_TARGET" >&6; }
   10327 else
   10328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10329 $as_echo "no" >&6; }
   10330 fi
   10331 
   10332 
   10333     fi
   10334     test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
   10335   done
   10336 fi
   10337 
   10338 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
   10339   set dummy c++ g++ cxx gxx
   10340   if test $build = $target ; then
   10341     CXX_FOR_TARGET="$2"
   10342   else
   10343     CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10344   fi
   10345 else
   10346   CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
   10347 fi
   10348 
   10349 
   10350 
   10351 if test -n "$GCC_FOR_TARGET"; then
   10352   ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
   10353 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10354   GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10355 fi
   10356 
   10357 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   10358   for ncn_progname in gcc; do
   10359     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10360 set dummy ${ncn_progname}; ac_word=$2
   10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10362 $as_echo_n "checking for $ac_word... " >&6; }
   10363 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   10364   $as_echo_n "(cached) " >&6
   10365 else
   10366   if test -n "$GCC_FOR_TARGET"; then
   10367   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10368 else
   10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10370 for as_dir in $PATH
   10371 do
   10372   IFS=$as_save_IFS
   10373   test -z "$as_dir" && as_dir=.
   10374     for ac_exec_ext in '' $ac_executable_extensions; do
   10375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10376     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10378     break 2
   10379   fi
   10380 done
   10381   done
   10382 IFS=$as_save_IFS
   10383 
   10384 fi
   10385 fi
   10386 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10387 if test -n "$GCC_FOR_TARGET"; then
   10388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10389 $as_echo "$GCC_FOR_TARGET" >&6; }
   10390 else
   10391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10392 $as_echo "no" >&6; }
   10393 fi
   10394 
   10395 
   10396   done
   10397 fi
   10398 
   10399 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10400   for ncn_progname in gcc; do
   10401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10402 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10403     if test -x $with_build_time_tools/${ncn_progname}; then
   10404       ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10405       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10406 $as_echo "yes" >&6; }
   10407       break
   10408     else
   10409       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10410 $as_echo "no" >&6; }
   10411     fi
   10412   done
   10413 fi
   10414 
   10415 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
   10416   for ncn_progname in gcc; do
   10417     if test -n "$ncn_target_tool_prefix"; then
   10418       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10419 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10421 $as_echo_n "checking for $ac_word... " >&6; }
   10422 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   10423   $as_echo_n "(cached) " >&6
   10424 else
   10425   if test -n "$GCC_FOR_TARGET"; then
   10426   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10427 else
   10428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10429 for as_dir in $PATH
   10430 do
   10431   IFS=$as_save_IFS
   10432   test -z "$as_dir" && as_dir=.
   10433     for ac_exec_ext in '' $ac_executable_extensions; do
   10434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10435     ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10437     break 2
   10438   fi
   10439 done
   10440   done
   10441 IFS=$as_save_IFS
   10442 
   10443 fi
   10444 fi
   10445 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10446 if test -n "$GCC_FOR_TARGET"; then
   10447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10448 $as_echo "$GCC_FOR_TARGET" >&6; }
   10449 else
   10450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10451 $as_echo "no" >&6; }
   10452 fi
   10453 
   10454 
   10455     fi
   10456     if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
   10457       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10458 set dummy ${ncn_progname}; ac_word=$2
   10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10460 $as_echo_n "checking for $ac_word... " >&6; }
   10461 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   10462   $as_echo_n "(cached) " >&6
   10463 else
   10464   if test -n "$GCC_FOR_TARGET"; then
   10465   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   10466 else
   10467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10468 for as_dir in $PATH
   10469 do
   10470   IFS=$as_save_IFS
   10471   test -z "$as_dir" && as_dir=.
   10472     for ac_exec_ext in '' $ac_executable_extensions; do
   10473   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10474     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   10475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10476     break 2
   10477   fi
   10478 done
   10479   done
   10480 IFS=$as_save_IFS
   10481 
   10482 fi
   10483 fi
   10484 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   10485 if test -n "$GCC_FOR_TARGET"; then
   10486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   10487 $as_echo "$GCC_FOR_TARGET" >&6; }
   10488 else
   10489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10490 $as_echo "no" >&6; }
   10491 fi
   10492 
   10493 
   10494     fi
   10495     test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
   10496   done
   10497 fi
   10498 
   10499 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
   10500   GCC_FOR_TARGET="${CC_FOR_TARGET}"
   10501 else
   10502   GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
   10503 fi
   10504 
   10505 
   10506 
   10507 if test -n "$GFORTRAN_FOR_TARGET"; then
   10508   ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
   10509 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10510   GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10511 fi
   10512 
   10513 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10514   for ncn_progname in gfortran; do
   10515     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10516 set dummy ${ncn_progname}; ac_word=$2
   10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10518 $as_echo_n "checking for $ac_word... " >&6; }
   10519 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   10520   $as_echo_n "(cached) " >&6
   10521 else
   10522   if test -n "$GFORTRAN_FOR_TARGET"; then
   10523   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10524 else
   10525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10526 for as_dir in $PATH
   10527 do
   10528   IFS=$as_save_IFS
   10529   test -z "$as_dir" && as_dir=.
   10530     for ac_exec_ext in '' $ac_executable_extensions; do
   10531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10532     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10534     break 2
   10535   fi
   10536 done
   10537   done
   10538 IFS=$as_save_IFS
   10539 
   10540 fi
   10541 fi
   10542 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10543 if test -n "$GFORTRAN_FOR_TARGET"; then
   10544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10545 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10546 else
   10547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10548 $as_echo "no" >&6; }
   10549 fi
   10550 
   10551 
   10552   done
   10553 fi
   10554 
   10555 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10556   for ncn_progname in gfortran; do
   10557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10558 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10559     if test -x $with_build_time_tools/${ncn_progname}; then
   10560       ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10561       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10562 $as_echo "yes" >&6; }
   10563       break
   10564     else
   10565       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10566 $as_echo "no" >&6; }
   10567     fi
   10568   done
   10569 fi
   10570 
   10571 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   10572   for ncn_progname in gfortran; do
   10573     if test -n "$ncn_target_tool_prefix"; then
   10574       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10575 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10577 $as_echo_n "checking for $ac_word... " >&6; }
   10578 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   10579   $as_echo_n "(cached) " >&6
   10580 else
   10581   if test -n "$GFORTRAN_FOR_TARGET"; then
   10582   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10583 else
   10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10585 for as_dir in $PATH
   10586 do
   10587   IFS=$as_save_IFS
   10588   test -z "$as_dir" && as_dir=.
   10589     for ac_exec_ext in '' $ac_executable_extensions; do
   10590   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10591     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10593     break 2
   10594   fi
   10595 done
   10596   done
   10597 IFS=$as_save_IFS
   10598 
   10599 fi
   10600 fi
   10601 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10602 if test -n "$GFORTRAN_FOR_TARGET"; then
   10603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10604 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10605 else
   10606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10607 $as_echo "no" >&6; }
   10608 fi
   10609 
   10610 
   10611     fi
   10612     if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
   10613       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10614 set dummy ${ncn_progname}; ac_word=$2
   10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10616 $as_echo_n "checking for $ac_word... " >&6; }
   10617 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   10618   $as_echo_n "(cached) " >&6
   10619 else
   10620   if test -n "$GFORTRAN_FOR_TARGET"; then
   10621   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   10622 else
   10623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10624 for as_dir in $PATH
   10625 do
   10626   IFS=$as_save_IFS
   10627   test -z "$as_dir" && as_dir=.
   10628     for ac_exec_ext in '' $ac_executable_extensions; do
   10629   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10630     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   10631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10632     break 2
   10633   fi
   10634 done
   10635   done
   10636 IFS=$as_save_IFS
   10637 
   10638 fi
   10639 fi
   10640 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   10641 if test -n "$GFORTRAN_FOR_TARGET"; then
   10642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   10643 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   10644 else
   10645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10646 $as_echo "no" >&6; }
   10647 fi
   10648 
   10649 
   10650     fi
   10651     test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
   10652   done
   10653 fi
   10654 
   10655 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
   10656   set dummy gfortran
   10657   if test $build = $target ; then
   10658     GFORTRAN_FOR_TARGET="$2"
   10659   else
   10660     GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10661   fi
   10662 else
   10663   GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
   10664 fi
   10665 
   10666 
   10667 
   10668 if test -n "$GOC_FOR_TARGET"; then
   10669   ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
   10670 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10671   GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10672 fi
   10673 
   10674 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   10675   for ncn_progname in gccgo; do
   10676     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10677 set dummy ${ncn_progname}; ac_word=$2
   10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10679 $as_echo_n "checking for $ac_word... " >&6; }
   10680 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   10681   $as_echo_n "(cached) " >&6
   10682 else
   10683   if test -n "$GOC_FOR_TARGET"; then
   10684   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10685 else
   10686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10687 for as_dir in $PATH
   10688 do
   10689   IFS=$as_save_IFS
   10690   test -z "$as_dir" && as_dir=.
   10691     for ac_exec_ext in '' $ac_executable_extensions; do
   10692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10693     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10695     break 2
   10696   fi
   10697 done
   10698   done
   10699 IFS=$as_save_IFS
   10700 
   10701 fi
   10702 fi
   10703 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10704 if test -n "$GOC_FOR_TARGET"; then
   10705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10706 $as_echo "$GOC_FOR_TARGET" >&6; }
   10707 else
   10708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10709 $as_echo "no" >&6; }
   10710 fi
   10711 
   10712 
   10713   done
   10714 fi
   10715 
   10716 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10717   for ncn_progname in gccgo; do
   10718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10719 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10720     if test -x $with_build_time_tools/${ncn_progname}; then
   10721       ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10722       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10723 $as_echo "yes" >&6; }
   10724       break
   10725     else
   10726       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10727 $as_echo "no" >&6; }
   10728     fi
   10729   done
   10730 fi
   10731 
   10732 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
   10733   for ncn_progname in gccgo; do
   10734     if test -n "$ncn_target_tool_prefix"; then
   10735       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10738 $as_echo_n "checking for $ac_word... " >&6; }
   10739 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   10740   $as_echo_n "(cached) " >&6
   10741 else
   10742   if test -n "$GOC_FOR_TARGET"; then
   10743   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10744 else
   10745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10746 for as_dir in $PATH
   10747 do
   10748   IFS=$as_save_IFS
   10749   test -z "$as_dir" && as_dir=.
   10750     for ac_exec_ext in '' $ac_executable_extensions; do
   10751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10752     ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   10753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10754     break 2
   10755   fi
   10756 done
   10757   done
   10758 IFS=$as_save_IFS
   10759 
   10760 fi
   10761 fi
   10762 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10763 if test -n "$GOC_FOR_TARGET"; then
   10764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10765 $as_echo "$GOC_FOR_TARGET" >&6; }
   10766 else
   10767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10768 $as_echo "no" >&6; }
   10769 fi
   10770 
   10771 
   10772     fi
   10773     if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
   10774       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10775 set dummy ${ncn_progname}; ac_word=$2
   10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10777 $as_echo_n "checking for $ac_word... " >&6; }
   10778 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   10779   $as_echo_n "(cached) " >&6
   10780 else
   10781   if test -n "$GOC_FOR_TARGET"; then
   10782   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   10783 else
   10784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10785 for as_dir in $PATH
   10786 do
   10787   IFS=$as_save_IFS
   10788   test -z "$as_dir" && as_dir=.
   10789     for ac_exec_ext in '' $ac_executable_extensions; do
   10790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10791     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   10792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10793     break 2
   10794   fi
   10795 done
   10796   done
   10797 IFS=$as_save_IFS
   10798 
   10799 fi
   10800 fi
   10801 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   10802 if test -n "$GOC_FOR_TARGET"; then
   10803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   10804 $as_echo "$GOC_FOR_TARGET" >&6; }
   10805 else
   10806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10807 $as_echo "no" >&6; }
   10808 fi
   10809 
   10810 
   10811     fi
   10812     test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
   10813   done
   10814 fi
   10815 
   10816 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
   10817   set dummy gccgo
   10818   if test $build = $target ; then
   10819     GOC_FOR_TARGET="$2"
   10820   else
   10821     GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   10822   fi
   10823 else
   10824   GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
   10825 fi
   10826 
   10827 
   10828 
   10829 cat > conftest.c << \EOF
   10830 #ifdef __GNUC__
   10831   gcc_yay;
   10832 #endif
   10833 EOF
   10834 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
   10835   have_gcc_for_target=yes
   10836 else
   10837   GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
   10838   have_gcc_for_target=no
   10839 fi
   10840 rm conftest.c
   10841 
   10842 
   10843 
   10844 
   10845 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   10846   if test -n "$with_build_time_tools"; then
   10847     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
   10848 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
   10849     if test -x $with_build_time_tools/ar; then
   10850       AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
   10851       ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10852       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
   10853 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
   10854     else
   10855       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10856 $as_echo "no" >&6; }
   10857     fi
   10858   elif test $build != $host && test $have_gcc_for_target = yes; then
   10859     AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
   10860     test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
   10861     test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   10862   fi
   10863 fi
   10864 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   10865   # Extract the first word of "ar", so it can be a program name with args.
   10866 set dummy ar; ac_word=$2
   10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10868 $as_echo_n "checking for $ac_word... " >&6; }
   10869 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
   10870   $as_echo_n "(cached) " >&6
   10871 else
   10872   case $AR_FOR_TARGET in
   10873   [\\/]* | ?:[\\/]*)
   10874   ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
   10875   ;;
   10876   *)
   10877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10878 for as_dir in $gcc_cv_tool_dirs
   10879 do
   10880   IFS=$as_save_IFS
   10881   test -z "$as_dir" && as_dir=.
   10882     for ac_exec_ext in '' $ac_executable_extensions; do
   10883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10884     ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   10885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10886     break 2
   10887   fi
   10888 done
   10889   done
   10890 IFS=$as_save_IFS
   10891 
   10892   ;;
   10893 esac
   10894 fi
   10895 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   10896 if test -n "$AR_FOR_TARGET"; then
   10897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   10898 $as_echo "$AR_FOR_TARGET" >&6; }
   10899 else
   10900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10901 $as_echo "no" >&6; }
   10902 fi
   10903 
   10904 
   10905 fi
   10906 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   10907 
   10908 
   10909 if test -n "$AR_FOR_TARGET"; then
   10910   ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
   10911 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   10912   AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   10913 fi
   10914 
   10915 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   10916   for ncn_progname in ar; do
   10917     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   10918 set dummy ${ncn_progname}; ac_word=$2
   10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10920 $as_echo_n "checking for $ac_word... " >&6; }
   10921 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   10922   $as_echo_n "(cached) " >&6
   10923 else
   10924   if test -n "$AR_FOR_TARGET"; then
   10925   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   10926 else
   10927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10928 for as_dir in $PATH
   10929 do
   10930   IFS=$as_save_IFS
   10931   test -z "$as_dir" && as_dir=.
   10932     for ac_exec_ext in '' $ac_executable_extensions; do
   10933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10934     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   10935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10936     break 2
   10937   fi
   10938 done
   10939   done
   10940 IFS=$as_save_IFS
   10941 
   10942 fi
   10943 fi
   10944 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   10945 if test -n "$AR_FOR_TARGET"; then
   10946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   10947 $as_echo "$AR_FOR_TARGET" >&6; }
   10948 else
   10949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10950 $as_echo "no" >&6; }
   10951 fi
   10952 
   10953 
   10954   done
   10955 fi
   10956 
   10957 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
   10958   for ncn_progname in ar; do
   10959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   10960 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   10961     if test -x $with_build_time_tools/${ncn_progname}; then
   10962       ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   10963       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10964 $as_echo "yes" >&6; }
   10965       break
   10966     else
   10967       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10968 $as_echo "no" >&6; }
   10969     fi
   10970   done
   10971 fi
   10972 
   10973 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
   10974   for ncn_progname in ar; do
   10975     if test -n "$ncn_target_tool_prefix"; then
   10976       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   10977 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10979 $as_echo_n "checking for $ac_word... " >&6; }
   10980 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   10981   $as_echo_n "(cached) " >&6
   10982 else
   10983   if test -n "$AR_FOR_TARGET"; then
   10984   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   10985 else
   10986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10987 for as_dir in $PATH
   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_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   11002 fi
   11003 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11004 if test -n "$AR_FOR_TARGET"; then
   11005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11006 $as_echo "$AR_FOR_TARGET" >&6; }
   11007 else
   11008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11009 $as_echo "no" >&6; }
   11010 fi
   11011 
   11012 
   11013     fi
   11014     if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
   11015       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11016 set dummy ${ncn_progname}; ac_word=$2
   11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11018 $as_echo_n "checking for $ac_word... " >&6; }
   11019 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   11020   $as_echo_n "(cached) " >&6
   11021 else
   11022   if test -n "$AR_FOR_TARGET"; then
   11023   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   11024 else
   11025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11026 for as_dir in $PATH
   11027 do
   11028   IFS=$as_save_IFS
   11029   test -z "$as_dir" && as_dir=.
   11030     for ac_exec_ext in '' $ac_executable_extensions; do
   11031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11032     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   11033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11034     break 2
   11035   fi
   11036 done
   11037   done
   11038 IFS=$as_save_IFS
   11039 
   11040 fi
   11041 fi
   11042 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   11043 if test -n "$AR_FOR_TARGET"; then
   11044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   11045 $as_echo "$AR_FOR_TARGET" >&6; }
   11046 else
   11047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11048 $as_echo "no" >&6; }
   11049 fi
   11050 
   11051 
   11052     fi
   11053     test -n "$ac_cv_prog_AR_FOR_TARGET" && break
   11054   done
   11055 fi
   11056 
   11057 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
   11058   set dummy ar
   11059   if test $build = $target ; then
   11060     AR_FOR_TARGET="$2"
   11061   else
   11062     AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11063   fi
   11064 else
   11065   AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
   11066 fi
   11067 
   11068 else
   11069   AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   11070 fi
   11071 
   11072 
   11073 
   11074 
   11075 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11076   if test -n "$with_build_time_tools"; then
   11077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
   11078 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
   11079     if test -x $with_build_time_tools/as; then
   11080       AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
   11081       ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11082       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
   11083 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
   11084     else
   11085       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11086 $as_echo "no" >&6; }
   11087     fi
   11088   elif test $build != $host && test $have_gcc_for_target = yes; then
   11089     AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
   11090     test $AS_FOR_TARGET = as && AS_FOR_TARGET=
   11091     test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   11092   fi
   11093 fi
   11094 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11095   # Extract the first word of "as", so it can be a program name with args.
   11096 set dummy as; ac_word=$2
   11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11098 $as_echo_n "checking for $ac_word... " >&6; }
   11099 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
   11100   $as_echo_n "(cached) " >&6
   11101 else
   11102   case $AS_FOR_TARGET in
   11103   [\\/]* | ?:[\\/]*)
   11104   ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
   11105   ;;
   11106   *)
   11107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11108 for as_dir in $gcc_cv_tool_dirs
   11109 do
   11110   IFS=$as_save_IFS
   11111   test -z "$as_dir" && as_dir=.
   11112     for ac_exec_ext in '' $ac_executable_extensions; do
   11113   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11114     ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11115     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11116     break 2
   11117   fi
   11118 done
   11119   done
   11120 IFS=$as_save_IFS
   11121 
   11122   ;;
   11123 esac
   11124 fi
   11125 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11126 if test -n "$AS_FOR_TARGET"; then
   11127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11128 $as_echo "$AS_FOR_TARGET" >&6; }
   11129 else
   11130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11131 $as_echo "no" >&6; }
   11132 fi
   11133 
   11134 
   11135 fi
   11136 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   11137 
   11138 
   11139 if test -n "$AS_FOR_TARGET"; then
   11140   ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
   11141 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11142   AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11143 fi
   11144 
   11145 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   11146   for ncn_progname in as; do
   11147     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11148 set dummy ${ncn_progname}; ac_word=$2
   11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11150 $as_echo_n "checking for $ac_word... " >&6; }
   11151 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   11152   $as_echo_n "(cached) " >&6
   11153 else
   11154   if test -n "$AS_FOR_TARGET"; then
   11155   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11156 else
   11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11158 for as_dir in $PATH
   11159 do
   11160   IFS=$as_save_IFS
   11161   test -z "$as_dir" && as_dir=.
   11162     for ac_exec_ext in '' $ac_executable_extensions; do
   11163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11164     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11166     break 2
   11167   fi
   11168 done
   11169   done
   11170 IFS=$as_save_IFS
   11171 
   11172 fi
   11173 fi
   11174 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11175 if test -n "$AS_FOR_TARGET"; then
   11176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11177 $as_echo "$AS_FOR_TARGET" >&6; }
   11178 else
   11179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11180 $as_echo "no" >&6; }
   11181 fi
   11182 
   11183 
   11184   done
   11185 fi
   11186 
   11187 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11188   for ncn_progname in as; do
   11189     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11190 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11191     if test -x $with_build_time_tools/${ncn_progname}; then
   11192       ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11193       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11194 $as_echo "yes" >&6; }
   11195       break
   11196     else
   11197       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11198 $as_echo "no" >&6; }
   11199     fi
   11200   done
   11201 fi
   11202 
   11203 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
   11204   for ncn_progname in as; do
   11205     if test -n "$ncn_target_tool_prefix"; then
   11206       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11207 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11209 $as_echo_n "checking for $ac_word... " >&6; }
   11210 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   11211   $as_echo_n "(cached) " >&6
   11212 else
   11213   if test -n "$AS_FOR_TARGET"; then
   11214   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11215 else
   11216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11217 for as_dir in $PATH
   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_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   11232 fi
   11233 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11234 if test -n "$AS_FOR_TARGET"; then
   11235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11236 $as_echo "$AS_FOR_TARGET" >&6; }
   11237 else
   11238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11239 $as_echo "no" >&6; }
   11240 fi
   11241 
   11242 
   11243     fi
   11244     if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
   11245       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11246 set dummy ${ncn_progname}; ac_word=$2
   11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11248 $as_echo_n "checking for $ac_word... " >&6; }
   11249 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   11250   $as_echo_n "(cached) " >&6
   11251 else
   11252   if test -n "$AS_FOR_TARGET"; then
   11253   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   11254 else
   11255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11256 for as_dir in $PATH
   11257 do
   11258   IFS=$as_save_IFS
   11259   test -z "$as_dir" && as_dir=.
   11260     for ac_exec_ext in '' $ac_executable_extensions; do
   11261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11262     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   11263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11264     break 2
   11265   fi
   11266 done
   11267   done
   11268 IFS=$as_save_IFS
   11269 
   11270 fi
   11271 fi
   11272 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   11273 if test -n "$AS_FOR_TARGET"; then
   11274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   11275 $as_echo "$AS_FOR_TARGET" >&6; }
   11276 else
   11277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11278 $as_echo "no" >&6; }
   11279 fi
   11280 
   11281 
   11282     fi
   11283     test -n "$ac_cv_prog_AS_FOR_TARGET" && break
   11284   done
   11285 fi
   11286 
   11287 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
   11288   set dummy as
   11289   if test $build = $target ; then
   11290     AS_FOR_TARGET="$2"
   11291   else
   11292     AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11293   fi
   11294 else
   11295   AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
   11296 fi
   11297 
   11298 else
   11299   AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   11300 fi
   11301 
   11302 
   11303 
   11304 
   11305 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11306   if test -n "$with_build_time_tools"; then
   11307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
   11308 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
   11309     if test -x $with_build_time_tools/dlltool; then
   11310       DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
   11311       ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11312       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
   11313 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
   11314     else
   11315       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11316 $as_echo "no" >&6; }
   11317     fi
   11318   elif test $build != $host && test $have_gcc_for_target = yes; then
   11319     DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
   11320     test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
   11321     test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11322   fi
   11323 fi
   11324 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11325   # Extract the first word of "dlltool", so it can be a program name with args.
   11326 set dummy dlltool; ac_word=$2
   11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11328 $as_echo_n "checking for $ac_word... " >&6; }
   11329 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
   11330   $as_echo_n "(cached) " >&6
   11331 else
   11332   case $DLLTOOL_FOR_TARGET in
   11333   [\\/]* | ?:[\\/]*)
   11334   ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
   11335   ;;
   11336   *)
   11337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11338 for as_dir in $gcc_cv_tool_dirs
   11339 do
   11340   IFS=$as_save_IFS
   11341   test -z "$as_dir" && as_dir=.
   11342     for ac_exec_ext in '' $ac_executable_extensions; do
   11343   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11344     ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11346     break 2
   11347   fi
   11348 done
   11349   done
   11350 IFS=$as_save_IFS
   11351 
   11352   ;;
   11353 esac
   11354 fi
   11355 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11356 if test -n "$DLLTOOL_FOR_TARGET"; then
   11357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11358 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11359 else
   11360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11361 $as_echo "no" >&6; }
   11362 fi
   11363 
   11364 
   11365 fi
   11366 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   11367 
   11368 
   11369 if test -n "$DLLTOOL_FOR_TARGET"; then
   11370   ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   11371 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11372   DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11373 fi
   11374 
   11375 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11376   for ncn_progname in dlltool; do
   11377     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11378 set dummy ${ncn_progname}; ac_word=$2
   11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11380 $as_echo_n "checking for $ac_word... " >&6; }
   11381 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   11382   $as_echo_n "(cached) " >&6
   11383 else
   11384   if test -n "$DLLTOOL_FOR_TARGET"; then
   11385   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11386 else
   11387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11388 for as_dir in $PATH
   11389 do
   11390   IFS=$as_save_IFS
   11391   test -z "$as_dir" && as_dir=.
   11392     for ac_exec_ext in '' $ac_executable_extensions; do
   11393   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11394     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11396     break 2
   11397   fi
   11398 done
   11399   done
   11400 IFS=$as_save_IFS
   11401 
   11402 fi
   11403 fi
   11404 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11405 if test -n "$DLLTOOL_FOR_TARGET"; then
   11406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11407 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11408 else
   11409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11410 $as_echo "no" >&6; }
   11411 fi
   11412 
   11413 
   11414   done
   11415 fi
   11416 
   11417 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11418   for ncn_progname in dlltool; do
   11419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11420 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11421     if test -x $with_build_time_tools/${ncn_progname}; then
   11422       ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11423       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11424 $as_echo "yes" >&6; }
   11425       break
   11426     else
   11427       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11428 $as_echo "no" >&6; }
   11429     fi
   11430   done
   11431 fi
   11432 
   11433 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   11434   for ncn_progname in dlltool; do
   11435     if test -n "$ncn_target_tool_prefix"; then
   11436       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11437 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11439 $as_echo_n "checking for $ac_word... " >&6; }
   11440 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   11441   $as_echo_n "(cached) " >&6
   11442 else
   11443   if test -n "$DLLTOOL_FOR_TARGET"; then
   11444   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11445 else
   11446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11447 for as_dir in $PATH
   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_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   11462 fi
   11463 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11464 if test -n "$DLLTOOL_FOR_TARGET"; then
   11465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11466 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11467 else
   11468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11469 $as_echo "no" >&6; }
   11470 fi
   11471 
   11472 
   11473     fi
   11474     if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
   11475       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11476 set dummy ${ncn_progname}; ac_word=$2
   11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11478 $as_echo_n "checking for $ac_word... " >&6; }
   11479 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   11480   $as_echo_n "(cached) " >&6
   11481 else
   11482   if test -n "$DLLTOOL_FOR_TARGET"; then
   11483   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   11484 else
   11485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11486 for as_dir in $PATH
   11487 do
   11488   IFS=$as_save_IFS
   11489   test -z "$as_dir" && as_dir=.
   11490     for ac_exec_ext in '' $ac_executable_extensions; do
   11491   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11492     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   11493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11494     break 2
   11495   fi
   11496 done
   11497   done
   11498 IFS=$as_save_IFS
   11499 
   11500 fi
   11501 fi
   11502 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   11503 if test -n "$DLLTOOL_FOR_TARGET"; then
   11504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   11505 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   11506 else
   11507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11508 $as_echo "no" >&6; }
   11509 fi
   11510 
   11511 
   11512     fi
   11513     test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
   11514   done
   11515 fi
   11516 
   11517 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
   11518   set dummy dlltool
   11519   if test $build = $target ; then
   11520     DLLTOOL_FOR_TARGET="$2"
   11521   else
   11522     DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11523   fi
   11524 else
   11525   DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
   11526 fi
   11527 
   11528 else
   11529   DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   11530 fi
   11531 
   11532 
   11533 
   11534 
   11535 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11536   if test -n "$with_build_time_tools"; then
   11537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
   11538 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
   11539     if test -x $with_build_time_tools/ld; then
   11540       LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
   11541       ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11542       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
   11543 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
   11544     else
   11545       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11546 $as_echo "no" >&6; }
   11547     fi
   11548   elif test $build != $host && test $have_gcc_for_target = yes; then
   11549     LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
   11550     test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
   11551     test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   11552   fi
   11553 fi
   11554 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11555   # Extract the first word of "ld", so it can be a program name with args.
   11556 set dummy ld; ac_word=$2
   11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11558 $as_echo_n "checking for $ac_word... " >&6; }
   11559 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
   11560   $as_echo_n "(cached) " >&6
   11561 else
   11562   case $LD_FOR_TARGET in
   11563   [\\/]* | ?:[\\/]*)
   11564   ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
   11565   ;;
   11566   *)
   11567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11568 for as_dir in $gcc_cv_tool_dirs
   11569 do
   11570   IFS=$as_save_IFS
   11571   test -z "$as_dir" && as_dir=.
   11572     for ac_exec_ext in '' $ac_executable_extensions; do
   11573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11574     ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11576     break 2
   11577   fi
   11578 done
   11579   done
   11580 IFS=$as_save_IFS
   11581 
   11582   ;;
   11583 esac
   11584 fi
   11585 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11586 if test -n "$LD_FOR_TARGET"; then
   11587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11588 $as_echo "$LD_FOR_TARGET" >&6; }
   11589 else
   11590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11591 $as_echo "no" >&6; }
   11592 fi
   11593 
   11594 
   11595 fi
   11596 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   11597 
   11598 
   11599 if test -n "$LD_FOR_TARGET"; then
   11600   ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
   11601 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11602   LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11603 fi
   11604 
   11605 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   11606   for ncn_progname in ld; do
   11607     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11608 set dummy ${ncn_progname}; ac_word=$2
   11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11610 $as_echo_n "checking for $ac_word... " >&6; }
   11611 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   11612   $as_echo_n "(cached) " >&6
   11613 else
   11614   if test -n "$LD_FOR_TARGET"; then
   11615   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11616 else
   11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11618 for as_dir in $PATH
   11619 do
   11620   IFS=$as_save_IFS
   11621   test -z "$as_dir" && as_dir=.
   11622     for ac_exec_ext in '' $ac_executable_extensions; do
   11623   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11624     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11626     break 2
   11627   fi
   11628 done
   11629   done
   11630 IFS=$as_save_IFS
   11631 
   11632 fi
   11633 fi
   11634 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11635 if test -n "$LD_FOR_TARGET"; then
   11636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11637 $as_echo "$LD_FOR_TARGET" >&6; }
   11638 else
   11639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11640 $as_echo "no" >&6; }
   11641 fi
   11642 
   11643 
   11644   done
   11645 fi
   11646 
   11647 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11648   for ncn_progname in ld; do
   11649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11650 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11651     if test -x $with_build_time_tools/${ncn_progname}; then
   11652       ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11653       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11654 $as_echo "yes" >&6; }
   11655       break
   11656     else
   11657       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11658 $as_echo "no" >&6; }
   11659     fi
   11660   done
   11661 fi
   11662 
   11663 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
   11664   for ncn_progname in ld; do
   11665     if test -n "$ncn_target_tool_prefix"; then
   11666       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11667 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11669 $as_echo_n "checking for $ac_word... " >&6; }
   11670 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   11671   $as_echo_n "(cached) " >&6
   11672 else
   11673   if test -n "$LD_FOR_TARGET"; then
   11674   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11675 else
   11676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11677 for as_dir in $PATH
   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_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   11692 fi
   11693 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11694 if test -n "$LD_FOR_TARGET"; then
   11695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11696 $as_echo "$LD_FOR_TARGET" >&6; }
   11697 else
   11698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11699 $as_echo "no" >&6; }
   11700 fi
   11701 
   11702 
   11703     fi
   11704     if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
   11705       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11706 set dummy ${ncn_progname}; ac_word=$2
   11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11708 $as_echo_n "checking for $ac_word... " >&6; }
   11709 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   11710   $as_echo_n "(cached) " >&6
   11711 else
   11712   if test -n "$LD_FOR_TARGET"; then
   11713   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   11714 else
   11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11716 for as_dir in $PATH
   11717 do
   11718   IFS=$as_save_IFS
   11719   test -z "$as_dir" && as_dir=.
   11720     for ac_exec_ext in '' $ac_executable_extensions; do
   11721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11722     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   11723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11724     break 2
   11725   fi
   11726 done
   11727   done
   11728 IFS=$as_save_IFS
   11729 
   11730 fi
   11731 fi
   11732 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   11733 if test -n "$LD_FOR_TARGET"; then
   11734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   11735 $as_echo "$LD_FOR_TARGET" >&6; }
   11736 else
   11737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11738 $as_echo "no" >&6; }
   11739 fi
   11740 
   11741 
   11742     fi
   11743     test -n "$ac_cv_prog_LD_FOR_TARGET" && break
   11744   done
   11745 fi
   11746 
   11747 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
   11748   set dummy ld
   11749   if test $build = $target ; then
   11750     LD_FOR_TARGET="$2"
   11751   else
   11752     LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11753   fi
   11754 else
   11755   LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
   11756 fi
   11757 
   11758 else
   11759   LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   11760 fi
   11761 
   11762 
   11763 
   11764 
   11765 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11766   if test -n "$with_build_time_tools"; then
   11767     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
   11768 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
   11769     if test -x $with_build_time_tools/lipo; then
   11770       LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
   11771       ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11772       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
   11773 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
   11774     else
   11775       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11776 $as_echo "no" >&6; }
   11777     fi
   11778   elif test $build != $host && test $have_gcc_for_target = yes; then
   11779     LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
   11780     test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
   11781     test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11782   fi
   11783 fi
   11784 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   11785   # Extract the first word of "lipo", so it can be a program name with args.
   11786 set dummy lipo; ac_word=$2
   11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11788 $as_echo_n "checking for $ac_word... " >&6; }
   11789 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
   11790   $as_echo_n "(cached) " >&6
   11791 else
   11792   case $LIPO_FOR_TARGET in
   11793   [\\/]* | ?:[\\/]*)
   11794   ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
   11795   ;;
   11796   *)
   11797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11798 for as_dir in $gcc_cv_tool_dirs
   11799 do
   11800   IFS=$as_save_IFS
   11801   test -z "$as_dir" && as_dir=.
   11802     for ac_exec_ext in '' $ac_executable_extensions; do
   11803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11804     ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   11805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11806     break 2
   11807   fi
   11808 done
   11809   done
   11810 IFS=$as_save_IFS
   11811 
   11812   ;;
   11813 esac
   11814 fi
   11815 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   11816 if test -n "$LIPO_FOR_TARGET"; then
   11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11818 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11819 else
   11820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11821 $as_echo "no" >&6; }
   11822 fi
   11823 
   11824 
   11825 fi
   11826 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   11827 
   11828 
   11829 if test -n "$LIPO_FOR_TARGET"; then
   11830   ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   11831 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11832   LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11833 fi
   11834 
   11835 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11836   for ncn_progname in lipo; do
   11837     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11838 set dummy ${ncn_progname}; ac_word=$2
   11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11840 $as_echo_n "checking for $ac_word... " >&6; }
   11841 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   11842   $as_echo_n "(cached) " >&6
   11843 else
   11844   if test -n "$LIPO_FOR_TARGET"; then
   11845   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   11846 else
   11847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11848 for as_dir in $PATH
   11849 do
   11850   IFS=$as_save_IFS
   11851   test -z "$as_dir" && as_dir=.
   11852     for ac_exec_ext in '' $ac_executable_extensions; do
   11853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11854     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   11855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11856     break 2
   11857   fi
   11858 done
   11859   done
   11860 IFS=$as_save_IFS
   11861 
   11862 fi
   11863 fi
   11864 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11865 if test -n "$LIPO_FOR_TARGET"; then
   11866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11867 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11868 else
   11869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11870 $as_echo "no" >&6; }
   11871 fi
   11872 
   11873 
   11874   done
   11875 fi
   11876 
   11877 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
   11878   for ncn_progname in lipo; do
   11879     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   11880 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   11881     if test -x $with_build_time_tools/${ncn_progname}; then
   11882       ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   11883       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11884 $as_echo "yes" >&6; }
   11885       break
   11886     else
   11887       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11888 $as_echo "no" >&6; }
   11889     fi
   11890   done
   11891 fi
   11892 
   11893 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
   11894   for ncn_progname in lipo; do
   11895     if test -n "$ncn_target_tool_prefix"; then
   11896       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11897 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11899 $as_echo_n "checking for $ac_word... " >&6; }
   11900 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   11901   $as_echo_n "(cached) " >&6
   11902 else
   11903   if test -n "$LIPO_FOR_TARGET"; then
   11904   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   11905 else
   11906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11907 for as_dir in $PATH
   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_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   11922 fi
   11923 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11924 if test -n "$LIPO_FOR_TARGET"; then
   11925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11926 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11927 else
   11928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11929 $as_echo "no" >&6; }
   11930 fi
   11931 
   11932 
   11933     fi
   11934     if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
   11935       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11936 set dummy ${ncn_progname}; ac_word=$2
   11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11938 $as_echo_n "checking for $ac_word... " >&6; }
   11939 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   11940   $as_echo_n "(cached) " >&6
   11941 else
   11942   if test -n "$LIPO_FOR_TARGET"; then
   11943   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   11944 else
   11945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11946 for as_dir in $PATH
   11947 do
   11948   IFS=$as_save_IFS
   11949   test -z "$as_dir" && as_dir=.
   11950     for ac_exec_ext in '' $ac_executable_extensions; do
   11951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11952     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   11953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11954     break 2
   11955   fi
   11956 done
   11957   done
   11958 IFS=$as_save_IFS
   11959 
   11960 fi
   11961 fi
   11962 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   11963 if test -n "$LIPO_FOR_TARGET"; then
   11964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   11965 $as_echo "$LIPO_FOR_TARGET" >&6; }
   11966 else
   11967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11968 $as_echo "no" >&6; }
   11969 fi
   11970 
   11971 
   11972     fi
   11973     test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
   11974   done
   11975 fi
   11976 
   11977 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
   11978   set dummy lipo
   11979   if test $build = $target ; then
   11980     LIPO_FOR_TARGET="$2"
   11981   else
   11982     LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
   11983   fi
   11984 else
   11985   LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
   11986 fi
   11987 
   11988 else
   11989   LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   11990 fi
   11991 
   11992 
   11993 
   11994 
   11995 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   11996   if test -n "$with_build_time_tools"; then
   11997     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
   11998 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
   11999     if test -x $with_build_time_tools/nm; then
   12000       NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
   12001       ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12002       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
   12003 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
   12004     else
   12005       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12006 $as_echo "no" >&6; }
   12007     fi
   12008   elif test $build != $host && test $have_gcc_for_target = yes; then
   12009     NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
   12010     test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
   12011     test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   12012   fi
   12013 fi
   12014 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12015   # Extract the first word of "nm", so it can be a program name with args.
   12016 set dummy nm; ac_word=$2
   12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12018 $as_echo_n "checking for $ac_word... " >&6; }
   12019 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
   12020   $as_echo_n "(cached) " >&6
   12021 else
   12022   case $NM_FOR_TARGET in
   12023   [\\/]* | ?:[\\/]*)
   12024   ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
   12025   ;;
   12026   *)
   12027   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12028 for as_dir in $gcc_cv_tool_dirs
   12029 do
   12030   IFS=$as_save_IFS
   12031   test -z "$as_dir" && as_dir=.
   12032     for ac_exec_ext in '' $ac_executable_extensions; do
   12033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12034     ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12036     break 2
   12037   fi
   12038 done
   12039   done
   12040 IFS=$as_save_IFS
   12041 
   12042   ;;
   12043 esac
   12044 fi
   12045 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12046 if test -n "$NM_FOR_TARGET"; then
   12047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12048 $as_echo "$NM_FOR_TARGET" >&6; }
   12049 else
   12050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12051 $as_echo "no" >&6; }
   12052 fi
   12053 
   12054 
   12055 fi
   12056 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   12057 
   12058 
   12059 if test -n "$NM_FOR_TARGET"; then
   12060   ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
   12061 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12062   NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12063 fi
   12064 
   12065 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   12066   for ncn_progname in nm; do
   12067     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12068 set dummy ${ncn_progname}; ac_word=$2
   12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12070 $as_echo_n "checking for $ac_word... " >&6; }
   12071 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   12072   $as_echo_n "(cached) " >&6
   12073 else
   12074   if test -n "$NM_FOR_TARGET"; then
   12075   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12076 else
   12077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12078 for as_dir in $PATH
   12079 do
   12080   IFS=$as_save_IFS
   12081   test -z "$as_dir" && as_dir=.
   12082     for ac_exec_ext in '' $ac_executable_extensions; do
   12083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12084     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12086     break 2
   12087   fi
   12088 done
   12089   done
   12090 IFS=$as_save_IFS
   12091 
   12092 fi
   12093 fi
   12094 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12095 if test -n "$NM_FOR_TARGET"; then
   12096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12097 $as_echo "$NM_FOR_TARGET" >&6; }
   12098 else
   12099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12100 $as_echo "no" >&6; }
   12101 fi
   12102 
   12103 
   12104   done
   12105 fi
   12106 
   12107 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12108   for ncn_progname in nm; do
   12109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12110 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12111     if test -x $with_build_time_tools/${ncn_progname}; then
   12112       ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12113       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12114 $as_echo "yes" >&6; }
   12115       break
   12116     else
   12117       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12118 $as_echo "no" >&6; }
   12119     fi
   12120   done
   12121 fi
   12122 
   12123 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
   12124   for ncn_progname in nm; do
   12125     if test -n "$ncn_target_tool_prefix"; then
   12126       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12127 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12129 $as_echo_n "checking for $ac_word... " >&6; }
   12130 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   12131   $as_echo_n "(cached) " >&6
   12132 else
   12133   if test -n "$NM_FOR_TARGET"; then
   12134   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12135 else
   12136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12137 for as_dir in $PATH
   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_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   12152 fi
   12153 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12154 if test -n "$NM_FOR_TARGET"; then
   12155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12156 $as_echo "$NM_FOR_TARGET" >&6; }
   12157 else
   12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12159 $as_echo "no" >&6; }
   12160 fi
   12161 
   12162 
   12163     fi
   12164     if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
   12165       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12166 set dummy ${ncn_progname}; ac_word=$2
   12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12168 $as_echo_n "checking for $ac_word... " >&6; }
   12169 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   12170   $as_echo_n "(cached) " >&6
   12171 else
   12172   if test -n "$NM_FOR_TARGET"; then
   12173   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   12174 else
   12175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12176 for as_dir in $PATH
   12177 do
   12178   IFS=$as_save_IFS
   12179   test -z "$as_dir" && as_dir=.
   12180     for ac_exec_ext in '' $ac_executable_extensions; do
   12181   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12182     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   12183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12184     break 2
   12185   fi
   12186 done
   12187   done
   12188 IFS=$as_save_IFS
   12189 
   12190 fi
   12191 fi
   12192 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   12193 if test -n "$NM_FOR_TARGET"; then
   12194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   12195 $as_echo "$NM_FOR_TARGET" >&6; }
   12196 else
   12197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12198 $as_echo "no" >&6; }
   12199 fi
   12200 
   12201 
   12202     fi
   12203     test -n "$ac_cv_prog_NM_FOR_TARGET" && break
   12204   done
   12205 fi
   12206 
   12207 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
   12208   set dummy nm
   12209   if test $build = $target ; then
   12210     NM_FOR_TARGET="$2"
   12211   else
   12212     NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12213   fi
   12214 else
   12215   NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
   12216 fi
   12217 
   12218 else
   12219   NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   12220 fi
   12221 
   12222 
   12223 
   12224 
   12225 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12226   if test -n "$with_build_time_tools"; then
   12227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objcopy in $with_build_time_tools" >&5
   12228 $as_echo_n "checking for objcopy in $with_build_time_tools... " >&6; }
   12229     if test -x $with_build_time_tools/objcopy; then
   12230       OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
   12231       ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12232       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
   12233 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
   12234     else
   12235       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12236 $as_echo "no" >&6; }
   12237     fi
   12238   elif test $build != $host && test $have_gcc_for_target = yes; then
   12239     OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
   12240     test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
   12241     test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12242   fi
   12243 fi
   12244 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12245   # Extract the first word of "objcopy", so it can be a program name with args.
   12246 set dummy objcopy; ac_word=$2
   12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12248 $as_echo_n "checking for $ac_word... " >&6; }
   12249 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
   12250   $as_echo_n "(cached) " >&6
   12251 else
   12252   case $OBJCOPY_FOR_TARGET in
   12253   [\\/]* | ?:[\\/]*)
   12254   ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
   12255   ;;
   12256   *)
   12257   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12258 for as_dir in $gcc_cv_tool_dirs
   12259 do
   12260   IFS=$as_save_IFS
   12261   test -z "$as_dir" && as_dir=.
   12262     for ac_exec_ext in '' $ac_executable_extensions; do
   12263   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12264     ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12266     break 2
   12267   fi
   12268 done
   12269   done
   12270 IFS=$as_save_IFS
   12271 
   12272   ;;
   12273 esac
   12274 fi
   12275 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12276 if test -n "$OBJCOPY_FOR_TARGET"; then
   12277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12278 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12279 else
   12280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12281 $as_echo "no" >&6; }
   12282 fi
   12283 
   12284 
   12285 fi
   12286 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   12287 
   12288 
   12289 if test -n "$OBJCOPY_FOR_TARGET"; then
   12290   ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   12291 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12292   OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12293 fi
   12294 
   12295 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12296   for ncn_progname in objcopy; do
   12297     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12298 set dummy ${ncn_progname}; ac_word=$2
   12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12300 $as_echo_n "checking for $ac_word... " >&6; }
   12301 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   12302   $as_echo_n "(cached) " >&6
   12303 else
   12304   if test -n "$OBJCOPY_FOR_TARGET"; then
   12305   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12306 else
   12307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12308 for as_dir in $PATH
   12309 do
   12310   IFS=$as_save_IFS
   12311   test -z "$as_dir" && as_dir=.
   12312     for ac_exec_ext in '' $ac_executable_extensions; do
   12313   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12314     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12316     break 2
   12317   fi
   12318 done
   12319   done
   12320 IFS=$as_save_IFS
   12321 
   12322 fi
   12323 fi
   12324 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12325 if test -n "$OBJCOPY_FOR_TARGET"; then
   12326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12327 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12328 else
   12329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12330 $as_echo "no" >&6; }
   12331 fi
   12332 
   12333 
   12334   done
   12335 fi
   12336 
   12337 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12338   for ncn_progname in objcopy; do
   12339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12340 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12341     if test -x $with_build_time_tools/${ncn_progname}; then
   12342       ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12343       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12344 $as_echo "yes" >&6; }
   12345       break
   12346     else
   12347       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12348 $as_echo "no" >&6; }
   12349     fi
   12350   done
   12351 fi
   12352 
   12353 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   12354   for ncn_progname in objcopy; do
   12355     if test -n "$ncn_target_tool_prefix"; then
   12356       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12357 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12359 $as_echo_n "checking for $ac_word... " >&6; }
   12360 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   12361   $as_echo_n "(cached) " >&6
   12362 else
   12363   if test -n "$OBJCOPY_FOR_TARGET"; then
   12364   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12365 else
   12366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12367 for as_dir in $PATH
   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_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   12382 fi
   12383 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12384 if test -n "$OBJCOPY_FOR_TARGET"; then
   12385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12386 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12387 else
   12388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12389 $as_echo "no" >&6; }
   12390 fi
   12391 
   12392 
   12393     fi
   12394     if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
   12395       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12396 set dummy ${ncn_progname}; ac_word=$2
   12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12398 $as_echo_n "checking for $ac_word... " >&6; }
   12399 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   12400   $as_echo_n "(cached) " >&6
   12401 else
   12402   if test -n "$OBJCOPY_FOR_TARGET"; then
   12403   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   12404 else
   12405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12406 for as_dir in $PATH
   12407 do
   12408   IFS=$as_save_IFS
   12409   test -z "$as_dir" && as_dir=.
   12410     for ac_exec_ext in '' $ac_executable_extensions; do
   12411   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12412     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   12413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12414     break 2
   12415   fi
   12416 done
   12417   done
   12418 IFS=$as_save_IFS
   12419 
   12420 fi
   12421 fi
   12422 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   12423 if test -n "$OBJCOPY_FOR_TARGET"; then
   12424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   12425 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   12426 else
   12427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12428 $as_echo "no" >&6; }
   12429 fi
   12430 
   12431 
   12432     fi
   12433     test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
   12434   done
   12435 fi
   12436 
   12437 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
   12438   set dummy objcopy
   12439   if test $build = $target ; then
   12440     OBJCOPY_FOR_TARGET="$2"
   12441   else
   12442     OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12443   fi
   12444 else
   12445   OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
   12446 fi
   12447 
   12448 else
   12449   OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   12450 fi
   12451 
   12452 
   12453 
   12454 
   12455 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12456   if test -n "$with_build_time_tools"; then
   12457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
   12458 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
   12459     if test -x $with_build_time_tools/objdump; then
   12460       OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
   12461       ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12462       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
   12463 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
   12464     else
   12465       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12466 $as_echo "no" >&6; }
   12467     fi
   12468   elif test $build != $host && test $have_gcc_for_target = yes; then
   12469     OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
   12470     test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
   12471     test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12472   fi
   12473 fi
   12474 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12475   # Extract the first word of "objdump", so it can be a program name with args.
   12476 set dummy objdump; ac_word=$2
   12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12478 $as_echo_n "checking for $ac_word... " >&6; }
   12479 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
   12480   $as_echo_n "(cached) " >&6
   12481 else
   12482   case $OBJDUMP_FOR_TARGET in
   12483   [\\/]* | ?:[\\/]*)
   12484   ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
   12485   ;;
   12486   *)
   12487   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12488 for as_dir in $gcc_cv_tool_dirs
   12489 do
   12490   IFS=$as_save_IFS
   12491   test -z "$as_dir" && as_dir=.
   12492     for ac_exec_ext in '' $ac_executable_extensions; do
   12493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12494     ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12496     break 2
   12497   fi
   12498 done
   12499   done
   12500 IFS=$as_save_IFS
   12501 
   12502   ;;
   12503 esac
   12504 fi
   12505 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12506 if test -n "$OBJDUMP_FOR_TARGET"; then
   12507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12508 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12509 else
   12510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12511 $as_echo "no" >&6; }
   12512 fi
   12513 
   12514 
   12515 fi
   12516 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   12517 
   12518 
   12519 if test -n "$OBJDUMP_FOR_TARGET"; then
   12520   ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   12521 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12522   OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12523 fi
   12524 
   12525 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12526   for ncn_progname in objdump; do
   12527     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12528 set dummy ${ncn_progname}; ac_word=$2
   12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12530 $as_echo_n "checking for $ac_word... " >&6; }
   12531 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   12532   $as_echo_n "(cached) " >&6
   12533 else
   12534   if test -n "$OBJDUMP_FOR_TARGET"; then
   12535   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12536 else
   12537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12538 for as_dir in $PATH
   12539 do
   12540   IFS=$as_save_IFS
   12541   test -z "$as_dir" && as_dir=.
   12542     for ac_exec_ext in '' $ac_executable_extensions; do
   12543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12544     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12546     break 2
   12547   fi
   12548 done
   12549   done
   12550 IFS=$as_save_IFS
   12551 
   12552 fi
   12553 fi
   12554 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12555 if test -n "$OBJDUMP_FOR_TARGET"; then
   12556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12557 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12558 else
   12559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12560 $as_echo "no" >&6; }
   12561 fi
   12562 
   12563 
   12564   done
   12565 fi
   12566 
   12567 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12568   for ncn_progname in objdump; do
   12569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12570 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12571     if test -x $with_build_time_tools/${ncn_progname}; then
   12572       ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12573       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12574 $as_echo "yes" >&6; }
   12575       break
   12576     else
   12577       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12578 $as_echo "no" >&6; }
   12579     fi
   12580   done
   12581 fi
   12582 
   12583 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   12584   for ncn_progname in objdump; do
   12585     if test -n "$ncn_target_tool_prefix"; then
   12586       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12587 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12589 $as_echo_n "checking for $ac_word... " >&6; }
   12590 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   12591   $as_echo_n "(cached) " >&6
   12592 else
   12593   if test -n "$OBJDUMP_FOR_TARGET"; then
   12594   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12595 else
   12596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12597 for as_dir in $PATH
   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_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   12612 fi
   12613 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12614 if test -n "$OBJDUMP_FOR_TARGET"; then
   12615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12616 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12617 else
   12618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12619 $as_echo "no" >&6; }
   12620 fi
   12621 
   12622 
   12623     fi
   12624     if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
   12625       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12626 set dummy ${ncn_progname}; ac_word=$2
   12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12628 $as_echo_n "checking for $ac_word... " >&6; }
   12629 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   12630   $as_echo_n "(cached) " >&6
   12631 else
   12632   if test -n "$OBJDUMP_FOR_TARGET"; then
   12633   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   12634 else
   12635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12636 for as_dir in $PATH
   12637 do
   12638   IFS=$as_save_IFS
   12639   test -z "$as_dir" && as_dir=.
   12640     for ac_exec_ext in '' $ac_executable_extensions; do
   12641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12642     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   12643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12644     break 2
   12645   fi
   12646 done
   12647   done
   12648 IFS=$as_save_IFS
   12649 
   12650 fi
   12651 fi
   12652 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   12653 if test -n "$OBJDUMP_FOR_TARGET"; then
   12654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   12655 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   12656 else
   12657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12658 $as_echo "no" >&6; }
   12659 fi
   12660 
   12661 
   12662     fi
   12663     test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
   12664   done
   12665 fi
   12666 
   12667 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
   12668   set dummy objdump
   12669   if test $build = $target ; then
   12670     OBJDUMP_FOR_TARGET="$2"
   12671   else
   12672     OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12673   fi
   12674 else
   12675   OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
   12676 fi
   12677 
   12678 else
   12679   OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   12680 fi
   12681 
   12682 
   12683 
   12684 
   12685 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12686   if test -n "$with_build_time_tools"; then
   12687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
   12688 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
   12689     if test -x $with_build_time_tools/ranlib; then
   12690       RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
   12691       ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12692       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
   12693 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
   12694     else
   12695       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12696 $as_echo "no" >&6; }
   12697     fi
   12698   elif test $build != $host && test $have_gcc_for_target = yes; then
   12699     RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
   12700     test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
   12701     test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12702   fi
   12703 fi
   12704 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12705   # Extract the first word of "ranlib", so it can be a program name with args.
   12706 set dummy ranlib; ac_word=$2
   12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12708 $as_echo_n "checking for $ac_word... " >&6; }
   12709 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
   12710   $as_echo_n "(cached) " >&6
   12711 else
   12712   case $RANLIB_FOR_TARGET in
   12713   [\\/]* | ?:[\\/]*)
   12714   ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
   12715   ;;
   12716   *)
   12717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12718 for as_dir in $gcc_cv_tool_dirs
   12719 do
   12720   IFS=$as_save_IFS
   12721   test -z "$as_dir" && as_dir=.
   12722     for ac_exec_ext in '' $ac_executable_extensions; do
   12723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12724     ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12726     break 2
   12727   fi
   12728 done
   12729   done
   12730 IFS=$as_save_IFS
   12731 
   12732   ;;
   12733 esac
   12734 fi
   12735 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   12736 if test -n "$RANLIB_FOR_TARGET"; then
   12737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12738 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12739 else
   12740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12741 $as_echo "no" >&6; }
   12742 fi
   12743 
   12744 
   12745 fi
   12746 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   12747 
   12748 
   12749 if test -n "$RANLIB_FOR_TARGET"; then
   12750   ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   12751 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12752   RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12753 fi
   12754 
   12755 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12756   for ncn_progname in ranlib; do
   12757     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12758 set dummy ${ncn_progname}; ac_word=$2
   12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12760 $as_echo_n "checking for $ac_word... " >&6; }
   12761 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   12762   $as_echo_n "(cached) " >&6
   12763 else
   12764   if test -n "$RANLIB_FOR_TARGET"; then
   12765   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12766 else
   12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12768 for as_dir in $PATH
   12769 do
   12770   IFS=$as_save_IFS
   12771   test -z "$as_dir" && as_dir=.
   12772     for ac_exec_ext in '' $ac_executable_extensions; do
   12773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12774     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12776     break 2
   12777   fi
   12778 done
   12779   done
   12780 IFS=$as_save_IFS
   12781 
   12782 fi
   12783 fi
   12784 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12785 if test -n "$RANLIB_FOR_TARGET"; then
   12786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12787 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12788 else
   12789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12790 $as_echo "no" >&6; }
   12791 fi
   12792 
   12793 
   12794   done
   12795 fi
   12796 
   12797 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
   12798   for ncn_progname in ranlib; do
   12799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   12800 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   12801     if test -x $with_build_time_tools/${ncn_progname}; then
   12802       ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   12803       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12804 $as_echo "yes" >&6; }
   12805       break
   12806     else
   12807       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12808 $as_echo "no" >&6; }
   12809     fi
   12810   done
   12811 fi
   12812 
   12813 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   12814   for ncn_progname in ranlib; do
   12815     if test -n "$ncn_target_tool_prefix"; then
   12816       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12817 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12819 $as_echo_n "checking for $ac_word... " >&6; }
   12820 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   12821   $as_echo_n "(cached) " >&6
   12822 else
   12823   if test -n "$RANLIB_FOR_TARGET"; then
   12824   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12825 else
   12826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12827 for as_dir in $PATH
   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_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   12842 fi
   12843 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12844 if test -n "$RANLIB_FOR_TARGET"; then
   12845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12846 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12847 else
   12848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12849 $as_echo "no" >&6; }
   12850 fi
   12851 
   12852 
   12853     fi
   12854     if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
   12855       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12856 set dummy ${ncn_progname}; ac_word=$2
   12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12858 $as_echo_n "checking for $ac_word... " >&6; }
   12859 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   12860   $as_echo_n "(cached) " >&6
   12861 else
   12862   if test -n "$RANLIB_FOR_TARGET"; then
   12863   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   12864 else
   12865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12866 for as_dir in $PATH
   12867 do
   12868   IFS=$as_save_IFS
   12869   test -z "$as_dir" && as_dir=.
   12870     for ac_exec_ext in '' $ac_executable_extensions; do
   12871   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12872     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   12873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12874     break 2
   12875   fi
   12876 done
   12877   done
   12878 IFS=$as_save_IFS
   12879 
   12880 fi
   12881 fi
   12882 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   12883 if test -n "$RANLIB_FOR_TARGET"; then
   12884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   12885 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   12886 else
   12887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12888 $as_echo "no" >&6; }
   12889 fi
   12890 
   12891 
   12892     fi
   12893     test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
   12894   done
   12895 fi
   12896 
   12897 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
   12898   set dummy ranlib
   12899   if test $build = $target ; then
   12900     RANLIB_FOR_TARGET="$2"
   12901   else
   12902     RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
   12903   fi
   12904 else
   12905   RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
   12906 fi
   12907 
   12908 else
   12909   RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   12910 fi
   12911 
   12912 
   12913 
   12914 
   12915 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   12916   if test -n "$with_build_time_tools"; then
   12917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build_time_tools" >&5
   12918 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
   12919     if test -x $with_build_time_tools/readelf; then
   12920       READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
   12921       ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   12922       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_TARGET" >&5
   12923 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
   12924     else
   12925       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12926 $as_echo "no" >&6; }
   12927     fi
   12928   elif test $build != $host && test $have_gcc_for_target = yes; then
   12929     READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
   12930     test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
   12931     test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   12932   fi
   12933 fi
   12934 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   12935   # Extract the first word of "readelf", so it can be a program name with args.
   12936 set dummy readelf; ac_word=$2
   12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12938 $as_echo_n "checking for $ac_word... " >&6; }
   12939 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
   12940   $as_echo_n "(cached) " >&6
   12941 else
   12942   case $READELF_FOR_TARGET in
   12943   [\\/]* | ?:[\\/]*)
   12944   ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
   12945   ;;
   12946   *)
   12947   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12948 for as_dir in $gcc_cv_tool_dirs
   12949 do
   12950   IFS=$as_save_IFS
   12951   test -z "$as_dir" && as_dir=.
   12952     for ac_exec_ext in '' $ac_executable_extensions; do
   12953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12954     ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   12955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12956     break 2
   12957   fi
   12958 done
   12959   done
   12960 IFS=$as_save_IFS
   12961 
   12962   ;;
   12963 esac
   12964 fi
   12965 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   12966 if test -n "$READELF_FOR_TARGET"; then
   12967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   12968 $as_echo "$READELF_FOR_TARGET" >&6; }
   12969 else
   12970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12971 $as_echo "no" >&6; }
   12972 fi
   12973 
   12974 
   12975 fi
   12976 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   12977 
   12978 
   12979 if test -n "$READELF_FOR_TARGET"; then
   12980   ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
   12981 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   12982   READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   12983 fi
   12984 
   12985 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   12986   for ncn_progname in readelf; do
   12987     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12988 set dummy ${ncn_progname}; ac_word=$2
   12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12990 $as_echo_n "checking for $ac_word... " >&6; }
   12991 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   12992   $as_echo_n "(cached) " >&6
   12993 else
   12994   if test -n "$READELF_FOR_TARGET"; then
   12995   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   12996 else
   12997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12998 for as_dir in $PATH
   12999 do
   13000   IFS=$as_save_IFS
   13001   test -z "$as_dir" && as_dir=.
   13002     for ac_exec_ext in '' $ac_executable_extensions; do
   13003   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13004     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13006     break 2
   13007   fi
   13008 done
   13009   done
   13010 IFS=$as_save_IFS
   13011 
   13012 fi
   13013 fi
   13014 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13015 if test -n "$READELF_FOR_TARGET"; then
   13016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13017 $as_echo "$READELF_FOR_TARGET" >&6; }
   13018 else
   13019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13020 $as_echo "no" >&6; }
   13021 fi
   13022 
   13023 
   13024   done
   13025 fi
   13026 
   13027 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13028   for ncn_progname in readelf; do
   13029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13030 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13031     if test -x $with_build_time_tools/${ncn_progname}; then
   13032       ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13033       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13034 $as_echo "yes" >&6; }
   13035       break
   13036     else
   13037       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13038 $as_echo "no" >&6; }
   13039     fi
   13040   done
   13041 fi
   13042 
   13043 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
   13044   for ncn_progname in readelf; do
   13045     if test -n "$ncn_target_tool_prefix"; then
   13046       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13047 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13049 $as_echo_n "checking for $ac_word... " >&6; }
   13050 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   13051   $as_echo_n "(cached) " >&6
   13052 else
   13053   if test -n "$READELF_FOR_TARGET"; then
   13054   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13055 else
   13056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13057 for as_dir in $PATH
   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_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   13072 fi
   13073 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13074 if test -n "$READELF_FOR_TARGET"; then
   13075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13076 $as_echo "$READELF_FOR_TARGET" >&6; }
   13077 else
   13078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13079 $as_echo "no" >&6; }
   13080 fi
   13081 
   13082 
   13083     fi
   13084     if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
   13085       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13086 set dummy ${ncn_progname}; ac_word=$2
   13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13088 $as_echo_n "checking for $ac_word... " >&6; }
   13089 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   13090   $as_echo_n "(cached) " >&6
   13091 else
   13092   if test -n "$READELF_FOR_TARGET"; then
   13093   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   13094 else
   13095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13096 for as_dir in $PATH
   13097 do
   13098   IFS=$as_save_IFS
   13099   test -z "$as_dir" && as_dir=.
   13100     for ac_exec_ext in '' $ac_executable_extensions; do
   13101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13102     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   13103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13104     break 2
   13105   fi
   13106 done
   13107   done
   13108 IFS=$as_save_IFS
   13109 
   13110 fi
   13111 fi
   13112 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   13113 if test -n "$READELF_FOR_TARGET"; then
   13114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   13115 $as_echo "$READELF_FOR_TARGET" >&6; }
   13116 else
   13117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13118 $as_echo "no" >&6; }
   13119 fi
   13120 
   13121 
   13122     fi
   13123     test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
   13124   done
   13125 fi
   13126 
   13127 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
   13128   set dummy readelf
   13129   if test $build = $target ; then
   13130     READELF_FOR_TARGET="$2"
   13131   else
   13132     READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13133   fi
   13134 else
   13135   READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
   13136 fi
   13137 
   13138 else
   13139   READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   13140 fi
   13141 
   13142 
   13143 
   13144 
   13145 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13146   if test -n "$with_build_time_tools"; then
   13147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
   13148 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
   13149     if test -x $with_build_time_tools/strip; then
   13150       STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
   13151       ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13152       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
   13153 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
   13154     else
   13155       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13156 $as_echo "no" >&6; }
   13157     fi
   13158   elif test $build != $host && test $have_gcc_for_target = yes; then
   13159     STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
   13160     test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
   13161     test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13162   fi
   13163 fi
   13164 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13165   # Extract the first word of "strip", so it can be a program name with args.
   13166 set dummy strip; ac_word=$2
   13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13168 $as_echo_n "checking for $ac_word... " >&6; }
   13169 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
   13170   $as_echo_n "(cached) " >&6
   13171 else
   13172   case $STRIP_FOR_TARGET in
   13173   [\\/]* | ?:[\\/]*)
   13174   ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
   13175   ;;
   13176   *)
   13177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13178 for as_dir in $gcc_cv_tool_dirs
   13179 do
   13180   IFS=$as_save_IFS
   13181   test -z "$as_dir" && as_dir=.
   13182     for ac_exec_ext in '' $ac_executable_extensions; do
   13183   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13184     ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13186     break 2
   13187   fi
   13188 done
   13189   done
   13190 IFS=$as_save_IFS
   13191 
   13192   ;;
   13193 esac
   13194 fi
   13195 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13196 if test -n "$STRIP_FOR_TARGET"; then
   13197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13198 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13199 else
   13200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13201 $as_echo "no" >&6; }
   13202 fi
   13203 
   13204 
   13205 fi
   13206 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   13207 
   13208 
   13209 if test -n "$STRIP_FOR_TARGET"; then
   13210   ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   13211 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13212   STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13213 fi
   13214 
   13215 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13216   for ncn_progname in strip; do
   13217     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13218 set dummy ${ncn_progname}; ac_word=$2
   13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13220 $as_echo_n "checking for $ac_word... " >&6; }
   13221 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   13222   $as_echo_n "(cached) " >&6
   13223 else
   13224   if test -n "$STRIP_FOR_TARGET"; then
   13225   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13226 else
   13227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13228 for as_dir in $PATH
   13229 do
   13230   IFS=$as_save_IFS
   13231   test -z "$as_dir" && as_dir=.
   13232     for ac_exec_ext in '' $ac_executable_extensions; do
   13233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13234     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13236     break 2
   13237   fi
   13238 done
   13239   done
   13240 IFS=$as_save_IFS
   13241 
   13242 fi
   13243 fi
   13244 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13245 if test -n "$STRIP_FOR_TARGET"; then
   13246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13247 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13248 else
   13249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13250 $as_echo "no" >&6; }
   13251 fi
   13252 
   13253 
   13254   done
   13255 fi
   13256 
   13257 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13258   for ncn_progname in strip; do
   13259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13260 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13261     if test -x $with_build_time_tools/${ncn_progname}; then
   13262       ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13263       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13264 $as_echo "yes" >&6; }
   13265       break
   13266     else
   13267       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13268 $as_echo "no" >&6; }
   13269     fi
   13270   done
   13271 fi
   13272 
   13273 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
   13274   for ncn_progname in strip; do
   13275     if test -n "$ncn_target_tool_prefix"; then
   13276       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13277 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13279 $as_echo_n "checking for $ac_word... " >&6; }
   13280 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   13281   $as_echo_n "(cached) " >&6
   13282 else
   13283   if test -n "$STRIP_FOR_TARGET"; then
   13284   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13285 else
   13286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13287 for as_dir in $PATH
   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_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   13302 fi
   13303 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13304 if test -n "$STRIP_FOR_TARGET"; then
   13305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13306 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13307 else
   13308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13309 $as_echo "no" >&6; }
   13310 fi
   13311 
   13312 
   13313     fi
   13314     if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
   13315       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13316 set dummy ${ncn_progname}; ac_word=$2
   13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13318 $as_echo_n "checking for $ac_word... " >&6; }
   13319 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   13320   $as_echo_n "(cached) " >&6
   13321 else
   13322   if test -n "$STRIP_FOR_TARGET"; then
   13323   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   13324 else
   13325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13326 for as_dir in $PATH
   13327 do
   13328   IFS=$as_save_IFS
   13329   test -z "$as_dir" && as_dir=.
   13330     for ac_exec_ext in '' $ac_executable_extensions; do
   13331   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13332     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   13333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13334     break 2
   13335   fi
   13336 done
   13337   done
   13338 IFS=$as_save_IFS
   13339 
   13340 fi
   13341 fi
   13342 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   13343 if test -n "$STRIP_FOR_TARGET"; then
   13344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   13345 $as_echo "$STRIP_FOR_TARGET" >&6; }
   13346 else
   13347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13348 $as_echo "no" >&6; }
   13349 fi
   13350 
   13351 
   13352     fi
   13353     test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
   13354   done
   13355 fi
   13356 
   13357 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
   13358   set dummy strip
   13359   if test $build = $target ; then
   13360     STRIP_FOR_TARGET="$2"
   13361   else
   13362     STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13363   fi
   13364 else
   13365   STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
   13366 fi
   13367 
   13368 else
   13369   STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   13370 fi
   13371 
   13372 
   13373 
   13374 
   13375 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13376   if test -n "$with_build_time_tools"; then
   13377     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
   13378 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
   13379     if test -x $with_build_time_tools/windres; then
   13380       WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
   13381       ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13382       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
   13383 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
   13384     else
   13385       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13386 $as_echo "no" >&6; }
   13387     fi
   13388   elif test $build != $host && test $have_gcc_for_target = yes; then
   13389     WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
   13390     test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
   13391     test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13392   fi
   13393 fi
   13394 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13395   # Extract the first word of "windres", so it can be a program name with args.
   13396 set dummy windres; ac_word=$2
   13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13398 $as_echo_n "checking for $ac_word... " >&6; }
   13399 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
   13400   $as_echo_n "(cached) " >&6
   13401 else
   13402   case $WINDRES_FOR_TARGET in
   13403   [\\/]* | ?:[\\/]*)
   13404   ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
   13405   ;;
   13406   *)
   13407   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13408 for as_dir in $gcc_cv_tool_dirs
   13409 do
   13410   IFS=$as_save_IFS
   13411   test -z "$as_dir" && as_dir=.
   13412     for ac_exec_ext in '' $ac_executable_extensions; do
   13413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13414     ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13416     break 2
   13417   fi
   13418 done
   13419   done
   13420 IFS=$as_save_IFS
   13421 
   13422   ;;
   13423 esac
   13424 fi
   13425 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13426 if test -n "$WINDRES_FOR_TARGET"; then
   13427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13428 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13429 else
   13430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13431 $as_echo "no" >&6; }
   13432 fi
   13433 
   13434 
   13435 fi
   13436 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   13437 
   13438 
   13439 if test -n "$WINDRES_FOR_TARGET"; then
   13440   ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   13441 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13442   WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13443 fi
   13444 
   13445 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13446   for ncn_progname in windres; do
   13447     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13448 set dummy ${ncn_progname}; ac_word=$2
   13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13450 $as_echo_n "checking for $ac_word... " >&6; }
   13451 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   13452   $as_echo_n "(cached) " >&6
   13453 else
   13454   if test -n "$WINDRES_FOR_TARGET"; then
   13455   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13456 else
   13457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13458 for as_dir in $PATH
   13459 do
   13460   IFS=$as_save_IFS
   13461   test -z "$as_dir" && as_dir=.
   13462     for ac_exec_ext in '' $ac_executable_extensions; do
   13463   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13464     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13466     break 2
   13467   fi
   13468 done
   13469   done
   13470 IFS=$as_save_IFS
   13471 
   13472 fi
   13473 fi
   13474 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13475 if test -n "$WINDRES_FOR_TARGET"; then
   13476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13477 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13478 else
   13479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13480 $as_echo "no" >&6; }
   13481 fi
   13482 
   13483 
   13484   done
   13485 fi
   13486 
   13487 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13488   for ncn_progname in windres; do
   13489     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13490 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13491     if test -x $with_build_time_tools/${ncn_progname}; then
   13492       ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13493       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13494 $as_echo "yes" >&6; }
   13495       break
   13496     else
   13497       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13498 $as_echo "no" >&6; }
   13499     fi
   13500   done
   13501 fi
   13502 
   13503 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   13504   for ncn_progname in windres; do
   13505     if test -n "$ncn_target_tool_prefix"; then
   13506       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13507 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13509 $as_echo_n "checking for $ac_word... " >&6; }
   13510 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   13511   $as_echo_n "(cached) " >&6
   13512 else
   13513   if test -n "$WINDRES_FOR_TARGET"; then
   13514   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13515 else
   13516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13517 for as_dir in $PATH
   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_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   13532 fi
   13533 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13534 if test -n "$WINDRES_FOR_TARGET"; then
   13535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13536 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13537 else
   13538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13539 $as_echo "no" >&6; }
   13540 fi
   13541 
   13542 
   13543     fi
   13544     if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
   13545       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13546 set dummy ${ncn_progname}; ac_word=$2
   13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13548 $as_echo_n "checking for $ac_word... " >&6; }
   13549 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   13550   $as_echo_n "(cached) " >&6
   13551 else
   13552   if test -n "$WINDRES_FOR_TARGET"; then
   13553   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   13554 else
   13555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13556 for as_dir in $PATH
   13557 do
   13558   IFS=$as_save_IFS
   13559   test -z "$as_dir" && as_dir=.
   13560     for ac_exec_ext in '' $ac_executable_extensions; do
   13561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13562     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   13563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13564     break 2
   13565   fi
   13566 done
   13567   done
   13568 IFS=$as_save_IFS
   13569 
   13570 fi
   13571 fi
   13572 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   13573 if test -n "$WINDRES_FOR_TARGET"; then
   13574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   13575 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   13576 else
   13577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13578 $as_echo "no" >&6; }
   13579 fi
   13580 
   13581 
   13582     fi
   13583     test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
   13584   done
   13585 fi
   13586 
   13587 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
   13588   set dummy windres
   13589   if test $build = $target ; then
   13590     WINDRES_FOR_TARGET="$2"
   13591   else
   13592     WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13593   fi
   13594 else
   13595   WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
   13596 fi
   13597 
   13598 else
   13599   WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   13600 fi
   13601 
   13602 
   13603 
   13604 
   13605 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13606   if test -n "$with_build_time_tools"; then
   13607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
   13608 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
   13609     if test -x $with_build_time_tools/windmc; then
   13610       WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
   13611       ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13612       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
   13613 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
   13614     else
   13615       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13616 $as_echo "no" >&6; }
   13617     fi
   13618   elif test $build != $host && test $have_gcc_for_target = yes; then
   13619     WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
   13620     test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
   13621     test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13622   fi
   13623 fi
   13624 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   13625   # Extract the first word of "windmc", so it can be a program name with args.
   13626 set dummy windmc; ac_word=$2
   13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13628 $as_echo_n "checking for $ac_word... " >&6; }
   13629 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
   13630   $as_echo_n "(cached) " >&6
   13631 else
   13632   case $WINDMC_FOR_TARGET in
   13633   [\\/]* | ?:[\\/]*)
   13634   ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
   13635   ;;
   13636   *)
   13637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13638 for as_dir in $gcc_cv_tool_dirs
   13639 do
   13640   IFS=$as_save_IFS
   13641   test -z "$as_dir" && as_dir=.
   13642     for ac_exec_ext in '' $ac_executable_extensions; do
   13643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13644     ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   13645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13646     break 2
   13647   fi
   13648 done
   13649   done
   13650 IFS=$as_save_IFS
   13651 
   13652   ;;
   13653 esac
   13654 fi
   13655 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13656 if test -n "$WINDMC_FOR_TARGET"; then
   13657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13658 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13659 else
   13660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13661 $as_echo "no" >&6; }
   13662 fi
   13663 
   13664 
   13665 fi
   13666 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   13667 
   13668 
   13669 if test -n "$WINDMC_FOR_TARGET"; then
   13670   ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   13671 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13672   WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13673 fi
   13674 
   13675 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13676   for ncn_progname in windmc; do
   13677     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13678 set dummy ${ncn_progname}; ac_word=$2
   13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13680 $as_echo_n "checking for $ac_word... " >&6; }
   13681 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   13682   $as_echo_n "(cached) " >&6
   13683 else
   13684   if test -n "$WINDMC_FOR_TARGET"; then
   13685   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13686 else
   13687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13688 for as_dir in $PATH
   13689 do
   13690   IFS=$as_save_IFS
   13691   test -z "$as_dir" && as_dir=.
   13692     for ac_exec_ext in '' $ac_executable_extensions; do
   13693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13694     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13696     break 2
   13697   fi
   13698 done
   13699   done
   13700 IFS=$as_save_IFS
   13701 
   13702 fi
   13703 fi
   13704 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13705 if test -n "$WINDMC_FOR_TARGET"; then
   13706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13707 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13708 else
   13709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13710 $as_echo "no" >&6; }
   13711 fi
   13712 
   13713 
   13714   done
   13715 fi
   13716 
   13717 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13718   for ncn_progname in windmc; do
   13719     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13720 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13721     if test -x $with_build_time_tools/${ncn_progname}; then
   13722       ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13723       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13724 $as_echo "yes" >&6; }
   13725       break
   13726     else
   13727       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13728 $as_echo "no" >&6; }
   13729     fi
   13730   done
   13731 fi
   13732 
   13733 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   13734   for ncn_progname in windmc; do
   13735     if test -n "$ncn_target_tool_prefix"; then
   13736       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13737 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13739 $as_echo_n "checking for $ac_word... " >&6; }
   13740 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   13741   $as_echo_n "(cached) " >&6
   13742 else
   13743   if test -n "$WINDMC_FOR_TARGET"; then
   13744   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13745 else
   13746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13747 for as_dir in $PATH
   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_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   13762 fi
   13763 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13764 if test -n "$WINDMC_FOR_TARGET"; then
   13765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13766 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13767 else
   13768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13769 $as_echo "no" >&6; }
   13770 fi
   13771 
   13772 
   13773     fi
   13774     if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
   13775       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13776 set dummy ${ncn_progname}; ac_word=$2
   13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13778 $as_echo_n "checking for $ac_word... " >&6; }
   13779 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   13780   $as_echo_n "(cached) " >&6
   13781 else
   13782   if test -n "$WINDMC_FOR_TARGET"; then
   13783   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   13784 else
   13785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13786 for as_dir in $PATH
   13787 do
   13788   IFS=$as_save_IFS
   13789   test -z "$as_dir" && as_dir=.
   13790     for ac_exec_ext in '' $ac_executable_extensions; do
   13791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13792     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   13793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13794     break 2
   13795   fi
   13796 done
   13797   done
   13798 IFS=$as_save_IFS
   13799 
   13800 fi
   13801 fi
   13802 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   13803 if test -n "$WINDMC_FOR_TARGET"; then
   13804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   13805 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   13806 else
   13807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13808 $as_echo "no" >&6; }
   13809 fi
   13810 
   13811 
   13812     fi
   13813     test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
   13814   done
   13815 fi
   13816 
   13817 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
   13818   set dummy windmc
   13819   if test $build = $target ; then
   13820     WINDMC_FOR_TARGET="$2"
   13821   else
   13822     WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13823   fi
   13824 else
   13825   WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
   13826 fi
   13827 
   13828 else
   13829   WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   13830 fi
   13831 
   13832 
   13833 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
   13834 
   13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
   13836 $as_echo_n "checking where to find the target ar... " >&6; }
   13837 if test "x${build}" != "x${host}" ; then
   13838   if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13839     # We already found the complete path
   13840     ac_dir=`dirname $AR_FOR_TARGET`
   13841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13842 $as_echo "pre-installed in $ac_dir" >&6; }
   13843   else
   13844     # Canadian cross, just use what we found
   13845     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13846 $as_echo "pre-installed" >&6; }
   13847   fi
   13848 else
   13849   ok=yes
   13850   case " ${configdirs} " in
   13851     *" binutils "*) ;;
   13852     *) ok=no ;;
   13853   esac
   13854 
   13855   if test $ok = yes; then
   13856     # An in-tree tool is available and we can use it
   13857     AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
   13858     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   13859 $as_echo "just compiled" >&6; }
   13860   elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   13861     # We already found the complete path
   13862     ac_dir=`dirname $AR_FOR_TARGET`
   13863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13864 $as_echo "pre-installed in $ac_dir" >&6; }
   13865   elif test "x$target" = "x$host"; then
   13866     # We can use an host tool
   13867     AR_FOR_TARGET='$(AR)'
   13868     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   13869 $as_echo "host tool" >&6; }
   13870   else
   13871     # We need a cross tool
   13872     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13873 $as_echo "pre-installed" >&6; }
   13874   fi
   13875 fi
   13876 
   13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
   13878 $as_echo_n "checking where to find the target as... " >&6; }
   13879 if test "x${build}" != "x${host}" ; then
   13880   if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   13881     # We already found the complete path
   13882     ac_dir=`dirname $AS_FOR_TARGET`
   13883     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13884 $as_echo "pre-installed in $ac_dir" >&6; }
   13885   else
   13886     # Canadian cross, just use what we found
   13887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13888 $as_echo "pre-installed" >&6; }
   13889   fi
   13890 else
   13891   ok=yes
   13892   case " ${configdirs} " in
   13893     *" gas "*) ;;
   13894     *) ok=no ;;
   13895   esac
   13896 
   13897   if test $ok = yes; then
   13898     # An in-tree tool is available and we can use it
   13899     AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
   13900     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   13901 $as_echo "just compiled" >&6; }
   13902   elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   13903     # We already found the complete path
   13904     ac_dir=`dirname $AS_FOR_TARGET`
   13905     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13906 $as_echo "pre-installed in $ac_dir" >&6; }
   13907   elif test "x$target" = "x$host"; then
   13908     # We can use an host tool
   13909     AS_FOR_TARGET='$(AS)'
   13910     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   13911 $as_echo "host tool" >&6; }
   13912   else
   13913     # We need a cross tool
   13914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13915 $as_echo "pre-installed" >&6; }
   13916   fi
   13917 fi
   13918 
   13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
   13920 $as_echo_n "checking where to find the target cc... " >&6; }
   13921 if test "x${build}" != "x${host}" ; then
   13922   if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   13923     # We already found the complete path
   13924     ac_dir=`dirname $CC_FOR_TARGET`
   13925     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13926 $as_echo "pre-installed in $ac_dir" >&6; }
   13927   else
   13928     # Canadian cross, just use what we found
   13929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13930 $as_echo "pre-installed" >&6; }
   13931   fi
   13932 else
   13933   ok=yes
   13934   case " ${configdirs} " in
   13935     *" gcc "*) ;;
   13936     *) ok=no ;;
   13937   esac
   13938 
   13939   if test $ok = yes; then
   13940     # An in-tree tool is available and we can use it
   13941     CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   13942     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   13943 $as_echo "just compiled" >&6; }
   13944   elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   13945     # We already found the complete path
   13946     ac_dir=`dirname $CC_FOR_TARGET`
   13947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13948 $as_echo "pre-installed in $ac_dir" >&6; }
   13949   elif test "x$target" = "x$host"; then
   13950     # We can use an host tool
   13951     CC_FOR_TARGET='$(CC)'
   13952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   13953 $as_echo "host tool" >&6; }
   13954   else
   13955     # We need a cross tool
   13956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13957 $as_echo "pre-installed" >&6; }
   13958   fi
   13959 fi
   13960 
   13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
   13962 $as_echo_n "checking where to find the target c++... " >&6; }
   13963 if test "x${build}" != "x${host}" ; then
   13964   if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   13965     # We already found the complete path
   13966     ac_dir=`dirname $CXX_FOR_TARGET`
   13967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   13968 $as_echo "pre-installed in $ac_dir" >&6; }
   13969   else
   13970     # Canadian cross, just use what we found
   13971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   13972 $as_echo "pre-installed" >&6; }
   13973   fi
   13974 else
   13975   ok=yes
   13976   case " ${configdirs} " in
   13977     *" gcc "*) ;;
   13978     *) ok=no ;;
   13979   esac
   13980   case ,${enable_languages}, in
   13981     *,c++,*) ;;
   13982     *) ok=no ;;
   13983   esac
   13984   if test $ok = yes; then
   13985     # An in-tree tool is available and we can use it
   13986     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'
   13987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   13988 $as_echo "just compiled" >&6; }
   13989   elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   13990     # We already found the complete path
   13991     ac_dir=`dirname $CXX_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   elif test "x$target" = "x$host"; then
   13995     # We can use an host tool
   13996     CXX_FOR_TARGET='$(CXX)'
   13997     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   13998 $as_echo "host tool" >&6; }
   13999   else
   14000     # We need a cross tool
   14001     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14002 $as_echo "pre-installed" >&6; }
   14003   fi
   14004 fi
   14005 
   14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
   14007 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
   14008 if test "x${build}" != "x${host}" ; then
   14009   if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14010     # We already found the complete path
   14011     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14013 $as_echo "pre-installed in $ac_dir" >&6; }
   14014   else
   14015     # Canadian cross, just use what we found
   14016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14017 $as_echo "pre-installed" >&6; }
   14018   fi
   14019 else
   14020   ok=yes
   14021   case " ${configdirs} " in
   14022     *" gcc "*) ;;
   14023     *) ok=no ;;
   14024   esac
   14025   case ,${enable_languages}, in
   14026     *,c++,*) ;;
   14027     *) ok=no ;;
   14028   esac
   14029   if test $ok = yes; then
   14030     # An in-tree tool is available and we can use it
   14031     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'
   14032     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14033 $as_echo "just compiled" >&6; }
   14034   elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   14035     # We already found the complete path
   14036     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   14037     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14038 $as_echo "pre-installed in $ac_dir" >&6; }
   14039   elif test "x$target" = "x$host"; then
   14040     # We can use an host tool
   14041     RAW_CXX_FOR_TARGET='$(CXX)'
   14042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14043 $as_echo "host tool" >&6; }
   14044   else
   14045     # We need a cross tool
   14046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14047 $as_echo "pre-installed" >&6; }
   14048   fi
   14049 fi
   14050 
   14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
   14052 $as_echo_n "checking where to find the target dlltool... " >&6; }
   14053 if test "x${build}" != "x${host}" ; then
   14054   if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14055     # We already found the complete path
   14056     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14058 $as_echo "pre-installed in $ac_dir" >&6; }
   14059   else
   14060     # Canadian cross, just use what we found
   14061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14062 $as_echo "pre-installed" >&6; }
   14063   fi
   14064 else
   14065   ok=yes
   14066   case " ${configdirs} " in
   14067     *" binutils "*) ;;
   14068     *) ok=no ;;
   14069   esac
   14070 
   14071   if test $ok = yes; then
   14072     # An in-tree tool is available and we can use it
   14073     DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
   14074     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14075 $as_echo "just compiled" >&6; }
   14076   elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   14077     # We already found the complete path
   14078     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   14079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14080 $as_echo "pre-installed in $ac_dir" >&6; }
   14081   elif test "x$target" = "x$host"; then
   14082     # We can use an host tool
   14083     DLLTOOL_FOR_TARGET='$(DLLTOOL)'
   14084     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14085 $as_echo "host tool" >&6; }
   14086   else
   14087     # We need a cross tool
   14088     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14089 $as_echo "pre-installed" >&6; }
   14090   fi
   14091 fi
   14092 
   14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
   14094 $as_echo_n "checking where to find the target gcc... " >&6; }
   14095 if test "x${build}" != "x${host}" ; then
   14096   if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14097     # We already found the complete path
   14098     ac_dir=`dirname $GCC_FOR_TARGET`
   14099     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14100 $as_echo "pre-installed in $ac_dir" >&6; }
   14101   else
   14102     # Canadian cross, just use what we found
   14103     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14104 $as_echo "pre-installed" >&6; }
   14105   fi
   14106 else
   14107   ok=yes
   14108   case " ${configdirs} " in
   14109     *" gcc "*) ;;
   14110     *) ok=no ;;
   14111   esac
   14112 
   14113   if test $ok = yes; then
   14114     # An in-tree tool is available and we can use it
   14115     GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   14116     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14117 $as_echo "just compiled" >&6; }
   14118   elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   14119     # We already found the complete path
   14120     ac_dir=`dirname $GCC_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   elif test "x$target" = "x$host"; then
   14124     # We can use an host tool
   14125     GCC_FOR_TARGET='$()'
   14126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14127 $as_echo "host tool" >&6; }
   14128   else
   14129     # We need a cross tool
   14130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14131 $as_echo "pre-installed" >&6; }
   14132   fi
   14133 fi
   14134 
   14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
   14136 $as_echo_n "checking where to find the target gfortran... " >&6; }
   14137 if test "x${build}" != "x${host}" ; then
   14138   if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14139     # We already found the complete path
   14140     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   14141     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14142 $as_echo "pre-installed in $ac_dir" >&6; }
   14143   else
   14144     # Canadian cross, just use what we found
   14145     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14146 $as_echo "pre-installed" >&6; }
   14147   fi
   14148 else
   14149   ok=yes
   14150   case " ${configdirs} " in
   14151     *" gcc "*) ;;
   14152     *) ok=no ;;
   14153   esac
   14154   case ,${enable_languages}, in
   14155     *,fortran,*) ;;
   14156     *) ok=no ;;
   14157   esac
   14158   if test $ok = yes; then
   14159     # An in-tree tool is available and we can use it
   14160     GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
   14161     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14162 $as_echo "just compiled" >&6; }
   14163   elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   14164     # We already found the complete path
   14165     ac_dir=`dirname $GFORTRAN_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   elif test "x$target" = "x$host"; then
   14169     # We can use an host tool
   14170     GFORTRAN_FOR_TARGET='$(GFORTRAN)'
   14171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14172 $as_echo "host tool" >&6; }
   14173   else
   14174     # We need a cross tool
   14175     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14176 $as_echo "pre-installed" >&6; }
   14177   fi
   14178 fi
   14179 
   14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
   14181 $as_echo_n "checking where to find the target gccgo... " >&6; }
   14182 if test "x${build}" != "x${host}" ; then
   14183   if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14184     # We already found the complete path
   14185     ac_dir=`dirname $GOC_FOR_TARGET`
   14186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14187 $as_echo "pre-installed in $ac_dir" >&6; }
   14188   else
   14189     # Canadian cross, just use what we found
   14190     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14191 $as_echo "pre-installed" >&6; }
   14192   fi
   14193 else
   14194   ok=yes
   14195   case " ${configdirs} " in
   14196     *" gcc "*) ;;
   14197     *) ok=no ;;
   14198   esac
   14199   case ,${enable_languages}, in
   14200     *,go,*) ;;
   14201     *) ok=no ;;
   14202   esac
   14203   if test $ok = yes; then
   14204     # An in-tree tool is available and we can use it
   14205     GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
   14206     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14207 $as_echo "just compiled" >&6; }
   14208   elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   14209     # We already found the complete path
   14210     ac_dir=`dirname $GOC_FOR_TARGET`
   14211     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14212 $as_echo "pre-installed in $ac_dir" >&6; }
   14213   elif test "x$target" = "x$host"; then
   14214     # We can use an host tool
   14215     GOC_FOR_TARGET='$(GOC)'
   14216     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14217 $as_echo "host tool" >&6; }
   14218   else
   14219     # We need a cross tool
   14220     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14221 $as_echo "pre-installed" >&6; }
   14222   fi
   14223 fi
   14224 
   14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
   14226 $as_echo_n "checking where to find the target ld... " >&6; }
   14227 if test "x${build}" != "x${host}" ; then
   14228   if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14229     # We already found the complete path
   14230     ac_dir=`dirname $LD_FOR_TARGET`
   14231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14232 $as_echo "pre-installed in $ac_dir" >&6; }
   14233   else
   14234     # Canadian cross, just use what we found
   14235     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14236 $as_echo "pre-installed" >&6; }
   14237   fi
   14238 else
   14239   ok=yes
   14240   case " ${configdirs} " in
   14241     *" ld "*) ;;
   14242     *) ok=no ;;
   14243   esac
   14244 
   14245   if test $ok = yes; then
   14246     # An in-tree tool is available and we can use it
   14247     LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
   14248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14249 $as_echo "just compiled" >&6; }
   14250   elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   14251     # We already found the complete path
   14252     ac_dir=`dirname $LD_FOR_TARGET`
   14253     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14254 $as_echo "pre-installed in $ac_dir" >&6; }
   14255   elif test "x$target" = "x$host"; then
   14256     # We can use an host tool
   14257     LD_FOR_TARGET='$(LD)'
   14258     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14259 $as_echo "host tool" >&6; }
   14260   else
   14261     # We need a cross tool
   14262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14263 $as_echo "pre-installed" >&6; }
   14264   fi
   14265 fi
   14266 
   14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
   14268 $as_echo_n "checking where to find the target lipo... " >&6; }
   14269 if test "x${build}" != "x${host}" ; then
   14270   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14271     # We already found the complete path
   14272     ac_dir=`dirname $LIPO_FOR_TARGET`
   14273     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14274 $as_echo "pre-installed in $ac_dir" >&6; }
   14275   else
   14276     # Canadian cross, just use what we found
   14277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14278 $as_echo "pre-installed" >&6; }
   14279   fi
   14280 else
   14281   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   14282     # We already found the complete path
   14283     ac_dir=`dirname $LIPO_FOR_TARGET`
   14284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14285 $as_echo "pre-installed in $ac_dir" >&6; }
   14286   elif test "x$target" = "x$host"; then
   14287     # We can use an host tool
   14288     LIPO_FOR_TARGET='$(LIPO)'
   14289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14290 $as_echo "host tool" >&6; }
   14291   else
   14292     # We need a cross tool
   14293     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14294 $as_echo "pre-installed" >&6; }
   14295   fi
   14296 fi
   14297 
   14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
   14299 $as_echo_n "checking where to find the target nm... " >&6; }
   14300 if test "x${build}" != "x${host}" ; then
   14301   if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14302     # We already found the complete path
   14303     ac_dir=`dirname $NM_FOR_TARGET`
   14304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14305 $as_echo "pre-installed in $ac_dir" >&6; }
   14306   else
   14307     # Canadian cross, just use what we found
   14308     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14309 $as_echo "pre-installed" >&6; }
   14310   fi
   14311 else
   14312   ok=yes
   14313   case " ${configdirs} " in
   14314     *" binutils "*) ;;
   14315     *) ok=no ;;
   14316   esac
   14317 
   14318   if test $ok = yes; then
   14319     # An in-tree tool is available and we can use it
   14320     NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
   14321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14322 $as_echo "just compiled" >&6; }
   14323   elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   14324     # We already found the complete path
   14325     ac_dir=`dirname $NM_FOR_TARGET`
   14326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14327 $as_echo "pre-installed in $ac_dir" >&6; }
   14328   elif test "x$target" = "x$host"; then
   14329     # We can use an host tool
   14330     NM_FOR_TARGET='$(NM)'
   14331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14332 $as_echo "host tool" >&6; }
   14333   else
   14334     # We need a cross tool
   14335     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14336 $as_echo "pre-installed" >&6; }
   14337   fi
   14338 fi
   14339 
   14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objcopy" >&5
   14341 $as_echo_n "checking where to find the target objcopy... " >&6; }
   14342 if test "x${build}" != "x${host}" ; then
   14343   if expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14344     # We already found the complete path
   14345     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14346     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14347 $as_echo "pre-installed in $ac_dir" >&6; }
   14348   else
   14349     # Canadian cross, just use what we found
   14350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14351 $as_echo "pre-installed" >&6; }
   14352   fi
   14353 else
   14354   ok=yes
   14355   case " ${configdirs} " in
   14356     *" binutils "*) ;;
   14357     *) ok=no ;;
   14358   esac
   14359 
   14360   if test $ok = yes; then
   14361     # An in-tree tool is available and we can use it
   14362     OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
   14363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14364 $as_echo "just compiled" >&6; }
   14365   elif expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   14366     # We already found the complete path
   14367     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   14368     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14369 $as_echo "pre-installed in $ac_dir" >&6; }
   14370   elif test "x$target" = "x$host"; then
   14371     # We can use an host tool
   14372     OBJCOPY_FOR_TARGET='$(OBJCOPY)'
   14373     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14374 $as_echo "host tool" >&6; }
   14375   else
   14376     # We need a cross tool
   14377     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14378 $as_echo "pre-installed" >&6; }
   14379   fi
   14380 fi
   14381 
   14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
   14383 $as_echo_n "checking where to find the target objdump... " >&6; }
   14384 if test "x${build}" != "x${host}" ; then
   14385   if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14386     # We already found the complete path
   14387     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14388     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14389 $as_echo "pre-installed in $ac_dir" >&6; }
   14390   else
   14391     # Canadian cross, just use what we found
   14392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14393 $as_echo "pre-installed" >&6; }
   14394   fi
   14395 else
   14396   ok=yes
   14397   case " ${configdirs} " in
   14398     *" binutils "*) ;;
   14399     *) ok=no ;;
   14400   esac
   14401 
   14402   if test $ok = yes; then
   14403     # An in-tree tool is available and we can use it
   14404     OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
   14405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14406 $as_echo "just compiled" >&6; }
   14407   elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   14408     # We already found the complete path
   14409     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   14410     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14411 $as_echo "pre-installed in $ac_dir" >&6; }
   14412   elif test "x$target" = "x$host"; then
   14413     # We can use an host tool
   14414     OBJDUMP_FOR_TARGET='$(OBJDUMP)'
   14415     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14416 $as_echo "host tool" >&6; }
   14417   else
   14418     # We need a cross tool
   14419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14420 $as_echo "pre-installed" >&6; }
   14421   fi
   14422 fi
   14423 
   14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
   14425 $as_echo_n "checking where to find the target ranlib... " >&6; }
   14426 if test "x${build}" != "x${host}" ; then
   14427   if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14428     # We already found the complete path
   14429     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14430     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14431 $as_echo "pre-installed in $ac_dir" >&6; }
   14432   else
   14433     # Canadian cross, just use what we found
   14434     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14435 $as_echo "pre-installed" >&6; }
   14436   fi
   14437 else
   14438   ok=yes
   14439   case " ${configdirs} " in
   14440     *" binutils "*) ;;
   14441     *) ok=no ;;
   14442   esac
   14443 
   14444   if test $ok = yes; then
   14445     # An in-tree tool is available and we can use it
   14446     RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
   14447     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14448 $as_echo "just compiled" >&6; }
   14449   elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   14450     # We already found the complete path
   14451     ac_dir=`dirname $RANLIB_FOR_TARGET`
   14452     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14453 $as_echo "pre-installed in $ac_dir" >&6; }
   14454   elif test "x$target" = "x$host"; then
   14455     # We can use an host tool
   14456     RANLIB_FOR_TARGET='$(RANLIB)'
   14457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14458 $as_echo "host tool" >&6; }
   14459   else
   14460     # We need a cross tool
   14461     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14462 $as_echo "pre-installed" >&6; }
   14463   fi
   14464 fi
   14465 
   14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target readelf" >&5
   14467 $as_echo_n "checking where to find the target readelf... " >&6; }
   14468 if test "x${build}" != "x${host}" ; then
   14469   if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14470     # We already found the complete path
   14471     ac_dir=`dirname $READELF_FOR_TARGET`
   14472     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14473 $as_echo "pre-installed in $ac_dir" >&6; }
   14474   else
   14475     # Canadian cross, just use what we found
   14476     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14477 $as_echo "pre-installed" >&6; }
   14478   fi
   14479 else
   14480   ok=yes
   14481   case " ${configdirs} " in
   14482     *" binutils "*) ;;
   14483     *) ok=no ;;
   14484   esac
   14485 
   14486   if test $ok = yes; then
   14487     # An in-tree tool is available and we can use it
   14488     READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
   14489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14490 $as_echo "just compiled" >&6; }
   14491   elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   14492     # We already found the complete path
   14493     ac_dir=`dirname $READELF_FOR_TARGET`
   14494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14495 $as_echo "pre-installed in $ac_dir" >&6; }
   14496   elif test "x$target" = "x$host"; then
   14497     # We can use an host tool
   14498     READELF_FOR_TARGET='$(READELF)'
   14499     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14500 $as_echo "host tool" >&6; }
   14501   else
   14502     # We need a cross tool
   14503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14504 $as_echo "pre-installed" >&6; }
   14505   fi
   14506 fi
   14507 
   14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
   14509 $as_echo_n "checking where to find the target strip... " >&6; }
   14510 if test "x${build}" != "x${host}" ; then
   14511   if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14512     # We already found the complete path
   14513     ac_dir=`dirname $STRIP_FOR_TARGET`
   14514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14515 $as_echo "pre-installed in $ac_dir" >&6; }
   14516   else
   14517     # Canadian cross, just use what we found
   14518     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14519 $as_echo "pre-installed" >&6; }
   14520   fi
   14521 else
   14522   ok=yes
   14523   case " ${configdirs} " in
   14524     *" binutils "*) ;;
   14525     *) ok=no ;;
   14526   esac
   14527 
   14528   if test $ok = yes; then
   14529     # An in-tree tool is available and we can use it
   14530     STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
   14531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14532 $as_echo "just compiled" >&6; }
   14533   elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   14534     # We already found the complete path
   14535     ac_dir=`dirname $STRIP_FOR_TARGET`
   14536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14537 $as_echo "pre-installed in $ac_dir" >&6; }
   14538   elif test "x$target" = "x$host"; then
   14539     # We can use an host tool
   14540     STRIP_FOR_TARGET='$(STRIP)'
   14541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14542 $as_echo "host tool" >&6; }
   14543   else
   14544     # We need a cross tool
   14545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14546 $as_echo "pre-installed" >&6; }
   14547   fi
   14548 fi
   14549 
   14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
   14551 $as_echo_n "checking where to find the target windres... " >&6; }
   14552 if test "x${build}" != "x${host}" ; then
   14553   if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14554     # We already found the complete path
   14555     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14556     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14557 $as_echo "pre-installed in $ac_dir" >&6; }
   14558   else
   14559     # Canadian cross, just use what we found
   14560     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14561 $as_echo "pre-installed" >&6; }
   14562   fi
   14563 else
   14564   ok=yes
   14565   case " ${configdirs} " in
   14566     *" binutils "*) ;;
   14567     *) ok=no ;;
   14568   esac
   14569 
   14570   if test $ok = yes; then
   14571     # An in-tree tool is available and we can use it
   14572     WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
   14573     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14574 $as_echo "just compiled" >&6; }
   14575   elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   14576     # We already found the complete path
   14577     ac_dir=`dirname $WINDRES_FOR_TARGET`
   14578     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14579 $as_echo "pre-installed in $ac_dir" >&6; }
   14580   elif test "x$target" = "x$host"; then
   14581     # We can use an host tool
   14582     WINDRES_FOR_TARGET='$(WINDRES)'
   14583     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14584 $as_echo "host tool" >&6; }
   14585   else
   14586     # We need a cross tool
   14587     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14588 $as_echo "pre-installed" >&6; }
   14589   fi
   14590 fi
   14591 
   14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
   14593 $as_echo_n "checking where to find the target windmc... " >&6; }
   14594 if test "x${build}" != "x${host}" ; then
   14595   if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14596     # We already found the complete path
   14597     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14599 $as_echo "pre-installed in $ac_dir" >&6; }
   14600   else
   14601     # Canadian cross, just use what we found
   14602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14603 $as_echo "pre-installed" >&6; }
   14604   fi
   14605 else
   14606   ok=yes
   14607   case " ${configdirs} " in
   14608     *" binutils "*) ;;
   14609     *) ok=no ;;
   14610   esac
   14611 
   14612   if test $ok = yes; then
   14613     # An in-tree tool is available and we can use it
   14614     WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
   14615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   14616 $as_echo "just compiled" >&6; }
   14617   elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   14618     # We already found the complete path
   14619     ac_dir=`dirname $WINDMC_FOR_TARGET`
   14620     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   14621 $as_echo "pre-installed in $ac_dir" >&6; }
   14622   elif test "x$target" = "x$host"; then
   14623     # We can use an host tool
   14624     WINDMC_FOR_TARGET='$(WINDMC)'
   14625     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   14626 $as_echo "host tool" >&6; }
   14627   else
   14628     # We need a cross tool
   14629     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   14630 $as_echo "pre-installed" >&6; }
   14631   fi
   14632 fi
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 # Certain tools may need extra flags.
   14639 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
   14640 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
   14641 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
   14642 
   14643 # When building target libraries, except in a Canadian cross, we use
   14644 # the same toolchain as the compiler we just built.
   14645 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
   14646 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
   14647 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
   14648 if test $host = $build; then
   14649   case " $configdirs " in
   14650     *" gcc "*)
   14651       COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
   14652       COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
   14653       COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
   14654       ;;
   14655   esac
   14656 fi
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   14663 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   14664 # Check whether --enable-maintainer-mode was given.
   14665 if test "${enable_maintainer_mode+set}" = set; then :
   14666   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   14667 else
   14668   USE_MAINTAINER_MODE=no
   14669 fi
   14670 
   14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   14672 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   14673 
   14674 
   14675 if test "$USE_MAINTAINER_MODE" = yes; then
   14676   MAINTAINER_MODE_TRUE=
   14677   MAINTAINER_MODE_FALSE='#'
   14678 else
   14679   MAINTAINER_MODE_TRUE='#'
   14680   MAINTAINER_MODE_FALSE=
   14681 fi
   14682 MAINT=$MAINTAINER_MODE_TRUE
   14683 
   14684 # ---------------------
   14685 # GCC bootstrap support
   14686 # ---------------------
   14687 
   14688 # Stage specific cflags for build.
   14689 stage1_cflags="-g"
   14690 case $build in
   14691   vax-*-*)
   14692     case ${GCC} in
   14693       yes) stage1_cflags="-g -Wa,-J" ;;
   14694       *) stage1_cflags="-g -J" ;;
   14695     esac ;;
   14696 esac
   14697 
   14698 
   14699 
   14700 # Enable --enable-checking in stage1 of the compiler.
   14701 # Check whether --enable-stage1-checking was given.
   14702 if test "${enable_stage1_checking+set}" = set; then :
   14703   enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
   14704 else
   14705   if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
   14706   # For --disable-checking or implicit --enable-checking=release, avoid
   14707   # setting --enable-checking=gc in the default stage1 checking for LTO
   14708   # bootstraps.  See PR62077.
   14709   case $BUILD_CONFIG in
   14710     *lto*)
   14711       stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
   14712     *)
   14713       stage1_checking=--enable-checking=yes,types;;
   14714   esac
   14715   if test "x$enable_checking" = x && \
   14716      test -d ${srcdir}/gcc && \
   14717      test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
   14718     stage1_checking=--enable-checking=yes,types,extra
   14719   fi
   14720 else
   14721   stage1_checking=--enable-checking=$enable_checking,types
   14722 fi
   14723 fi
   14724 
   14725 
   14726 
   14727 # Enable -Werror in bootstrap stage2 and later.
   14728 # Check whether --enable-werror was given.
   14729 if test "${enable_werror+set}" = set; then :
   14730   enableval=$enable_werror;
   14731 case ${enable_werror} in
   14732   yes) stage2_werror_flag="--enable-werror-always" ;;
   14733   *) stage2_werror_flag="" ;;
   14734 esac
   14735 
   14736 else
   14737 
   14738 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
   14739   case $BUILD_CONFIG in
   14740   bootstrap-debug)
   14741       stage2_werror_flag="--enable-werror-always" ;;
   14742   "")
   14743       stage2_werror_flag="--enable-werror-always" ;;
   14744   esac
   14745 fi
   14746 
   14747 fi
   14748 
   14749 
   14750 
   14751 
   14752 # Specify what files to not compare during bootstrap.
   14753 
   14754 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
   14755 case "$target" in
   14756   hppa*64*-*-hpux*) ;;
   14757   hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/* | gcc/function-tests.o" ;;
   14758   powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
   14759 esac
   14760 
   14761 
   14762 ac_config_files="$ac_config_files Makefile"
   14763 
   14764 cat >confcache <<\_ACEOF
   14765 # This file is a shell script that caches the results of configure
   14766 # tests run on this system so they can be shared between configure
   14767 # scripts and configure runs, see configure's option --config-cache.
   14768 # It is not useful on other systems.  If it contains results you don't
   14769 # want to keep, you may remove or edit it.
   14770 #
   14771 # config.status only pays attention to the cache file if you give it
   14772 # the --recheck option to rerun configure.
   14773 #
   14774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14776 # following values.
   14777 
   14778 _ACEOF
   14779 
   14780 # The following way of writing the cache mishandles newlines in values,
   14781 # but we know of no workaround that is simple, portable, and efficient.
   14782 # So, we kill variables containing newlines.
   14783 # Ultrix sh set writes to stderr and can't be redirected directly,
   14784 # and sets the high bit in the cache file unless we assign to the vars.
   14785 (
   14786   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14787     eval ac_val=\$$ac_var
   14788     case $ac_val in #(
   14789     *${as_nl}*)
   14790       case $ac_var in #(
   14791       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14792 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14793       esac
   14794       case $ac_var in #(
   14795       _ | IFS | as_nl) ;; #(
   14796       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14797       *) { eval $ac_var=; unset $ac_var;} ;;
   14798       esac ;;
   14799     esac
   14800   done
   14801 
   14802   (set) 2>&1 |
   14803     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14804     *${as_nl}ac_space=\ *)
   14805       # `set' does not quote correctly, so add quotes: double-quote
   14806       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14807       sed -n \
   14808 	"s/'/'\\\\''/g;
   14809 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14810       ;; #(
   14811     *)
   14812       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14813       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14814       ;;
   14815     esac |
   14816     sort
   14817 ) |
   14818   sed '
   14819      /^ac_cv_env_/b end
   14820      t clear
   14821      :clear
   14822      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14823      t end
   14824      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14825      :end' >>confcache
   14826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14827   if test -w "$cache_file"; then
   14828     if test "x$cache_file" != "x/dev/null"; then
   14829       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14830 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14831       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14832 	cat confcache >"$cache_file"
   14833       else
   14834         case $cache_file in #(
   14835         */* | ?:*)
   14836 	  mv -f confcache "$cache_file"$$ &&
   14837 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14838         *)
   14839 	  mv -f confcache "$cache_file" ;;
   14840 	esac
   14841       fi
   14842     fi
   14843   else
   14844     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14845 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14846   fi
   14847 fi
   14848 rm -f confcache
   14849 
   14850 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14851 # Let make expand exec_prefix.
   14852 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14853 
   14854 # Transform confdefs.h into DEFS.
   14855 # Protect against shell expansion while executing Makefile rules.
   14856 # Protect against Makefile macro expansion.
   14857 #
   14858 # If the first sed substitution is executed (which looks for macros that
   14859 # take arguments), then branch to the quote section.  Otherwise,
   14860 # look for a macro that doesn't take arguments.
   14861 ac_script='
   14862 :mline
   14863 /\\$/{
   14864  N
   14865  s,\\\n,,
   14866  b mline
   14867 }
   14868 t clear
   14869 :clear
   14870 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   14871 t quote
   14872 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   14873 t quote
   14874 b any
   14875 :quote
   14876 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   14877 s/\[/\\&/g
   14878 s/\]/\\&/g
   14879 s/\$/$$/g
   14880 H
   14881 :any
   14882 ${
   14883 	g
   14884 	s/^\n//
   14885 	s/\n/ /g
   14886 	p
   14887 }
   14888 '
   14889 DEFS=`sed -n "$ac_script" confdefs.h`
   14890 
   14891 
   14892 ac_libobjs=
   14893 ac_ltlibobjs=
   14894 U=
   14895 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14896   # 1. Remove the extension, and $U if already installed.
   14897   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14898   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14899   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14900   #    will be set to the directory where LIBOBJS objects are built.
   14901   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14902   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14903 done
   14904 LIBOBJS=$ac_libobjs
   14905 
   14906 LTLIBOBJS=$ac_ltlibobjs
   14907 
   14908 
   14909 
   14910 : "${CONFIG_STATUS=./config.status}"
   14911 ac_write_fail=0
   14912 ac_clean_files_save=$ac_clean_files
   14913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14915 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14916 as_write_fail=0
   14917 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14918 #! $SHELL
   14919 # Generated by $as_me.
   14920 # Run this file to recreate the current configuration.
   14921 # Compiler output produced by configure, useful for debugging
   14922 # configure, is in config.log if it exists.
   14923 
   14924 debug=false
   14925 ac_cs_recheck=false
   14926 ac_cs_silent=false
   14927 
   14928 SHELL=\${CONFIG_SHELL-$SHELL}
   14929 export SHELL
   14930 _ASEOF
   14931 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14932 ## -------------------- ##
   14933 ## M4sh Initialization. ##
   14934 ## -------------------- ##
   14935 
   14936 # Be more Bourne compatible
   14937 DUALCASE=1; export DUALCASE # for MKS sh
   14938 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14939   emulate sh
   14940   NULLCMD=:
   14941   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14942   # is contrary to our usage.  Disable this feature.
   14943   alias -g '${1+"$@"}'='"$@"'
   14944   setopt NO_GLOB_SUBST
   14945 else
   14946   case `(set -o) 2>/dev/null` in #(
   14947   *posix*) :
   14948     set -o posix ;; #(
   14949   *) :
   14950      ;;
   14951 esac
   14952 fi
   14953 
   14954 
   14955 as_nl='
   14956 '
   14957 export as_nl
   14958 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14959 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14960 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14961 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14962 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14963 # but without wasting forks for bash or zsh.
   14964 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14965     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14966   as_echo='print -r --'
   14967   as_echo_n='print -rn --'
   14968 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14969   as_echo='printf %s\n'
   14970   as_echo_n='printf %s'
   14971 else
   14972   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14973     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14974     as_echo_n='/usr/ucb/echo -n'
   14975   else
   14976     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14977     as_echo_n_body='eval
   14978       arg=$1;
   14979       case $arg in #(
   14980       *"$as_nl"*)
   14981 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14982 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14983       esac;
   14984       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14985     '
   14986     export as_echo_n_body
   14987     as_echo_n='sh -c $as_echo_n_body as_echo'
   14988   fi
   14989   export as_echo_body
   14990   as_echo='sh -c $as_echo_body as_echo'
   14991 fi
   14992 
   14993 # The user is always right.
   14994 if test "${PATH_SEPARATOR+set}" != set; then
   14995   PATH_SEPARATOR=:
   14996   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14997     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14998       PATH_SEPARATOR=';'
   14999   }
   15000 fi
   15001 
   15002 
   15003 # IFS
   15004 # We need space, tab and new line, in precisely that order.  Quoting is
   15005 # there to prevent editors from complaining about space-tab.
   15006 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15007 # splitting by setting IFS to empty value.)
   15008 IFS=" ""	$as_nl"
   15009 
   15010 # Find who we are.  Look in the path if we contain no directory separator.
   15011 as_myself=
   15012 case $0 in #((
   15013   *[\\/]* ) as_myself=$0 ;;
   15014   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15015 for as_dir in $PATH
   15016 do
   15017   IFS=$as_save_IFS
   15018   test -z "$as_dir" && as_dir=.
   15019     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15020   done
   15021 IFS=$as_save_IFS
   15022 
   15023      ;;
   15024 esac
   15025 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15026 # in which case we are not to be found in the path.
   15027 if test "x$as_myself" = x; then
   15028   as_myself=$0
   15029 fi
   15030 if test ! -f "$as_myself"; then
   15031   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15032   exit 1
   15033 fi
   15034 
   15035 # Unset variables that we do not need and which cause bugs (e.g. in
   15036 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15037 # suppresses any "Segmentation fault" message there.  '((' could
   15038 # trigger a bug in pdksh 5.2.14.
   15039 for as_var in BASH_ENV ENV MAIL MAILPATH
   15040 do eval test x\${$as_var+set} = xset \
   15041   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15042 done
   15043 PS1='$ '
   15044 PS2='> '
   15045 PS4='+ '
   15046 
   15047 # NLS nuisances.
   15048 LC_ALL=C
   15049 export LC_ALL
   15050 LANGUAGE=C
   15051 export LANGUAGE
   15052 
   15053 # CDPATH.
   15054 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15055 
   15056 
   15057 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   15058 # ----------------------------------------
   15059 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15060 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15061 # script with STATUS, using 1 if that was 0.
   15062 as_fn_error ()
   15063 {
   15064   as_status=$1; test $as_status -eq 0 && as_status=1
   15065   if test "$4"; then
   15066     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15067     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   15068   fi
   15069   $as_echo "$as_me: error: $2" >&2
   15070   as_fn_exit $as_status
   15071 } # as_fn_error
   15072 
   15073 
   15074 # as_fn_set_status STATUS
   15075 # -----------------------
   15076 # Set $? to STATUS, without forking.
   15077 as_fn_set_status ()
   15078 {
   15079   return $1
   15080 } # as_fn_set_status
   15081 
   15082 # as_fn_exit STATUS
   15083 # -----------------
   15084 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15085 as_fn_exit ()
   15086 {
   15087   set +e
   15088   as_fn_set_status $1
   15089   exit $1
   15090 } # as_fn_exit
   15091 
   15092 # as_fn_unset VAR
   15093 # ---------------
   15094 # Portably unset VAR.
   15095 as_fn_unset ()
   15096 {
   15097   { eval $1=; unset $1;}
   15098 }
   15099 as_unset=as_fn_unset
   15100 # as_fn_append VAR VALUE
   15101 # ----------------------
   15102 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15103 # advantage of any shell optimizations that allow amortized linear growth over
   15104 # repeated appends, instead of the typical quadratic growth present in naive
   15105 # implementations.
   15106 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15107   eval 'as_fn_append ()
   15108   {
   15109     eval $1+=\$2
   15110   }'
   15111 else
   15112   as_fn_append ()
   15113   {
   15114     eval $1=\$$1\$2
   15115   }
   15116 fi # as_fn_append
   15117 
   15118 # as_fn_arith ARG...
   15119 # ------------------
   15120 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15121 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15122 # must be portable across $(()) and expr.
   15123 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15124   eval 'as_fn_arith ()
   15125   {
   15126     as_val=$(( $* ))
   15127   }'
   15128 else
   15129   as_fn_arith ()
   15130   {
   15131     as_val=`expr "$@" || test $? -eq 1`
   15132   }
   15133 fi # as_fn_arith
   15134 
   15135 
   15136 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15137    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15138   as_expr=expr
   15139 else
   15140   as_expr=false
   15141 fi
   15142 
   15143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15144   as_basename=basename
   15145 else
   15146   as_basename=false
   15147 fi
   15148 
   15149 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15150   as_dirname=dirname
   15151 else
   15152   as_dirname=false
   15153 fi
   15154 
   15155 as_me=`$as_basename -- "$0" ||
   15156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15157 	 X"$0" : 'X\(//\)$' \| \
   15158 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15159 $as_echo X/"$0" |
   15160     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15161 	    s//\1/
   15162 	    q
   15163 	  }
   15164 	  /^X\/\(\/\/\)$/{
   15165 	    s//\1/
   15166 	    q
   15167 	  }
   15168 	  /^X\/\(\/\).*/{
   15169 	    s//\1/
   15170 	    q
   15171 	  }
   15172 	  s/.*/./; q'`
   15173 
   15174 # Avoid depending upon Character Ranges.
   15175 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15176 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15177 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15178 as_cr_digits='0123456789'
   15179 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15180 
   15181 ECHO_C= ECHO_N= ECHO_T=
   15182 case `echo -n x` in #(((((
   15183 -n*)
   15184   case `echo 'xy\c'` in
   15185   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15186   xy)  ECHO_C='\c';;
   15187   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15188        ECHO_T='	';;
   15189   esac;;
   15190 *)
   15191   ECHO_N='-n';;
   15192 esac
   15193 
   15194 rm -f conf$$ conf$$.exe conf$$.file
   15195 if test -d conf$$.dir; then
   15196   rm -f conf$$.dir/conf$$.file
   15197 else
   15198   rm -f conf$$.dir
   15199   mkdir conf$$.dir 2>/dev/null
   15200 fi
   15201 if (echo >conf$$.file) 2>/dev/null; then
   15202   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15203     as_ln_s='ln -s'
   15204     # ... but there are two gotchas:
   15205     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15206     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15207     # In both cases, we have to default to `cp -pR'.
   15208     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15209       as_ln_s='cp -pR'
   15210   elif ln conf$$.file conf$$ 2>/dev/null; then
   15211     as_ln_s=ln
   15212   else
   15213     as_ln_s='cp -pR'
   15214   fi
   15215 else
   15216   as_ln_s='cp -pR'
   15217 fi
   15218 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15219 rmdir conf$$.dir 2>/dev/null
   15220 
   15221 
   15222 # as_fn_mkdir_p
   15223 # -------------
   15224 # Create "$as_dir" as a directory, including parents if necessary.
   15225 as_fn_mkdir_p ()
   15226 {
   15227 
   15228   case $as_dir in #(
   15229   -*) as_dir=./$as_dir;;
   15230   esac
   15231   test -d "$as_dir" || eval $as_mkdir_p || {
   15232     as_dirs=
   15233     while :; do
   15234       case $as_dir in #(
   15235       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15236       *) as_qdir=$as_dir;;
   15237       esac
   15238       as_dirs="'$as_qdir' $as_dirs"
   15239       as_dir=`$as_dirname -- "$as_dir" ||
   15240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15241 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15242 	 X"$as_dir" : 'X\(//\)$' \| \
   15243 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15244 $as_echo X"$as_dir" |
   15245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15246 	    s//\1/
   15247 	    q
   15248 	  }
   15249 	  /^X\(\/\/\)[^/].*/{
   15250 	    s//\1/
   15251 	    q
   15252 	  }
   15253 	  /^X\(\/\/\)$/{
   15254 	    s//\1/
   15255 	    q
   15256 	  }
   15257 	  /^X\(\/\).*/{
   15258 	    s//\1/
   15259 	    q
   15260 	  }
   15261 	  s/.*/./; q'`
   15262       test -d "$as_dir" && break
   15263     done
   15264     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15265   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   15266 
   15267 
   15268 } # as_fn_mkdir_p
   15269 if mkdir -p . 2>/dev/null; then
   15270   as_mkdir_p='mkdir -p "$as_dir"'
   15271 else
   15272   test -d ./-p && rmdir ./-p
   15273   as_mkdir_p=false
   15274 fi
   15275 
   15276 
   15277 # as_fn_executable_p FILE
   15278 # -----------------------
   15279 # Test if FILE is an executable regular file.
   15280 as_fn_executable_p ()
   15281 {
   15282   test -f "$1" && test -x "$1"
   15283 } # as_fn_executable_p
   15284 as_test_x='test -x'
   15285 as_executable_p=as_fn_executable_p
   15286 
   15287 # Sed expression to map a string onto a valid CPP name.
   15288 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15289 
   15290 # Sed expression to map a string onto a valid variable name.
   15291 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15292 
   15293 
   15294 exec 6>&1
   15295 ## ----------------------------------- ##
   15296 ## Main body of $CONFIG_STATUS script. ##
   15297 ## ----------------------------------- ##
   15298 _ASEOF
   15299 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15300 
   15301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15302 # Save the log message, to keep $0 and so on meaningful, and to
   15303 # report actual input values of CONFIG_FILES etc. instead of their
   15304 # values after options handling.
   15305 ac_log="
   15306 This file was extended by $as_me, which was
   15307 generated by GNU Autoconf 2.69.  Invocation command line was
   15308 
   15309   CONFIG_FILES    = $CONFIG_FILES
   15310   CONFIG_HEADERS  = $CONFIG_HEADERS
   15311   CONFIG_LINKS    = $CONFIG_LINKS
   15312   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15313   $ $0 $@
   15314 
   15315 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15316 "
   15317 
   15318 _ACEOF
   15319 
   15320 case $ac_config_files in *"
   15321 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15322 esac
   15323 
   15324 
   15325 
   15326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15327 # Files that config.status was made for.
   15328 config_files="$ac_config_files"
   15329 
   15330 _ACEOF
   15331 
   15332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15333 ac_cs_usage="\
   15334 \`$as_me' instantiates files and other configuration actions
   15335 from templates according to the current configuration.  Unless the files
   15336 and actions are specified as TAGs, all are instantiated by default.
   15337 
   15338 Usage: $0 [OPTION]... [TAG]...
   15339 
   15340   -h, --help       print this help, then exit
   15341   -V, --version    print version number and configuration settings, then exit
   15342       --config     print configuration, then exit
   15343   -q, --quiet, --silent
   15344                    do not print progress messages
   15345   -d, --debug      don't remove temporary files
   15346       --recheck    update $as_me by reconfiguring in the same conditions
   15347       --file=FILE[:TEMPLATE]
   15348                    instantiate the configuration file FILE
   15349 
   15350 Configuration files:
   15351 $config_files
   15352 
   15353 Report bugs to the package provider."
   15354 
   15355 _ACEOF
   15356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15357 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15358 ac_cs_version="\\
   15359 config.status
   15360 configured by $0, generated by GNU Autoconf 2.69,
   15361   with options \\"\$ac_cs_config\\"
   15362 
   15363 Copyright (C) 2012 Free Software Foundation, Inc.
   15364 This config.status script is free software; the Free Software Foundation
   15365 gives unlimited permission to copy, distribute and modify it."
   15366 
   15367 ac_pwd='$ac_pwd'
   15368 srcdir='$srcdir'
   15369 INSTALL='$INSTALL'
   15370 AWK='$AWK'
   15371 test -n "\$AWK" || AWK=awk
   15372 _ACEOF
   15373 
   15374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15375 # The default lists apply if the user does not specify any file.
   15376 ac_need_defaults=:
   15377 while test $# != 0
   15378 do
   15379   case $1 in
   15380   --*=?*)
   15381     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15382     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15383     ac_shift=:
   15384     ;;
   15385   --*=)
   15386     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15387     ac_optarg=
   15388     ac_shift=:
   15389     ;;
   15390   *)
   15391     ac_option=$1
   15392     ac_optarg=$2
   15393     ac_shift=shift
   15394     ;;
   15395   esac
   15396 
   15397   case $ac_option in
   15398   # Handling of the options.
   15399   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15400     ac_cs_recheck=: ;;
   15401   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15402     $as_echo "$ac_cs_version"; exit ;;
   15403   --config | --confi | --conf | --con | --co | --c )
   15404     $as_echo "$ac_cs_config"; exit ;;
   15405   --debug | --debu | --deb | --de | --d | -d )
   15406     debug=: ;;
   15407   --file | --fil | --fi | --f )
   15408     $ac_shift
   15409     case $ac_optarg in
   15410     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15411     '') as_fn_error $? "missing file argument" ;;
   15412     esac
   15413     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15414     ac_need_defaults=false;;
   15415   --he | --h |  --help | --hel | -h )
   15416     $as_echo "$ac_cs_usage"; exit ;;
   15417   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15418   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15419     ac_cs_silent=: ;;
   15420 
   15421   # This is an error.
   15422   -*) as_fn_error $? "unrecognized option: \`$1'
   15423 Try \`$0 --help' for more information." ;;
   15424 
   15425   *) as_fn_append ac_config_targets " $1"
   15426      ac_need_defaults=false ;;
   15427 
   15428   esac
   15429   shift
   15430 done
   15431 
   15432 ac_configure_extra_args=
   15433 
   15434 if $ac_cs_silent; then
   15435   exec 6>/dev/null
   15436   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15437 fi
   15438 
   15439 _ACEOF
   15440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15441 if \$ac_cs_recheck; then
   15442   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15443   shift
   15444   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15445   CONFIG_SHELL='$SHELL'
   15446   export CONFIG_SHELL
   15447   exec "\$@"
   15448 fi
   15449 
   15450 _ACEOF
   15451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15452 exec 5>>config.log
   15453 {
   15454   echo
   15455   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15456 ## Running $as_me. ##
   15457 _ASBOX
   15458   $as_echo "$ac_log"
   15459 } >&5
   15460 
   15461 _ACEOF
   15462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15463 #
   15464 # INIT-COMMANDS
   15465 #
   15466 extrasub_build="$extrasub_build"
   15467    extrasub_host="$extrasub_host"
   15468    extrasub_target="$extrasub_target"
   15469 
   15470 _ACEOF
   15471 
   15472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15473 
   15474 # Handling of arguments.
   15475 for ac_config_target in $ac_config_targets
   15476 do
   15477   case $ac_config_target in
   15478     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15479 
   15480   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15481   esac
   15482 done
   15483 
   15484 
   15485 # If the user did not use the arguments to specify the items to instantiate,
   15486 # then the envvar interface is used.  Set only those that are not.
   15487 # We use the long form for the default assignment because of an extremely
   15488 # bizarre bug on SunOS 4.1.3.
   15489 if $ac_need_defaults; then
   15490   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15491 fi
   15492 
   15493 # Have a temporary directory for convenience.  Make it in the build tree
   15494 # simply because there is no reason against having it here, and in addition,
   15495 # creating and moving files from /tmp can sometimes cause problems.
   15496 # Hook for its removal unless debugging.
   15497 # Note that there is a small window in which the directory will not be cleaned:
   15498 # after its creation but before its name has been assigned to `$tmp'.
   15499 $debug ||
   15500 {
   15501   tmp= ac_tmp=
   15502   trap 'exit_status=$?
   15503   : "${ac_tmp:=$tmp}"
   15504   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15505 ' 0
   15506   trap 'as_fn_exit 1' 1 2 13 15
   15507 }
   15508 # Create a (secure) tmp directory for tmp files.
   15509 
   15510 {
   15511   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15512   test -d "$tmp"
   15513 }  ||
   15514 {
   15515   tmp=./conf$$-$RANDOM
   15516   (umask 077 && mkdir "$tmp")
   15517 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15518 ac_tmp=$tmp
   15519 
   15520 # Set up the scripts for CONFIG_FILES section.
   15521 # No need to generate them if there are no CONFIG_FILES.
   15522 # This happens for instance with `./config.status config.h'.
   15523 if test -n "$CONFIG_FILES"; then
   15524 
   15525 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   15526   ac_cs_awk_getline=:
   15527   ac_cs_awk_pipe_init=
   15528   ac_cs_awk_read_file='
   15529       while ((getline aline < (F[key])) > 0)
   15530 	print(aline)
   15531       close(F[key])'
   15532   ac_cs_awk_pipe_fini=
   15533 else
   15534   ac_cs_awk_getline=false
   15535   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   15536   ac_cs_awk_read_file='
   15537       print "|#_!!_#|"
   15538       print "cat " F[key] " &&"
   15539       '$ac_cs_awk_pipe_init
   15540   # The final `:' finishes the AND list.
   15541   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   15542 fi
   15543 ac_cr=`echo X | tr X '\015'`
   15544 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15545 # But we know of no other shell where ac_cr would be empty at this
   15546 # point, so we can use a bashism as a fallback.
   15547 if test "x$ac_cr" = x; then
   15548   eval ac_cr=\$\'\\r\'
   15549 fi
   15550 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15551 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15552   ac_cs_awk_cr='\\r'
   15553 else
   15554   ac_cs_awk_cr=$ac_cr
   15555 fi
   15556 
   15557 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15558 _ACEOF
   15559 
   15560 # Create commands to substitute file output variables.
   15561 {
   15562   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   15563   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
   15564   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   15565   echo "_ACAWK" &&
   15566   echo "_ACEOF"
   15567 } >conf$$files.sh &&
   15568 . ./conf$$files.sh ||
   15569   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15570 rm -f conf$$files.sh
   15571 
   15572 {
   15573   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15574   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15575   echo "_ACEOF"
   15576 } >conf$$subs.sh ||
   15577   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15579 ac_delim='%!_!# '
   15580 for ac_last_try in false false false false false :; do
   15581   . ./conf$$subs.sh ||
   15582     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15583 
   15584   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15585   if test $ac_delim_n = $ac_delim_num; then
   15586     break
   15587   elif $ac_last_try; then
   15588     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15589   else
   15590     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15591   fi
   15592 done
   15593 rm -f conf$$subs.sh
   15594 
   15595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15596 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15597 _ACEOF
   15598 sed -n '
   15599 h
   15600 s/^/S["/; s/!.*/"]=/
   15601 p
   15602 g
   15603 s/^[^!]*!//
   15604 :repl
   15605 t repl
   15606 s/'"$ac_delim"'$//
   15607 t delim
   15608 :nl
   15609 h
   15610 s/\(.\{148\}\)..*/\1/
   15611 t more1
   15612 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15613 p
   15614 n
   15615 b repl
   15616 :more1
   15617 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15618 p
   15619 g
   15620 s/.\{148\}//
   15621 t nl
   15622 :delim
   15623 h
   15624 s/\(.\{148\}\)..*/\1/
   15625 t more2
   15626 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15627 p
   15628 b
   15629 :more2
   15630 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15631 p
   15632 g
   15633 s/.\{148\}//
   15634 t delim
   15635 ' <conf$$subs.awk | sed '
   15636 /^[^""]/{
   15637   N
   15638   s/\n//
   15639 }
   15640 ' >>$CONFIG_STATUS || ac_write_fail=1
   15641 rm -f conf$$subs.awk
   15642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15643 _ACAWK
   15644 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15645   for (key in S) S_is_set[key] = 1
   15646   FS = ""
   15647   \$ac_cs_awk_pipe_init
   15648 }
   15649 {
   15650   line = $ 0
   15651   nfields = split(line, field, "@")
   15652   substed = 0
   15653   len = length(field[1])
   15654   for (i = 2; i < nfields; i++) {
   15655     key = field[i]
   15656     keylen = length(key)
   15657     if (S_is_set[key]) {
   15658       value = S[key]
   15659       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15660       len += length(value) + length(field[++i])
   15661       substed = 1
   15662     } else
   15663       len += 1 + keylen
   15664   }
   15665   if (nfields == 3 && !substed) {
   15666     key = field[2]
   15667     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   15668       \$ac_cs_awk_read_file
   15669       next
   15670     }
   15671   }
   15672   print line
   15673 }
   15674 \$ac_cs_awk_pipe_fini
   15675 _ACAWK
   15676 _ACEOF
   15677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15678 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15679   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15680 else
   15681   cat
   15682 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15683   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15684 _ACEOF
   15685 
   15686 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15687 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15688 # trailing colons and then remove the whole line if VPATH becomes empty
   15689 # (actually we leave an empty line to preserve line numbers).
   15690 if test "x$srcdir" = x.; then
   15691   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15692 h
   15693 s///
   15694 s/^/:/
   15695 s/[	 ]*$/:/
   15696 s/:\$(srcdir):/:/g
   15697 s/:\${srcdir}:/:/g
   15698 s/:@srcdir@:/:/g
   15699 s/^:*//
   15700 s/:*$//
   15701 x
   15702 s/\(=[	 ]*\).*/\1/
   15703 G
   15704 s/\n//
   15705 s/^[^=]*=[	 ]*$//
   15706 }'
   15707 fi
   15708 
   15709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15710 fi # test -n "$CONFIG_FILES"
   15711 
   15712 
   15713 eval set X "  :F $CONFIG_FILES      "
   15714 shift
   15715 for ac_tag
   15716 do
   15717   case $ac_tag in
   15718   :[FHLC]) ac_mode=$ac_tag; continue;;
   15719   esac
   15720   case $ac_mode$ac_tag in
   15721   :[FHL]*:*);;
   15722   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15723   :[FH]-) ac_tag=-:-;;
   15724   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15725   esac
   15726   ac_save_IFS=$IFS
   15727   IFS=:
   15728   set x $ac_tag
   15729   IFS=$ac_save_IFS
   15730   shift
   15731   ac_file=$1
   15732   shift
   15733 
   15734   case $ac_mode in
   15735   :L) ac_source=$1;;
   15736   :[FH])
   15737     ac_file_inputs=
   15738     for ac_f
   15739     do
   15740       case $ac_f in
   15741       -) ac_f="$ac_tmp/stdin";;
   15742       *) # Look for the file first in the build tree, then in the source tree
   15743 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15744 	 # because $ac_f cannot contain `:'.
   15745 	 test -f "$ac_f" ||
   15746 	   case $ac_f in
   15747 	   [\\/$]*) false;;
   15748 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15749 	   esac ||
   15750 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15751       esac
   15752       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15753       as_fn_append ac_file_inputs " '$ac_f'"
   15754     done
   15755 
   15756     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15757     # use $as_me), people would be surprised to read:
   15758     #    /* config.h.  Generated by config.status.  */
   15759     configure_input='Generated from '`
   15760 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15761 	`' by configure.'
   15762     if test x"$ac_file" != x-; then
   15763       configure_input="$ac_file.  $configure_input"
   15764       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15765 $as_echo "$as_me: creating $ac_file" >&6;}
   15766     fi
   15767     # Neutralize special characters interpreted by sed in replacement strings.
   15768     case $configure_input in #(
   15769     *\&* | *\|* | *\\* )
   15770        ac_sed_conf_input=`$as_echo "$configure_input" |
   15771        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15772     *) ac_sed_conf_input=$configure_input;;
   15773     esac
   15774 
   15775     case $ac_tag in
   15776     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15777       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15778     esac
   15779     ;;
   15780   esac
   15781 
   15782   ac_dir=`$as_dirname -- "$ac_file" ||
   15783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15784 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15785 	 X"$ac_file" : 'X\(//\)$' \| \
   15786 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15787 $as_echo X"$ac_file" |
   15788     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15789 	    s//\1/
   15790 	    q
   15791 	  }
   15792 	  /^X\(\/\/\)[^/].*/{
   15793 	    s//\1/
   15794 	    q
   15795 	  }
   15796 	  /^X\(\/\/\)$/{
   15797 	    s//\1/
   15798 	    q
   15799 	  }
   15800 	  /^X\(\/\).*/{
   15801 	    s//\1/
   15802 	    q
   15803 	  }
   15804 	  s/.*/./; q'`
   15805   as_dir="$ac_dir"; as_fn_mkdir_p
   15806   ac_builddir=.
   15807 
   15808 case "$ac_dir" in
   15809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15810 *)
   15811   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15812   # A ".." for each directory in $ac_dir_suffix.
   15813   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15814   case $ac_top_builddir_sub in
   15815   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15816   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15817   esac ;;
   15818 esac
   15819 ac_abs_top_builddir=$ac_pwd
   15820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15821 # for backward compatibility:
   15822 ac_top_builddir=$ac_top_build_prefix
   15823 
   15824 case $srcdir in
   15825   .)  # We are building in place.
   15826     ac_srcdir=.
   15827     ac_top_srcdir=$ac_top_builddir_sub
   15828     ac_abs_top_srcdir=$ac_pwd ;;
   15829   [\\/]* | ?:[\\/]* )  # Absolute name.
   15830     ac_srcdir=$srcdir$ac_dir_suffix;
   15831     ac_top_srcdir=$srcdir
   15832     ac_abs_top_srcdir=$srcdir ;;
   15833   *) # Relative name.
   15834     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15835     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15836     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15837 esac
   15838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15839 
   15840 
   15841   case $ac_mode in
   15842   :F)
   15843   #
   15844   # CONFIG_FILE
   15845   #
   15846 
   15847   case $INSTALL in
   15848   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15849   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15850   esac
   15851 _ACEOF
   15852 
   15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15854 # If the template does not know about datarootdir, expand it.
   15855 # FIXME: This hack should be removed a few years after 2.60.
   15856 ac_datarootdir_hack=; ac_datarootdir_seen=
   15857 ac_sed_dataroot='
   15858 /datarootdir/ {
   15859   p
   15860   q
   15861 }
   15862 /@datadir@/p
   15863 /@docdir@/p
   15864 /@infodir@/p
   15865 /@localedir@/p
   15866 /@mandir@/p'
   15867 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15868 *datarootdir*) ac_datarootdir_seen=yes;;
   15869 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15870   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15871 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15872 _ACEOF
   15873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15874   ac_datarootdir_hack='
   15875   s&@datadir@&$datadir&g
   15876   s&@docdir@&$docdir&g
   15877   s&@infodir@&$infodir&g
   15878   s&@localedir@&$localedir&g
   15879   s&@mandir@&$mandir&g
   15880   s&\\\${datarootdir}&$datarootdir&g' ;;
   15881 esac
   15882 _ACEOF
   15883 
   15884 # Neutralize VPATH when `$srcdir' = `.'.
   15885 # Shell code in configure.ac might set extrasub.
   15886 # FIXME: do we really want to maintain this feature?
   15887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15888 ac_sed_extra="$ac_vpsub
   15889 $extrasub
   15890 _ACEOF
   15891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15892 :t
   15893 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15894 s|@configure_input@|$ac_sed_conf_input|;t t
   15895 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15896 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15897 s&@srcdir@&$ac_srcdir&;t t
   15898 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15899 s&@top_srcdir@&$ac_top_srcdir&;t t
   15900 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15901 s&@builddir@&$ac_builddir&;t t
   15902 s&@abs_builddir@&$ac_abs_builddir&;t t
   15903 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15904 s&@INSTALL@&$ac_INSTALL&;t t
   15905 $ac_datarootdir_hack
   15906 "
   15907 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   15908 if $ac_cs_awk_getline; then
   15909   $AWK -f "$ac_tmp/subs.awk"
   15910 else
   15911   $AWK -f "$ac_tmp/subs.awk" | $SHELL
   15912 fi \
   15913   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15914 
   15915 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15916   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15917   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15918       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15919   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15920 which seems to be undefined.  Please make sure it is defined" >&5
   15921 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15922 which seems to be undefined.  Please make sure it is defined" >&2;}
   15923 
   15924   rm -f "$ac_tmp/stdin"
   15925   case $ac_file in
   15926   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15927   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15928   esac \
   15929   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15930  ;;
   15931 
   15932 
   15933 
   15934   esac
   15935 
   15936 
   15937   case $ac_file$ac_mode in
   15938     "Makefile":F) sed "$extrasub_build" Makefile |
   15939    sed "$extrasub_host" |
   15940    sed "$extrasub_target" > mf$$
   15941    mv -f mf$$ Makefile ;;
   15942 
   15943   esac
   15944 done # for ac_tag
   15945 
   15946 
   15947 as_fn_exit 0
   15948 _ACEOF
   15949 ac_clean_files=$ac_clean_files_save
   15950 
   15951 test $ac_write_fail = 0 ||
   15952   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15953 
   15954 
   15955 # configure is writing to config.log, and then calls config.status.
   15956 # config.status does its own redirection, appending to config.log.
   15957 # Unfortunately, on DOS this fails, as config.log is still kept open
   15958 # by configure, so config.status won't be able to write to it; its
   15959 # output is simply discarded.  So we exec the FD to /dev/null,
   15960 # effectively closing config.log, so it can be properly (re)opened and
   15961 # appended to by config.status.  When coming back to configure, we
   15962 # need to make the FD available again.
   15963 if test "$no_create" != yes; then
   15964   ac_cs_success=:
   15965   ac_config_status_args=
   15966   test "$silent" = yes &&
   15967     ac_config_status_args="$ac_config_status_args --quiet"
   15968   exec 5>/dev/null
   15969   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15970   exec 5>>config.log
   15971   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15972   # would make configure fail if this is the last instruction.
   15973   $ac_cs_success || as_fn_exit 1
   15974 fi
   15975 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15976   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15977 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15978 fi
   15979 
   15980